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

Side by Side Diff: mojo/gles2/command_buffer_client_impl.h

Issue 253943002: Remove CommandBuffer::GetState (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: I forgot Poland^Wmojo Created 6 years, 7 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #ifndef MOJO_GLES2_COMMAND_BUFFER_CLIENT_IMPL_H_ 5 #ifndef MOJO_GLES2_COMMAND_BUFFER_CLIENT_IMPL_H_
6 #define MOJO_GLES2_COMMAND_BUFFER_CLIENT_IMPL_H_ 6 #define MOJO_GLES2_COMMAND_BUFFER_CLIENT_IMPL_H_
7 7
8 #include <map> 8 #include <map>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 30 matching lines...) Expand all
41 public gpu::GpuControl { 41 public gpu::GpuControl {
42 public: 42 public:
43 explicit CommandBufferClientImpl( 43 explicit CommandBufferClientImpl(
44 CommandBufferDelegate* delegate, 44 CommandBufferDelegate* delegate,
45 MojoAsyncWaiter* async_waiter, 45 MojoAsyncWaiter* async_waiter,
46 ScopedCommandBufferHandle command_buffer_handle); 46 ScopedCommandBufferHandle command_buffer_handle);
47 virtual ~CommandBufferClientImpl(); 47 virtual ~CommandBufferClientImpl();
48 48
49 // CommandBuffer implementation: 49 // CommandBuffer implementation:
50 virtual bool Initialize() OVERRIDE; 50 virtual bool Initialize() OVERRIDE;
51 virtual State GetState() OVERRIDE;
52 virtual State GetLastState() OVERRIDE; 51 virtual State GetLastState() OVERRIDE;
53 virtual int32 GetLastToken() OVERRIDE; 52 virtual int32 GetLastToken() OVERRIDE;
54 virtual void Flush(int32 put_offset) OVERRIDE; 53 virtual void Flush(int32 put_offset) OVERRIDE;
55 virtual void WaitForTokenInRange(int32 start, int32 end) OVERRIDE; 54 virtual void WaitForTokenInRange(int32 start, int32 end) OVERRIDE;
56 virtual void WaitForGetOffsetInRange(int32 start, int32 end) OVERRIDE; 55 virtual void WaitForGetOffsetInRange(int32 start, int32 end) OVERRIDE;
57 virtual void SetGetBuffer(int32 shm_id) OVERRIDE; 56 virtual void SetGetBuffer(int32 shm_id) OVERRIDE;
58 virtual scoped_refptr<gpu::Buffer> CreateTransferBuffer(size_t size, 57 virtual scoped_refptr<gpu::Buffer> CreateTransferBuffer(size_t size,
59 int32* id) OVERRIDE; 58 int32* id) OVERRIDE;
60 virtual void DestroyTransferBuffer(int32 id) OVERRIDE; 59 virtual void DestroyTransferBuffer(int32 id) OVERRIDE;
61 60
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 int32 last_put_offset_; 106 int32 last_put_offset_;
108 int32 next_transfer_buffer_id_; 107 int32 next_transfer_buffer_id_;
109 108
110 bool initialize_result_; 109 bool initialize_result_;
111 }; 110 };
112 111
113 } // gles2 112 } // gles2
114 } // mojo 113 } // mojo
115 114
116 #endif // MOJO_GLES2_COMMAND_BUFFER_CLIENT_IMPL_H_ 115 #endif // MOJO_GLES2_COMMAND_BUFFER_CLIENT_IMPL_H_
OLDNEW
« no previous file with comments | « mojo/examples/pepper_container_app/graphics_3d_resource.cc ('k') | mojo/gles2/command_buffer_client_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698