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

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

Issue 12387084: fix mac build (Closed) Base URL: https://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 | « no previous file | 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"
11 #include "gl/GrGLExtensions.h" 11 #include "gl/GrGLExtensions.h"
12 #include "GrGLUtil.h" 12 #include "../GrGLUtil.h"
13 13
14 #include <OpenGL/gl.h> 14 #include <OpenGL/gl.h>
15 #include <OpenGL/glext.h> 15 #include <OpenGL/glext.h>
16 16
17 #include <dlfcn.h> 17 #include <dlfcn.h>
18 18
19 static void* GetProcAddress(const char* name) { 19 static void* GetProcAddress(const char* name) {
20 return dlsym(RTLD_DEFAULT, name); 20 return dlsym(RTLD_DEFAULT, name);
21 } 21 }
22 22
(...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after
286 #if GL_VERSION_3_3 || GL_ARB_blend_func_extended 286 #if GL_VERSION_3_3 || GL_ARB_blend_func_extended
287 interface->fBindFragDataLocationIndexed = glBindFragDataLocationInde xed; 287 interface->fBindFragDataLocationIndexed = glBindFragDataLocationInde xed;
288 #else 288 #else
289 GET_PROC(BindFragDataLocationIndexed); 289 GET_PROC(BindFragDataLocationIndexed);
290 #endif 290 #endif
291 } 291 }
292 } 292 }
293 glInterface.get()->ref(); 293 glInterface.get()->ref();
294 return glInterface.get(); 294 return glInterface.get();
295 } 295 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698