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

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: brianderson@ review 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 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 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 164
164 // Gets the QueryManager for this context. 165 // Gets the QueryManager for this context.
165 virtual QueryManager* GetQueryManager() = 0; 166 virtual QueryManager* GetQueryManager() = 0;
166 167
167 // Gets the VertexArrayManager for this context. 168 // Gets the VertexArrayManager for this context.
168 virtual VertexArrayManager* GetVertexArrayManager() = 0; 169 virtual VertexArrayManager* GetVertexArrayManager() = 0;
169 170
170 // Gets the ImageManager for this context. 171 // Gets the ImageManager for this context.
171 virtual ImageManager* GetImageManager() = 0; 172 virtual ImageManager* GetImageManager() = 0;
172 173
174 // Gets the ValuebufferManager for this context.
175 virtual ValuebufferManager* GetValuebufferManager() = 0;
176
173 // Process any pending queries. Returns false if there are no pending queries. 177 // Process any pending queries. Returns false if there are no pending queries.
174 virtual bool ProcessPendingQueries(bool did_finish) = 0; 178 virtual bool ProcessPendingQueries(bool did_finish) = 0;
175 179
176 // Returns false if there are no idle work to be made. 180 // Returns false if there are no idle work to be made.
177 virtual bool HasMoreIdleWork() = 0; 181 virtual bool HasMoreIdleWork() = 0;
178 182
179 virtual void PerformIdleWork() = 0; 183 virtual void PerformIdleWork() = 0;
180 184
181 // Sets a callback which is called when a glResizeCHROMIUM command 185 // Sets a callback which is called when a glResizeCHROMIUM command
182 // is processed. 186 // is processed.
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
252 bool debug_; 256 bool debug_;
253 bool log_commands_; 257 bool log_commands_;
254 258
255 DISALLOW_COPY_AND_ASSIGN(GLES2Decoder); 259 DISALLOW_COPY_AND_ASSIGN(GLES2Decoder);
256 }; 260 };
257 261
258 } // namespace gles2 262 } // namespace gles2
259 } // namespace gpu 263 } // namespace gpu
260 264
261 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_H_ 265 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698