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

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

Issue 555129: Add commands Jump, Call and Return... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 10 months 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
« no previous file with comments | « gpu/command_buffer/common/cmd_buffer_common.h ('k') | gpu/command_buffer/service/cmd_parser.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 defines the CommandBufferEngine class, providing the main loop for 5 // This file defines the CommandBufferEngine class, providing the main loop for
6 // the service, exposing the RPC API, managing the command parser. 6 // the service, exposing the RPC API, managing the command parser.
7 7
8 #ifndef GPU_COMMAND_BUFFER_SERVICE_CMD_BUFFER_ENGINE_H_ 8 #ifndef GPU_COMMAND_BUFFER_SERVICE_CMD_BUFFER_ENGINE_H_
9 #define GPU_COMMAND_BUFFER_SERVICE_CMD_BUFFER_ENGINE_H_ 9 #define GPU_COMMAND_BUFFER_SERVICE_CMD_BUFFER_ENGINE_H_
10 10
(...skipping 11 matching lines...) Expand all
22 } 22 }
23 23
24 // Gets the base address and size of a registered shared memory buffer. 24 // Gets the base address and size of a registered shared memory buffer.
25 // Parameters: 25 // Parameters:
26 // shm_id: the identifier for the shared memory buffer. 26 // shm_id: the identifier for the shared memory buffer.
27 virtual Buffer GetSharedMemoryBuffer(int32 shm_id) = 0; 27 virtual Buffer GetSharedMemoryBuffer(int32 shm_id) = 0;
28 28
29 // Sets the token value. 29 // Sets the token value.
30 virtual void set_token(int32 token) = 0; 30 virtual void set_token(int32 token) = 0;
31 31
32 // Sets the "get" pointer. Return false if offset is out of range.
33 virtual bool SetGetOffset(int32 offset) = 0;
34
35 // Gets the "get" pointer.
36 virtual int32 GetGetOffset() = 0;
37
32 private: 38 private:
33 DISALLOW_COPY_AND_ASSIGN(CommandBufferEngine); 39 DISALLOW_COPY_AND_ASSIGN(CommandBufferEngine);
34 }; 40 };
35 41
36 } // namespace gpu 42 } // namespace gpu
37 43
38 #endif // GPU_COMMAND_BUFFER_SERVICE_CMD_BUFFER_ENGINE_H_ 44 #endif // GPU_COMMAND_BUFFER_SERVICE_CMD_BUFFER_ENGINE_H_
OLDNEW
« no previous file with comments | « gpu/command_buffer/common/cmd_buffer_common.h ('k') | gpu/command_buffer/service/cmd_parser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698