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

Side by Side Diff: src/gpu/gl/GrGLNoOpInterface.cpp

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
OLDNEW
1 /* 1 /*
2 * Copyright 2013 Google Inc. 2 * Copyright 2013 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #include "GrGLNoOpInterface.h" 8 #include "GrGLNoOpInterface.h"
9 #include "SkString.h" 9 #include "SkString.h"
10 #include "SkThread.h" 10 #include "SkThread.h"
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
161 } 161 }
162 162
163 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLScissor(GrGLint x, 163 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLScissor(GrGLint x,
164 GrGLint y, 164 GrGLint y,
165 GrGLsizei width, 165 GrGLsizei width,
166 GrGLsizei height) { 166 GrGLsizei height) {
167 } 167 }
168 168
169 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLShaderSource(GrGLuint shader, 169 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLShaderSource(GrGLuint shader,
170 GrGLsizei count, 170 GrGLsizei count,
171 #if GR_USE_NEW_GL_SHADER_SOURCE_SIGNATURE 171 #if GR_GL_USE_NEW_SHADER_SOURCE_SIGNATURE
172 const char* const * str, 172 const char* const * str,
173 #else 173 #else
174 const char** str, 174 const char** str,
175 #endif 175 #endif
176 const GrGLint* length) { 176 const GrGLint* length) {
177 } 177 }
178 178
179 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLStencilFunc(GrGLenum func, GrGLint ref, GrGLu int mask) { 179 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLStencilFunc(GrGLenum func, GrGLint ref, GrGLu int mask) {
180 } 180 }
181 181
(...skipping 422 matching lines...) Expand 10 before | Expand all | Expand 10 after
604 GrGLint* params) { 604 GrGLint* params) {
605 // we used to use this to query stuff about externally created textures, 605 // we used to use this to query stuff about externally created textures,
606 // now we just require clients to tell us everything about the texture. 606 // now we just require clients to tell us everything about the texture.
607 GrCrash("Should never query texture parameters."); 607 GrCrash("Should never query texture parameters.");
608 } 608 }
609 609
610 GrGLint GR_GL_FUNCTION_TYPE noOpGLGetUniformLocation(GrGLuint program, const cha r* name) { 610 GrGLint GR_GL_FUNCTION_TYPE noOpGLGetUniformLocation(GrGLuint program, const cha r* name) {
611 static int gUniLocation = 0; 611 static int gUniLocation = 0;
612 return ++gUniLocation; 612 return ++gUniLocation;
613 } 613 }
OLDNEW
« no previous file with comments | « src/gpu/gl/GrGLNoOpInterface.h ('k') | src/gpu/gl/android/GrGLCreateNativeInterface_android.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698