| 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 #ifndef GPU_COMMAND_BUFFER_SERVICE_FEATURE_INFO_H_ | 5 #ifndef GPU_COMMAND_BUFFER_SERVICE_FEATURE_INFO_H_ |
| 6 #define GPU_COMMAND_BUFFER_SERVICE_FEATURE_INFO_H_ | 6 #define GPU_COMMAND_BUFFER_SERVICE_FEATURE_INFO_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include "base/hash_tables.h" | 9 #include "base/hash_tables.h" |
| 10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 | 48 |
| 49 bool clear_alpha_in_readpixels; | 49 bool clear_alpha_in_readpixels; |
| 50 bool clear_uniforms_before_program_use; | 50 bool clear_uniforms_before_program_use; |
| 51 bool needs_glsl_built_in_function_emulation; | 51 bool needs_glsl_built_in_function_emulation; |
| 52 bool needs_offscreen_buffer_workaround; | 52 bool needs_offscreen_buffer_workaround; |
| 53 bool reverse_point_sprite_coord_origin; | 53 bool reverse_point_sprite_coord_origin; |
| 54 bool set_texture_filter_before_generating_mipmap; | 54 bool set_texture_filter_before_generating_mipmap; |
| 55 bool use_current_program_after_successful_link; | 55 bool use_current_program_after_successful_link; |
| 56 bool restore_scissor_on_fbo_change; | 56 bool restore_scissor_on_fbo_change; |
| 57 bool flush_on_context_switch; | 57 bool flush_on_context_switch; |
| 58 bool makecurrent_recreates_surfaces; |
| 58 bool delete_instead_of_resize_fbo; | 59 bool delete_instead_of_resize_fbo; |
| 59 bool use_client_side_arrays_for_stream_buffers; | 60 bool use_client_side_arrays_for_stream_buffers; |
| 60 | 61 |
| 61 // Note: 0 here means use driver limit. | 62 // Note: 0 here means use driver limit. |
| 62 GLint max_texture_size; | 63 GLint max_texture_size; |
| 63 GLint max_cube_map_texture_size; | 64 GLint max_cube_map_texture_size; |
| 64 }; | 65 }; |
| 65 | 66 |
| 66 FeatureInfo(); | 67 FeatureInfo(); |
| 67 | 68 |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 117 // Flags for Workarounds. | 118 // Flags for Workarounds. |
| 118 Workarounds workarounds_; | 119 Workarounds workarounds_; |
| 119 | 120 |
| 120 DISALLOW_COPY_AND_ASSIGN(FeatureInfo); | 121 DISALLOW_COPY_AND_ASSIGN(FeatureInfo); |
| 121 }; | 122 }; |
| 122 | 123 |
| 123 } // namespace gles2 | 124 } // namespace gles2 |
| 124 } // namespace gpu | 125 } // namespace gpu |
| 125 | 126 |
| 126 #endif // GPU_COMMAND_BUFFER_SERVICE_FEATURE_INFO_H_ | 127 #endif // GPU_COMMAND_BUFFER_SERVICE_FEATURE_INFO_H_ |
| OLD | NEW |