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

Side by Side Diff: gpu/command_buffer/service/gles2_cmd_decoder_autogen.h

Issue 1028333002: Chromium -> Mojo roll. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 9 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // This file is auto-generated from 5 // This file is auto-generated from
6 // gpu/command_buffer/build_gles2_cmd_buffer.py 6 // gpu/command_buffer/build_gles2_cmd_buffer.py
7 // It's formatted by clang-format using chromium coding style: 7 // It's formatted by clang-format using chromium coding style:
8 // clang-format -i -style=chromium filename 8 // clang-format -i -style=chromium filename
9 // DO NOT EDIT! 9 // DO NOT EDIT!
10 10
(...skipping 4853 matching lines...) Expand 10 before | Expand all | Expand 10 after
4864 return true; 4864 return true;
4865 } 4865 }
4866 return false; 4866 return false;
4867 case GL_STENCIL_TEST: 4867 case GL_STENCIL_TEST:
4868 state_.enable_flags.stencil_test = enabled; 4868 state_.enable_flags.stencil_test = enabled;
4869 if (state_.enable_flags.cached_stencil_test != enabled || 4869 if (state_.enable_flags.cached_stencil_test != enabled ||
4870 state_.ignore_cached_state) { 4870 state_.ignore_cached_state) {
4871 framebuffer_state_.clear_state_dirty = true; 4871 framebuffer_state_.clear_state_dirty = true;
4872 } 4872 }
4873 return false; 4873 return false;
4874 case GL_RASTERIZER_DISCARD:
4875 state_.enable_flags.rasterizer_discard = enabled;
4876 if (state_.enable_flags.cached_rasterizer_discard != enabled ||
4877 state_.ignore_cached_state) {
4878 state_.enable_flags.cached_rasterizer_discard = enabled;
4879 return true;
4880 }
4881 return false;
4874 default: 4882 default:
4875 NOTREACHED(); 4883 NOTREACHED();
4876 return false; 4884 return false;
4877 } 4885 }
4878 } 4886 }
4879 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_AUTOGEN_H_ 4887 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_AUTOGEN_H_
OLDNEW
« no previous file with comments | « gpu/command_buffer/service/gles2_cmd_decoder.cc ('k') | gpu/command_buffer/service/gles2_cmd_decoder_unittest_0_autogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698