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

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

Issue 133413003: Rename GrGLBinding->GrGLStandard, no longer a bitfield (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: actually fix enum names? Created 6 years, 11 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
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 772 matching lines...) Expand 10 before | Expand all | Expand 10 after
783 783
784 SkAutoTUnref<GrGLInterface> fWrapped; 784 SkAutoTUnref<GrGLInterface> fWrapped;
785 785
786 typedef GrGLInterface INHERITED; 786 typedef GrGLInterface INHERITED;
787 }; 787 };
788 788
789 //////////////////////////////////////////////////////////////////////////////// 789 ////////////////////////////////////////////////////////////////////////////////
790 const GrGLInterface* GrGLCreateDebugInterface() { 790 const GrGLInterface* GrGLCreateDebugInterface() {
791 GrGLInterface* interface = SkNEW(GrDebugGLInterface); 791 GrGLInterface* interface = SkNEW(GrDebugGLInterface);
792 792
793 interface->fBindingsExported = kDesktop_GrGLBinding; 793 interface->fStandard = kGL_GrGLStandard;
794 interface->fActiveTexture = debugGLActiveTexture; 794 interface->fActiveTexture = debugGLActiveTexture;
795 interface->fAttachShader = debugGLAttachShader; 795 interface->fAttachShader = debugGLAttachShader;
796 interface->fBeginQuery = debugGLBeginQuery; 796 interface->fBeginQuery = debugGLBeginQuery;
797 interface->fBindAttribLocation = debugGLBindAttribLocation; 797 interface->fBindAttribLocation = debugGLBindAttribLocation;
798 interface->fBindBuffer = debugGLBindBuffer; 798 interface->fBindBuffer = debugGLBindBuffer;
799 interface->fBindFragDataLocation = noOpGLBindFragDataLocation; 799 interface->fBindFragDataLocation = noOpGLBindFragDataLocation;
800 interface->fBindTexture = debugGLBindTexture; 800 interface->fBindTexture = debugGLBindTexture;
801 interface->fBindVertexArray = debugGLBindVertexArray; 801 interface->fBindVertexArray = debugGLBindVertexArray;
802 interface->fBlendColor = noOpGLBlendColor; 802 interface->fBlendColor = noOpGLBlendColor;
803 interface->fBlendFunc = noOpGLBlendFunc; 803 interface->fBlendFunc = noOpGLBlendFunc;
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
924 interface->fBlitFramebuffer = noOpGLBlitFramebuffer; 924 interface->fBlitFramebuffer = noOpGLBlitFramebuffer;
925 interface->fResolveMultisampleFramebuffer = 925 interface->fResolveMultisampleFramebuffer =
926 noOpGLResolveMultisampleFramebuffer; 926 noOpGLResolveMultisampleFramebuffer;
927 interface->fMapBuffer = debugGLMapBuffer; 927 interface->fMapBuffer = debugGLMapBuffer;
928 interface->fUnmapBuffer = debugGLUnmapBuffer; 928 interface->fUnmapBuffer = debugGLUnmapBuffer;
929 interface->fBindFragDataLocationIndexed = 929 interface->fBindFragDataLocationIndexed =
930 noOpGLBindFragDataLocationIndexed; 930 noOpGLBindFragDataLocationIndexed;
931 931
932 return interface; 932 return interface;
933 } 933 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698