Home
last modified time | relevance | path

Searched refs:GrGLGpu (Results 1 – 25 of 83) sorted by relevance

1234

/external/skia/src/gpu/gl/
DGrGLPath.h14 class GrGLGpu; variable
25 static bool InitPathObjectPathDataCheckingDegenerates(GrGLGpu*,
28 static void InitPathObjectPathData(GrGLGpu*,
31 static void InitPathObjectStroke(GrGLGpu*, GrGLuint pathID, const SkStrokeRec&);
33 static void InitPathObjectEmptyPath(GrGLGpu*, GrGLuint pathID);
36 GrGLPath(GrGLGpu*, const SkPath&, const GrStyle&);
DGrGLGpuProgramCache.cpp25 struct GrGLGpu::ProgramCache::Entry {
32 GrGLGpu::ProgramCache::ProgramCache(GrGLGpu* gpu) in ProgramCache()
42 GrGLGpu::ProgramCache::~ProgramCache() { in ~ProgramCache()
59 void GrGLGpu::ProgramCache::abandon() { in abandon()
67 GrGLProgram* GrGLGpu::ProgramCache::refProgram(const GrGLGpu* gpu, in refProgram()
DGrGLVertexArray.h18 class GrGLGpu; variable
40 void set(GrGLGpu*,
56 void enableVertexArrays(const GrGLGpu*, int enabledCount,
110 GrGLAttribArrayState* bind(GrGLGpu*);
116 GrGLAttribArrayState* bindWithIndexBuffer(GrGLGpu* gpu, const GrBuffer* indexBuffer);
DGrGLRenderTarget.h18 class GrGLGpu; variable
37 static sk_sp<GrGLRenderTarget> MakeWrapped(GrGLGpu*,
76 GrGLRenderTarget(GrGLGpu*, const GrSurfaceDesc&, const IDDesc&);
87 GrGLRenderTarget(GrGLGpu*, const GrSurfaceDesc&, const IDDesc&, GrGLStencilAttachment*);
91 GrGLGpu* getGLGpu() const;
DGrGLGpu.cpp126 bool GrGLGpu::BlendCoeffReferencesConstant(GrBlendCoeff coeff) { in BlendCoeffReferencesConstant()
178 sk_sp<GrGpu> GrGLGpu::Make(GrBackendContext backendContext, const GrContextOptions& options, in Make()
184 sk_sp<GrGpu> GrGLGpu::Make(sk_sp<const GrGLInterface> interface, const GrContextOptions& options, in Make()
204 return sk_sp<GrGpu>(new GrGLGpu(std::move(glContext), context)); in Make()
207 GrGLGpu::GrGLGpu(std::unique_ptr<GrGLContext> ctx, GrContext* context) in GrGLGpu() function in GrGLGpu
251 GrGLGpu::~GrGLGpu() { in ~GrGLGpu()
298 void GrGLGpu::disconnect(DisconnectType type) { in disconnect()
362 void GrGLGpu::onResetContext(uint32_t resetBits) { in onResetContext()
527 sk_sp<GrTexture> GrGLGpu::onWrapBackendTexture(const GrBackendTexture& backendTex, in onWrapBackendTexture()
556 sk_sp<GrTexture> GrGLGpu::onWrapRenderableBackendTexture(const GrBackendTexture& backendTex, in onWrapRenderableBackendTexture()
[all …]
DGrGLTexture.h16 class GrGLGpu; variable
35 GrGLTexture(GrGLGpu*, SkBudgeted, const GrSurfaceDesc&, const IDDesc&, GrMipMapsStatus);
70 static sk_sp<GrGLTexture> MakeWrapped(GrGLGpu*, const GrSurfaceDesc&, GrMipMapsStatus,
77 GrGLTexture(GrGLGpu*, const GrSurfaceDesc&, const IDDesc&, GrMipMapsStatus);
81 GrGLTexture(GrGLGpu*, Wrapped, const GrSurfaceDesc&, GrMipMapsStatus, const IDDesc&);
DGrGLSemaphore.h15 class GrGLGpu; variable
19 static sk_sp<GrGLSemaphore> Make(const GrGLGpu* gpu, bool isOwned) { in Make()
23 static sk_sp<GrGLSemaphore> MakeWrapped(const GrGLGpu* gpu, in MakeWrapped()
38 GrGLSemaphore(const GrGLGpu* gpu, bool isOwned);
DGrGLPathRange.cpp13 GrGLPathRange::GrGLPathRange(GrGLGpu* gpu, PathGenerator* pathGenerator, const GrStyle& style) in GrGLPathRange()
22 GrGLPathRange::GrGLPathRange(GrGLGpu* gpu, in GrGLPathRange()
54 GrGLGpu* gpu = static_cast<GrGLGpu*>(this->getGpu()); in onInitPath()
98 static_cast<GrGLGpu*>(this->getGpu())->glPathRendering()->deletePaths(fBasePathID, in onRelease()
DGrGLTextureRenderTarget.h15 class GrGLGpu; variable
27 GrGLTextureRenderTarget(GrGLGpu* gpu,
38 static sk_sp<GrGLTextureRenderTarget> MakeWrapped(GrGLGpu* gpu, const GrSurfaceDesc& desc,
55 GrGLTextureRenderTarget(GrGLGpu* gpu,
DGrGLBuffer.h14 class GrGLGpu; variable
19 static GrGLBuffer* Create(GrGLGpu*, size_t size, GrBufferType intendedType, GrAccessPattern,
39 GrGLBuffer(GrGLGpu*, size_t size, GrBufferType intendedType, GrAccessPattern, const void* data);
47 GrGLGpu* glGpu() const;
DGrGLGpuCommandBuffer.h17 class GrGLGpu; variable
22 GrGLGpuTextureCommandBuffer(GrGLGpu* gpu, GrTexture* texture, GrSurfaceOrigin origin) in GrGLGpuTextureCommandBuffer()
41 GrGLGpu* fGpu;
53 GrGLGpuRTCommandBuffer(GrGLGpu* gpu, GrRenderTarget* rt, GrSurfaceOrigin origin, in GrGLGpuRTCommandBuffer()
105 GrGLGpu* fGpu;
DGrGLTexture.cpp15 #define GPUGL static_cast<GrGLGpu*>(this->getGpu())
19 const GrGLGpu* gpu) { in sampler_type()
43 GrGLTexture::GrGLTexture(GrGLGpu* gpu, SkBudgeted budgeted, const GrSurfaceDesc& desc, in GrGLTexture()
52 GrGLTexture::GrGLTexture(GrGLGpu* gpu, Wrapped, const GrSurfaceDesc& desc, in GrGLTexture()
61 GrGLTexture::GrGLTexture(GrGLGpu* gpu, const GrSurfaceDesc& desc, const IDDesc& idDesc, in GrGLTexture()
104 sk_sp<GrGLTexture> GrGLTexture::MakeWrapped(GrGLGpu* gpu, const GrSurfaceDesc& desc, in MakeWrapped()
/external/skqp/src/gpu/gl/
DGrGLPath.h14 class GrGLGpu; variable
25 static bool InitPathObjectPathDataCheckingDegenerates(GrGLGpu*,
28 static void InitPathObjectPathData(GrGLGpu*,
31 static void InitPathObjectStroke(GrGLGpu*, GrGLuint pathID, const SkStrokeRec&);
33 static void InitPathObjectEmptyPath(GrGLGpu*, GrGLuint pathID);
36 GrGLPath(GrGLGpu*, const SkPath&, const GrStyle&);
DGrGLGpuProgramCache.cpp25 struct GrGLGpu::ProgramCache::Entry {
32 GrGLGpu::ProgramCache::ProgramCache(GrGLGpu* gpu) in ProgramCache()
42 GrGLGpu::ProgramCache::~ProgramCache() { in ~ProgramCache()
59 void GrGLGpu::ProgramCache::abandon() { in abandon()
67 GrGLProgram* GrGLGpu::ProgramCache::refProgram(const GrGLGpu* gpu, in refProgram()
DGrGLVertexArray.h18 class GrGLGpu; variable
40 void set(GrGLGpu*,
56 void enableVertexArrays(const GrGLGpu*, int enabledCount,
110 GrGLAttribArrayState* bind(GrGLGpu*);
116 GrGLAttribArrayState* bindWithIndexBuffer(GrGLGpu* gpu, const GrBuffer* indexBuffer);
DGrGLRenderTarget.h18 class GrGLGpu; variable
37 static sk_sp<GrGLRenderTarget> MakeWrapped(GrGLGpu*,
76 GrGLRenderTarget(GrGLGpu*, const GrSurfaceDesc&, const IDDesc&);
87 GrGLRenderTarget(GrGLGpu*, const GrSurfaceDesc&, const IDDesc&, GrGLStencilAttachment*);
91 GrGLGpu* getGLGpu() const;
DGrGLGpu.cpp126 bool GrGLGpu::BlendCoeffReferencesConstant(GrBlendCoeff coeff) { in BlendCoeffReferencesConstant()
178 sk_sp<GrGpu> GrGLGpu::Make(GrBackendContext backendContext, const GrContextOptions& options, in Make()
184 sk_sp<GrGpu> GrGLGpu::Make(sk_sp<const GrGLInterface> interface, const GrContextOptions& options, in Make()
204 return sk_sp<GrGpu>(new GrGLGpu(std::move(glContext), context)); in Make()
207 GrGLGpu::GrGLGpu(std::unique_ptr<GrGLContext> ctx, GrContext* context) in GrGLGpu() function in GrGLGpu
251 GrGLGpu::~GrGLGpu() { in ~GrGLGpu()
298 void GrGLGpu::disconnect(DisconnectType type) { in disconnect()
362 void GrGLGpu::onResetContext(uint32_t resetBits) { in onResetContext()
527 sk_sp<GrTexture> GrGLGpu::onWrapBackendTexture(const GrBackendTexture& backendTex, in onWrapBackendTexture()
556 sk_sp<GrTexture> GrGLGpu::onWrapRenderableBackendTexture(const GrBackendTexture& backendTex, in onWrapRenderableBackendTexture()
[all …]
DGrGLTexture.h16 class GrGLGpu; variable
35 GrGLTexture(GrGLGpu*, SkBudgeted, const GrSurfaceDesc&, const IDDesc&, GrMipMapsStatus);
70 static sk_sp<GrGLTexture> MakeWrapped(GrGLGpu*, const GrSurfaceDesc&, GrMipMapsStatus,
75 GrGLTexture(GrGLGpu*, const GrSurfaceDesc&, const IDDesc&, GrMipMapsStatus);
79 GrGLTexture(GrGLGpu*, Wrapped, const GrSurfaceDesc&, GrMipMapsStatus, const IDDesc&);
DGrGLSemaphore.h15 class GrGLGpu; variable
19 static sk_sp<GrGLSemaphore> Make(const GrGLGpu* gpu, bool isOwned) { in Make()
23 static sk_sp<GrGLSemaphore> MakeWrapped(const GrGLGpu* gpu, in MakeWrapped()
38 GrGLSemaphore(const GrGLGpu* gpu, bool isOwned);
DGrGLPathRange.cpp13 GrGLPathRange::GrGLPathRange(GrGLGpu* gpu, PathGenerator* pathGenerator, const GrStyle& style) in GrGLPathRange()
22 GrGLPathRange::GrGLPathRange(GrGLGpu* gpu, in GrGLPathRange()
54 GrGLGpu* gpu = static_cast<GrGLGpu*>(this->getGpu()); in onInitPath()
98 static_cast<GrGLGpu*>(this->getGpu())->glPathRendering()->deletePaths(fBasePathID, in onRelease()
DGrGLTextureRenderTarget.h15 class GrGLGpu; variable
27 GrGLTextureRenderTarget(GrGLGpu* gpu,
38 static sk_sp<GrGLTextureRenderTarget> MakeWrapped(GrGLGpu* gpu, const GrSurfaceDesc& desc,
55 GrGLTextureRenderTarget(GrGLGpu* gpu,
DGrGLBuffer.h14 class GrGLGpu; variable
19 static GrGLBuffer* Create(GrGLGpu*, size_t size, GrBufferType intendedType, GrAccessPattern,
39 GrGLBuffer(GrGLGpu*, size_t size, GrBufferType intendedType, GrAccessPattern, const void* data);
47 GrGLGpu* glGpu() const;
DGrGLGpuCommandBuffer.h17 class GrGLGpu; variable
22 GrGLGpuTextureCommandBuffer(GrGLGpu* gpu, GrTexture* texture, GrSurfaceOrigin origin) in GrGLGpuTextureCommandBuffer()
41 GrGLGpu* fGpu;
53 GrGLGpuRTCommandBuffer(GrGLGpu* gpu, GrRenderTarget* rt, GrSurfaceOrigin origin, in GrGLGpuRTCommandBuffer()
105 GrGLGpu* fGpu;
DGrGLTexture.cpp15 #define GPUGL static_cast<GrGLGpu*>(this->getGpu())
19 const GrGLGpu* gpu) { in sampler_type()
52 GrGLTexture::GrGLTexture(GrGLGpu* gpu, SkBudgeted budgeted, const GrSurfaceDesc& desc, in GrGLTexture()
61 GrGLTexture::GrGLTexture(GrGLGpu* gpu, Wrapped, const GrSurfaceDesc& desc, in GrGLTexture()
70 GrGLTexture::GrGLTexture(GrGLGpu* gpu, const GrSurfaceDesc& desc, const IDDesc& idDesc, in GrGLTexture()
121 sk_sp<GrGLTexture> GrGLTexture::MakeWrapped(GrGLGpu* gpu, const GrSurfaceDesc& desc, in MakeWrapped()
/external/skia/tests/
DTraceMemoryDumpTest.cpp77 GrGLGpu* gpu = static_cast<GrGLGpu*>(context->contextPriv().getGpu()); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
87 GrGLGpu* gpu = static_cast<GrGLGpu*>(context->contextPriv().getGpu()); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
113 GrGLGpu* gpu = static_cast<GrGLGpu*>(context->contextPriv().getGpu()); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
138 GrGLGpu* gpu = static_cast<GrGLGpu*>(context->contextPriv().getGpu()); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
160 GrGLGpu* gpu = static_cast<GrGLGpu*>(context->contextPriv().getGpu()); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()

1234