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

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

Issue 375733004: Fixes for re-enabling more MSVC level 4 warnings: gpu/ edition (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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
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 41d2938ab0c258e46581b8c0729a4a136671ad4a..b2e92c65f7cfad019fdae31cb3c3187e3f43f2cd 100644
--- a/gpu/command_buffer/service/gles2_cmd_decoder.h
+++ b/gpu/command_buffer/service/gles2_cmd_decoder.h
@@ -17,6 +17,7 @@
#include "gpu/command_buffer/service/common_decoder.h"
#include "gpu/command_buffer/service/logger.h"
#include "ui/gfx/size.h"
+#include "ui/gl/gl_bindings.h"
#include "ui/gl/gl_context.h"
namespace gfx {
@@ -59,6 +60,9 @@ class GPU_EXPORT GLES2Decoder : public base::SupportsWeakPtr<GLES2Decoder>,
typedef error::Error Error;
typedef base::Callback<bool(uint32 id)> WaitSyncPointCallback;
+ // The default stencil mask, which has all bits set.
+ static const GLuint kDefaultStencilMask;
+
// Creates a decoder.
static GLES2Decoder* Create(ContextGroup* group);

Powered by Google App Engine
This is Rietveld 408576698