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

Side by Side Diff: content/common/gpu/client/command_buffer_proxy_impl.h

Issue 1429213002: Converted video frame and image callbacks to use new sync tokens. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixed typo Created 5 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 #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 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 void SetGetBuffer(int32 shm_id) override; 99 void SetGetBuffer(int32 shm_id) override;
100 scoped_refptr<gpu::Buffer> CreateTransferBuffer(size_t size, 100 scoped_refptr<gpu::Buffer> CreateTransferBuffer(size_t size,
101 int32* id) override; 101 int32* id) override;
102 void DestroyTransferBuffer(int32 id) override; 102 void DestroyTransferBuffer(int32 id) override;
103 103
104 // gpu::GpuControl implementation: 104 // gpu::GpuControl implementation:
105 gpu::Capabilities GetCapabilities() override; 105 gpu::Capabilities GetCapabilities() override;
106 int32 CreateImage(ClientBuffer buffer, 106 int32 CreateImage(ClientBuffer buffer,
107 size_t width, 107 size_t width,
108 size_t height, 108 size_t height,
109 unsigned internalformat) override; 109 unsigned internal_format) override;
110 void DestroyImage(int32 id) override; 110 void DestroyImage(int32 id) override;
111 int32 CreateGpuMemoryBufferImage(size_t width, 111 int32 CreateGpuMemoryBufferImage(size_t width,
112 size_t height, 112 size_t height,
113 unsigned internalformat, 113 unsigned internal_format,
114 unsigned usage) override; 114 unsigned usage) override;
115 uint32 InsertSyncPoint() override; 115 uint32 InsertSyncPoint() override;
116 uint32_t InsertFutureSyncPoint() override; 116 uint32_t InsertFutureSyncPoint() override;
117 void RetireSyncPoint(uint32_t sync_point) override; 117 void RetireSyncPoint(uint32_t sync_point) override;
118 void SignalSyncPoint(uint32 sync_point, 118 void SignalSyncPoint(uint32 sync_point,
119 const base::Closure& callback) override; 119 const base::Closure& callback) override;
120 void SignalQuery(uint32 query, const base::Closure& callback) override; 120 void SignalQuery(uint32 query, const base::Closure& callback) override;
121 void SetSurfaceVisible(bool visible) override; 121 void SetSurfaceVisible(bool visible) override;
122 uint32 CreateStreamTexture(uint32 texture_id) override; 122 uint32 CreateStreamTexture(uint32 texture_id) override;
123 void SetLock(base::Lock* lock) override; 123 void SetLock(base::Lock* lock) override;
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
252 252
253 SwapBuffersCompletionCallback swap_buffers_completion_callback_; 253 SwapBuffersCompletionCallback swap_buffers_completion_callback_;
254 UpdateVSyncParametersCallback update_vsync_parameters_completion_callback_; 254 UpdateVSyncParametersCallback update_vsync_parameters_completion_callback_;
255 255
256 DISALLOW_COPY_AND_ASSIGN(CommandBufferProxyImpl); 256 DISALLOW_COPY_AND_ASSIGN(CommandBufferProxyImpl);
257 }; 257 };
258 258
259 } // namespace content 259 } // namespace content
260 260
261 #endif // CONTENT_COMMON_GPU_CLIENT_COMMAND_BUFFER_PROXY_IMPL_H_ 261 #endif // CONTENT_COMMON_GPU_CLIENT_COMMAND_BUFFER_PROXY_IMPL_H_
OLDNEW
« no previous file with comments | « content/common/child_process_messages.h ('k') | content/common/gpu/client/command_buffer_proxy_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698