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

Side by Side Diff: src/gpu/gl/angle/GrGLCreateANGLEInterface.cpp

Issue 144003006: Turn NVPR on by default (but off in tools). (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: fix 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 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 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 GET_PROC(FramebufferRenderbuffer); 145 GET_PROC(FramebufferRenderbuffer);
146 GET_PROC(FramebufferTexture2D); 146 GET_PROC(FramebufferTexture2D);
147 GET_PROC(GenFramebuffers); 147 GET_PROC(GenFramebuffers);
148 GET_PROC(GenRenderbuffers); 148 GET_PROC(GenRenderbuffers);
149 GET_PROC(GetFramebufferAttachmentParameteriv); 149 GET_PROC(GetFramebufferAttachmentParameteriv);
150 GET_PROC(GetRenderbufferParameteriv); 150 GET_PROC(GetRenderbufferParameteriv);
151 GET_PROC(RenderbufferStorage); 151 GET_PROC(RenderbufferStorage);
152 152
153 functions->fMapBuffer = (GrGLMapBufferProc) eglGetProcAddress("glMapBufferOE S"); 153 functions->fMapBuffer = (GrGLMapBufferProc) eglGetProcAddress("glMapBufferOE S");
154 functions->fUnmapBuffer = (GrGLUnmapBufferProc) eglGetProcAddress("glUnmapBu fferOES"); 154 functions->fUnmapBuffer = (GrGLUnmapBufferProc) eglGetProcAddress("glUnmapBu fferOES");
155
156 interface->fExtensions.init(kGLES_GrGLStandard,
157 interface->fFunctions.fGetString,
158 interface->fFunctions.fGetStringi,
159 interface->fFunctions.fGetIntegerv);
155 return interface; 160 return interface;
156 } 161 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698