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

Side by Side Diff: src/gpu/gl/GrGLCreateNullInterface.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/GrGLCaps.cpp ('k') | src/gpu/gl/GrGLInterface.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 2011 Google Inc. 2 * Copyright 2011 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 8
9 #include "gl/GrGLInterface.h" 9 #include "gl/GrGLInterface.h"
10 #include "GrGLDefines.h" 10 #include "GrGLDefines.h"
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after
234 interface->fStencilFuncSeparate = noOpGLStencilFuncSeparate; 234 interface->fStencilFuncSeparate = noOpGLStencilFuncSeparate;
235 interface->fStencilMask = noOpGLStencilMask; 235 interface->fStencilMask = noOpGLStencilMask;
236 interface->fStencilMaskSeparate = noOpGLStencilMaskSeparate; 236 interface->fStencilMaskSeparate = noOpGLStencilMaskSeparate;
237 interface->fStencilOp = noOpGLStencilOp; 237 interface->fStencilOp = noOpGLStencilOp;
238 interface->fStencilOpSeparate = noOpGLStencilOpSeparate; 238 interface->fStencilOpSeparate = noOpGLStencilOpSeparate;
239 interface->fTexImage2D = noOpGLTexImage2D; 239 interface->fTexImage2D = noOpGLTexImage2D;
240 interface->fTexParameteri = noOpGLTexParameteri; 240 interface->fTexParameteri = noOpGLTexParameteri;
241 interface->fTexParameteriv = noOpGLTexParameteriv; 241 interface->fTexParameteriv = noOpGLTexParameteriv;
242 interface->fTexSubImage2D = noOpGLTexSubImage2D; 242 interface->fTexSubImage2D = noOpGLTexSubImage2D;
243 interface->fTexStorage2D = noOpGLTexStorage2D; 243 interface->fTexStorage2D = noOpGLTexStorage2D;
244 interface->fDiscardFramebuffer = noOpGLDiscardFramebuffer;
244 interface->fUniform1f = noOpGLUniform1f; 245 interface->fUniform1f = noOpGLUniform1f;
245 interface->fUniform1i = noOpGLUniform1i; 246 interface->fUniform1i = noOpGLUniform1i;
246 interface->fUniform1fv = noOpGLUniform1fv; 247 interface->fUniform1fv = noOpGLUniform1fv;
247 interface->fUniform1iv = noOpGLUniform1iv; 248 interface->fUniform1iv = noOpGLUniform1iv;
248 interface->fUniform2f = noOpGLUniform2f; 249 interface->fUniform2f = noOpGLUniform2f;
249 interface->fUniform2i = noOpGLUniform2i; 250 interface->fUniform2i = noOpGLUniform2i;
250 interface->fUniform2fv = noOpGLUniform2fv; 251 interface->fUniform2fv = noOpGLUniform2fv;
251 interface->fUniform2iv = noOpGLUniform2iv; 252 interface->fUniform2iv = noOpGLUniform2iv;
252 interface->fUniform3f = noOpGLUniform3f; 253 interface->fUniform3f = noOpGLUniform3f;
253 interface->fUniform3i = noOpGLUniform3i; 254 interface->fUniform3i = noOpGLUniform3i;
(...skipping 25 matching lines...) Expand all
279 interface->fRenderbufferStorageMultisample = noOpGLRenderbufferStorageMu ltisample; 280 interface->fRenderbufferStorageMultisample = noOpGLRenderbufferStorageMu ltisample;
280 interface->fBlitFramebuffer = noOpGLBlitFramebuffer; 281 interface->fBlitFramebuffer = noOpGLBlitFramebuffer;
281 interface->fResolveMultisampleFramebuffer = noOpGLResolveMultisampleFram ebuffer; 282 interface->fResolveMultisampleFramebuffer = noOpGLResolveMultisampleFram ebuffer;
282 interface->fMapBuffer = nullGLMapBuffer; 283 interface->fMapBuffer = nullGLMapBuffer;
283 interface->fUnmapBuffer = nullGLUnmapBuffer; 284 interface->fUnmapBuffer = nullGLUnmapBuffer;
284 interface->fBindFragDataLocationIndexed = noOpGLBindFragDataLocationInde xed; 285 interface->fBindFragDataLocationIndexed = noOpGLBindFragDataLocationInde xed;
285 } 286 }
286 glInterface.get()->ref(); 287 glInterface.get()->ref();
287 return glInterface.get(); 288 return glInterface.get();
288 } 289 }
OLDNEW
« no previous file with comments | « src/gpu/gl/GrGLCaps.cpp ('k') | src/gpu/gl/GrGLInterface.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698