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

Unified Diff: include/gpu/GrTypes.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: include/gpu/GrTypes.h
===================================================================
--- include/gpu/GrTypes.h (revision 8417)
+++ include/gpu/GrTypes.h (working copy)
@@ -284,8 +284,9 @@
*/
kBGRA_8888_GrPixelConfig,
- kGrPixelConfigCount
+ kLast_GrPixelConfig = kBGRA_8888_GrPixelConfig
};
+static const int kGrPixelConfigCnt = kLast_GrPixelConfig + 1;
// Aliases for pixel configs that match skia's byte order.
#ifndef SK_CPU_LENDIAN

Powered by Google App Engine
This is Rietveld 408576698