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

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

Issue 2091773002: Revert of Support GL_SAMPLES queries in null contexts (Closed) Base URL: https://skia.googlesource.com/skia.git@master
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/GrRenderBufferObj.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gpu/gl/debug/GrFBBindableObj.h
diff --git a/tools/gpu/gl/debug/GrFBBindableObj.h b/tools/gpu/gl/debug/GrFBBindableObj.h
index f5b46ab5d95cc39b3d37dbfdcf47f3224375443f..e2b43a6a1b406fc092a527cbd3eb8d1220de8e7d 100644
--- a/tools/gpu/gl/debug/GrFBBindableObj.h
+++ b/tools/gpu/gl/debug/GrFBBindableObj.h
@@ -18,8 +18,7 @@
public:
GrFBBindableObj()
- : GrFakeRefObj()
- , fNumSamples(1) {
+ : GrFakeRefObj() {
}
virtual ~GrFBBindableObj() {
@@ -76,11 +75,8 @@
return 0 != fStencilReferees.count();
}
- int numSamples() { return fNumSamples; }
protected:
- int fNumSamples;
-
private:
SkTDArray<GrFakeRefObj *> fColorReferees; // frame buffers that use this as a color buffer (via "glFramebufferRenderbuffer" or "glFramebufferTexture2D")
SkTDArray<GrFakeRefObj *> fDepthReferees; // frame buffers that use this as a depth buffer (via "glFramebufferRenderbuffer" or "glFramebufferTexture2D")
« no previous file with comments | « tools/gpu/gl/debug/DebugGLTestContext.cpp ('k') | tools/gpu/gl/debug/GrRenderBufferObj.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698