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

Unified Diff: gpu/command_buffer/common/gles2_cmd_utils.cc

Issue 2888016: Fix the gles2_demo to work with latest gpu process... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years, 5 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 | « gpu/command_buffer/client/gles2_demo_cc.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/common/gles2_cmd_utils.cc
===================================================================
--- gpu/command_buffer/common/gles2_cmd_utils.cc (revision 52727)
+++ gpu/command_buffer/common/gles2_cmd_utils.cc (working copy)
@@ -6,6 +6,7 @@
// includes where appropriate.
#include <GLES2/gl2.h>
+#include <GLES2/gles2_command_buffer.h>
#include "../common/gles2_cmd_utils.h"
#include "../common/gles2_cmd_format.h"
@@ -314,6 +315,7 @@
case GL_LUMINANCE_ALPHA:
return 2;
case GL_RGBA:
+ case GL_BGRA_EXT:
return 4;
case GL_ALPHA:
case GL_LUMINANCE:
« no previous file with comments | « gpu/command_buffer/client/gles2_demo_cc.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698