Home
last modified time | relevance | path

Searched refs:GrGLRenderTarget (Results 1 – 13 of 13) sorted by relevance

/third_party/skia/src/gpu/gl/
DGrGLRenderTarget.cpp25 GrGLRenderTarget::GrGLRenderTarget(GrGLGpu* gpu, in GrGLRenderTarget() function in GrGLRenderTarget
38 GrGLRenderTarget::GrGLRenderTarget(GrGLGpu* gpu, in GrGLRenderTarget() function in GrGLRenderTarget
49 inline void GrGLRenderTarget::setFlags(const GrGLCaps& glCaps, const IDs& idDesc) { in setFlags()
55 void GrGLRenderTarget::init(GrGLFormat format, const IDs& idDesc) { in init()
80 sk_sp<GrGLRenderTarget> GrGLRenderTarget::MakeWrapped(GrGLGpu* gpu, in MakeWrapped()
105 return sk_sp<GrGLRenderTarget>( in MakeWrapped()
106 new GrGLRenderTarget(gpu, dimensions, format, sampleCount, idDesc, std::move(sb))); in MakeWrapped()
109 GrBackendRenderTarget GrGLRenderTarget::getBackendRenderTarget() const { in getBackendRenderTarget()
123 GrBackendFormat GrGLRenderTarget::backendFormat() const { in backendFormat()
129 size_t GrGLRenderTarget::onGpuMemorySize() const { in onGpuMemorySize()
[all …]
DGrGLTextureRenderTarget.h23 class GrGLTextureRenderTarget : public GrGLTexture, public GrGLRenderTarget {
31 const GrGLRenderTarget::IDs&,
42 const GrGLRenderTarget::IDs&,
53 GrGLRenderTarget::onAbandon(); in onAbandon()
58 GrGLRenderTarget::onRelease(); in onRelease()
68 const GrGLRenderTarget::IDs& ids,
DGrGLTextureRenderTarget.cpp20 const GrGLRenderTarget::IDs& rtIDs, in GrGLTextureRenderTarget()
24 , GrGLRenderTarget(gpu, texDesc.fSize, texDesc.fFormat, sampleCount, rtIDs) { in GrGLTextureRenderTarget()
32 const GrGLRenderTarget::IDs& rtIDs, in GrGLTextureRenderTarget()
37 , GrGLRenderTarget(gpu, texDesc.fSize, texDesc.fFormat, sampleCount, in GrGLTextureRenderTarget()
46 GrGLRenderTarget::dumpMemoryStatistics(traceMemoryDump); in dumpMemoryStatistics()
68 const GrGLRenderTarget::IDs& rtIDs, in MakeWrapped()
DGrGLRenderTarget.h21 class GrGLRenderTarget : public GrRenderTarget {
38 static sk_sp<GrGLRenderTarget> MakeWrapped(GrGLGpu*,
92 GrGLRenderTarget(GrGLGpu*,
110 GrGLRenderTarget(
DGrGLGpu.h106 using ResolveDirection = GrGLRenderTarget::ResolveDirection;
112 void resolveRenderFBOs(GrGLRenderTarget*, const SkIRect& resolveRect, ResolveDirection,
119 void drawSingleIntoMSAAFBO(GrGLRenderTarget* rt, const SkIRect& drawBounds) { in drawSingleIntoMSAAFBO()
136 void beginCommandBuffer(GrGLRenderTarget*, bool useMultisampleFBO,
141 void endCommandBuffer(GrGLRenderTarget*, bool useMultisampleFBO,
435 void flushWindowRectangles(const GrWindowRectsState&, const GrGLRenderTarget*, GrSurfaceOrigin);
448 void flushRenderTarget(GrGLRenderTarget*, bool useMultisampleFBO, GrSurfaceOrigin,
451 void flushRenderTarget(GrGLRenderTarget*, bool useMultisampleFBO);
453 void flushRenderTargetNoColorWrites(GrGLRenderTarget*, bool useMultisampleFBO);
514 GrGLRenderTarget::IDs*);
DGrGLGpu.cpp762 GrGLRenderTarget::IDs rtIDs; in onWrapRenderableBackendTexture()
795 GrGLRenderTarget::IDs rtIDs; in onWrapBackendRenderTarget()
798 rtIDs.fMultisampleFBOID = GrGLRenderTarget::kUnresolvableFBOID; in onWrapBackendRenderTarget()
800 rtIDs.fSingleSampleFBOID = GrGLRenderTarget::kUnresolvableFBOID; in onWrapBackendRenderTarget()
807 return GrGLRenderTarget::MakeWrapped(this, backendRT.dimensions(), format, sampleCount, rtIDs, in onWrapBackendRenderTarget()
1193 GrGLRenderTarget::IDs* rtIDs) { in createRenderTargetObjects()
1232 rtIDs->fMultisampleFBOID = GrGLRenderTarget::kUnresolvableFBOID; in createRenderTargetObjects()
1400 GrGLRenderTarget::IDs rtIDDesc; in onCreateTexture()
1825 const GrGLRenderTarget* rt, GrSurfaceOrigin origin) { in flushWindowRectangles()
1888 GrGLRenderTarget* glRT = static_cast<GrGLRenderTarget*>(renderTarget); in flushGLState()
[all …]
DGrGLOpsRenderPass.h18 class GrGLRenderTarget; variable
DGrGLOpsRenderPass.cpp48 auto glRT = static_cast<GrGLRenderTarget*>(fRenderTarget); in onBegin()
66 auto glRT = static_cast<GrGLRenderTarget*>(fRenderTarget); in onEnd()
DGrGLCaps.h23 class GrGLRenderTarget; variable
DGrGLCaps.cpp4419 } else if (auto rt = static_cast<const GrGLRenderTarget*>(surface->asRenderTarget())) { in surfaceSupportsReadPixels()
/third_party/skia/tests/
DTraceMemoryDumpTest.cpp132 GrGLRenderTarget::IDs rtIDs; in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
139 sk_sp<GrGLRenderTarget> rt = in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
140 GrGLRenderTarget::MakeWrapped(gpu, kSize, GrGLFormat::kRGBA8, 1, rtIDs, 0); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
151 GrGLRenderTarget::IDs rtIDs; in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
158 sk_sp<GrGLRenderTarget> rt = in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
159 GrGLRenderTarget::MakeWrapped(gpu, kSize, GrGLFormat::kRGBA8, 4, rtIDs, 0); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
178 GrGLRenderTarget::IDs rtIDs; in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
/third_party/skia/src/gpu/
DBUILD.bazel465 "gl/GrGLRenderTarget.cpp",
466 "gl/GrGLRenderTarget.h",
/third_party/skia/gn/
Dgpu.gni456 "$_src/gpu/gl/GrGLRenderTarget.cpp",
457 "$_src/gpu/gl/GrGLRenderTarget.h",