/third_party/skia/tests/ |
D | TraceMemoryDumpTest.cpp | 81 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()
|
D | ProgramsTest.cpp | 334 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()
|
D | TextureBindingsResetTest.cpp | 23 GrGLGpu* glGpu = static_cast<GrGLGpu*>(dContext->priv().getGpu()); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
|
/third_party/skia/src/gpu/gl/ |
D | GrGLGpuProgramCache.cpp | 20 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()
|
D | GrGLGpu.cpp | 149 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 …]
|
D | GrGLSemaphore.h | 15 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;
|
D | GrGLRenderTarget.cpp | 19 #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()
|
D | GrGLTexture.h | 17 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*,
|
D | GrGLVertexArray.h | 18 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);
|
D | GrGLRenderTarget.h | 18 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;
|
D | GrGLBuffer.h | 14 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;
|
D | GrGLTextureRenderTarget.h | 15 class GrGLGpu; variable 27 GrGLTextureRenderTarget(GrGLGpu* gpu, 38 static sk_sp<GrGLTextureRenderTarget> MakeWrapped(GrGLGpu* gpu, 64 GrGLTextureRenderTarget(GrGLGpu* gpu,
|
D | GrGLAttachment.cpp | 27 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()
|
D | GrGLTexture.cpp | 17 #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()
|
D | GrGLAttachment.h | 14 class GrGLGpu; variable 18 static sk_sp<GrGLAttachment> MakeStencil(GrGLGpu* gpu, 23 static sk_sp<GrGLAttachment> MakeMSAA(GrGLGpu* gpu,
|
D | GrGLTextureRenderTarget.cpp | 16 GrGLTextureRenderTarget::GrGLTextureRenderTarget(GrGLGpu* gpu, in GrGLTextureRenderTarget() 28 GrGLTextureRenderTarget::GrGLTextureRenderTarget(GrGLGpu* gpu, in GrGLTextureRenderTarget() 64 GrGLGpu* gpu, in MakeWrapped()
|
D | GrGLProgramDataManager.h | 19 class GrGLGpu; variable 44 GrGLProgramDataManager(GrGLGpu*, const UniformInfoArray&); 93 GrGLGpu* fGpu;
|
D | GrGLOpsRenderPass.h | 17 class GrGLGpu; variable 27 GrGLOpsRenderPass(GrGLGpu* gpu) : fGpu(gpu) {} in GrGLOpsRenderPass() 86 GrGLGpu* const fGpu;
|
D | GrGLVertexArray.cpp | 79 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()
|
D | GrGLProgram.h | 54 GrGLGpu*, 127 GrGLProgram(GrGLGpu*, 160 GrGLGpu* fGpu;
|
D | GrGLBuffer.cpp | 37 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()
|
D | GrGLGpu.h | 33 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);
|
D | GrGLProgram.cpp | 28 GrGLGpu* gpu, in Make() 60 GrGLProgram::GrGLProgram(GrGLGpu* gpu, in GrGLProgram()
|
/third_party/skia/src/gpu/gl/builders/ |
D | GrGLProgramBuilder.h | 56 GrGLGpu* gpu() const { return fGpu; } in gpu() 61 GrGLProgramBuilder(GrGLGpu*, const GrProgramDesc&, const GrProgramInfo&); 89 GrGLGpu* fGpu;
|
D | GrGLProgramBuilder.cpp | 37 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()
|