Home
last modified time | relevance | path

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

1234

/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 {
31 GrGLGpu::ProgramCache::ProgramCache(GrGLGpu* gpu) in ProgramCache()
41 GrGLGpu::ProgramCache::~ProgramCache() { in ~ProgramCache()
58 void GrGLGpu::ProgramCache::abandon() { in abandon()
71 GrGLProgram* GrGLGpu::ProgramCache::refProgram(GrGLGpu* gpu, in refProgram()
DGrGLVertexArray.h18 class GrGLGpu; variable
40 void set(GrGLGpu*,
52 void enableVertexArrays(const GrGLGpu*, int enabledCount,
107 GrGLAttribArrayState* bind(GrGLGpu*);
113 GrGLAttribArrayState* bindWithIndexBuffer(GrGLGpu* gpu, const GrBuffer* indexBuffer);
DGrGLRenderTarget.h18 class GrGLGpu; variable
37 static sk_sp<GrGLRenderTarget> MakeWrapped(GrGLGpu*,
77 GrGLRenderTarget(GrGLGpu*, const GrSurfaceDesc&, GrGLenum format, const IDDesc&);
88 GrGLRenderTarget(GrGLGpu*, const GrSurfaceDesc&, GrGLenum format, const IDDesc&,
93 GrGLGpu* getGLGpu() const;
DGrGLSemaphore.h15 class GrGLGpu; variable
19 static sk_sp<GrGLSemaphore> Make(GrGLGpu* gpu, bool isOwned) { in Make()
23 static sk_sp<GrGLSemaphore> MakeWrapped(GrGLGpu* gpu, in MakeWrapped()
42 GrGLSemaphore(GrGLGpu* gpu, bool isOwned);
DGrGLBuffer.h14 class GrGLGpu; variable
19 static sk_sp<GrGLBuffer> Make(GrGLGpu*, size_t size, GrBufferType intendedType, GrAccessPattern,
39 GrGLBuffer(GrGLGpu*, size_t size, GrBufferType intendedType, GrAccessPattern, const void* data);
47 GrGLGpu* glGpu() const;
DGrGLGpu.cpp132 bool GrGLGpu::BlendCoeffReferencesConstant(GrBlendCoeff coeff) { in BlendCoeffReferencesConstant()
222 class GrGLGpu::SamplerObjectCache {
224 SamplerObjectCache(GrGLGpu* gpu) : fGpu(gpu) { in SamplerObjectCache()
300 GrGLGpu* fGpu;
309 sk_sp<GrGpu> GrGLGpu::Make(sk_sp<const GrGLInterface> interface, const GrContextOptions& options, in Make()
329 return sk_sp<GrGpu>(new GrGLGpu(std::move(glContext), context)); in Make()
332 GrGLGpu::GrGLGpu(std::unique_ptr<GrGLContext> ctx, GrContext* context) in GrGLGpu() function in GrGLGpu
373 GrGLGpu::~GrGLGpu() { in ~GrGLGpu()
413 void GrGLGpu::disconnect(DisconnectType type) { in disconnect()
475 void GrGLGpu::onResetContext(uint32_t resetBits) { in onResetContext()
[all …]
DGrGLTextureRenderTarget.h15 class GrGLGpu; variable
27 GrGLTextureRenderTarget(GrGLGpu* gpu,
38 static sk_sp<GrGLTextureRenderTarget> MakeWrapped(GrGLGpu* gpu, const GrSurfaceDesc& desc,
61 GrGLTextureRenderTarget(GrGLGpu* gpu,
DGrGLGpuCommandBuffer.h17 class GrGLGpu; variable
22 GrGLGpuTextureCommandBuffer(GrGLGpu* gpu) : fGpu(gpu) {} in GrGLGpuTextureCommandBuffer()
38 GrGLGpu* fGpu;
50 GrGLGpuRTCommandBuffer(GrGLGpu* gpu) : fGpu(gpu) {} in GrGLGpuRTCommandBuffer()
100 GrGLGpu* fGpu;
DGrGLRenderTarget.cpp17 #define GPUGL static_cast<GrGLGpu*>(this->getGpu())
22 GrGLRenderTarget::GrGLRenderTarget(GrGLGpu* gpu, in GrGLRenderTarget()
34 GrGLRenderTarget::GrGLRenderTarget(GrGLGpu* gpu, const GrSurfaceDesc& desc, GrGLenum format, in GrGLRenderTarget()
68 sk_sp<GrGLRenderTarget> GrGLRenderTarget::MakeWrapped(GrGLGpu* gpu, in MakeWrapped()
113 GrGLGpu* gpu = this->getGLGpu(); in completeStencilAttachment()
168 GrGLGpu* gpu = this->getGLGpu(); in onRelease()
192 GrGLGpu* GrGLRenderTarget::getGLGpu() const { in getGLGpu()
194 return static_cast<GrGLGpu*>(this->getGpu()); in getGLGpu()
DGrGLTexture.h16 class GrGLGpu; variable
65 GrGLTexture(GrGLGpu*, SkBudgeted, const GrSurfaceDesc&, const IDDesc&, GrMipMapsStatus);
113 static sk_sp<GrGLTexture> MakeWrapped(GrGLGpu*, const GrSurfaceDesc&, GrMipMapsStatus,
120 GrGLTexture(GrGLGpu*, const GrSurfaceDesc&, const IDDesc&, GrMipMapsStatus);
123 GrGLTexture(GrGLGpu*, const GrSurfaceDesc&, GrMipMapsStatus, const IDDesc&, GrWrapCacheable,
DGrGLTexture.cpp15 #define GPUGL static_cast<GrGLGpu*>(this->getGpu())
45 GrGLTexture::GrGLTexture(GrGLGpu* gpu, SkBudgeted budgeted, const GrSurfaceDesc& desc, in GrGLTexture()
56 GrGLTexture::GrGLTexture(GrGLGpu* gpu, const GrSurfaceDesc& desc, GrMipMapsStatus mipMapsStatus, in GrGLTexture()
67 GrGLTexture::GrGLTexture(GrGLGpu* gpu, const GrSurfaceDesc& desc, const IDDesc& idDesc, in GrGLTexture()
117 sk_sp<GrGLTexture> GrGLTexture::MakeWrapped(GrGLGpu* gpu, const GrSurfaceDesc& desc, in MakeWrapped()
/external/skia/tests/
DTraceMemoryDumpTest.cpp81 GrGLGpu* gpu = static_cast<GrGLGpu*>(dContext->priv().getGpu()); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
91 GrGLGpu* gpu = static_cast<GrGLGpu*>(dContext->priv().getGpu()); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
108 GrGLGpu* gpu = static_cast<GrGLGpu*>(dContext->priv().getGpu()); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
128 GrGLGpu* gpu = static_cast<GrGLGpu*>(dContext->priv().getGpu()); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
147 GrGLGpu* gpu = static_cast<GrGLGpu*>(dContext->priv().getGpu()); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
167 GrGLGpu* gpu = static_cast<GrGLGpu*>(dContext->priv().getGpu()); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
/external/skia/src/gpu/gl/
DGrGLGpuProgramCache.cpp20 struct GrGLGpu::ProgramCache::Entry {
31 GrGLGpu::ProgramCache::ProgramCache(int runtimeProgramCacheSize) in ProgramCache()
35 GrGLGpu::ProgramCache::~ProgramCache() {} in ~ProgramCache()
37 void GrGLGpu::ProgramCache::abandon() { in abandon()
47 void GrGLGpu::ProgramCache::reset() { in reset()
51 sk_sp<GrGLProgram> GrGLGpu::ProgramCache::findOrCreateProgram(GrDirectContext* dContext, in findOrCreateProgram()
72 sk_sp<GrGLProgram> GrGLGpu::ProgramCache::findOrCreateProgram(GrDirectContext* dContext, in findOrCreateProgram()
86 sk_sp<GrGLProgram> GrGLGpu::ProgramCache::findOrCreateProgramImpl(GrDirectContext* dContext, in findOrCreateProgramImpl()
121 bool GrGLGpu::ProgramCache::precompileShader(GrDirectContext* dContext, in precompileShader()
DGrGLSemaphore.h15 class GrGLGpu; variable
19 static std::unique_ptr<GrGLSemaphore> Make(GrGLGpu* gpu, bool isOwned) { in Make()
23 static std::unique_ptr<GrGLSemaphore> MakeWrapped(GrGLGpu* gpu, in MakeWrapped()
44 GrGLSemaphore(GrGLGpu* gpu, bool isOwned);
50 GrGLGpu* fGpu;
DGrGLGpu.cpp148 GrGpuResource::UniqueID GrGLGpu::TextureUnitBindings::boundID(GrGLenum target) const { in boundID()
152 bool GrGLGpu::TextureUnitBindings::hasBeenModified(GrGLenum target) const { in hasBeenModified()
156 void GrGLGpu::TextureUnitBindings::setBoundID(GrGLenum target, GrGpuResource::UniqueID resourceID) { in setBoundID()
162 void GrGLGpu::TextureUnitBindings::invalidateForScratchUse(GrGLenum target) { in invalidateForScratchUse()
166 void GrGLGpu::TextureUnitBindings::invalidateAllTargets(bool markUnmodified) { in invalidateAllTargets()
222 class GrGLGpu::SamplerObjectCache {
224 SamplerObjectCache(GrGLGpu* gpu) : fGpu(gpu) { in SamplerObjectCache()
308 GrGLGpu* fGpu;
316 sk_sp<GrGpu> GrGLGpu::Make(sk_sp<const GrGLInterface> interface, const GrContextOptions& options, in Make()
336 return sk_sp<GrGpu>(new GrGLGpu(std::move(glContext), direct)); in Make()
[all …]
DGrGLTexture.h17 class GrGLGpu; variable
31 GrGLTexture(GrGLGpu*, SkBudgeted, const Desc&, GrMipmapStatus);
53 static sk_sp<GrGLTexture> MakeWrapped(GrGLGpu*,
63 GrGLTexture(GrGLGpu*, const Desc&, sk_sp<GrGLTextureParameters>, GrMipmapStatus);
66 GrGLTexture(GrGLGpu*,
DGrGLVertexArray.h18 class GrGLGpu; variable
40 void set(GrGLGpu*,
52 void enableVertexArrays(const GrGLGpu*, int enabledCount,
109 GrGLAttribArrayState* bind(GrGLGpu*);
115 GrGLAttribArrayState* bindWithIndexBuffer(GrGLGpu* gpu, const GrBuffer* indexBuffer);
DGrGLRenderTarget.h17 class GrGLGpu; variable
37 static sk_sp<GrGLRenderTarget> MakeWrapped(GrGLGpu*,
64 GrGLRenderTarget(GrGLGpu*,
80 GrGLGpu*, const SkISize&, GrGLFormat, int sampleCount, const IDs&, GrGLAttachment*);
84 GrGLGpu* getGLGpu() const;
DGrGLBuffer.h14 class GrGLGpu; variable
19 static sk_sp<GrGLBuffer> Make(GrGLGpu*, size_t size, GrGpuBufferType intendedType,
39 GrGLBuffer(GrGLGpu*, size_t size, GrGpuBufferType intendedType, GrAccessPattern,
48 GrGLGpu* glGpu() const;
DGrGLTextureRenderTarget.h15 class GrGLGpu; variable
27 GrGLTextureRenderTarget(GrGLGpu* gpu,
38 static sk_sp<GrGLTextureRenderTarget> MakeWrapped(GrGLGpu* gpu,
64 GrGLTextureRenderTarget(GrGLGpu* gpu,
DGrGLRenderTarget.cpp18 #define GPUGL static_cast<GrGLGpu*>(this->getGpu())
23 GrGLRenderTarget::GrGLRenderTarget(GrGLGpu* gpu, in GrGLRenderTarget()
36 GrGLRenderTarget::GrGLRenderTarget(GrGLGpu* gpu, in GrGLRenderTarget()
78 sk_sp<GrGLRenderTarget> GrGLRenderTarget::MakeWrapped(GrGLGpu* gpu, in MakeWrapped()
128 GrGLGpu* gpu = this->getGLGpu(); in completeStencilAttachment()
223 GrGLGpu* gpu = this->getGLGpu(); in onRelease()
249 GrGLGpu* GrGLRenderTarget::getGLGpu() const { in getGLGpu()
251 return static_cast<GrGLGpu*>(this->getGpu()); in getGLGpu()
DGrGLTexture.cpp16 #define GPUGL static_cast<GrGLGpu*>(this->getGpu())
46 GrGLTexture::GrGLTexture(GrGLGpu* gpu, SkBudgeted budgeted, const Desc& desc, in GrGLTexture()
59 GrGLTexture::GrGLTexture(GrGLGpu* gpu, const Desc& desc, GrMipmapStatus mipmapStatus, in GrGLTexture()
74 GrGLTexture::GrGLTexture(GrGLGpu* gpu, const Desc& desc, sk_sp<GrGLTextureParameters> parameters, in GrGLTexture()
125 sk_sp<GrGLTexture> GrGLTexture::MakeWrapped(GrGLGpu* gpu, in MakeWrapped()
/external/skqp/tests/
DTraceMemoryDumpTest.cpp76 GrGLGpu* gpu = static_cast<GrGLGpu*>(context->contextPriv().getGpu()); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
86 GrGLGpu* gpu = static_cast<GrGLGpu*>(context->contextPriv().getGpu()); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
112 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()
/external/skqp/src/gpu/gl/builders/
DGrGLProgramBuilder.h43 GrGLGpu*);
47 GrGLGpu* gpu() const { return fGpu; } in gpu()
50 GrGLProgramBuilder(GrGLGpu*, GrRenderTarget*, GrSurfaceOrigin,
87 GrGLGpu* fGpu;

1234