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

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

Issue 2482673002: fix --show-composited-layer-borders on Mac (Closed)
Patch Set: another approach Created 4 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
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 9ce5953ba83205289a5de54e384470829dc8d8b8..6bc4a82eaf211b9b3b168e3fe72d05eddc38db2a 100644
--- a/gpu/command_buffer/service/context_state_impl_autogen.h
+++ b/gpu/command_buffer/service/context_state_impl_autogen.h
@@ -301,7 +301,7 @@ void ContextState::InitState(const ContextState* prev_state) const {
}
}
if ((line_width != prev_state->line_width))
- glLineWidth(line_width);
+ DoLineWidth(line_width);
piman 2016/11/07 22:34:40 The approach is reasonable, but this file is autog
Lof 2016/11/08 20:11:58 Done.
if (feature_info_->feature_flags().chromium_path_rendering) {
if (memcmp(prev_state->modelview_matrix, modelview_matrix,
sizeof(GLfloat) * 16)) {
@@ -394,7 +394,7 @@ void ContextState::InitState(const ContextState* prev_state) const {
glHint(GL_FRAGMENT_SHADER_DERIVATIVE_HINT_OES,
hint_fragment_shader_derivative);
}
- glLineWidth(line_width);
+ DoLineWidth(line_width);
if (feature_info_->feature_flags().chromium_path_rendering) {
glMatrixLoadfEXT(GL_PATH_MODELVIEW_CHROMIUM, modelview_matrix);
}

Powered by Google App Engine
This is Rietveld 408576698