Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(524)

Unified Diff: gpu/include/GrGLConfig.h

Issue 4275061: Remove old GR_* GL extension defines (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 13 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | gpu/include/GrGLDefines.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/include/GrGLConfig.h
===================================================================
--- gpu/include/GrGLConfig.h (revision 969)
+++ gpu/include/GrGLConfig.h (working copy)
@@ -99,50 +99,12 @@
// Windows where we match GDI's order).
#ifndef GR_GL_32BPP_COLOR_FORMAT
#if GR_WIN32_BUILD
- #define GR_GL_32BPP_COLOR_FORMAT GR_BGRA //use GR prefix because this
- #else //may be an extension.
+ #define GR_GL_32BPP_COLOR_FORMAT GR_GL_BGRA
+ #else
#define GR_GL_32BPP_COLOR_FORMAT GR_GL_RGBA
#endif
#endif
-
-
-// BGRA format
-#define GR_BGRA 0x80E1
-
-// FBO / stencil formats
-#define GR_FRAMEBUFFER 0x8D40
-#define GR_FRAMEBUFFER_COMPLETE 0x8CD5
-#define GR_COLOR_ATTACHMENT0 0x8CE0
-#define GR_FRAMEBUFFER_BINDING 0x8CA6
-#define GR_RENDERBUFFER 0x8D41
-#define GR_STENCIL_ATTACHMENT 0x8D20
-#define GR_STENCIL_INDEX4 0x8D47
-#define GR_STENCIL_INDEX8 0x8D48
-#define GR_STENCIL_INDEX16 0x8D49
-#define GR_DEPTH24_STENCIL8 0x88F0
-#define GR_MAX_RENDERBUFFER_SIZE 0x84E8
-#define GR_DEPTH_STENCIL_ATTACHMENT 0x821A
-#define GR_DEPTH_STENCIL 0x84F9
-#define GR_RGBA8 0x8058
-#define GR_RGB565 0x8D62
-
-
-// Multisampling
-
-// IMG MAX_SAMPLES uses a different value than desktop, Apple ES extension.
-#define GR_MAX_SAMPLES 0x8D57
-#define GR_MAX_SAMPLES_IMG 0x9135
-#define GR_READ_FRAMEBUFFER 0x8CA8
-#define GR_DRAW_FRAMEBUFFER 0x8CA9
-
-// Buffer mapping
-#define GR_WRITE_ONLY 0x88B9
-#define GR_BUFFER_MAPPED 0x88BC
-
-// Palette texture
-#define GR_PALETTE8_RGBA8 0x8B91
-
////////////////////////////////////////////////////////////////////////////////
extern void GrGLCheckErr(const char* location, const char* call);
« no previous file with comments | « no previous file | gpu/include/GrGLDefines.h » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b