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 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
133 } | 133 } |
134 | 134 |
135 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLDisableVertexAttribArray(GrGLuint index) { | 135 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLDisableVertexAttribArray(GrGLuint index) { |
136 } | 136 } |
137 | 137 |
138 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLDrawArrays(GrGLenum mode, | 138 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLDrawArrays(GrGLenum mode, |
139 GrGLint first, | 139 GrGLint first, |
140 GrGLsizei count) { | 140 GrGLsizei count) { |
141 } | 141 } |
142 | 142 |
143 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLDrawArraysInstanced(GrGLenum mode, | |
144 GrGLint first, | |
145 GrGLsizei count, | |
146 GrGLsizei primcount) { | |
147 } | |
148 | |
149 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLDrawBuffer(GrGLenum mode) { | 143 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLDrawBuffer(GrGLenum mode) { |
150 } | 144 } |
151 | 145 |
152 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLDrawBuffers(GrGLsizei n, | 146 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLDrawBuffers(GrGLsizei n, |
153 const GrGLenum* bufs) { | 147 const GrGLenum* bufs) { |
154 } | 148 } |
155 | 149 |
156 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLDrawElements(GrGLenum mode, | 150 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLDrawElements(GrGLenum mode, |
157 GrGLsizei count, | 151 GrGLsizei count, |
158 GrGLenum type, | 152 GrGLenum type, |
159 const GrGLvoid* indices) { | 153 const GrGLvoid* indices) { |
160 } | 154 } |
161 | 155 |
162 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLDrawElementsInstanced(GrGLenum mode, | |
163 GrGLsizei count, | |
164 GrGLenum type, | |
165 const GrGLvoid* indices
, | |
166 GrGLsizei primcount) { | |
167 } | |
168 | |
169 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLEnable(GrGLenum cap) { | 156 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLEnable(GrGLenum cap) { |
170 } | 157 } |
171 | 158 |
172 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLEnableVertexAttribArray(GrGLuint index) { | 159 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLEnableVertexAttribArray(GrGLuint index) { |
173 } | 160 } |
174 | 161 |
175 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLEndQuery(GrGLenum target) { | 162 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLEndQuery(GrGLenum target) { |
176 } | 163 } |
177 | 164 |
178 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLFinish() { | 165 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLFinish() { |
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
395 } | 382 } |
396 | 383 |
397 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLVertexAttribPointer(GrGLuint indx, | 384 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLVertexAttribPointer(GrGLuint indx, |
398 GrGLint size, | 385 GrGLint size, |
399 GrGLenum type, | 386 GrGLenum type, |
400 GrGLboolean normalized, | 387 GrGLboolean normalized, |
401 GrGLsizei stride, | 388 GrGLsizei stride, |
402 const GrGLvoid* ptr) { | 389 const GrGLvoid* ptr) { |
403 } | 390 } |
404 | 391 |
405 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLVertexAttribDivisor(GrGLuint index, GrGLuint
divisor) { | |
406 } | |
407 | |
408 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLViewport(GrGLint x, | 392 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLViewport(GrGLint x, |
409 GrGLint y, | 393 GrGLint y, |
410 GrGLsizei width, | 394 GrGLsizei width, |
411 GrGLsizei height) { | 395 GrGLsizei height) { |
412 } | 396 } |
413 | 397 |
414 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLGetFramebufferAttachmentParameteriv(GrGLenu
m target, | 398 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLGetFramebufferAttachmentParameteriv(GrGLenu
m target, |
415 GrGLenu
m attachment, | 399 GrGLenu
m attachment, |
416 GrGLenu
m pname, | 400 GrGLenu
m pname, |
417 GrGLint
* params) { | 401 GrGLint
* params) { |
(...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
673 static int gUniLocation = 0; | 657 static int gUniLocation = 0; |
674 return ++gUniLocation; | 658 return ++gUniLocation; |
675 } | 659 } |
676 | 660 |
677 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLInsertEventMarker(GrGLsizei length, const cha
r* marker) { | 661 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLInsertEventMarker(GrGLsizei length, const cha
r* marker) { |
678 } | 662 } |
679 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLPushGroupMarker(GrGLsizei length , const cha
r* marker) { | 663 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLPushGroupMarker(GrGLsizei length , const cha
r* marker) { |
680 } | 664 } |
681 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLPopGroupMarker() { | 665 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLPopGroupMarker() { |
682 } | 666 } |
OLD | NEW |