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

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

Issue 11275120: Virtual GL (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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/service/context_state.cc ('k') | gpu/command_buffer/service/gl_context_virtual.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/service/context_state_impl_autogen.h
diff --git a/gpu/command_buffer/service/context_state_impl_autogen.h b/gpu/command_buffer/service/context_state_impl_autogen.h
index ed9350d4e8c75f113edf13d09cb41175fbbe6e0a..c33cb7fb11379d564e8979422df0dd38e2c728b2 100644
--- a/gpu/command_buffer/service/context_state_impl_autogen.h
+++ b/gpu/command_buffer/service/context_state_impl_autogen.h
@@ -78,7 +78,7 @@ void ContextState::Initialize() {
viewport_height = 1;
}
-void ContextState::InitCapabilities() {
+void ContextState::InitCapabilities() const {
EnableDisable(GL_BLEND, enable_flags.blend);
EnableDisable(GL_CULL_FACE, enable_flags.cull_face);
EnableDisable(GL_DEPTH_TEST, enable_flags.depth_test);
@@ -91,7 +91,7 @@ void ContextState::InitCapabilities() {
EnableDisable(GL_STENCIL_TEST, enable_flags.stencil_test);
}
-void ContextState::InitState() {
+void ContextState::InitState() const {
glBlendColor(
blend_color_red, blend_color_green, blend_color_blue, blend_color_alpha);
glBlendEquationSeparate(blend_equation_rgb, blend_equation_alpha);
« no previous file with comments | « gpu/command_buffer/service/context_state.cc ('k') | gpu/command_buffer/service/gl_context_virtual.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698