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

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

Issue 723343002: Update from https://crrev.com/304121 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 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
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 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 // Gets the QueryManager for this context. 164 // Gets the QueryManager for this context.
165 virtual QueryManager* GetQueryManager() = 0; 165 virtual QueryManager* GetQueryManager() = 0;
166 166
167 // Gets the VertexArrayManager for this context. 167 // Gets the VertexArrayManager for this context.
168 virtual VertexArrayManager* GetVertexArrayManager() = 0; 168 virtual VertexArrayManager* GetVertexArrayManager() = 0;
169 169
170 // Gets the ImageManager for this context. 170 // Gets the ImageManager for this context.
171 virtual ImageManager* GetImageManager() = 0; 171 virtual ImageManager* GetImageManager() = 0;
172 172
173 // Process any pending queries. Returns false if there are no pending queries. 173 // Process any pending queries. Returns false if there are no pending queries.
174 virtual bool ProcessPendingQueries() = 0; 174 virtual bool ProcessPendingQueries(bool did_finish) = 0;
175 175
176 // Returns false if there are no idle work to be made. 176 // Returns false if there are no idle work to be made.
177 virtual bool HasMoreIdleWork() = 0; 177 virtual bool HasMoreIdleWork() = 0;
178 178
179 virtual void PerformIdleWork() = 0; 179 virtual void PerformIdleWork() = 0;
180 180
181 // Sets a callback which is called when a glResizeCHROMIUM command 181 // Sets a callback which is called when a glResizeCHROMIUM command
182 // is processed. 182 // is processed.
183 virtual void SetResizeCallback( 183 virtual void SetResizeCallback(
184 const base::Callback<void(gfx::Size, float)>& callback) = 0; 184 const base::Callback<void(gfx::Size, float)>& callback) = 0;
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
252 bool debug_; 252 bool debug_;
253 bool log_commands_; 253 bool log_commands_;
254 254
255 DISALLOW_COPY_AND_ASSIGN(GLES2Decoder); 255 DISALLOW_COPY_AND_ASSIGN(GLES2Decoder);
256 }; 256 };
257 257
258 } // namespace gles2 258 } // namespace gles2
259 } // namespace gpu 259 } // namespace gpu
260 260
261 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_H_ 261 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_H_
OLDNEW
« no previous file with comments | « gpu/command_buffer/service/feature_info_unittest.cc ('k') | gpu/command_buffer/service/gles2_cmd_decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698