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

Side by Side Diff: content/common/gpu/client/command_buffer_proxy_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
« no previous file with comments | « no previous file | content/common/gpu/client/command_buffer_proxy_impl.cc » ('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) 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 #ifndef CONTENT_COMMON_GPU_CLIENT_COMMAND_BUFFER_PROXY_IMPL_H_ 5 #ifndef CONTENT_COMMON_GPU_CLIENT_COMMAND_BUFFER_PROXY_IMPL_H_
6 #define CONTENT_COMMON_GPU_CLIENT_COMMAND_BUFFER_PROXY_IMPL_H_ 6 #define CONTENT_COMMON_GPU_CLIENT_COMMAND_BUFFER_PROXY_IMPL_H_
7 7
8 #include <map> 8 #include <map>
9 #include <queue> 9 #include <queue>
10 #include <string> 10 #include <string>
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 // the GPU process, even if this returns non-NULL. In this case the VEA client 82 // the GPU process, even if this returns non-NULL. In this case the VEA client
83 // is notified of an error later, after Initialize(); 83 // is notified of an error later, after Initialize();
84 scoped_ptr<media::VideoEncodeAccelerator> CreateVideoEncoder(); 84 scoped_ptr<media::VideoEncodeAccelerator> CreateVideoEncoder();
85 85
86 // IPC::Listener implementation: 86 // IPC::Listener implementation:
87 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; 87 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
88 virtual void OnChannelError() OVERRIDE; 88 virtual void OnChannelError() OVERRIDE;
89 89
90 // CommandBuffer implementation: 90 // CommandBuffer implementation:
91 virtual bool Initialize() OVERRIDE; 91 virtual bool Initialize() OVERRIDE;
92 virtual State GetState() OVERRIDE;
93 virtual State GetLastState() OVERRIDE; 92 virtual State GetLastState() OVERRIDE;
94 virtual int32 GetLastToken() OVERRIDE; 93 virtual int32 GetLastToken() OVERRIDE;
95 virtual void Flush(int32 put_offset) OVERRIDE; 94 virtual void Flush(int32 put_offset) OVERRIDE;
96 virtual void WaitForTokenInRange(int32 start, int32 end) OVERRIDE; 95 virtual void WaitForTokenInRange(int32 start, int32 end) OVERRIDE;
97 virtual void WaitForGetOffsetInRange(int32 start, int32 end) OVERRIDE; 96 virtual void WaitForGetOffsetInRange(int32 start, int32 end) OVERRIDE;
98 virtual void SetGetBuffer(int32 shm_id) OVERRIDE; 97 virtual void SetGetBuffer(int32 shm_id) OVERRIDE;
99 virtual scoped_refptr<gpu::Buffer> CreateTransferBuffer(size_t size, 98 virtual scoped_refptr<gpu::Buffer> CreateTransferBuffer(size_t size,
100 int32* id) OVERRIDE; 99 int32* id) OVERRIDE;
101 virtual void DestroyTransferBuffer(int32 id) OVERRIDE; 100 virtual void DestroyTransferBuffer(int32 id) OVERRIDE;
102 101
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 GpuMemoryBufferMap gpu_memory_buffers_; 201 GpuMemoryBufferMap gpu_memory_buffers_;
203 202
204 gpu::Capabilities capabilities_; 203 gpu::Capabilities capabilities_;
205 204
206 DISALLOW_COPY_AND_ASSIGN(CommandBufferProxyImpl); 205 DISALLOW_COPY_AND_ASSIGN(CommandBufferProxyImpl);
207 }; 206 };
208 207
209 } // namespace content 208 } // namespace content
210 209
211 #endif // CONTENT_COMMON_GPU_CLIENT_COMMAND_BUFFER_PROXY_IMPL_H_ 210 #endif // CONTENT_COMMON_GPU_CLIENT_COMMAND_BUFFER_PROXY_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | content/common/gpu/client/command_buffer_proxy_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698