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

Side by Side Diff: src/gpu/gl/mac/GrGLCreateNativeInterface_mac.cpp

Issue 23691022: Fix invalid enum error when checking for core profile in GrGLInterface::validate() (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: matrix mode func on mac Created 7 years, 3 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/GrGLInterface.cpp ('k') | no next file » | 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 2011 Google Inc. 3 * Copyright 2011 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 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 GET_PROC(GetQueryObjectuiv); 125 GET_PROC(GetQueryObjectuiv);
126 GET_PROC(GetShaderInfoLog); 126 GET_PROC(GetShaderInfoLog);
127 GET_PROC(GetShaderiv); 127 GET_PROC(GetShaderiv);
128 GET_PROC(GetString); 128 GET_PROC(GetString);
129 GET_PROC(GetStringi); 129 GET_PROC(GetStringi);
130 GET_PROC(GetTexLevelParameteriv); 130 GET_PROC(GetTexLevelParameteriv);
131 GET_PROC(GenTextures); 131 GET_PROC(GenTextures);
132 GET_PROC(GetUniformLocation); 132 GET_PROC(GetUniformLocation);
133 GET_PROC(LineWidth); 133 GET_PROC(LineWidth);
134 GET_PROC(LinkProgram); 134 GET_PROC(LinkProgram);
135 GET_PROC(LoadIdentity);
136 GET_PROC(LoadMatrixf);
135 GET_PROC(MapBuffer); 137 GET_PROC(MapBuffer);
138 GET_PROC(MatrixMode);
136 GET_PROC(PixelStorei); 139 GET_PROC(PixelStorei);
137 GET_PROC(ReadBuffer); 140 GET_PROC(ReadBuffer);
138 GET_PROC(ReadPixels); 141 GET_PROC(ReadPixels);
139 GET_PROC(Scissor); 142 GET_PROC(Scissor);
140 GET_PROC(ShaderSource); 143 GET_PROC(ShaderSource);
141 GET_PROC(StencilFunc); 144 GET_PROC(StencilFunc);
142 GET_PROC(StencilFuncSeparate); 145 GET_PROC(StencilFuncSeparate);
143 GET_PROC(StencilMask); 146 GET_PROC(StencilMask);
144 GET_PROC(StencilMaskSeparate); 147 GET_PROC(StencilMaskSeparate);
145 GET_PROC(StencilOp); 148 GET_PROC(StencilOp);
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
239 } 242 }
240 } 243 }
241 if (ver >= GR_GL_VER(3,3) || extensions.has("GL_ARB_blend_func_extended" )) { 244 if (ver >= GR_GL_VER(3,3) || extensions.has("GL_ARB_blend_func_extended" )) {
242 // ARB extension doesn't use the ARB suffix on the function name 245 // ARB extension doesn't use the ARB suffix on the function name
243 GET_PROC(BindFragDataLocationIndexed); 246 GET_PROC(BindFragDataLocationIndexed);
244 } 247 }
245 } 248 }
246 glInterface.get()->ref(); 249 glInterface.get()->ref();
247 return glInterface.get(); 250 return glInterface.get();
248 } 251 }
OLDNEW
« no previous file with comments | « src/gpu/gl/GrGLInterface.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698