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

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

Issue 634313002: Add mouse input forwarding to gpu service (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix test race Created 6 years 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 21 matching lines...) Expand all
32 32
33 namespace gles2 { 33 namespace gles2 {
34 34
35 class ContextGroup; 35 class ContextGroup;
36 class ErrorState; 36 class ErrorState;
37 class GLES2Util; 37 class GLES2Util;
38 class ImageManager; 38 class ImageManager;
39 class Logger; 39 class Logger;
40 class QueryManager; 40 class QueryManager;
41 class VertexArrayManager; 41 class VertexArrayManager;
42 class ValuebufferManager;
42 struct ContextState; 43 struct ContextState;
43 44
44 struct DisallowedFeatures { 45 struct DisallowedFeatures {
45 DisallowedFeatures() 46 DisallowedFeatures()
46 : gpu_memory_manager(false) { 47 : gpu_memory_manager(false) {
47 } 48 }
48 49
49 bool gpu_memory_manager; 50 bool gpu_memory_manager;
50 }; 51 };
51 52
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 172
172 // Gets the QueryManager for this context. 173 // Gets the QueryManager for this context.
173 virtual QueryManager* GetQueryManager() = 0; 174 virtual QueryManager* GetQueryManager() = 0;
174 175
175 // Gets the VertexArrayManager for this context. 176 // Gets the VertexArrayManager for this context.
176 virtual VertexArrayManager* GetVertexArrayManager() = 0; 177 virtual VertexArrayManager* GetVertexArrayManager() = 0;
177 178
178 // Gets the ImageManager for this context. 179 // Gets the ImageManager for this context.
179 virtual ImageManager* GetImageManager() = 0; 180 virtual ImageManager* GetImageManager() = 0;
180 181
182 // Gets the ValuebufferManager for this context.
183 virtual ValuebufferManager* GetValuebufferManager() = 0;
184
181 // Process any pending queries. Returns false if there are no pending queries. 185 // Process any pending queries. Returns false if there are no pending queries.
182 virtual bool ProcessPendingQueries(bool did_finish) = 0; 186 virtual bool ProcessPendingQueries(bool did_finish) = 0;
183 187
184 // Returns false if there are no idle work to be made. 188 // Returns false if there are no idle work to be made.
185 virtual bool HasMoreIdleWork() = 0; 189 virtual bool HasMoreIdleWork() = 0;
186 190
187 virtual void PerformIdleWork() = 0; 191 virtual void PerformIdleWork() = 0;
188 192
189 // Sets a callback which is called when a glResizeCHROMIUM command 193 // Sets a callback which is called when a glResizeCHROMIUM command
190 // is processed. 194 // is processed.
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
261 bool log_commands_; 265 bool log_commands_;
262 bool unsafe_es3_apis_enabled_; 266 bool unsafe_es3_apis_enabled_;
263 267
264 DISALLOW_COPY_AND_ASSIGN(GLES2Decoder); 268 DISALLOW_COPY_AND_ASSIGN(GLES2Decoder);
265 }; 269 };
266 270
267 } // namespace gles2 271 } // namespace gles2
268 } // namespace gpu 272 } // namespace gpu
269 273
270 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_H_ 274 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_H_
OLDNEW
« no previous file with comments | « gpu/command_buffer/service/feature_info.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