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

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

Issue 2482673002: fix --show-composited-layer-borders on Mac (Closed)
Patch Set: 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/gles2_cmd_decoder_autogen.h
diff --git a/gpu/command_buffer/service/gles2_cmd_decoder_autogen.h b/gpu/command_buffer/service/gles2_cmd_decoder_autogen.h
index de6cafdad516952df67f78ab451e578b7e29ac53..f96a5cc3475271862f5d8a3cb0a5f9866e1824ae 100644
--- a/gpu/command_buffer/service/gles2_cmd_decoder_autogen.h
+++ b/gpu/command_buffer/service/gles2_cmd_decoder_autogen.h
@@ -2377,22 +2377,6 @@ error::Error GLES2DecoderImpl::HandleIsTransformFeedback(
return error::kNoError;
}
-error::Error GLES2DecoderImpl::HandleLineWidth(uint32_t immediate_data_size,
- const volatile void* cmd_data) {
- const volatile gles2::cmds::LineWidth& c =
- *static_cast<const volatile gles2::cmds::LineWidth*>(cmd_data);
- GLfloat width = static_cast<GLfloat>(c.width);
- if (width <= 0.0f || std::isnan(width)) {
- LOCAL_SET_GL_ERROR(GL_INVALID_VALUE, "LineWidth", "width out of range");
- return error::kNoError;
- }
- if (state_.line_width != width) {
- state_.line_width = width;
- DoLineWidth(width);
- }
- return error::kNoError;
-}
-
error::Error GLES2DecoderImpl::HandleLinkProgram(
uint32_t immediate_data_size,
const volatile void* cmd_data) {

Powered by Google App Engine
This is Rietveld 408576698