/external/skia/include/gpu/ |
D | GrTexture.h | 19 class GrTexture : virtual public GrSurface { 21 GrTexture* asTexture() override { return this; } in asTexture() 22 const GrTexture* asTexture() const override { return this; } in asTexture() 48 GrTexture(GrGpu*, LifeCycle, const GrSurfaceDesc&); 84 GrDeviceCoordTexture(GrTexture* texture, const SkIPoint& offset) in GrDeviceCoordTexture() 100 GrTexture* texture() const { return fTexture.get(); } in texture() 102 GrTexture* setTexture(GrTexture* texture) { in setTexture() 108 SkAutoTUnref<GrTexture> fTexture;
|
D | GrProcessorUnitTest.h | 31 class GrTexture; variable 40 GrTexture* dummyTextures[]); 50 GrTexture* dummyTextures[]) { in CreateStage() 77 GrTexture* dummyTextures[2]) 84 GrTexture* dummyTextures[2]) 91 GrTexture* dummyTextures[2]) 122 GrTexture* dummyTextures[2]) 131 GrTexture* dummyTextures[2]) 140 GrTexture* dummyTextures[2])
|
D | GrTextureProvider.h | 29 GrTexture* createTexture(const GrSurfaceDesc& desc, bool budgeted, const void* srcData, 33 GrTexture* createTexture(const GrSurfaceDesc& desc, bool budgeted) { in createTexture() 39 void assignUniqueKeyToTexture(const GrUniqueKey& key, GrTexture* texture) { in assignUniqueKeyToTexture() 44 GrTexture* findAndRefTextureByUniqueKey(const GrUniqueKey& key) { in findAndRefTextureByUniqueKey() 47 GrTexture* texture = static_cast<GrSurface*>(resource)->asTexture(); in findAndRefTextureByUniqueKey() 97 GrTexture* refScratchTexture(const GrSurfaceDesc&, ScratchTexMatch match, 113 GrTexture* wrapBackendTexture(const GrBackendTextureDesc& desc); 150 GrTexture* internalRefScratchTexture(const GrSurfaceDesc&, uint32_t flags);
|
D | GrTextureAccess.h | 127 GrTextureAccess(GrTexture*, const GrTextureParams&); 128 explicit GrTextureAccess(GrTexture*, 136 GrTextureAccess(GrTexture*, const char* swizzle, const GrTextureParams&); 137 GrTextureAccess(GrTexture*, 142 void reset(GrTexture*, const GrTextureParams&); 143 void reset(GrTexture*, 146 void reset(GrTexture*, const char* swizzle, const GrTextureParams&); 147 void reset(GrTexture*, 165 GrTexture* getTexture() const { return fTexture.get(); } in getTexture() 186 typedef GrTGpuResourceRef<GrTexture> ProgramTexture;
|
D | GrCoordTransform.h | 53 const GrTexture* texture, in GrCoordTransform() 65 const GrTexture* texture, GrTextureParams::FilterMode filter) { in GrCoordTransform() 80 void reset(GrCoordSet sourceCoords, const GrTexture* texture, in reset() 87 void reset(GrCoordSet, const SkMatrix&, const GrTexture*, GrTextureParams::FilterMode filter); 125 static inline SkMatrix MakeDivByTextureWHMatrix(const GrTexture* texture) { in MakeDivByTextureWHMatrix()
|
/external/skia/src/gpu/ |
D | GrClipMaskManager.h | 26 class GrTexture; variable 112 GrTexture* createAlphaClipMask(int32_t elementsGenID, 119 GrTexture* createSoftwareClipMask(int32_t elementsGenID, 127 GrTexture* getCachedMaskTexture(int32_t elementsGenID, const SkIRect& clipSpaceIBounds); 131 GrTexture* allocMaskTexture(int32_t elementsGenID, 144 GrTexture* target, 152 GrTexture* target, 157 GrTexture* dstMask, 158 GrTexture* srcMask, 163 GrTexture* createTempMask(int width, int height);
|
D | GrTexturePriv.h | 35 return GrTexture::kValid_MipMapsStatus != fTexture->fMipMapsStatus; in mipMapsAreDirty() 39 return GrTexture::kNotAllocated_MipMapsStatus != fTexture->fMipMapsStatus; in hasMipMaps() 56 GrTexturePriv(GrTexture* texture) : fTexture(texture) { } in GrTexturePriv() 64 GrTexture* fTexture; 66 friend class GrTexture; // to construct/copy this type. variable 69 inline GrTexturePriv GrTexture::texturePriv() { return GrTexturePriv(this); } in texturePriv() 71 inline const GrTexturePriv GrTexture::texturePriv () const { in texturePriv() 72 return GrTexturePriv(const_cast<GrTexture*>(this)); in texturePriv()
|
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 | 23 class GrTexture; variable 65 void toTexture(GrTexture* texture); 77 static GrTexture* DrawPathMaskToTexture(GrContext* context, 94 static void DrawToTargetWithPathMask(GrTexture* texture, 104 GrTexture* createTexture(); 132 void sendTextureData(GrTexture *texture, const GrSurfaceDesc& desc, 137 void compressTextureData(GrTexture *texture, const GrSurfaceDesc& desc);
|
D | SkGr.cpp | 175 static GrTexture* create_texture_for_bmp(GrContext* ctx, in create_texture_for_bmp() 181 GrTexture* result = ctx->textureProvider()->createTexture(desc, true, pixels, rowBytes); in create_texture_for_bmp() 193 GrTexture* stretch_texture_to_next_pot(GrTexture* inputTexture, Stretch stretch, in stretch_texture_to_next_pot() 231 GrTexture* stretched = create_texture_for_bmp(context, optionalKey, rtDesc, pixelRef, NULL, 0); in stretch_texture_to_next_pot() 255 static GrTexture *load_etc1_texture(GrContext* ctx, const GrUniqueKey& optionalKey, in load_etc1_texture() 304 static GrTexture* load_yuv_texture(GrContext* ctx, const GrUniqueKey& optionalKey, in load_yuv_texture() 365 SkAutoTUnref<GrTexture> yuvTextures[3]; in load_yuv_texture() 385 GrTexture* result = create_texture_for_bmp(ctx, optionalKey, rtDesc, pixelRef, NULL, 0); in load_yuv_texture() 406 static GrTexture* create_unstretched_bitmap_texture(GrContext* ctx, in create_unstretched_bitmap_texture() 445 GrTexture *texture = load_etc1_texture(ctx, optionalKey, *bitmap, desc); in create_unstretched_bitmap_texture() [all …]
|
D | GrTexture.cpp | 18 void GrTexture::dirtyMipMaps(bool mipMapsDirty) { in dirtyMipMaps() 33 size_t GrTexture::onGpuMemorySize() const { in onGpuMemorySize() 50 void GrTexture::validateDesc() const { in validateDesc() 80 GrTexture::GrTexture(GrGpu* gpu, LifeCycle lifeCycle, const GrSurfaceDesc& desc) in GrTexture() function in GrTexture
|
D | GrPaint.cpp | 26 void GrPaint::addColorTextureProcessor(GrTexture* texture, const SkMatrix& matrix) { in addColorTextureProcessor() 30 void GrPaint::addCoverageTextureProcessor(GrTexture* texture, const SkMatrix& matrix) { in addCoverageTextureProcessor() 34 void GrPaint::addColorTextureProcessor(GrTexture* texture, in addColorTextureProcessor() 40 void GrPaint::addCoverageTextureProcessor(GrTexture* texture, in addCoverageTextureProcessor()
|
D | GrTextureProvider.cpp | 20 GrTexture* GrTextureProvider::createTexture(const GrSurfaceDesc& desc, bool budgeted, in createTexture() 32 if (GrTexture* texture = this->internalRefScratchTexture(desc, kFlags)) { in createTexture() 46 GrTexture* GrTextureProvider::refScratchTexture(const GrSurfaceDesc& desc, ScratchTexMatch match, in refScratchTexture() 66 GrTexture* GrTextureProvider::internalRefScratchTexture(const GrSurfaceDesc& inDesc, in internalRefScratchTexture() 110 GrTexture* GrTextureProvider::wrapBackendTexture(const GrBackendTextureDesc& desc) { in wrapBackendTexture()
|
D | GrGpu.h | 84 GrTexture* createTexture(const GrSurfaceDesc& desc, bool budgeted, 90 GrTexture* wrapBackendTexture(const GrBackendTextureDesc&); 144 virtual bool canWriteTexturePixels(const GrTexture*, GrPixelConfig srcConfig) const = 0; 211 bool writeTexturePixels(GrTexture* texture, 416 virtual GrTexture* onCreateTexture(const GrSurfaceDesc& desc, 419 virtual GrTexture* onCreateCompressedTexture(const GrSurfaceDesc& desc, 422 virtual GrTexture* onWrapBackendTexture(const GrBackendTextureDesc&) = 0; 458 virtual bool onWriteTexturePixels(GrTexture* texture,
|
/external/skia/src/gpu/effects/ |
D | GrBicubicEffect.h | 39 static GrFragmentProcessor* Create(GrTexture* tex, const SkScalar coefficients[16], 56 static GrFragmentProcessor* Create(GrTexture* tex, const SkMatrix& matrix, in Create() 65 static GrFragmentProcessor* Create(GrTexture* tex, const SkScalar coefficients[16], in Create() 74 static GrFragmentProcessor* Create(GrTexture* tex, const SkMatrix& matrix, in Create() 90 GrBicubicEffect(GrTexture*, const SkScalar coefficients[16], 92 GrBicubicEffect(GrTexture*, const SkScalar coefficients[16],
|
D | GrYUVtoRGBEffect.h | 14 class GrTexture; variable 20 GrFragmentProcessor* Create(GrTexture* yTexture, GrTexture* uTexture, GrTexture* vTexture,
|
D | GrYUVtoRGBEffect.cpp | 20 static GrFragmentProcessor* Create(GrTexture* yTexture, GrTexture* uTexture, in Create() 21 GrTexture* vTexture, SkISize sizes[3], in Create() 113 YUVtoRGBEffect(GrTexture* yTexture, GrTexture* uTexture, GrTexture* vTexture, in YUVtoRGBEffect() 169 GrYUVtoRGBEffect::Create(GrTexture* yTexture, GrTexture* uTexture, GrTexture* vTexture, in Create()
|
D | GrSimpleTextureEffect.h | 26 static GrFragmentProcessor* Create(GrTexture* tex, 34 static GrFragmentProcessor* Create(GrTexture* tex, 41 static GrFragmentProcessor* Create(GrTexture* tex, 57 GrSimpleTextureEffect(GrTexture* texture, in GrSimpleTextureEffect() 65 GrSimpleTextureEffect(GrTexture* texture, in GrSimpleTextureEffect()
|
D | GrSingleTextureEffect.h | 16 class GrTexture; variable 28 GrSingleTextureEffect(GrTexture*, const SkMatrix&, GrCoordSet = kLocal_GrCoordSet); 30 GrSingleTextureEffect(GrTexture*, const SkMatrix&, GrTextureParams::FilterMode filterMode, 32 GrSingleTextureEffect(GrTexture*,
|
D | GrConvolutionEffect.h | 24 static GrFragmentProcessor* Create(GrTexture* tex, in Create() 39 static GrFragmentProcessor* CreateGaussian(GrTexture* tex, in CreateGaussian() 84 GrConvolutionEffect(GrTexture*, Direction, 91 GrConvolutionEffect(GrTexture*, Direction,
|
D | GrDistanceFieldGeoProc.h | 51 GrTexture* tex, const GrTextureParams& params, in Create() 58 GrTexture* tex, const GrTextureParams& params, 89 GrTexture* texture, const GrTextureParams& params, 120 static GrGeometryProcessor* Create(GrColor color, const SkMatrix& viewMatrix, GrTexture* tex, in Create() 147 GrDistanceFieldPathGeoProc(GrColor, const SkMatrix& viewMatrix, GrTexture* texture, 187 GrTexture* tex, const GrTextureParams& params, in Create() 215 GrTexture* texture, const GrTextureParams& params,
|
/external/skia/src/image/ |
D | SkImage_Gpu.h | 26 SkImage_Gpu(int w, int h, SkAlphaType, GrTexture*, int sampleCountForNewSurfaces, 30 GrTexture* tex = this->getTexture(); in applyBudgetDecision() 40 GrTexture* onGetTexture() const override { return fTexture; } in onGetTexture() 50 SkAutoTUnref<GrTexture> fTexture;
|
/external/skia/tests/ |
D | ClipCacheTest.cpp | 20 static GrTexture* createTexture(GrContext* context) { in createTexture() 34 GrTexture* texture = context->textureProvider()->createTexture(desc, false, textureData, 0); in createTexture() 55 GrTexture* texture = context->textureProvider()->createTexture(desc, false, NULL, 0); in test_clip_bounds() 60 SkAutoTUnref<GrTexture> au(texture); in test_clip_bounds() 106 GrTexture* mask, in check_state() 159 GrTexture* texture1 = cache.getLastMask(); in test_cache() 182 GrTexture* texture2 = cache.getLastMask(); in test_cache()
|
/external/skia/src/effects/ |
D | SkGpuBlurUtils.h | 12 class GrTexture; variable 35 GrTexture* GaussianBlur(GrContext* context, 36 GrTexture* srcTexture,
|
D | SkAlphaThresholdFilter.cpp | 28 virtual bool asFragmentProcessor(GrFragmentProcessor**, GrTexture*, const SkMatrix&, 62 static GrFragmentProcessor* Create(GrTexture* texture, in Create() 63 GrTexture* maskTexture, in Create() 84 AlphaThresholdEffect(GrTexture* texture, in AlphaThresholdEffect() 85 GrTexture* maskTexture, in AlphaThresholdEffect() 207 GrTexture** textures) { in TestCreate() 208 GrTexture* bmpTex = textures[GrProcessorUnitTest::kSkiaPMTextureIdx]; in TestCreate() 209 GrTexture* maskTex = textures[GrProcessorUnitTest::kAlphaTextureIdx]; in TestCreate() 265 GrTexture* texture, in asFragmentProcessor() 281 SkAutoTUnref<GrTexture> maskTexture(context->textureProvider()->refScratchTexture( in asFragmentProcessor()
|