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

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: kbr@, jdduke@ 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 11 matching lines...) Expand all
22 namespace gfx { 22 namespace gfx {
23 class GLContext; 23 class GLContext;
24 class GLSurface; 24 class GLSurface;
25 } 25 }
26 26
27 namespace gpu { 27 namespace gpu {
28 28
29 class AsyncPixelTransferDelegate; 29 class AsyncPixelTransferDelegate;
30 class AsyncPixelTransferManager; 30 class AsyncPixelTransferManager;
31 struct Mailbox; 31 struct Mailbox;
32 union ValueState;
brianderson 2014/11/20 21:11:26 Is this needed?
orglofch 2014/11/20 21:25:04 Should have been in gpu_channel.h. Moved it.
32 33
33 namespace gles2 { 34 namespace gles2 {
34 35
35 class ContextGroup; 36 class ContextGroup;
36 class ErrorState; 37 class ErrorState;
37 class GLES2Util; 38 class GLES2Util;
38 class ImageManager; 39 class ImageManager;
39 class Logger; 40 class Logger;
40 class QueryManager; 41 class QueryManager;
41 class VertexArrayManager; 42 class VertexArrayManager;
43 class ValuebufferManager;
42 struct ContextState; 44 struct ContextState;
43 45
44 struct DisallowedFeatures { 46 struct DisallowedFeatures {
45 DisallowedFeatures() 47 DisallowedFeatures()
46 : gpu_memory_manager(false) { 48 : gpu_memory_manager(false) {
47 } 49 }
48 50
49 bool gpu_memory_manager; 51 bool gpu_memory_manager;
50 }; 52 };
51 53
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 165
164 // Gets the QueryManager for this context. 166 // Gets the QueryManager for this context.
165 virtual QueryManager* GetQueryManager() = 0; 167 virtual QueryManager* GetQueryManager() = 0;
166 168
167 // Gets the VertexArrayManager for this context. 169 // Gets the VertexArrayManager for this context.
168 virtual VertexArrayManager* GetVertexArrayManager() = 0; 170 virtual VertexArrayManager* GetVertexArrayManager() = 0;
169 171
170 // Gets the ImageManager for this context. 172 // Gets the ImageManager for this context.
171 virtual ImageManager* GetImageManager() = 0; 173 virtual ImageManager* GetImageManager() = 0;
172 174
175 // Gets the ValuebufferManager for this context.
176 virtual ValuebufferManager* GetValuebufferManager() = 0;
177
173 // Process any pending queries. Returns false if there are no pending queries. 178 // Process any pending queries. Returns false if there are no pending queries.
174 virtual bool ProcessPendingQueries(bool did_finish) = 0; 179 virtual bool ProcessPendingQueries(bool did_finish) = 0;
175 180
176 // Returns false if there are no idle work to be made. 181 // Returns false if there are no idle work to be made.
177 virtual bool HasMoreIdleWork() = 0; 182 virtual bool HasMoreIdleWork() = 0;
178 183
179 virtual void PerformIdleWork() = 0; 184 virtual void PerformIdleWork() = 0;
180 185
181 // Sets a callback which is called when a glResizeCHROMIUM command 186 // Sets a callback which is called when a glResizeCHROMIUM command
182 // is processed. 187 // is processed.
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
252 bool debug_; 257 bool debug_;
253 bool log_commands_; 258 bool log_commands_;
254 259
255 DISALLOW_COPY_AND_ASSIGN(GLES2Decoder); 260 DISALLOW_COPY_AND_ASSIGN(GLES2Decoder);
256 }; 261 };
257 262
258 } // namespace gles2 263 } // namespace gles2
259 } // namespace gpu 264 } // namespace gpu
260 265
261 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_H_ 266 #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