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

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

Issue 12310156: Use updated Khronos signature for glShaderSource (Closed) Base URL: http://skia.googlecode.com/svn/trunk/include/
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 | « no previous file | no next file » | 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 19 matching lines...) Expand all
30 // Check error is even more expensive in chrome (cmd buffer flush). The 30 // Check error is even more expensive in chrome (cmd buffer flush). The
31 // compositor also doesn't check its allocations. 31 // compositor also doesn't check its allocations.
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
41 // (const char* const instead of char**).
42 #define GR_USE_NEW_GL_SHADER_SOURCE_SIGNATURE 1
43
40 #endif 44 #endif
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698