| 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 638 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 649 GrGLint* params) { | 649 GrGLint* params) { |
| 650 // we used to use this to query stuff about externally created textures, | 650 // we used to use this to query stuff about externally created textures, |
| 651 // now we just require clients to tell us everything about the texture. | 651 // now we just require clients to tell us everything about the texture. |
| 652 GrCrash("Should never query texture parameters."); | 652 GrCrash("Should never query texture parameters."); |
| 653 } | 653 } |
| 654 | 654 |
| 655 GrGLint GR_GL_FUNCTION_TYPE noOpGLGetUniformLocation(GrGLuint program, const cha
r* name) { | 655 GrGLint GR_GL_FUNCTION_TYPE noOpGLGetUniformLocation(GrGLuint program, const cha
r* name) { |
| 656 static int gUniLocation = 0; | 656 static int gUniLocation = 0; |
| 657 return ++gUniLocation; | 657 return ++gUniLocation; |
| 658 } | 658 } |
| 659 |
| 660 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLInsertEventMarker(GrGLsizei length, const cha
r* marker) { |
| 661 } |
| 662 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLPushGroupMarker(GrGLsizei length , const cha
r* marker) { |
| 663 } |
| 664 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLPopGroupMarker() { |
| 665 } |
| OLD | NEW |