Home
last modified time | relevance | path

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

1234

/external/skia/src/gpu/vk/
DGrVkRenderTarget.h31 static GrVkRenderTarget* CreateNewRenderTarget(GrVkGpu*, const GrSurfaceDesc&,
35 static GrVkRenderTarget* CreateWrappedRenderTarget(GrVkGpu*, const GrSurfaceDesc&,
71 const GrSurfaceDesc& desc,
79 const GrSurfaceDesc& desc,
88 const GrSurfaceDesc& desc,
94 const GrSurfaceDesc& desc,
100 static GrVkRenderTarget* Create(GrVkGpu*, const GrSurfaceDesc&,
DGrVkTexture.h20 static GrVkTexture* CreateNewTexture(GrVkGpu*, const GrSurfaceDesc&,
25 static GrVkTexture* CreateWrappedTexture(GrVkGpu*, const GrSurfaceDesc&,
40 GrVkTexture(GrVkGpu*, const GrSurfaceDesc&, GrGpuResource::LifeCycle,
43 GrVkTexture(GrVkGpu*, const GrSurfaceDesc&, GrGpuResource::LifeCycle,
46 static GrVkTexture* Create(GrVkGpu*, const GrSurfaceDesc&,
DGrVkTextureRenderTarget.h26 static GrVkTextureRenderTarget* CreateNewTextureRenderTarget(GrVkGpu*, const GrSurfaceDesc&,
31 const GrSurfaceDesc&,
49 const GrSurfaceDesc& desc, in GrVkTextureRenderTarget()
65 const GrSurfaceDesc& desc, in GrVkTextureRenderTarget()
78 static GrVkTextureRenderTarget* Create(GrVkGpu*, const GrSurfaceDesc&,
DGrVkTexture.cpp17 const GrSurfaceDesc& desc, in GrVkTexture()
30 const GrSurfaceDesc& desc, in GrVkTexture()
42 const GrSurfaceDesc& desc, in Create()
56 GrVkTexture* GrVkTexture::CreateNewTexture(GrVkGpu* gpu, const GrSurfaceDesc& desc, in CreateNewTexture()
73 GrVkTexture* GrVkTexture::CreateWrappedTexture(GrVkGpu* gpu, const GrSurfaceDesc& desc, in CreateWrappedTexture()
DGrVkRenderTarget.cpp23 const GrSurfaceDesc& desc, in GrVkRenderTarget()
49 const GrSurfaceDesc& desc, in GrVkRenderTarget()
75 const GrSurfaceDesc& desc, in GrVkRenderTarget()
96 const GrSurfaceDesc& desc, in GrVkRenderTarget()
116 const GrSurfaceDesc& desc, in Create()
186 const GrSurfaceDesc& desc, in CreateNewRenderTarget()
205 const GrSurfaceDesc& desc, in CreateWrappedRenderTarget()
DGrVkTextureRenderTarget.cpp19 const GrSurfaceDesc& desc, in Create()
118 const GrSurfaceDesc& desc, in CreateNewTextureRenderTarget()
140 const GrSurfaceDesc& desc, in CreateWrappedTextureRenderTarget()
DGrVkGpu.h79 bool initCopySurfaceDstDesc(const GrSurface* src, GrSurfaceDesc* desc) const override { in initCopySurfaceDstDesc()
127 GrTexture* onCreateTexture(const GrSurfaceDesc& desc, GrGpuResource::LifeCycle,
130 GrTexture* onCreateCompressedTexture(const GrSurfaceDesc& desc, GrGpuResource::LifeCycle, in onCreateCompressedTexture()
/external/skia/include/gpu/
DGrTextureProvider.h32 GrTexture* createTexture(const GrSurfaceDesc& desc, SkBudgeted budgeted, const void* srcData,
36 GrTexture* createTexture(const GrSurfaceDesc& desc, SkBudgeted budgeted) { in createTexture()
65 GrTexture* createApproxTexture(const GrSurfaceDesc&);
72 GrTexture* refScratchTexture(const GrSurfaceDesc& desc, ScratchTexMatch match) { in refScratchTexture()
135 GrTexture* internalCreateApproxTexture(const GrSurfaceDesc& desc, uint32_t scratchTextureFlags);
137 GrTexture* refScratchTexture(const GrSurfaceDesc&, uint32_t scratchTextureFlags);
DGrSurface.h55 const GrSurfaceDesc& desc() const { return fDesc; } in desc()
136 static size_t WorseCaseSize(const GrSurfaceDesc& desc);
149 GrSurface(GrGpu* gpu, LifeCycle lifeCycle, const GrSurfaceDesc& desc) in GrSurface()
161 GrSurfaceDesc fDesc;
/external/skia/src/gpu/
DGrTextureProvider.cpp32 GrTexture* GrTextureProvider::createTexture(const GrSurfaceDesc& desc, SkBudgeted budgeted, in createTexture()
60 GrTexture* GrTextureProvider::createApproxTexture(const GrSurfaceDesc& desc) { in createApproxTexture()
65 GrTexture* GrTextureProvider::internalCreateApproxTexture(const GrSurfaceDesc& desc, in internalCreateApproxTexture()
79 GrTexture* GrTextureProvider::refScratchTexture(const GrSurfaceDesc& inDesc, in refScratchTexture()
85 SkTCopyOnFirstWrite<GrSurfaceDesc> desc(inDesc); in refScratchTexture()
91 GrSurfaceDesc* wdesc = desc.writable(); in refScratchTexture()
DGrTexture.cpp70 GrSurfaceOrigin resolve_origin(const GrSurfaceDesc& desc) { in resolve_origin()
84 GrTexture::GrTexture(GrGpu* gpu, LifeCycle lifeCycle, const GrSurfaceDesc& desc) in GrTexture()
96 void GrTexturePriv::ComputeScratchKey(const GrSurfaceDesc& desc, GrScratchKey* key) { in ComputeScratchKey()
DGrGpu.h96 GrTexture* createTexture(const GrSurfaceDesc& desc, SkBudgeted budgeted,
160 GrSurfaceDesc fTempSurfaceDesc;
212 GrSurfaceDesc fTempSurfaceDesc;
311 virtual bool initCopySurfaceDstDesc(const GrSurface* src, GrSurfaceDesc* desc) const = 0;
511 virtual GrTexture* onCreateTexture(const GrSurfaceDesc& desc,
514 virtual GrTexture* onCreateCompressedTexture(const GrSurfaceDesc& desc,
DGrYUVProvider.cpp83 GrTexture* GrYUVProvider::refAsTexture(GrContext* ctx, const GrSurfaceDesc& desc, bool useCache) { in refAsTexture()
91 GrSurfaceDesc yuvDesc; in refAsTexture()
112 GrSurfaceDesc rtDesc = desc; in refAsTexture()
DGrSWMaskHelper.h132 void sendTextureData(GrTexture *texture, const GrSurfaceDesc& desc,
137 void compressTextureData(GrTexture *texture, const GrSurfaceDesc& desc);
DGrTextureToYUVPlanes.cpp72 GrSurfaceDesc yuvDesc; in GrTextureToYUVPlanes()
82 GrSurfaceDesc yDesc; in GrTextureToYUVPlanes()
92 GrSurfaceDesc uvDesc; in GrTextureToYUVPlanes()
103 GrSurfaceDesc uvDesc; in GrTextureToYUVPlanes()
DSkGr.cpp42 GrSurfaceDesc GrImageInfoToSurfaceDesc(const SkImageInfo& info) { in GrImageInfoToSurfaceDesc()
43 GrSurfaceDesc desc; in GrImageInfoToSurfaceDesc()
188 const GrSurfaceDesc& desc) { in create_texture_from_yuv()
202 static GrTexture* load_etc1_texture(GrContext* ctx, const SkBitmap &bm, GrSurfaceDesc desc) { in load_etc1_texture()
224 GrSurfaceDesc desc = GrImageInfoToSurfaceDesc(bitmap->info()); in GrUploadBitmapToTexture()
583 const GrSurfaceDesc& desc = tex->desc(); in GrMakeInfoFromTexture()
DGrSWMaskHelper.cpp232 GrSurfaceDesc desc; in createTexture()
253 void GrSWMaskHelper::sendTextureData(GrTexture *texture, const GrSurfaceDesc& desc, in sendTextureData()
262 void GrSWMaskHelper::compressTextureData(GrTexture *texture, const GrSurfaceDesc& desc) { in compressTextureData()
278 GrSurfaceDesc desc; in toTexture()
/external/skia/src/gpu/gl/
DGrGLRenderTarget.h34 const GrSurfaceDesc&,
78 GrGLRenderTarget(GrGLGpu*, const GrSurfaceDesc&, const IDDesc&, Derived);
80 void init(const GrSurfaceDesc&, const IDDesc&);
91 GrGLRenderTarget(GrGLGpu*, const GrSurfaceDesc&, const IDDesc&, GrGLStencilAttachment*);
DGrGLTexture.h35 GrGLTexture(GrGLGpu*, const GrSurfaceDesc&, const IDDesc&);
62 GrGLTexture(GrGLGpu*, const GrSurfaceDesc&, const IDDesc&, Derived);
64 void init(const GrSurfaceDesc&, const IDDesc&);
DGrGLTexture.cpp16 GrGLTexture::GrGLTexture(GrGLGpu* gpu, const GrSurfaceDesc& desc, const IDDesc& idDesc) in GrGLTexture()
23 GrGLTexture::GrGLTexture(GrGLGpu* gpu, const GrSurfaceDesc& desc, const IDDesc& idDesc, Derived) in GrGLTexture()
29 void GrGLTexture::init(const GrSurfaceDesc& desc, const IDDesc& idDesc) { in init()
DGrGLGpu.h70 bool initCopySurfaceDstDesc(const GrSurface* src, GrSurfaceDesc* desc) const override;
147 GrTexture* onCreateTexture(const GrSurfaceDesc& desc, GrGpuResource::LifeCycle lifeCycle,
149 GrTexture* onCreateCompressedTexture(const GrSurfaceDesc& desc,
170 bool createTextureImpl(const GrSurfaceDesc& desc, GrGLTextureInfo* info,
173 bool createTextureExternalAllocatorImpl(const GrSurfaceDesc& desc, GrGLTextureInfo* info,
342 bool uploadTexData(const GrSurfaceDesc& desc,
356 bool uploadCompressedTexData(const GrSurfaceDesc& desc,
363 bool createRenderTargetObjects(const GrSurfaceDesc&, GrGpuResource::LifeCycle lifeCycle,
DGrGLRenderTarget.cpp20 const GrSurfaceDesc& desc, in GrGLRenderTarget()
29 GrGLRenderTarget::GrGLRenderTarget(GrGLGpu* gpu, const GrSurfaceDesc& desc, const IDDesc& idDesc, in GrGLRenderTarget()
36 void GrGLRenderTarget::init(const GrSurfaceDesc& desc, const IDDesc& idDesc) { in init()
53 const GrSurfaceDesc& desc, in CreateWrapped()
/external/skia/src/core/
DSkSpecialSurface.h15 struct GrSurfaceDesc;
65 GrContext*, const GrSurfaceDesc&,
/external/skia/tests/
DCopySurfaceTest.cpp23 GrSurfaceDesc baseDesc; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
63 GrSurfaceDesc srcDesc = baseDesc; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
66 GrSurfaceDesc dstDesc = baseDesc; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DSpecialSurfaceTest.cpp84 GrSurfaceDesc desc; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
97 GrSurfaceDesc desc; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()

1234