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

Unified Diff: tests/GLInterfaceValidation.cpp

Issue 133413003: Rename GrGLBinding->GrGLStandard, no longer a bitfield (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: actually fix enum names? Created 6 years, 11 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: tests/GLInterfaceValidation.cpp
diff --git a/tests/GLInterfaceValidation.cpp b/tests/GLInterfaceValidation.cpp
index d47a66da0f5847d20553ebce9a77d3ea42e9ca21..37a83df6fbf766f76676eb5a016d143cb5e0e55b 100755
--- a/tests/GLInterfaceValidation.cpp
+++ b/tests/GLInterfaceValidation.cpp
@@ -21,13 +21,7 @@ DEF_GPUTEST(GLInterfaceValidation, reporter, factory) {
REPORTER_ASSERT(reporter, NULL != glCtxHelper);
if (NULL != glCtxHelper) {
const GrGLInterface* interface = glCtxHelper->gl();
- for (GrGLBinding binding = kFirstGrGLBinding;
- binding <= kLastGrGLBinding;
- binding = static_cast<GrGLBinding>(binding << 1)) {
- if (interface->fBindingsExported & binding) {
- REPORTER_ASSERT(reporter, interface->validate(binding));
- }
- }
+ REPORTER_ASSERT(reporter, interface->validate());
}
}
}
« src/gpu/gl/GrGLContext.cpp ('K') | « src/gpu/gl/win/GrGLCreateNativeInterface_win.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698