OLD | NEW |
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 Loading... |
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 Loading... |
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 } |
OLD | NEW |