Home
last modified time | relevance | path

Searched refs:GrSurfaceDesc (Results 1 – 25 of 61) sorted by relevance

123

/external/skia/src/gpu/
DGrTextureProvider.cpp20 GrTexture* GrTextureProvider::createTexture(const GrSurfaceDesc& desc, bool budgeted, in createTexture()
46 GrTexture* GrTextureProvider::refScratchTexture(const GrSurfaceDesc& desc, ScratchTexMatch match, in refScratchTexture()
66 GrTexture* GrTextureProvider::internalRefScratchTexture(const GrSurfaceDesc& inDesc, in internalRefScratchTexture()
71 SkTCopyOnFirstWrite<GrSurfaceDesc> desc(inDesc); in internalRefScratchTexture()
77 GrSurfaceDesc* wdesc = desc.writable(); in internalRefScratchTexture()
DGrTexture.cpp66 GrSurfaceOrigin resolve_origin(const GrSurfaceDesc& desc) { in resolve_origin()
80 GrTexture::GrTexture(GrGpu* gpu, LifeCycle lifeCycle, const GrSurfaceDesc& desc) in GrTexture()
94 void GrTexturePriv::ComputeScratchKey(const GrSurfaceDesc& desc, GrScratchKey* key) { in ComputeScratchKey()
DGrClipMaskCache.h117 const GrSurfaceDesc& desc, in acquireMask()
202 const GrSurfaceDesc& desc, in acquireMask()
218 GrSurfaceDesc desc; in reset()
DSkGr.cpp150 static void generate_bitmap_texture_desc(const SkBitmap& bitmap, GrSurfaceDesc* desc) { in generate_bitmap_texture_desc()
177 GrSurfaceDesc desc, in create_texture_for_bmp()
202 GrSurfaceDesc rtDesc = inputTexture->desc(); in stretch_texture_to_next_pot()
256 const SkBitmap &bm, GrSurfaceDesc desc) { in load_etc1_texture()
305 const SkBitmap& bm, const GrSurfaceDesc& desc) { in load_yuv_texture()
363 GrSurfaceDesc yuvDesc; in load_yuv_texture()
382 GrSurfaceDesc rtDesc = desc; in load_yuv_texture()
413 GrSurfaceDesc desc; in create_unstretched_bitmap_texture()
744 const GrSurfaceDesc& desc = tex->desc(); in GrMakeInfoFromTexture()
DGrSWMaskHelper.h132 void sendTextureData(GrTexture *texture, const GrSurfaceDesc& desc,
137 void compressTextureData(GrTexture *texture, const GrSurfaceDesc& desc);
DGrGpu.h84 GrTexture* createTexture(const GrSurfaceDesc& desc, bool budgeted,
238 virtual bool initCopySurfaceDstDesc(const GrSurface* src, GrSurfaceDesc* desc) = 0;
416 virtual GrTexture* onCreateTexture(const GrSurfaceDesc& desc,
419 virtual GrTexture* onCreateCompressedTexture(const GrSurfaceDesc& desc,
DGrSWMaskHelper.cpp233 GrSurfaceDesc desc; in createTexture()
255 void GrSWMaskHelper::sendTextureData(GrTexture *texture, const GrSurfaceDesc& desc, in sendTextureData()
270 void GrSWMaskHelper::compressTextureData(GrTexture *texture, const GrSurfaceDesc& desc) { in compressTextureData()
287 GrSurfaceDesc desc; in toTexture()
DGrTest.cpp168 bool initCopySurfaceDstDesc(const GrSurface* src, GrSurfaceDesc* desc) override { in initCopySurfaceDstDesc()
177 GrTexture* onCreateTexture(const GrSurfaceDesc& desc, GrGpuResource::LifeCycle lifeCycle, in onCreateTexture()
182 GrTexture* onCreateCompressedTexture(const GrSurfaceDesc& desc, GrGpuResource::LifeCycle, in onCreateCompressedTexture()
DGrTexturePriv.h42 static void ComputeScratchKey(const GrSurfaceDesc&, GrScratchKey*);
DGrLayerCache.h306 bool tryToAtlas(GrCachedLayer* layer, const GrSurfaceDesc& desc, bool* needsRendering);
316 bool lock(GrCachedLayer* layer, const GrSurfaceDesc& desc, bool* needsRendering);
/external/skia/include/gpu/
DGrTextureProvider.h29 GrTexture* createTexture(const GrSurfaceDesc& desc, bool budgeted, const void* srcData,
33 GrTexture* createTexture(const GrSurfaceDesc& desc, bool budgeted) { in createTexture()
97 GrTexture* refScratchTexture(const GrSurfaceDesc&, ScratchTexMatch match,
150 GrTexture* internalRefScratchTexture(const GrSurfaceDesc&, uint32_t flags);
DGrSurface.h57 const GrSurfaceDesc& desc() const { return fDesc; } in desc()
141 GrSurface(GrGpu* gpu, LifeCycle lifeCycle, const GrSurfaceDesc& desc) in GrSurface()
146 GrSurfaceDesc fDesc;
DGrTypes.h422 struct GrSurfaceDesc { struct
423 GrSurfaceDesc() in GrSurfaceDesc() function
454 typedef GrSurfaceDesc GrTextureDesc; argument
DGrRenderTarget.h97 GrRenderTarget(GrGpu* gpu, LifeCycle lifeCycle, const GrSurfaceDesc& desc) in GrRenderTarget()
DGrTexture.h48 GrTexture(GrGpu*, LifeCycle, const GrSurfaceDesc&);
/external/skia/src/gpu/gl/
DGrGLRenderTarget.h31 GrGLRenderTarget(GrGLGpu*, const GrSurfaceDesc&, const IDDesc&);
65 GrGLRenderTarget(GrGLGpu*, const GrSurfaceDesc&, const IDDesc&, Derived);
67 void init(const GrSurfaceDesc&, const IDDesc&);
DGrGLTexture.h35 GrGLTexture(GrGLGpu*, const GrSurfaceDesc&, const IDDesc&);
60 GrGLTexture(GrGLGpu*, const GrSurfaceDesc&, const IDDesc&, Derived);
62 void init(const GrSurfaceDesc&, const IDDesc&);
DGrGLTexture.cpp15 GrGLTexture::GrGLTexture(GrGLGpu* gpu, const GrSurfaceDesc& desc, const IDDesc& idDesc) in GrGLTexture()
22 GrGLTexture::GrGLTexture(GrGLGpu* gpu, const GrSurfaceDesc& desc, const IDDesc& idDesc, Derived) in GrGLTexture()
28 void GrGLTexture::init(const GrSurfaceDesc& desc, const IDDesc& idDesc) { in init()
DGrGLRenderTarget.cpp16 GrGLRenderTarget::GrGLRenderTarget(GrGLGpu* gpu, const GrSurfaceDesc& desc, const IDDesc& idDesc) in GrGLRenderTarget()
23 GrGLRenderTarget::GrGLRenderTarget(GrGLGpu* gpu, const GrSurfaceDesc& desc, const IDDesc& idDesc, in GrGLRenderTarget()
30 void GrGLRenderTarget::init(const GrSurfaceDesc& desc, const IDDesc& idDesc) { in init()
DGrGLGpu.h73 bool initCopySurfaceDstDesc(const GrSurface* src, GrSurfaceDesc* desc) override;
120 GrTexture* onCreateTexture(const GrSurfaceDesc& desc, GrGpuResource::LifeCycle lifeCycle,
122 GrTexture* onCreateCompressedTexture(const GrSurfaceDesc& desc,
265 bool uploadTexData(const GrSurfaceDesc& desc,
278 bool uploadCompressedTexData(const GrSurfaceDesc& desc,
284 bool createRenderTargetObjects(const GrSurfaceDesc&, GrGpuResource::LifeCycle lifeCycle,
DGrGLTextureRenderTarget.h28 const GrSurfaceDesc& desc, in GrGLTextureRenderTarget()
/external/skia/tests/
DClipCacheTest.cpp25 GrSurfaceDesc desc; in createTexture()
49 GrSurfaceDesc desc; in test_clip_bounds()
151 GrSurfaceDesc desc; in test_cache()
DFloatingPointTextureTest.cpp45 GrSurfaceDesc desc; in DEF_GPUTEST()
92 GrSurfaceDesc desc; in DEF_GPUTEST()
DGLProgramsTest.cpp112 GrSurfaceDesc texDesc; in random_render_target()
214 GrSurfaceDesc dummyDesc; in programUnitTest()
DGrSurfaceTest.cpp24 GrSurfaceDesc desc; in DEF_GPUTEST()

123