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

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

Issue 11275120: Virtual GL (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month 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 GLES2Decoder class. 5 // This file contains the GLES2Decoder class.
6 6
7 #ifndef GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_H_ 7 #ifndef GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_H_
8 #define GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_H_ 8 #define GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_H_
9 9
10 #include <vector> 10 #include <vector>
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 128
129 // Gets the GLES2 Util which holds info. 129 // Gets the GLES2 Util which holds info.
130 virtual GLES2Util* GetGLES2Util() = 0; 130 virtual GLES2Util* GetGLES2Util() = 0;
131 131
132 // Gets the associated GLContext. 132 // Gets the associated GLContext.
133 virtual gfx::GLContext* GetGLContext() = 0; 133 virtual gfx::GLContext* GetGLContext() = 0;
134 134
135 // Gets the associated ContextGroup 135 // Gets the associated ContextGroup
136 virtual ContextGroup* GetContextGroup() = 0; 136 virtual ContextGroup* GetContextGroup() = 0;
137 137
138 // Gets the service id for any simulated backbuffer fbo.
139 virtual void RestoreState() const = 0;
140
138 // Gets the QueryManager for this context. 141 // Gets the QueryManager for this context.
139 virtual QueryManager* GetQueryManager() = 0; 142 virtual QueryManager* GetQueryManager() = 0;
140 143
141 // Gets the VertexArrayManager for this context. 144 // Gets the VertexArrayManager for this context.
142 virtual VertexArrayManager* GetVertexArrayManager() = 0; 145 virtual VertexArrayManager* GetVertexArrayManager() = 0;
143 146
144 // Process any pending queries. Returns false if there are no pending queries. 147 // Process any pending queries. Returns false if there are no pending queries.
145 virtual bool ProcessPendingQueries() = 0; 148 virtual bool ProcessPendingQueries() = 0;
146 149
147 // Sets a callback which is called when a glResizeCHROMIUM command 150 // Sets a callback which is called when a glResizeCHROMIUM command
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
197 bool log_synthesized_gl_errors_; 200 bool log_synthesized_gl_errors_;
198 static bool testing_force_is_angle_; 201 static bool testing_force_is_angle_;
199 202
200 DISALLOW_COPY_AND_ASSIGN(GLES2Decoder); 203 DISALLOW_COPY_AND_ASSIGN(GLES2Decoder);
201 }; 204 };
202 205
203 } // namespace gles2 206 } // namespace gles2
204 } // namespace gpu 207 } // namespace gpu
205 208
206 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_H_ 209 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698