Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(327)

Unified Diff: tools/gpu/gl/debug/GrFrameBufferObj.h

Issue 2085553004: Don't track FB depth attachment in debug GL context (Closed) Base URL: https://skia.googlesource.com/skia.git@fix_testing
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/gpu/gl/debug/DebugGLTestContext.cpp ('k') | tools/gpu/gl/debug/GrFrameBufferObj.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gpu/gl/debug/GrFrameBufferObj.h
diff --git a/tools/gpu/gl/debug/GrFrameBufferObj.h b/tools/gpu/gl/debug/GrFrameBufferObj.h
index 42a0effe072fb11cb9f1d5593bd69ac2b8c12a1f..0a45cf7b6b6ebc13778a65c539d849d76a13be19 100644
--- a/tools/gpu/gl/debug/GrFrameBufferObj.h
+++ b/tools/gpu/gl/debug/GrFrameBufferObj.h
@@ -23,13 +23,11 @@ public:
: GrFakeRefObj()
, fBound(false)
, fColorBuffer(nullptr)
- , fDepthBuffer(nullptr)
, fStencilBuffer(nullptr) {
}
virtual ~GrFrameBufferObj() {
fColorBuffer = nullptr;
- fDepthBuffer = nullptr;
fStencilBuffer = nullptr;
}
@@ -40,16 +38,12 @@ public:
void setColor(GrFBBindableObj *buffer);
GrFBBindableObj *getColor() { return fColorBuffer; }
- void setDepth(GrFBBindableObj *buffer);
- GrFBBindableObj *getDepth() { return fDepthBuffer; }
-
void setStencil(GrFBBindableObj *buffer);
GrFBBindableObj *getStencil() { return fStencilBuffer; }
void deleteAction() override {
setColor(nullptr);
- setDepth(nullptr);
setStencil(nullptr);
this->INHERITED::deleteAction();
@@ -59,7 +53,6 @@ protected:
private:
bool fBound; // is this frame buffer currently bound via "glBindFramebuffer"?
GrFBBindableObj * fColorBuffer;
- GrFBBindableObj * fDepthBuffer;
GrFBBindableObj * fStencilBuffer;
typedef GrFakeRefObj INHERITED;
« no previous file with comments | « tools/gpu/gl/debug/DebugGLTestContext.cpp ('k') | tools/gpu/gl/debug/GrFrameBufferObj.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698