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

Side by Side Diff: src/gpu/gl/debug/GrGLCreateDebugInterface.cpp

Issue 1039693004: 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
OLDNEW
1 1
2 /* 2 /*
3 * Copyright 2012 Google Inc. 3 * Copyright 2012 Google Inc.
4 * 4 *
5 * Use of this source code is governed by a BSD-style license that can be 5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file. 6 * found in the LICENSE file.
7 */ 7 */
8 8
9 9
10 #include "gl/GrGLInterface.h" 10 #include "gl/GrGLInterface.h"
(...skipping 831 matching lines...) Expand 10 before | Expand all | Expand 10 after
842 842
843 GrGLInterface::Functions* functions = &interface->fFunctions; 843 GrGLInterface::Functions* functions = &interface->fFunctions;
844 functions->fActiveTexture = debugGLActiveTexture; 844 functions->fActiveTexture = debugGLActiveTexture;
845 functions->fAttachShader = debugGLAttachShader; 845 functions->fAttachShader = debugGLAttachShader;
846 functions->fBeginQuery = debugGLBeginQuery; 846 functions->fBeginQuery = debugGLBeginQuery;
847 functions->fBindAttribLocation = debugGLBindAttribLocation; 847 functions->fBindAttribLocation = debugGLBindAttribLocation;
848 functions->fBindBuffer = debugGLBindBuffer; 848 functions->fBindBuffer = debugGLBindBuffer;
849 functions->fBindFragDataLocation = noOpGLBindFragDataLocation; 849 functions->fBindFragDataLocation = noOpGLBindFragDataLocation;
850 functions->fBindTexture = debugGLBindTexture; 850 functions->fBindTexture = debugGLBindTexture;
851 functions->fBindVertexArray = debugGLBindVertexArray; 851 functions->fBindVertexArray = debugGLBindVertexArray;
852 functions->fBlendBarrier = noOpGLBlendBarrier;
852 functions->fBlendColor = noOpGLBlendColor; 853 functions->fBlendColor = noOpGLBlendColor;
854 functions->fBlendEquation = noOpGLBlendEquation;
853 functions->fBlendFunc = noOpGLBlendFunc; 855 functions->fBlendFunc = noOpGLBlendFunc;
854 functions->fBufferData = debugGLBufferData; 856 functions->fBufferData = debugGLBufferData;
855 functions->fBufferSubData = noOpGLBufferSubData; 857 functions->fBufferSubData = noOpGLBufferSubData;
856 functions->fClear = noOpGLClear; 858 functions->fClear = noOpGLClear;
857 functions->fClearColor = noOpGLClearColor; 859 functions->fClearColor = noOpGLClearColor;
858 functions->fClearStencil = noOpGLClearStencil; 860 functions->fClearStencil = noOpGLClearStencil;
859 functions->fColorMask = noOpGLColorMask; 861 functions->fColorMask = noOpGLColorMask;
860 functions->fCompileShader = noOpGLCompileShader; 862 functions->fCompileShader = noOpGLCompileShader;
861 functions->fCompressedTexImage2D = noOpGLCompressedTexImage2D; 863 functions->fCompressedTexImage2D = noOpGLCompressedTexImage2D;
862 functions->fCompressedTexSubImage2D = noOpGLCompressedTexSubImage2D; 864 functions->fCompressedTexSubImage2D = noOpGLCompressedTexSubImage2D;
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
976 functions->fMatrixLoadIdentity = noOpGLMatrixLoadIdentity; 978 functions->fMatrixLoadIdentity = noOpGLMatrixLoadIdentity;
977 979
978 functions->fBindFragDataLocationIndexed = 980 functions->fBindFragDataLocationIndexed =
979 noOpGLBindFragDataLocationIndexed; 981 noOpGLBindFragDataLocationIndexed;
980 982
981 interface->fExtensions.init(kGL_GrGLStandard, functions->fGetString, functio ns->fGetStringi, 983 interface->fExtensions.init(kGL_GrGLStandard, functions->fGetString, functio ns->fGetStringi,
982 functions->fGetIntegerv); 984 functions->fGetIntegerv);
983 985
984 return interface; 986 return interface;
985 } 987 }
OLDNEW
« src/gpu/gl/GrGLNoOpInterface.cpp ('K') | « src/gpu/gl/android/GrGLCreateNativeInterface_android.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698