Home
last modified time | relevance | path

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

12

/third_party/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()
DProgramsTest.cpp334 GrGLGpu* gpu = static_cast<GrGLGpu*>(context->priv().getGpu()); in get_programs_max_stages()
372 GrGLGpu* gpu = static_cast<GrGLGpu*>(ctxInfo.directContext()->priv().getGpu()); in get_programs_max_levels()
DTextureBindingsResetTest.cpp23 GrGLGpu* glGpu = static_cast<GrGLGpu*>(dContext->priv().getGpu()); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
/third_party/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()
DGrGLGpu.cpp149 GrGpuResource::UniqueID GrGLGpu::TextureUnitBindings::boundID(GrGLenum target) const { in boundID()
153 bool GrGLGpu::TextureUnitBindings::hasBeenModified(GrGLenum target) const { in hasBeenModified()
157 void GrGLGpu::TextureUnitBindings::setBoundID(GrGLenum target, GrGpuResource::UniqueID resourceID) { in setBoundID()
163 void GrGLGpu::TextureUnitBindings::invalidateForScratchUse(GrGLenum target) { in invalidateForScratchUse()
167 void GrGLGpu::TextureUnitBindings::invalidateAllTargets(bool markUnmodified) { in invalidateAllTargets()
223 class GrGLGpu::SamplerObjectCache {
225 SamplerObjectCache(GrGLGpu* gpu) : fGpu(gpu) { in SamplerObjectCache()
309 GrGLGpu* fGpu;
317 sk_sp<GrGpu> GrGLGpu::Make(sk_sp<const GrGLInterface> interface, const GrContextOptions& options, in Make()
337 return sk_sp<GrGpu>(new GrGLGpu(std::move(glContext), direct)); in Make()
[all …]
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;
DGrGLRenderTarget.cpp19 #define GPUGL static_cast<GrGLGpu*>(this->getGpu())
25 GrGLRenderTarget::GrGLRenderTarget(GrGLGpu* gpu, in GrGLRenderTarget()
38 GrGLRenderTarget::GrGLRenderTarget(GrGLGpu* gpu, in GrGLRenderTarget()
80 sk_sp<GrGLRenderTarget> GrGLRenderTarget::MakeWrapped(GrGLGpu* gpu, in MakeWrapped()
265 void GrGLRenderTarget::bindForResolve(GrGLGpu::ResolveDirection resolveDirection) { in bindForResolve()
273 if (resolveDirection == GrGLGpu::ResolveDirection::kMSAAToSingle) { in bindForResolve()
277 SkASSERT(resolveDirection == GrGLGpu::ResolveDirection::kSingleToMSAA); in bindForResolve()
286 GrGLGpu* gpu = this->getGLGpu(); in onRelease()
310 GrGLGpu* GrGLRenderTarget::getGLGpu() const { in getGLGpu()
312 return static_cast<GrGLGpu*>(this->getGpu()); in getGLGpu()
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.h18 class GrGLGpu; variable
38 static sk_sp<GrGLRenderTarget> MakeWrapped(GrGLGpu*,
92 GrGLRenderTarget(GrGLGpu*,
111 GrGLGpu*, const SkISize&, GrGLFormat, int sampleCount, const IDs&,
116 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,
DGrGLAttachment.cpp27 static bool renderbuffer_storage_msaa(GrGLGpu* gpu, in renderbuffer_storage_msaa()
55 sk_sp<GrGLAttachment> GrGLAttachment::MakeStencil(GrGLGpu* gpu, in MakeStencil()
92 sk_sp<GrGLAttachment> GrGLAttachment::MakeMSAA(GrGLGpu* gpu, in MakeMSAA()
121 GrGLGpu* gpuGL = (GrGLGpu*)this->getGpu(); in onRelease()
DGrGLTexture.cpp17 #define GPUGL static_cast<GrGLGpu*>(this->getGpu())
47 GrGLTexture::GrGLTexture(GrGLGpu* gpu, SkBudgeted budgeted, const Desc& desc, in GrGLTexture()
60 GrGLTexture::GrGLTexture(GrGLGpu* gpu, const Desc& desc, GrMipmapStatus mipmapStatus, in GrGLTexture()
75 GrGLTexture::GrGLTexture(GrGLGpu* gpu, const Desc& desc, sk_sp<GrGLTextureParameters> parameters, in GrGLTexture()
126 sk_sp<GrGLTexture> GrGLTexture::MakeWrapped(GrGLGpu* gpu, in MakeWrapped()
DGrGLAttachment.h14 class GrGLGpu; variable
18 static sk_sp<GrGLAttachment> MakeStencil(GrGLGpu* gpu,
23 static sk_sp<GrGLAttachment> MakeMSAA(GrGLGpu* gpu,
DGrGLTextureRenderTarget.cpp16 GrGLTextureRenderTarget::GrGLTextureRenderTarget(GrGLGpu* gpu, in GrGLTextureRenderTarget()
28 GrGLTextureRenderTarget::GrGLTextureRenderTarget(GrGLGpu* gpu, in GrGLTextureRenderTarget()
64 GrGLGpu* gpu, in MakeWrapped()
DGrGLProgramDataManager.h19 class GrGLGpu; variable
44 GrGLProgramDataManager(GrGLGpu*, const UniformInfoArray&);
93 GrGLGpu* fGpu;
DGrGLOpsRenderPass.h17 class GrGLGpu; variable
27 GrGLOpsRenderPass(GrGLGpu* gpu) : fGpu(gpu) {} in GrGLOpsRenderPass()
86 GrGLGpu* const fGpu;
DGrGLVertexArray.cpp79 void GrGLAttribArrayState::set(GrGLGpu* gpu, in set()
144 void GrGLAttribArrayState::enableVertexArrays(const GrGLGpu* gpu, int enabledCount, in enableVertexArrays()
187 GrGLAttribArrayState* GrGLVertexArray::bind(GrGLGpu* gpu) { in bind()
195 GrGLAttribArrayState* GrGLVertexArray::bindWithIndexBuffer(GrGLGpu* gpu, const GrBuffer* ibuff) { in bindWithIndexBuffer()
DGrGLProgram.h54 GrGLGpu*,
127 GrGLProgram(GrGLGpu*,
160 GrGLGpu* fGpu;
DGrGLBuffer.cpp37 sk_sp<GrGLBuffer> GrGLBuffer::Make(GrGLGpu* gpu, size_t size, GrGpuBufferType intendedType, in Make()
106 GrGLBuffer::GrGLBuffer(GrGLGpu* gpu, size_t size, GrGpuBufferType intendedType, in GrGLBuffer()
132 inline GrGLGpu* GrGLBuffer::glGpu() const { in glGpu()
134 return static_cast<GrGLGpu*>(this->getGpu()); in glGpu()
DGrGLGpu.h33 class GrGLGpu final : public GrGpu {
36 ~GrGLGpu() override;
216 GrGLGpu(std::unique_ptr<GrGLContext>, GrDirectContext*);
635 void setVertexArrayID(GrGLGpu* gpu, GrGLuint arrayID) { in setVertexArrayID()
657 GrGLAttribArrayState* bindInternalVertexArray(GrGLGpu*, const GrBuffer* ibuff = nullptr);
DGrGLProgram.cpp28 GrGLGpu* gpu, in Make()
60 GrGLProgram::GrGLProgram(GrGLGpu* gpu, in GrGLProgram()
/third_party/skia/src/gpu/gl/builders/
DGrGLProgramBuilder.h56 GrGLGpu* gpu() const { return fGpu; } in gpu()
61 GrGLProgramBuilder(GrGLGpu*, const GrProgramDesc&, const GrProgramInfo&);
89 GrGLGpu* fGpu;
DGrGLProgramBuilder.cpp37 static void cleanup_shaders(GrGLGpu* gpu, const SkTDArray<GrGLuint>& shaderIDs) { in cleanup_shaders()
43 static void cleanup_program(GrGLGpu* gpu, GrGLuint programID, in cleanup_program()
57 GrGLGpu* glGpu = static_cast<GrGLGpu*>(dContext->priv().getGpu()); in CreateProgram()
79 GrGLProgramBuilder::GrGLProgramBuilder(GrGLGpu* gpu, in GrGLProgramBuilder()
104 GrGLGpu* gpu = this->gpu(); in compileAndAttachShaders()
560 GrGLGpu* glGpu = static_cast<GrGLGpu*>(dContext->priv().getGpu()); in PrecompileProgram()

12