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

Unified Diff: chrome/gpu/gpu_video_layer_glx.cc

Issue 2134006: Added EGL based GLContext.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 6 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 | « chrome/gpu/gpu_main.cc ('k') | chrome/gpu/gpu_view_x.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/gpu/gpu_video_layer_glx.cc
===================================================================
--- chrome/gpu/gpu_video_layer_glx.cc (revision 49195)
+++ chrome/gpu/gpu_video_layer_glx.cc (working copy)
@@ -4,8 +4,7 @@
#include "chrome/gpu/gpu_video_layer_glx.h"
-#include <GL/glew.h>
-
+#include "app/gfx/gl/gl_bindings.h"
#include "chrome/common/gpu_messages.h"
#include "chrome/gpu/gpu_thread.h"
#include "chrome/gpu/gpu_view_x.h"
@@ -107,7 +106,8 @@
view_->BindContext(); // Must do this before issuing OpenGl.
- glMatrixMode(GL_MODELVIEW);
+ // TODO(apatrick): These functions are not available in GLES2.
+ // glMatrixMode(GL_MODELVIEW);
// Create 3 textures, one for each plane, and bind them to different
// texture units.
« no previous file with comments | « chrome/gpu/gpu_main.cc ('k') | chrome/gpu/gpu_view_x.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698