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

Unified Diff: src/gpu/gl/win/GrGLCreateNativeInterface_win.cpp

Issue 245963009: Use EXT_direct_state_access for path matrix manipulation (Closed) Base URL: https://skia.googlesource.com/skia.git@nv-pr-00-no-ff-primitives
Patch Set: Created 6 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/gpu/gl/unix/GrGLCreateNativeInterface_unix.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/gl/win/GrGLCreateNativeInterface_win.cpp
diff --git a/src/gpu/gl/win/GrGLCreateNativeInterface_win.cpp b/src/gpu/gl/win/GrGLCreateNativeInterface_win.cpp
index c5c80bc406473e4cbb453926b55dd8107ad20bc5..6fd3d91c5aa67e1d94ad2d6f04702b0fbf4faf22 100644
--- a/src/gpu/gl/win/GrGLCreateNativeInterface_win.cpp
+++ b/src/gpu/gl/win/GrGLCreateNativeInterface_win.cpp
@@ -103,9 +103,6 @@ const GrGLInterface* GrGLCreateNativeInterface() {
SET_PROC(GetString)
SET_PROC(GetTexLevelParameteriv)
SET_PROC(LineWidth)
- SET_PROC(LoadIdentity)
- SET_PROC(LoadMatrixf)
- SET_PROC(MatrixMode)
SET_PROC(PixelStorei)
SET_PROC(ReadBuffer)
SET_PROC(ReadPixels)
@@ -242,7 +239,12 @@ const GrGLInterface* GrGLCreateNativeInterface() {
delete interface;
return NULL;
}
+
WGL_SET_PROC(MapBuffer);
+ if (extensions.has("GL_EXT_direct_state_access")) {
+ WGL_SET_PROC_SUFFIX(MatrixLoadf, EXT);
+ WGL_SET_PROC_SUFFIX(MatrixLoadIdentity, EXT);
+ }
WGL_SET_PROC(UnmapBuffer);
if (extensions.has("GL_NV_path_rendering")) {
« no previous file with comments | « src/gpu/gl/unix/GrGLCreateNativeInterface_unix.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698