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 220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
231 const GrGLint* params) { | 231 const GrGLint* params) { |
232 } | 232 } |
233 | 233 |
234 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLTexStorage2D(GrGLenum target, | 234 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLTexStorage2D(GrGLenum target, |
235 GrGLsizei levels, | 235 GrGLsizei levels, |
236 GrGLenum internalformat, | 236 GrGLenum internalformat, |
237 GrGLsizei width, | 237 GrGLsizei width, |
238 GrGLsizei height) { | 238 GrGLsizei height) { |
239 } | 239 } |
240 | 240 |
| 241 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLDiscardFramebuffer(GrGLenum target, |
| 242 GrGLsizei numAttachments, |
| 243 const GrGLenum* attachment
s) { |
| 244 } |
| 245 |
241 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLTexSubImage2D(GrGLenum target, | 246 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLTexSubImage2D(GrGLenum target, |
242 GrGLint level, | 247 GrGLint level, |
243 GrGLint xoffset, | 248 GrGLint xoffset, |
244 GrGLint yoffset, | 249 GrGLint yoffset, |
245 GrGLsizei width, | 250 GrGLsizei width, |
246 GrGLsizei height, | 251 GrGLsizei height, |
247 GrGLenum format, | 252 GrGLenum format, |
248 GrGLenum type, | 253 GrGLenum type, |
249 const GrGLvoid* pixels) { | 254 const GrGLvoid* pixels) { |
250 } | 255 } |
(...skipping 363 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
614 GrGLint* params) { | 619 GrGLint* params) { |
615 // we used to use this to query stuff about externally created textures, | 620 // we used to use this to query stuff about externally created textures, |
616 // now we just require clients to tell us everything about the texture. | 621 // now we just require clients to tell us everything about the texture. |
617 GrCrash("Should never query texture parameters."); | 622 GrCrash("Should never query texture parameters."); |
618 } | 623 } |
619 | 624 |
620 GrGLint GR_GL_FUNCTION_TYPE noOpGLGetUniformLocation(GrGLuint program, const cha
r* name) { | 625 GrGLint GR_GL_FUNCTION_TYPE noOpGLGetUniformLocation(GrGLuint program, const cha
r* name) { |
621 static int gUniLocation = 0; | 626 static int gUniLocation = 0; |
622 return ++gUniLocation; | 627 return ++gUniLocation; |
623 } | 628 } |
OLD | NEW |