Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(671)

Side by Side Diff: src/gpu/gl/GrGLNoOpInterface.cpp

Issue 1185573003: Import new functionality for GL4 backend (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: fix KHR_debug suffixes Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/gpu/gl/GrGLNoOpInterface.h ('k') | src/gpu/gl/SkNullGLContext.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
143 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLDrawBuffer(GrGLenum mode) { 149 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLDrawBuffer(GrGLenum mode) {
144 } 150 }
145 151
146 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLDrawBuffers(GrGLsizei n, 152 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLDrawBuffers(GrGLsizei n,
147 const GrGLenum* bufs) { 153 const GrGLenum* bufs) {
148 } 154 }
149 155
150 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLDrawElements(GrGLenum mode, 156 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLDrawElements(GrGLenum mode,
151 GrGLsizei count, 157 GrGLsizei count,
152 GrGLenum type, 158 GrGLenum type,
153 const GrGLvoid* indices) { 159 const GrGLvoid* indices) {
154 } 160 }
155 161
162 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLDrawElementsInstanced(GrGLenum mode,
163 GrGLsizei count,
164 GrGLenum type,
165 const GrGLvoid* indices ,
166 GrGLsizei primcount) {
167 }
168
156 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLEnable(GrGLenum cap) { 169 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLEnable(GrGLenum cap) {
157 } 170 }
158 171
159 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLEnableVertexAttribArray(GrGLuint index) { 172 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLEnableVertexAttribArray(GrGLuint index) {
160 } 173 }
161 174
162 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLEndQuery(GrGLenum target) { 175 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLEndQuery(GrGLenum target) {
163 } 176 }
164 177
165 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLFinish() { 178 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLFinish() {
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
382 } 395 }
383 396
384 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLVertexAttribPointer(GrGLuint indx, 397 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLVertexAttribPointer(GrGLuint indx,
385 GrGLint size, 398 GrGLint size,
386 GrGLenum type, 399 GrGLenum type,
387 GrGLboolean normalized, 400 GrGLboolean normalized,
388 GrGLsizei stride, 401 GrGLsizei stride,
389 const GrGLvoid* ptr) { 402 const GrGLvoid* ptr) {
390 } 403 }
391 404
405 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLVertexAttribDivisor(GrGLuint index, GrGLuint divisor) {
406 }
407
392 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLViewport(GrGLint x, 408 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLViewport(GrGLint x,
393 GrGLint y, 409 GrGLint y,
394 GrGLsizei width, 410 GrGLsizei width,
395 GrGLsizei height) { 411 GrGLsizei height) {
396 } 412 }
397 413
398 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLGetFramebufferAttachmentParameteriv(GrGLenu m target, 414 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLGetFramebufferAttachmentParameteriv(GrGLenu m target,
399 GrGLenu m attachment, 415 GrGLenu m attachment,
400 GrGLenu m pname, 416 GrGLenu m pname,
401 GrGLint * params) { 417 GrGLint * params) {
(...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after
657 static int gUniLocation = 0; 673 static int gUniLocation = 0;
658 return ++gUniLocation; 674 return ++gUniLocation;
659 } 675 }
660 676
661 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLInsertEventMarker(GrGLsizei length, const cha r* marker) { 677 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLInsertEventMarker(GrGLsizei length, const cha r* marker) {
662 } 678 }
663 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLPushGroupMarker(GrGLsizei length , const cha r* marker) { 679 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLPushGroupMarker(GrGLsizei length , const cha r* marker) {
664 } 680 }
665 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLPopGroupMarker() { 681 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLPopGroupMarker() {
666 } 682 }
OLDNEW
« no previous file with comments | « src/gpu/gl/GrGLNoOpInterface.h ('k') | src/gpu/gl/SkNullGLContext.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698