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

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

Issue 146863003: Revert "Turn NVPR on by default (but off in tools)." (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 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
« no previous file with comments | « src/gpu/gl/GrGLInterface.cpp ('k') | src/gpu/gl/win/SkNativeGLContext_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 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);
160 return interface; 155 return interface;
161 } 156 }
OLDNEW
« no previous file with comments | « src/gpu/gl/GrGLInterface.cpp ('k') | src/gpu/gl/win/SkNativeGLContext_win.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698