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

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

Issue 2612523003: [WIP] Remove unnecessary clear_state_dirty
Patch Set: code rebase Created 3 years, 11 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 | « no previous file | 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/context_state.h
diff --git a/gpu/command_buffer/service/context_state.h b/gpu/command_buffer/service/context_state.h
index 6566974e62094c5de02adae530e0d827eb5a8279..472a5af6def2902361ac5951e6ea9b424e7b7828 100644
--- a/gpu/command_buffer/service/context_state.h
+++ b/gpu/command_buffer/service/context_state.h
@@ -226,6 +226,7 @@ struct GPU_EXPORT ContextState {
cached_color_mask_blue = blue;
cached_color_mask_alpha = alpha;
glColorMask(red, green, blue, alpha);
+ // print(" ****** set color mask **** \n");
}
inline void SetDeviceDepthMask(GLboolean mask) {
@@ -233,6 +234,7 @@ struct GPU_EXPORT ContextState {
return;
cached_depth_mask = mask;
glDepthMask(mask);
+ // print(" @@@@@@ set depth mask **** \n");
}
inline void SetDeviceStencilMaskSeparate(GLenum op, GLuint mask) {
@@ -249,6 +251,7 @@ struct GPU_EXPORT ContextState {
return;
}
glStencilMaskSeparate(op, mask);
+ // print(" ##### set stencil mask **** \n");
}
ErrorState* GetErrorState();
« no previous file with comments | « no previous file | gpu/command_buffer/service/gles2_cmd_decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698