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

Unified Diff: src/gpu/gl/unix/GrGLCreateNativeInterface_unix.cpp

Issue 14461006: Plumbed in discard_framebuffer extension (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Fixed other issues Created 7 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
Index: src/gpu/gl/unix/GrGLCreateNativeInterface_unix.cpp
===================================================================
--- src/gpu/gl/unix/GrGLCreateNativeInterface_unix.cpp (revision 8892)
+++ src/gpu/gl/unix/GrGLCreateNativeInterface_unix.cpp (working copy)
@@ -139,6 +139,9 @@
GR_GL_GET_PROC_SUFFIX(TexStorage2D, EXT);
}
interface->fTexSubImage2D = glTexSubImage2D;
+ if (extensions.has("GL_EXT_discard_framebuffer")) {
+ GR_GL_GET_PROC_SUFFIX(DiscardFramebuffer, EXT);
+ }
GR_GL_GET_PROC(Uniform1f);
GR_GL_GET_PROC(Uniform1i);
GR_GL_GET_PROC(Uniform1fv);

Powered by Google App Engine
This is Rietveld 408576698