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

Side by Side Diff: include/gpu/gl/GrGLConfig_chrome.h

Issue 12390021: Move the default definition of GR_USE_NEW_SHADER_SOURCE_SIGNATURE to GrGLConfig. (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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « include/gpu/gl/GrGLConfig.h ('k') | include/gpu/gl/GrGLFunctions.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 1
2 /* 2 /*
3 * Copyright 2011 Google Inc. 3 * Copyright 2011 Google Inc.
4 * 4 *
5 * Use of this source code is governed by a BSD-style license that can be 5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file. 6 * found in the LICENSE file.
7 */ 7 */
8 #ifndef GrGLConfig_chrome_DEFINED 8 #ifndef GrGLConfig_chrome_DEFINED
9 #define GrGLConfig_chrome_DEFINED 9 #define GrGLConfig_chrome_DEFINED
10 10
(...skipping 21 matching lines...) Expand all
32 #define GR_GL_CHECK_ALLOC_WITH_GET_ERROR 0 32 #define GR_GL_CHECK_ALLOC_WITH_GET_ERROR 0
33 33
34 // CheckFramebufferStatus in chrome synchronizes the gpu and renderer processes. 34 // CheckFramebufferStatus in chrome synchronizes the gpu and renderer processes.
35 #define GR_GL_CHECK_FBO_STATUS_ONCE_PER_FORMAT 1 35 #define GR_GL_CHECK_FBO_STATUS_ONCE_PER_FORMAT 1
36 36
37 // Non-VBO vertices and indices are not allowed in Chromium. 37 // Non-VBO vertices and indices are not allowed in Chromium.
38 #define GR_GL_MUST_USE_VBO 1 38 #define GR_GL_MUST_USE_VBO 1
39 39
40 // Use updated Khronos signature for glShaderSource 40 // Use updated Khronos signature for glShaderSource
41 // (const char* const instead of char**). 41 // (const char* const instead of char**).
42 #define GR_USE_NEW_GL_SHADER_SOURCE_SIGNATURE 1 42 #define GR_GL_USE_NEW_SHADER_SOURCE_SIGNATURE 1
43 43
44 #endif 44 #endif
OLDNEW
« no previous file with comments | « include/gpu/gl/GrGLConfig.h ('k') | include/gpu/gl/GrGLFunctions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698