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

Side by Side Diff: src/gpu/gl/unix/GrGLCreateNativeInterface_unix.cpp

Issue 23882009: Rip out CSAA support (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: 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/GrGpuGL.cpp ('k') | src/gpu/gl/win/GrGLCreateNativeInterface_win.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 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/GrGLExtensions.h" 10 #include "gl/GrGLExtensions.h"
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 interface->fGetTexLevelParameteriv = glGetTexLevelParameteriv; 116 interface->fGetTexLevelParameteriv = glGetTexLevelParameteriv;
117 GR_GL_GET_PROC(GenQueries); 117 GR_GL_GET_PROC(GenQueries);
118 interface->fGenTextures = glGenTextures; 118 interface->fGenTextures = glGenTextures;
119 GR_GL_GET_PROC(GetUniformLocation); 119 GR_GL_GET_PROC(GetUniformLocation);
120 interface->fLineWidth = glLineWidth; 120 interface->fLineWidth = glLineWidth;
121 GR_GL_GET_PROC(LinkProgram); 121 GR_GL_GET_PROC(LinkProgram);
122 GR_GL_GET_PROC(MapBuffer); 122 GR_GL_GET_PROC(MapBuffer);
123 interface->fPixelStorei = glPixelStorei; 123 interface->fPixelStorei = glPixelStorei;
124 interface->fReadBuffer = glReadBuffer; 124 interface->fReadBuffer = glReadBuffer;
125 interface->fReadPixels = glReadPixels; 125 interface->fReadPixels = glReadPixels;
126 if (extensions.has("GL_NV_framebuffer_multisample_coverage")) {
127 GR_GL_GET_PROC_SUFFIX(RenderbufferStorageMultisampleCoverage, NV);
128 }
129 interface->fScissor = glScissor; 126 interface->fScissor = glScissor;
130 GR_GL_GET_PROC(ShaderSource); 127 GR_GL_GET_PROC(ShaderSource);
131 interface->fStencilFunc = glStencilFunc; 128 interface->fStencilFunc = glStencilFunc;
132 GR_GL_GET_PROC(StencilFuncSeparate); 129 GR_GL_GET_PROC(StencilFuncSeparate);
133 interface->fStencilMask = glStencilMask; 130 interface->fStencilMask = glStencilMask;
134 GR_GL_GET_PROC(StencilMaskSeparate); 131 GR_GL_GET_PROC(StencilMaskSeparate);
135 interface->fStencilOp = glStencilOp; 132 interface->fStencilOp = glStencilOp;
136 GR_GL_GET_PROC(StencilOpSeparate); 133 GR_GL_GET_PROC(StencilOpSeparate);
137 interface->fTexImage2D = glTexImage2D; 134 interface->fTexImage2D = glTexImage2D;
138 interface->fTexGenf = glTexGenf; 135 interface->fTexGenf = glTexGenf;
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
278 GR_GL_GET_PROC_SUFFIX(PointAlongPath, NV); 275 GR_GL_GET_PROC_SUFFIX(PointAlongPath, NV);
279 } 276 }
280 277
281 interface->fBindingsExported = kDesktop_GrGLBinding; 278 interface->fBindingsExported = kDesktop_GrGLBinding;
282 279
283 return interface; 280 return interface;
284 } else { 281 } else {
285 return NULL; 282 return NULL;
286 } 283 }
287 } 284 }
OLDNEW
« no previous file with comments | « src/gpu/gl/GrGpuGL.cpp ('k') | src/gpu/gl/win/GrGLCreateNativeInterface_win.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698