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

Unified Diff: src/gpu/GrGpu.h

Issue 13121002: Make GrGLShaderBuilder::TextureSampler extract only required info from GrTextureAccess. (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 9 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
Index: src/gpu/GrGpu.h
===================================================================
--- src/gpu/GrGpu.h (revision 8417)
+++ src/gpu/GrGpu.h (working copy)
@@ -299,7 +299,7 @@
* Can the provided configuration act as a color render target?
*/
bool isConfigRenderable(GrPixelConfig config) const {
- GrAssert(kGrPixelConfigCount > config);
+ GrAssert(kGrPixelConfigCnt > config);
return fConfigRenderSupport[config];
}
@@ -403,7 +403,7 @@
// Derived classes need access to this so they can fill it out in their
// constructors
- bool fConfigRenderSupport[kGrPixelConfigCount];
+ bool fConfigRenderSupport[kGrPixelConfigCnt];
// Helpers for setting up geometry state
void finalizeReservedVertices();
« no previous file with comments | « src/gpu/GrDrawState.cpp ('k') | src/gpu/GrGpu.cpp » ('j') | src/gpu/gl/GrGLShaderBuilder.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698