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

Side by Side Diff: src/gpu/gl/mesa/GrGLCreateMesaInterface.cpp

Issue 140823003: Move GrGLExtensions from GrGLContextInfo to GrGLInterface (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Fix Android 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 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 #include "gl/GrGLExtensions.h" 9 #include "gl/GrGLExtensions.h"
10 #include "gl/GrGLInterface.h" 10 #include "gl/GrGLInterface.h"
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after
213 } 213 }
214 if (extensions.has("GL_EXT_framebuffer_blit")) { 214 if (extensions.has("GL_EXT_framebuffer_blit")) {
215 GR_GL_GET_PROC_SUFFIX(BlitFramebuffer, EXT); 215 GR_GL_GET_PROC_SUFFIX(BlitFramebuffer, EXT);
216 } 216 }
217 } else { 217 } else {
218 // we must have FBOs 218 // we must have FBOs
219 delete interface; 219 delete interface;
220 return NULL; 220 return NULL;
221 } 221 }
222 GR_GL_GET_PROC(BindFragDataLocationIndexed); 222 GR_GL_GET_PROC(BindFragDataLocationIndexed);
223
223 interface->fStandard = kGL_GrGLStandard; 224 interface->fStandard = kGL_GrGLStandard;
225 interface->fExtensions.swap(&extensions);
226
224 return interface; 227 return interface;
225 } else { 228 } else {
226 return NULL; 229 return NULL;
227 } 230 }
228 } 231 }
OLDNEW
« no previous file with comments | « src/gpu/gl/mac/GrGLCreateNativeInterface_mac.cpp ('k') | src/gpu/gl/unix/GrGLCreateNativeInterface_unix.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698