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

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

Issue 434063: Merged in recent changes to command buffer code. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 1 month 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/common/gles2_cmd_utils.cc ('k') | gpu/command_buffer/service/gles2_cmd_decoder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/service/gles2_cmd_decoder.h
===================================================================
--- gpu/command_buffer/service/gles2_cmd_decoder.h (revision 33021)
+++ gpu/command_buffer/service/gles2_cmd_decoder.h (working copy)
@@ -28,6 +28,14 @@
virtual ~GLES2Decoder() {
}
+ bool debug() const {
+ return debug_;
+ }
+
+ void set_debug(bool debug) {
+ debug_ = debug;
+ }
+
#if defined(OS_LINUX)
void set_window_wrapper(XWindowWrapper *window) {
window_ = window;
@@ -57,6 +65,8 @@
GLES2Decoder();
private:
+ bool debug_;
+
#if defined(OS_LINUX)
XWindowWrapper *window_;
#elif defined(OS_WIN)
« no previous file with comments | « gpu/command_buffer/common/gles2_cmd_utils.cc ('k') | gpu/command_buffer/service/gles2_cmd_decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698