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

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

Issue 1184863002: Revert of Import functionality for new GL backend (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 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
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
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
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 }
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