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

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

Issue 1101593002: Revert of Add tokens and entry points for KHR_blend_equation_advanced (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 8 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/GrGLAssembleInterface.cpp ('k') | src/gpu/gl/GrGLDefines.h » ('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 339 matching lines...) Expand 10 before | Expand all | Expand 10 after
350 GrGLInterface::Functions* functions = &interface->fFunctions; 350 GrGLInterface::Functions* functions = &interface->fFunctions;
351 functions->fActiveTexture = nullGLActiveTexture; 351 functions->fActiveTexture = nullGLActiveTexture;
352 functions->fAttachShader = nullGLAttachShader; 352 functions->fAttachShader = nullGLAttachShader;
353 functions->fBeginQuery = nullGLBeginQuery; 353 functions->fBeginQuery = nullGLBeginQuery;
354 functions->fBindAttribLocation = nullGLBindAttribLocation; 354 functions->fBindAttribLocation = nullGLBindAttribLocation;
355 functions->fBindBuffer = nullGLBindBuffer; 355 functions->fBindBuffer = nullGLBindBuffer;
356 functions->fBindFragDataLocation = noOpGLBindFragDataLocation; 356 functions->fBindFragDataLocation = noOpGLBindFragDataLocation;
357 functions->fBindTexture = nullGLBindTexture; 357 functions->fBindTexture = nullGLBindTexture;
358 functions->fBindVertexArray = nullGLBindVertexArray; 358 functions->fBindVertexArray = nullGLBindVertexArray;
359 functions->fBlendColor = noOpGLBlendColor; 359 functions->fBlendColor = noOpGLBlendColor;
360 functions->fBlendEquation = noOpGLBlendEquation;
361 functions->fBlendFunc = noOpGLBlendFunc; 360 functions->fBlendFunc = noOpGLBlendFunc;
362 functions->fBufferData = nullGLBufferData; 361 functions->fBufferData = nullGLBufferData;
363 functions->fBufferSubData = noOpGLBufferSubData; 362 functions->fBufferSubData = noOpGLBufferSubData;
364 functions->fClear = noOpGLClear; 363 functions->fClear = noOpGLClear;
365 functions->fClearColor = noOpGLClearColor; 364 functions->fClearColor = noOpGLClearColor;
366 functions->fClearStencil = noOpGLClearStencil; 365 functions->fClearStencil = noOpGLClearStencil;
367 functions->fColorMask = noOpGLColorMask; 366 functions->fColorMask = noOpGLColorMask;
368 functions->fCompileShader = noOpGLCompileShader; 367 functions->fCompileShader = noOpGLCompileShader;
369 functions->fCompressedTexImage2D = noOpGLCompressedTexImage2D; 368 functions->fCompressedTexImage2D = noOpGLCompressedTexImage2D;
370 functions->fCompressedTexSubImage2D = noOpGLCompressedTexSubImage2D; 369 functions->fCompressedTexSubImage2D = noOpGLCompressedTexSubImage2D;
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
481 functions->fBlitFramebuffer = noOpGLBlitFramebuffer; 480 functions->fBlitFramebuffer = noOpGLBlitFramebuffer;
482 functions->fResolveMultisampleFramebuffer = noOpGLResolveMultisampleFramebuf fer; 481 functions->fResolveMultisampleFramebuffer = noOpGLResolveMultisampleFramebuf fer;
483 functions->fMatrixLoadf = noOpGLMatrixLoadf; 482 functions->fMatrixLoadf = noOpGLMatrixLoadf;
484 functions->fMatrixLoadIdentity = noOpGLMatrixLoadIdentity; 483 functions->fMatrixLoadIdentity = noOpGLMatrixLoadIdentity;
485 functions->fBindFragDataLocationIndexed = noOpGLBindFragDataLocationIndexed; 484 functions->fBindFragDataLocationIndexed = noOpGLBindFragDataLocationIndexed;
486 485
487 interface->fExtensions.init(kGL_GrGLStandard, functions->fGetString, functio ns->fGetStringi, 486 interface->fExtensions.init(kGL_GrGLStandard, functions->fGetString, functio ns->fGetStringi,
488 functions->fGetIntegerv); 487 functions->fGetIntegerv);
489 return interface; 488 return interface;
490 } 489 }
OLDNEW
« no previous file with comments | « src/gpu/gl/GrGLAssembleInterface.cpp ('k') | src/gpu/gl/GrGLDefines.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698