OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #include "gpu/command_buffer/service/gles2_cmd_decoder.h" | 5 #include "gpu/command_buffer/service/gles2_cmd_decoder.h" |
6 | 6 |
7 #include <limits.h> | 7 #include <limits.h> |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 #include <stdio.h> | 10 #include <stdio.h> |
(...skipping 2190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2201 uint8_t arg_flags; // How to handle the arguments for this command | 2201 uint8_t arg_flags; // How to handle the arguments for this command |
2202 uint8_t cmd_flags; // How to handle this command | 2202 uint8_t cmd_flags; // How to handle this command |
2203 uint16_t arg_count; // How many arguments are expected for this command. | 2203 uint16_t arg_count; // How many arguments are expected for this command. |
2204 }; | 2204 }; |
2205 | 2205 |
2206 // A table of CommandInfo for all the commands. | 2206 // A table of CommandInfo for all the commands. |
2207 static const CommandInfo command_info[kNumCommands - kFirstGLES2Command]; | 2207 static const CommandInfo command_info[kNumCommands - kFirstGLES2Command]; |
2208 | 2208 |
2209 // Most recent generation of the TextureManager. If this no longer matches | 2209 // Most recent generation of the TextureManager. If this no longer matches |
2210 // the current generation when our context becomes current, then we'll rebind | 2210 // the current generation when our context becomes current, then we'll rebind |
2211 // all the textures to stay up-to-date with Texture::service_id() changes. | 2211 // all the textures to stay up to date with Texture::service_id() changes. |
2212 uint32_t texture_manager_service_id_generation_; | 2212 uint32_t texture_manager_service_id_generation_; |
2213 | 2213 |
2214 bool force_shader_name_hashing_for_test; | 2214 bool force_shader_name_hashing_for_test; |
2215 | 2215 |
2216 GLfloat line_width_range_[2]; | 2216 GLfloat line_width_range_[2]; |
2217 | 2217 |
2218 SamplerState default_sampler_state_; | 2218 SamplerState default_sampler_state_; |
2219 | 2219 |
2220 DISALLOW_COPY_AND_ASSIGN(GLES2DecoderImpl); | 2220 DISALLOW_COPY_AND_ASSIGN(GLES2DecoderImpl); |
2221 }; | 2221 }; |
(...skipping 14723 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
16945 } | 16945 } |
16946 | 16946 |
16947 // Include the auto-generated part of this file. We split this because it means | 16947 // Include the auto-generated part of this file. We split this because it means |
16948 // we can easily edit the non-auto generated parts right here in this file | 16948 // we can easily edit the non-auto generated parts right here in this file |
16949 // instead of having to edit some template or the code generator. | 16949 // instead of having to edit some template or the code generator. |
16950 #include "base/macros.h" | 16950 #include "base/macros.h" |
16951 #include "gpu/command_buffer/service/gles2_cmd_decoder_autogen.h" | 16951 #include "gpu/command_buffer/service/gles2_cmd_decoder_autogen.h" |
16952 | 16952 |
16953 } // namespace gles2 | 16953 } // namespace gles2 |
16954 } // namespace gpu | 16954 } // namespace gpu |
OLD | NEW |