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

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

Issue 1431433003: Move shader compiling to ProgramBuilder and various ShaderBuilder cleanups. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 2 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/gl/GrGLCaps.h
diff --git a/src/gpu/gl/GrGLCaps.h b/src/gpu/gl/GrGLCaps.h
index 2ad58270753c0fd9322fab2d1043be282efdb1e5..1026387a4da09dded1f5a7eec827472d4fbd8a69 100644
--- a/src/gpu/gl/GrGLCaps.h
+++ b/src/gpu/gl/GrGLCaps.h
@@ -171,9 +171,6 @@ public:
*/
bool bgraIsInternalFormat() const { return fBGRAIsInternalFormat; }
- /// GL_ARB_texture_swizzle support
- bool textureSwizzleSupport() const { return fTextureSwizzleSupport; }
-
/// Is there support for GL_UNPACK_ROW_LENGTH
bool unpackRowLengthSupport() const { return fUnpackRowLengthSupport; }
@@ -192,9 +189,6 @@ public:
/// Is there support for glTexStorage
bool texStorageSupport() const { return fTexStorageSupport; }
- /// Is there support for GL_RED and GL_R8
- bool textureRedSupport() const { return fTextureRedSupport; }
-
/// Is GL_ARB_IMAGING supported
bool imagingSupport() const { return fImagingSupport; }
@@ -340,14 +334,12 @@ private:
bool fRGBA8RenderbufferSupport : 1;
bool fBGRAIsInternalFormat : 1;
- bool fTextureSwizzleSupport : 1;
bool fUnpackRowLengthSupport : 1;
bool fUnpackFlipYSupport : 1;
bool fPackRowLengthSupport : 1;
bool fPackFlipYSupport : 1;
bool fTextureUsageSupport : 1;
bool fTexStorageSupport : 1;
- bool fTextureRedSupport : 1;
bool fImagingSupport : 1;
bool fTwoFormatLimit : 1;
bool fFragCoordsConventionSupport : 1;

Powered by Google App Engine
This is Rietveld 408576698