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 422 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
433 } | 433 } |
434 | 434 |
435 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLBindFragDataLocationIndexed(GrGLuint program, | 435 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLBindFragDataLocationIndexed(GrGLuint program, |
436 GrGLuint colorNum
ber, | 436 GrGLuint colorNum
ber, |
437 GrGLuint index, | 437 GrGLuint index, |
438 const GrGLchar *
name) { | 438 const GrGLchar *
name) { |
439 } | 439 } |
440 | 440 |
441 GrGLenum GR_GL_FUNCTION_TYPE noOpGLCheckFramebufferStatus(GrGLenum target) { | 441 GrGLenum GR_GL_FUNCTION_TYPE noOpGLCheckFramebufferStatus(GrGLenum target) { |
442 | 442 |
443 GrAlwaysAssert(GR_GL_FRAMEBUFFER == target); | 443 GrAlwaysAssert(GR_GL_FRAMEBUFFER == target || GR_GL_READ_FRAMEBUFFER == targ
et || |
| 444 GR_GL_DRAW_FRAMEBUFFER == target); |
444 | 445 |
445 return GR_GL_FRAMEBUFFER_COMPLETE; | 446 return GR_GL_FRAMEBUFFER_COMPLETE; |
446 } | 447 } |
447 | 448 |
448 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLGenIds(GrGLsizei n, GrGLuint* ids) { | 449 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLGenIds(GrGLsizei n, GrGLuint* ids) { |
449 static int gCurrID = 1; | 450 static int gCurrID = 1; |
450 for (int i = 0; i < n; ++i) { | 451 for (int i = 0; i < n; ++i) { |
451 ids[i] = ++gCurrID; | 452 ids[i] = ++gCurrID; |
452 } | 453 } |
453 } | 454 } |
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
655 static int gUniLocation = 0; | 656 static int gUniLocation = 0; |
656 return ++gUniLocation; | 657 return ++gUniLocation; |
657 } | 658 } |
658 | 659 |
659 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLInsertEventMarker(GrGLsizei length, const cha
r* marker) { | 660 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLInsertEventMarker(GrGLsizei length, const cha
r* marker) { |
660 } | 661 } |
661 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLPushGroupMarker(GrGLsizei length , const cha
r* marker) { | 662 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLPushGroupMarker(GrGLsizei length , const cha
r* marker) { |
662 } | 663 } |
663 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLPopGroupMarker() { | 664 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLPopGroupMarker() { |
664 } | 665 } |
OLD | NEW |