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

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

Issue 14461006: Plumbed in discard_framebuffer extension (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Removed desktop side changes & validation test Created 7 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « src/gpu/gl/GrGLNoOpInterface.h ('k') | src/gpu/gl/GrGpuGL.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 220 matching lines...) Expand 10 before | Expand all | Expand 10 after
231 const GrGLint* params) { 231 const GrGLint* params) {
232 } 232 }
233 233
234 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLTexStorage2D(GrGLenum target, 234 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLTexStorage2D(GrGLenum target,
235 GrGLsizei levels, 235 GrGLsizei levels,
236 GrGLenum internalformat, 236 GrGLenum internalformat,
237 GrGLsizei width, 237 GrGLsizei width,
238 GrGLsizei height) { 238 GrGLsizei height) {
239 } 239 }
240 240
241 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLDiscardFramebuffer(GrGLenum target,
242 GrGLsizei numAttachments,
243 const GrGLenum* attachment s) {
244 }
245
241 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLTexSubImage2D(GrGLenum target, 246 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLTexSubImage2D(GrGLenum target,
242 GrGLint level, 247 GrGLint level,
243 GrGLint xoffset, 248 GrGLint xoffset,
244 GrGLint yoffset, 249 GrGLint yoffset,
245 GrGLsizei width, 250 GrGLsizei width,
246 GrGLsizei height, 251 GrGLsizei height,
247 GrGLenum format, 252 GrGLenum format,
248 GrGLenum type, 253 GrGLenum type,
249 const GrGLvoid* pixels) { 254 const GrGLvoid* pixels) {
250 } 255 }
(...skipping 363 matching lines...) Expand 10 before | Expand all | Expand 10 after
614 GrGLint* params) { 619 GrGLint* params) {
615 // we used to use this to query stuff about externally created textures, 620 // we used to use this to query stuff about externally created textures,
616 // now we just require clients to tell us everything about the texture. 621 // now we just require clients to tell us everything about the texture.
617 GrCrash("Should never query texture parameters."); 622 GrCrash("Should never query texture parameters.");
618 } 623 }
619 624
620 GrGLint GR_GL_FUNCTION_TYPE noOpGLGetUniformLocation(GrGLuint program, const cha r* name) { 625 GrGLint GR_GL_FUNCTION_TYPE noOpGLGetUniformLocation(GrGLuint program, const cha r* name) {
621 static int gUniLocation = 0; 626 static int gUniLocation = 0;
622 return ++gUniLocation; 627 return ++gUniLocation;
623 } 628 }
OLDNEW
« no previous file with comments | « src/gpu/gl/GrGLNoOpInterface.h ('k') | src/gpu/gl/GrGpuGL.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698