/external/skia/tests/ |
D | TraceMemoryDumpTest.cpp | 96 GrGLGpu* gpu = static_cast<GrGLGpu*>(dContext->priv().getGpu()); in DEF_GANESH_TEST_FOR_GL_RENDERING_CONTEXTS() 109 GrGLGpu* gpu = static_cast<GrGLGpu*>(dContext->priv().getGpu()); in DEF_GANESH_TEST_FOR_GL_RENDERING_CONTEXTS() 132 GrGLGpu* gpu = static_cast<GrGLGpu*>(dContext->priv().getGpu()); in DEF_GANESH_TEST_FOR_GL_RENDERING_CONTEXTS() 159 GrGLGpu* gpu = static_cast<GrGLGpu*>(dContext->priv().getGpu()); in DEF_GANESH_TEST_FOR_GL_RENDERING_CONTEXTS() 186 GrGLGpu* gpu = static_cast<GrGLGpu*>(dContext->priv().getGpu()); in DEF_GANESH_TEST_FOR_GL_RENDERING_CONTEXTS() 213 GrGLGpu* gpu = static_cast<GrGLGpu*>(dContext->priv().getGpu()); in DEF_GANESH_TEST_FOR_GL_RENDERING_CONTEXTS()
|
D | ProgramsTest.cpp | 373 GrGLGpu* gpu = static_cast<GrGLGpu*>(context->priv().getGpu()); in get_programs_max_stages() 411 GrGLGpu* gpu = static_cast<GrGLGpu*>(ctxInfo.directContext()->priv().getGpu()); in get_programs_max_levels()
|
/external/skia/src/gpu/ganesh/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 | 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 | GrGLGpu.cpp | 156 GrGpuResource::UniqueID GrGLGpu::TextureUnitBindings::boundID(GrGLenum target) const { in boundID() 160 bool GrGLGpu::TextureUnitBindings::hasBeenModified(GrGLenum target) const { in hasBeenModified() 164 void GrGLGpu::TextureUnitBindings::setBoundID(GrGLenum target, GrGpuResource::UniqueID resourceID) { in setBoundID() 170 void GrGLGpu::TextureUnitBindings::invalidateForScratchUse(GrGLenum target) { in invalidateForScratchUse() 174 void GrGLGpu::TextureUnitBindings::invalidateAllTargets(bool markUnmodified) { in invalidateAllTargets() 230 static void cleanup_program(GrGLGpu* gpu, in cleanup_program() 251 class GrGLGpu::SamplerObjectCache { 253 SamplerObjectCache(GrGLGpu* gpu) : fGpu(gpu) { in SamplerObjectCache() 376 GrGLGpu* fGpu; 382 sk_sp<GrGpu> GrGLGpu::Make(sk_sp<const GrGLInterface> interface, const GrContextOptions& options, in Make() [all …]
|
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 | GrGLAttachment.cpp | 27 static bool renderbuffer_storage_msaa(GrGLGpu* gpu, in renderbuffer_storage_msaa() 54 sk_sp<GrGLAttachment> GrGLAttachment::MakeStencil(GrGLGpu* gpu, in MakeStencil() 92 sk_sp<GrGLAttachment> GrGLAttachment::MakeMSAA(GrGLGpu* gpu, in MakeMSAA() 122 GrGLGpu* gpuGL = (GrGLGpu*)this->getGpu(); in onRelease() 152 GrGLGpu* glGpu = static_cast<GrGLGpu*>(this->getGpu()); in onSetLabel()
|
D | GrGLTexture.h | 17 class GrGLGpu; variable 31 GrGLTexture(GrGLGpu*, skgpu::Budgeted, const Desc&, GrMipmapStatus, std::string_view label); 53 static sk_sp<GrGLTexture> MakeWrapped(GrGLGpu*, 64 GrGLTexture(GrGLGpu*, 71 GrGLTexture(GrGLGpu*,
|
D | GrGLRenderTarget.cpp | 19 #define GPUGL static_cast<GrGLGpu*>(this->getGpu()) 25 GrGLRenderTarget::GrGLRenderTarget(GrGLGpu* gpu, in GrGLRenderTarget() 39 GrGLRenderTarget::GrGLRenderTarget(GrGLGpu* gpu, in GrGLRenderTarget() 82 sk_sp<GrGLRenderTarget> GrGLRenderTarget::MakeWrapped(GrGLGpu* gpu, in MakeWrapped() 274 void GrGLRenderTarget::bindForResolve(GrGLGpu::ResolveDirection resolveDirection) { in bindForResolve() 282 if (resolveDirection == GrGLGpu::ResolveDirection::kMSAAToSingle) { in bindForResolve() 286 SkASSERT(resolveDirection == GrGLGpu::ResolveDirection::kSingleToMSAA); in bindForResolve() 295 GrGLGpu* gpu = this->getGLGpu(); in onRelease() 319 GrGLGpu* GrGLRenderTarget::getGLGpu() const { in getGLGpu() 321 return static_cast<GrGLGpu*>(this->getGpu()); in getGLGpu()
|
D | GrGLRenderTarget.h | 18 class GrGLGpu; variable 38 static sk_sp<GrGLRenderTarget> MakeWrapped(GrGLGpu*, 98 GrGLRenderTarget(GrGLGpu*, 117 GrGLRenderTarget(GrGLGpu*, 127 GrGLGpu* getGLGpu() const;
|
D | GrGLTexture.cpp | 17 #define GPUGL static_cast<GrGLGpu*>(this->getGpu()) 47 GrGLTexture::GrGLTexture(GrGLGpu* gpu, in GrGLTexture() 67 GrGLTexture::GrGLTexture(GrGLGpu* gpu, const Desc& desc, GrMipmapStatus mipmapStatus, in GrGLTexture() 86 GrGLTexture::GrGLTexture(GrGLGpu* gpu, in GrGLTexture() 144 sk_sp<GrGLTexture> GrGLTexture::MakeWrapped(GrGLGpu* gpu, in MakeWrapped() 173 GrGLGpu* glGpu = static_cast<GrGLGpu*>(this->getGpu()); in onSetLabel()
|
D | GrGLBuffer.h | 14 class GrGLGpu; variable 19 static sk_sp<GrGLBuffer> Make(GrGLGpu*, 35 GrGLBuffer(GrGLGpu*, 47 GrGLGpu* glGpu() const;
|
D | GrGLTextureRenderTarget.h | 15 class GrGLGpu; variable 27 GrGLTextureRenderTarget(GrGLGpu* gpu, 39 static sk_sp<GrGLTextureRenderTarget> MakeWrapped(GrGLGpu* gpu, 66 GrGLTextureRenderTarget(GrGLGpu* gpu,
|
D | GrGLAttachment.h | 14 class GrGLGpu; variable 18 static sk_sp<GrGLAttachment> MakeStencil(GrGLGpu* gpu, 23 static sk_sp<GrGLAttachment> MakeMSAA(GrGLGpu* gpu,
|
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 | GrGLTextureRenderTarget.cpp | 16 GrGLTextureRenderTarget::GrGLTextureRenderTarget(GrGLGpu* gpu, in GrGLTextureRenderTarget() 29 GrGLTextureRenderTarget::GrGLTextureRenderTarget(GrGLGpu* gpu, in GrGLTextureRenderTarget() 65 GrGLGpu* gpu, in MakeWrapped()
|
D | GrGLBuffer.cpp | 31 sk_sp<GrGLBuffer> GrGLBuffer::Make(GrGLGpu* gpu, in Make() 103 GrGLBuffer::GrGLBuffer(GrGLGpu* gpu, in GrGLBuffer() 131 inline GrGLGpu* GrGLBuffer::glGpu() const { in glGpu() 133 return static_cast<GrGLGpu*>(this->getGpu()); in glGpu() 161 static inline GrGLenum SK_WARN_UNUSED_RESULT invalidate_buffer(GrGLGpu* gpu, in invalidate_buffer()
|
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 | BUILD.bazel | 26 "GrGLGpu.cpp", 27 "GrGLGpu.h",
|
/external/skia/src/gpu/ganesh/gl/builders/ |
D | GrGLProgramBuilder.h | 57 GrGLGpu* gpu() const { return fGpu; } in gpu() 62 GrGLProgramBuilder(GrGLGpu*, const GrProgramDesc&, const GrProgramInfo&); 88 GrGLGpu* fGpu;
|
D | GrGLProgramBuilder.cpp | 38 static void cleanup_shaders(GrGLGpu* gpu, const SkTDArray<GrGLuint>& shaderIDs) { in cleanup_shaders() 44 static void cleanup_program(GrGLGpu* gpu, GrGLuint programID, in cleanup_program() 58 GrGLGpu* glGpu = static_cast<GrGLGpu*>(dContext->priv().getGpu()); in CreateProgram() 80 GrGLProgramBuilder::GrGLProgramBuilder(GrGLGpu* gpu, in GrGLProgramBuilder() 105 GrGLGpu* gpu = this->gpu(); in compileAndAttachShaders() 448 GrGLGpu* glGpu = static_cast<GrGLGpu*>(dContext->priv().getGpu()); in PrecompileProgram()
|
D | GrGLShaderStringBuilder.h | 17 std::unique_ptr<SkSL::Program> GrSkSLtoGLSL(const GrGLGpu* gpu, 31 bool GrGLCheckLinkStatus(const GrGLGpu* gpu,
|
D | GrGLShaderStringBuilder.cpp | 22 std::unique_ptr<SkSL::Program> GrSkSLtoGLSL(const GrGLGpu* gpu, in GrSkSLtoGLSL() 107 bool GrGLCheckLinkStatus(const GrGLGpu* gpu, in GrGLCheckLinkStatus()
|