/external/skia/src/gpu/ |
D | GrTexture.cpp | 17 SK_DEFINE_INST_COUNT(GrTexture) in SK_DEFINE_INST_COUNT() argument 23 void GrTexture::internal_dispose() const { in SK_DEFINE_INST_COUNT() 27 GrTexture* nonConstThis = const_cast<GrTexture *>(this); in SK_DEFINE_INST_COUNT() 41 bool GrTexture::readPixels(int left, int top, int width, int height, in readPixels() 55 void GrTexture::writePixels(int left, int top, int width, int height, in writePixels() 69 void GrTexture::releaseRenderTarget() { in releaseRenderTarget() 84 void GrTexture::onRelease() { in onRelease() 91 void GrTexture::onAbandon() { in onAbandon() 99 void GrTexture::validateDesc() const { in validateDesc() 156 GrResourceKey GrTexture::ComputeKey(const GrGpu* gpu, in ComputeKey() [all …]
|
D | GrClipMaskManager.h | 31 class GrTexture; variable 120 GrTexture* createAlphaClipMask(int32_t clipStackGenID, 125 GrTexture* createSoftwareClipMask(int32_t clipStackGenID, 135 GrTexture** result); 142 bool drawElement(GrTexture* target, const SkClipStack::Element*, GrPathRenderer* = NULL); 147 bool canStencilAndDrawElement(GrTexture* target, const SkClipStack::Element*, GrPathRenderer**); 149 void mergeMask(GrTexture* dstMask, 150 GrTexture* srcMask,
|
D | GrTextureAccess.cpp | 19 GrTextureAccess::GrTextureAccess(GrTexture* texture, const GrTextureParams& params) { in GrTextureAccess() 23 GrTextureAccess::GrTextureAccess(GrTexture* texture, in GrTextureAccess() 29 GrTextureAccess::GrTextureAccess(GrTexture* texture, in GrTextureAccess() 35 GrTextureAccess::GrTextureAccess(GrTexture* texture, in GrTextureAccess() 42 void GrTextureAccess::reset(GrTexture* texture, in reset() 53 void GrTextureAccess::reset(GrTexture* texture, in reset() 65 void GrTextureAccess::reset(GrTexture* texture, in reset() 74 void GrTextureAccess::reset(GrTexture* texture, in reset()
|
D | GrSWMaskHelper.h | 22 class GrTexture; variable 67 void toTexture(GrTexture* texture, uint8_t alpha); 76 static GrTexture* DrawPathMaskToTexture(GrContext* context, 93 static void DrawToTargetWithPathMask(GrTexture* texture,
|
D | GrAtlas.h | 29 GrTexture* texture() const { return fTexture; } in texture() 48 GrTexture* fTexture; 67 GrTexture* getTexture(GrMaskFormat format) const { in getTexture() 77 GrTexture* fTexture[kCount_GrMaskFormats];
|
D | SkGr.cpp | 87 static GrTexture* sk_gr_create_bitmap_texture(GrContext* ctx, in sk_gr_create_bitmap_texture() 123 GrTexture* result = ctx->lockAndRefScratchTexture(desc, in sk_gr_create_bitmap_texture() 149 GrTexture* result = ctx->lockAndRefScratchTexture(desc, GrContext::kExact_ScratchTexMatch); in sk_gr_create_bitmap_texture() 170 GrTexture* GrLockAndRefCachedBitmapTexture(GrContext* ctx, in GrLockAndRefCachedBitmapTexture() 173 GrTexture* result = NULL; in GrLockAndRefCachedBitmapTexture() 198 void GrUnlockAndUnrefCachedBitmapTexture(GrTexture* texture) { in GrUnlockAndUnrefCachedBitmapTexture()
|
D | GrContext.cpp | 194 GrTexture* texture, in convolve_gaussian() 215 GrTexture* GrContext::findAndRefTexture(const GrTextureDesc& desc, in findAndRefTexture() 218 GrResourceKey resourceKey = GrTexture::ComputeKey(fGpu, params, desc, cacheID); in findAndRefTexture() 221 return static_cast<GrTexture*>(resource); in findAndRefTexture() 227 GrResourceKey resourceKey = GrTexture::ComputeKey(fGpu, params, desc, cacheID); in isTextureInCache() 278 GrTexture* GrContext::createResizedTexture(const GrTextureDesc& desc, in createResizedTexture() 283 SkAutoTUnref<GrTexture> clampedTexture(this->findAndRefTexture(desc, cacheID, NULL)); in createResizedTexture() 299 GrTexture* texture = fGpu->createTexture(rtDesc, NULL, 0); in createResizedTexture() 339 …SkDEBUGCODE(GrTexture* texture = )fGpu->createTexture(rtDesc, stretchedPixels.get(), stretchedRowB… in createResizedTexture() 346 GrTexture* GrContext::createTexture(const GrTextureParams* params, in createTexture() [all …]
|
/external/skia/src/image/ |
D | SkImage_Gpu.cpp | 20 SkImage_Gpu(GrTexture*); 25 GrTexture* getTexture() { return fTexture; } in getTexture() 27 void setTexture(GrTexture* texture); 30 GrTexture* fTexture; 40 SkImage_Gpu::SkImage_Gpu(GrTexture* texture) in SK_DEFINE_INST_COUNT() 59 void SkImage_Gpu::setTexture(GrTexture* texture) { in setTexture() 71 SkImage* SkImage::NewTexture(GrTexture* texture) { in NewTexture() 79 GrTexture* SkTextureImageGetTexture(SkImage* image) { in SkTextureImageGetTexture() 83 void SkTextureImageSetTexture(SkImage* image, GrTexture* texture) { in SkTextureImageSetTexture()
|
/external/skia/include/gpu/ |
D | GrTextureAccess.h | 15 class GrTexture; variable 120 GrTextureAccess(GrTexture*, const GrTextureParams&); 121 explicit GrTextureAccess(GrTexture*, 129 GrTextureAccess(GrTexture*, const char* swizzle, const GrTextureParams&); 130 GrTextureAccess(GrTexture*, 135 void reset(GrTexture*, const GrTextureParams&); 136 void reset(GrTexture*, 139 void reset(GrTexture*, const char* swizzle, const GrTextureParams&); 140 void reset(GrTexture*, 158 GrTexture* getTexture() const { return fTexture.get(); } in getTexture() [all …]
|
D | GrContext.h | 134 GrTexture* createTexture(const GrTextureParams* params, 150 GrTexture* findAndRefTexture(const GrTextureDesc& desc, 195 GrTexture* lockAndRefScratchTexture(const GrTextureDesc&, ScratchTexMatch match); 201 void unlockScratchTexture(GrTexture* texture); 216 GrTexture* createUncachedTexture(const GrTextureDesc& desc, 298 GrTexture* wrapBackendTexture(const GrBackendTextureDesc& desc); 557 bool readTexturePixels(GrTexture* texture, 576 void writeTexturePixels(GrTexture* texture, 592 void copyTexture(GrTexture* src, GrRenderTarget* dst, const SkIPoint* topLeft = NULL); 618 GrTexture* gaussianBlur(GrTexture* srcTexture, [all …]
|
D | GrEffectUnitTest.h | 35 class GrTexture; variable 40 typedef GrEffectRef* (*CreateProc)(SkRandom*, GrContext*, GrTexture* dummyTextures[]); 49 GrTexture* dummyTextures[]) { in CreateStage() 65 static GrEffectRef* TestCreate(SkRandom*, GrContext*, GrTexture* dummyTextures[2]) 83 static GrEffectRef* TestCreate(SkRandom*, GrContext*, GrTexture* dummyTextures[2])
|
D | GrRenderTarget.h | 15 class GrTexture; variable 35 virtual GrTexture* asTexture() SK_OVERRIDE { return fTexture; } in asTexture() 36 virtual const GrTexture* asTexture() const SK_OVERRIDE { return fTexture; } in asTexture() 143 GrTexture* texture, in GrRenderTarget() 152 friend class GrTexture; variable 169 GrTexture* fTexture; // not ref'ed
|
D | GrTexture.h | 18 class GrTexture : public GrSurface { 21 SK_DECLARE_INST_COUNT(GrTexture) 71 virtual GrTexture* asTexture() SK_OVERRIDE { return this; } in asTexture() 72 virtual const GrTexture* asTexture() const SK_OVERRIDE { return this; } in asTexture() 143 GrTexture(GrGpu* gpu, bool isWrapped, const GrTextureDesc& desc, GrSurfaceOrigin origin) in GrTexture() function
|
D | GrSurface.h | 15 class GrTexture; variable 57 virtual GrTexture* asTexture() = 0; 58 virtual const GrTexture* asTexture() const = 0;
|
/external/skia/src/gpu/effects/ |
D | GrSimpleTextureEffect.h | 23 static GrEffectRef* Create(GrTexture* tex, const SkMatrix& matrix) { in Create() 29 static GrEffectRef* Create(GrTexture* tex, const SkMatrix& matrix, bool bilerp) { in Create() 34 static GrEffectRef* Create(GrTexture* tex, const SkMatrix& matrix, const GrTextureParams& p) { in Create() 50 GrSimpleTextureEffect(GrTexture* texture, const SkMatrix& matrix) in GrSimpleTextureEffect() 52 GrSimpleTextureEffect(GrTexture* texture, const SkMatrix& matrix, bool bilerp) in GrSimpleTextureEffect() 54 GrSimpleTextureEffect(GrTexture* texture, const SkMatrix& matrix, const GrTextureParams& params) in GrSimpleTextureEffect()
|
D | GrSingleTextureEffect.h | 14 class GrTexture; variable 26 GrSingleTextureEffect(GrTexture*, const SkMatrix&); /* unfiltered, clamp mode */ 27 GrSingleTextureEffect(GrTexture*, const SkMatrix&, bool bilerp); /* clamp mode */ 28 GrSingleTextureEffect(GrTexture*, const SkMatrix&, const GrTextureParams&);
|
D | GrConvolutionEffect.h | 25 static GrEffectRef* Create(GrTexture* tex, Direction dir, int halfWidth, const float* kernel) { in Create() 34 static GrEffectRef* CreateGaussian(GrTexture* tex, in CreateGaussian() 77 GrConvolutionEffect(GrTexture*, Direction, 81 GrConvolutionEffect(GrTexture*, Direction,
|
D | GrSingleTextureEffect.cpp | 10 GrSingleTextureEffect::GrSingleTextureEffect(GrTexture* texture, const SkMatrix& m) in GrSingleTextureEffect() 16 GrSingleTextureEffect::GrSingleTextureEffect(GrTexture* texture, const SkMatrix& m, bool bilerp) in GrSingleTextureEffect() 22 GrSingleTextureEffect::GrSingleTextureEffect(GrTexture* texture, in GrSingleTextureEffect()
|
D | GrTextureDomainEffect.h | 37 static GrEffectRef* Create(GrTexture*, 57 static const SkRect MakeTexelDomain(const GrTexture* texture, const SkIRect& texelRect) { in MakeTexelDomain() 74 GrTextureDomainEffect(GrTexture*,
|
/external/skia/src/effects/ |
D | SkBlendImageFilter.cpp | 146 GrTexture* foreground, in Create() 147 GrTexture* background) { in Create() 165 GrBlendEffect(SkBlendImageFilter::Mode mode, GrTexture* foreground, GrTexture* background); 178 GrTexture* background = (GrTexture*) backgroundBM.getTexture(); in filterImageGPU() 183 GrTexture* foreground = (GrTexture*) foregroundBM.getTexture(); in filterImageGPU() 193 SkAutoTUnref<GrTexture> dst(ast.detach()); in filterImageGPU() 209 GrTexture* foreground, in GrBlendEffect() 210 GrTexture* background) in GrBlendEffect() 303 GrTexture* fgTex = blend.texture(0); in setData() 304 GrTexture* bgTex = blend.texture(1); in setData() [all …]
|
D | SkDisplacementMapEffect.cpp | 237 SkScalar scale, GrTexture* displacement, GrTexture* color) { in Create() 265 SkScalar scale, GrTexture* displacement, GrTexture* color); 283 GrTexture* color = (GrTexture*) colorBM.getTexture(); in filterImageGPU() 288 GrTexture* displacement = (GrTexture*) displacementBM.getTexture(); in filterImageGPU() 298 SkAutoTUnref<GrTexture> dst(ast.detach()); in filterImageGPU() 321 GrTexture* displacement, in GrDisplacementMapEffect() 322 GrTexture* color) in GrDisplacementMapEffect() 364 GrTexture* textures[]) { in TestCreate() 478 GrTexture* displTex = displacementMap.texture(0); in setData() 479 GrTexture* colorTex = displacementMap.texture(1); in setData() [all …]
|
D | SkMorphologyImageFilter.cpp | 247 static GrEffectRef* Create(GrTexture* tex, Direction dir, int radius, MorphologyType type) { in Create() 270 GrMorphologyEffect(GrTexture*, Direction, int radius, MorphologyType); 369 GrTexture& texture = *kern.texture(0); in setData() 389 GrMorphologyEffect::GrMorphologyEffect(GrTexture* texture, in GrMorphologyEffect() 424 GrTexture* textures[]) { in TestCreate() 439 GrTexture* texture, in apply_morphology_pass() 452 GrTexture* apply_morphology(GrTexture* srcTexture, in apply_morphology() 500 GrTexture* input = (GrTexture*) inputBM.getTexture(); in filterImageGPU() 503 SkAutoTUnref<GrTexture> resultTex(apply_morphology(input, bounds, in filterImageGPU() 513 GrTexture* input = (GrTexture*) inputBM.getTexture(); in filterImageGPU() [all …]
|
D | SkImageFilterUtils.cpp | 17 bool SkImageFilterUtils::WrapTexture(GrTexture* texture, int width, int height, SkBitmap* result) { in WrapTexture() 34 GrContext* context = ((GrTexture *) src.getTexture())->getContext(); in GetInputResultGPU() 35 GrTexture* resultTex = GrLockAndRefCachedBitmapTexture(context, in GetInputResultGPU()
|
/external/skia/tests/ |
D | ClipCacheTest.cpp | 20 static GrTexture* createTexture(GrContext* context) { in createTexture() 34 GrTexture* texture = context->createUncachedTexture(desc, textureData, 0); in createTexture() 55 GrTexture* texture = context->createUncachedTexture(desc, NULL, 0); in test_clip_bounds() 103 GrTexture* mask, in check_state() 150 GrTexture* texture1 = cache.getLastMask(); in test_cache() 175 GrTexture* texture2 = cache.getLastMask(); in test_cache()
|
/external/skia/src/gpu/gl/ |
D | GrGLEffectMatrix.h | 14 class GrTexture; variable 46 const GrTexture*); 82 const GrTexture*);
|