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

Unified Diff: gpu/command_buffer/service/gles2_cmd_decoder.h

Issue 6623063: Connect up --disable-gl-multisampling to command buffer (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 9 years, 9 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: gpu/command_buffer/service/gles2_cmd_decoder.h
diff --git a/gpu/command_buffer/service/gles2_cmd_decoder.h b/gpu/command_buffer/service/gles2_cmd_decoder.h
index 88d189275f467d713008e440c48c954ed6b038d3..bec7202aad61779f8f0e38a24e89f60b92488900 100644
--- a/gpu/command_buffer/service/gles2_cmd_decoder.h
+++ b/gpu/command_buffer/service/gles2_cmd_decoder.h
@@ -25,6 +25,10 @@ namespace gles2 {
class ContextGroup;
class GLES2Util;
+typedef struct DisallowedExtensions {
apatrick_chromium 2011/03/07 22:31:40 And here struct DisallowedExtensions { bool mul
+ bool multisampling;
+} DisallowedExtensions;
+
// This class implements the AsyncAPIInterface interface, decoding GLES2
// commands and calling GL.
class GLES2Decoder : public CommonDecoder {
@@ -61,6 +65,7 @@ class GLES2Decoder : public CommonDecoder {
// true if successful.
virtual bool Initialize(gfx::GLContext* context,
const gfx::Size& size,
+ const DisallowedExtensions &disallowed,
zmo 2011/03/07 23:34:29 should be const DisallowedExtensions& disallowed.
const char* allowed_extensions,
const std::vector<int32>& attribs,
GLES2Decoder* parent,

Powered by Google App Engine
This is Rietveld 408576698