| 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 // This file contains the ContextState class. | 5 // This file contains the ContextState class. |
| 6 | 6 |
| 7 #ifndef GPU_COMMAND_BUFFER_SERVICE_CONTEXT_STATE_H_ | 7 #ifndef GPU_COMMAND_BUFFER_SERVICE_CONTEXT_STATE_H_ |
| 8 #define GPU_COMMAND_BUFFER_SERVICE_CONTEXT_STATE_H_ | 8 #define GPU_COMMAND_BUFFER_SERVICE_CONTEXT_STATE_H_ |
| 9 | 9 |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 153 | 153 |
| 154 // The currently bound framebuffers | 154 // The currently bound framebuffers |
| 155 scoped_refptr<Framebuffer> bound_read_framebuffer; | 155 scoped_refptr<Framebuffer> bound_read_framebuffer; |
| 156 scoped_refptr<Framebuffer> bound_draw_framebuffer; | 156 scoped_refptr<Framebuffer> bound_draw_framebuffer; |
| 157 | 157 |
| 158 // The currently bound renderbuffer | 158 // The currently bound renderbuffer |
| 159 scoped_refptr<Renderbuffer> bound_renderbuffer; | 159 scoped_refptr<Renderbuffer> bound_renderbuffer; |
| 160 | 160 |
| 161 scoped_refptr<QueryManager::Query> current_query; | 161 scoped_refptr<QueryManager::Query> current_query; |
| 162 | 162 |
| 163 GLenum hint_generate_mipmap; | |
| 164 GLenum hint_fragment_shader_derivative; | |
| 165 | |
| 166 bool pack_reverse_row_order; | 163 bool pack_reverse_row_order; |
| 167 | 164 |
| 168 mutable bool fbo_binding_for_scissor_workaround_dirty_; | 165 mutable bool fbo_binding_for_scissor_workaround_dirty_; |
| 169 FeatureInfo* feature_info_; | 166 FeatureInfo* feature_info_; |
| 170 | 167 |
| 171 private: | 168 private: |
| 172 scoped_ptr<ErrorState> error_state_; | 169 scoped_ptr<ErrorState> error_state_; |
| 173 }; | 170 }; |
| 174 | 171 |
| 175 } // namespace gles2 | 172 } // namespace gles2 |
| 176 } // namespace gpu | 173 } // namespace gpu |
| 177 | 174 |
| 178 #endif // GPU_COMMAND_BUFFER_SERVICE_CONTEXT_STATE_H_ | 175 #endif // GPU_COMMAND_BUFFER_SERVICE_CONTEXT_STATE_H_ |
| 179 | 176 |
| OLD | NEW |