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

Unified Diff: gpu/command_buffer/service/in_process_command_buffer.cc

Issue 24925002: Move Insert/SignalSyncPoint() to GpuControl (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase past r226145 Created 7 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gpu/command_buffer/service/in_process_command_buffer.h ('k') | ppapi/proxy/ppapi_command_buffer_proxy.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/service/in_process_command_buffer.cc
diff --git a/gpu/command_buffer/service/in_process_command_buffer.cc b/gpu/command_buffer/service/in_process_command_buffer.cc
index cd5e860207c18a966b78b617406b58f548abc948..dec0893cf5f6550127f5a4c66ab1d370c716d9b4 100644
--- a/gpu/command_buffer/service/in_process_command_buffer.cc
+++ b/gpu/command_buffer/service/in_process_command_buffer.cc
@@ -640,16 +640,6 @@ gpu::Buffer InProcessCommandBuffer::GetTransferBuffer(int32 id) {
return gpu::Buffer();
}
-uint32 InProcessCommandBuffer::InsertSyncPoint() {
- NOTREACHED();
- return 0;
-}
-void InProcessCommandBuffer::SignalSyncPoint(unsigned sync_point,
- const base::Closure& callback) {
- CheckSequencedThread();
- QueueTask(WrapCallback(callback));
-}
-
bool InProcessCommandBuffer::SupportsGpuMemoryBuffer() {
return supports_gpu_memory_buffer_;
}
@@ -683,6 +673,17 @@ bool InProcessCommandBuffer::GenerateMailboxNames(
return gpu_control_->GenerateMailboxNames(num, names);
}
+uint32 InProcessCommandBuffer::InsertSyncPoint() {
+ NOTREACHED();
+ return 0;
+}
+
+void InProcessCommandBuffer::SignalSyncPoint(unsigned sync_point,
+ const base::Closure& callback) {
+ CheckSequencedThread();
+ QueueTask(WrapCallback(callback));
+}
+
gpu::error::Error InProcessCommandBuffer::GetLastError() {
CheckSequencedThread();
return last_state_.error;
« no previous file with comments | « gpu/command_buffer/service/in_process_command_buffer.h ('k') | ppapi/proxy/ppapi_command_buffer_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698