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

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

Issue 12328111: Use glGetStringi to get extensions when available. (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 9 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/SkGLContext.cpp ('k') | src/gpu/gl/mac/GrGLCreateNativeInterface_mac.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 /* 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 796 matching lines...) Expand 10 before | Expand all | Expand 10 after
807 interface->fGetQueryObjecti64v = noOpGLGetQueryObjecti64v; 807 interface->fGetQueryObjecti64v = noOpGLGetQueryObjecti64v;
808 interface->fGetQueryObjectiv = noOpGLGetQueryObjectiv; 808 interface->fGetQueryObjectiv = noOpGLGetQueryObjectiv;
809 interface->fGetQueryObjectui64v = noOpGLGetQueryObjectui64v; 809 interface->fGetQueryObjectui64v = noOpGLGetQueryObjectui64v;
810 interface->fGetQueryObjectuiv = noOpGLGetQueryObjectuiv; 810 interface->fGetQueryObjectuiv = noOpGLGetQueryObjectuiv;
811 interface->fGetQueryiv = noOpGLGetQueryiv; 811 interface->fGetQueryiv = noOpGLGetQueryiv;
812 interface->fGetProgramInfoLog = noOpGLGetInfoLog; 812 interface->fGetProgramInfoLog = noOpGLGetInfoLog;
813 interface->fGetProgramiv = noOpGLGetShaderOrProgramiv; 813 interface->fGetProgramiv = noOpGLGetShaderOrProgramiv;
814 interface->fGetShaderInfoLog = noOpGLGetInfoLog; 814 interface->fGetShaderInfoLog = noOpGLGetInfoLog;
815 interface->fGetShaderiv = noOpGLGetShaderOrProgramiv; 815 interface->fGetShaderiv = noOpGLGetShaderOrProgramiv;
816 interface->fGetString = noOpGLGetString; 816 interface->fGetString = noOpGLGetString;
817 interface->fGetStringi = noOpGLGetStringi;
817 interface->fGetTexLevelParameteriv = noOpGLGetTexLevelParameteriv; 818 interface->fGetTexLevelParameteriv = noOpGLGetTexLevelParameteriv;
818 interface->fGetUniformLocation = noOpGLGetUniformLocation; 819 interface->fGetUniformLocation = noOpGLGetUniformLocation;
819 interface->fLineWidth = noOpGLLineWidth; 820 interface->fLineWidth = noOpGLLineWidth;
820 interface->fLinkProgram = noOpGLLinkProgram; 821 interface->fLinkProgram = noOpGLLinkProgram;
821 interface->fPixelStorei = debugGLPixelStorei; 822 interface->fPixelStorei = debugGLPixelStorei;
822 interface->fQueryCounter = noOpGLQueryCounter; 823 interface->fQueryCounter = noOpGLQueryCounter;
823 interface->fReadBuffer = noOpGLReadBuffer; 824 interface->fReadBuffer = noOpGLReadBuffer;
824 interface->fReadPixels = debugGLReadPixels; 825 interface->fReadPixels = debugGLReadPixels;
825 interface->fScissor = noOpGLScissor; 826 interface->fScissor = noOpGLScissor;
826 interface->fShaderSource = noOpGLShaderSource; 827 interface->fShaderSource = noOpGLShaderSource;
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
876 interface->fBlitFramebuffer = noOpGLBlitFramebuffer; 877 interface->fBlitFramebuffer = noOpGLBlitFramebuffer;
877 interface->fResolveMultisampleFramebuffer = 878 interface->fResolveMultisampleFramebuffer =
878 noOpGLResolveMultisampleFramebuffer; 879 noOpGLResolveMultisampleFramebuffer;
879 interface->fMapBuffer = debugGLMapBuffer; 880 interface->fMapBuffer = debugGLMapBuffer;
880 interface->fUnmapBuffer = debugGLUnmapBuffer; 881 interface->fUnmapBuffer = debugGLUnmapBuffer;
881 interface->fBindFragDataLocationIndexed = 882 interface->fBindFragDataLocationIndexed =
882 noOpGLBindFragDataLocationIndexed; 883 noOpGLBindFragDataLocationIndexed;
883 884
884 return interface; 885 return interface;
885 } 886 }
OLDNEW
« no previous file with comments | « src/gpu/gl/SkGLContext.cpp ('k') | src/gpu/gl/mac/GrGLCreateNativeInterface_mac.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698