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

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

Issue 15792007: gpu: Autogenerate glHint state (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Switch-case instead of if-series. Created 7 years, 6 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 | Annotate | Revision Log
OLDNEW
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
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
OLDNEW
« no previous file with comments | « gpu/command_buffer/common/gles2_cmd_utils_implementation_autogen.h ('k') | gpu/command_buffer/service/context_state.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698