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

Unified Diff: src/gpu/gl/GrGLCaps.h

Issue 1317443004: Calculate pixel config and stencil fmt pairs once per pixel config. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Unused variable Created 5 years, 3 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 | « src/gpu/GrCaps.cpp ('k') | src/gpu/gl/GrGLCaps.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/gl/GrGLCaps.h
diff --git a/src/gpu/gl/GrGLCaps.h b/src/gpu/gl/GrGLCaps.h
index bbfdaef9b09675a7e78fb6a2d069f9222cef5572..80a3577db3067addc4c247156829508e8851102d 100644
--- a/src/gpu/gl/GrGLCaps.h
+++ b/src/gpu/gl/GrGLCaps.h
@@ -115,24 +115,6 @@ public:
}
/**
- * Call to note that a color config / stencil format pair passed
- * FBO status check. We may skip calling glCheckFramebufferStatus for
- * this combination in the future using
- * isColorConfigAndStencilFormatVerified().
- */
- void markColorConfigAndStencilFormatAsVerified(
- GrPixelConfig config,
- const GrGLStencilAttachment::Format& format);
-
- /**
- * Call to check whether color config / stencil format pair has already
- * passed FBO status check.
- */
- bool isColorConfigAndStencilFormatVerified(
- GrPixelConfig config,
- const GrGLStencilAttachment::Format& format) const;
-
- /**
* Reports the type of MSAA FBO support.
*/
MSFBOType msFBOType() const { return fMSFBOType; }
@@ -343,10 +325,6 @@ private:
VerifiedColorConfigs fVerifiedColorConfigs;
SkTArray<StencilFormat, true> fStencilFormats;
- // tracks configs that have been verified to pass the FBO completeness when
- // used as a color attachment when a particular stencil format is used
- // as a stencil attachment.
- SkTArray<VerifiedColorConfigs, true> fStencilVerifiedColorConfigs;
int fMaxFragmentUniformVectors;
int fMaxVertexAttributes;
« no previous file with comments | « src/gpu/GrCaps.cpp ('k') | src/gpu/gl/GrGLCaps.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698