summaryrefslogtreecommitdiffstats
path: root/gpu
diff options
context:
space:
mode:
authorjamesr@chromium.org <jamesr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-12-05 00:12:54 +0000
committerjamesr@chromium.org <jamesr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-12-05 00:12:54 +0000
commit03ec653e695277d5c2ad3be9316df560a79e87e6 (patch)
treece505b4e5553d7926fb0d63944a783d269110dba /gpu
parent98bf14ea43147ca1f05714a5b866393b091ebdd0 (diff)
downloadchromium_src-03ec653e695277d5c2ad3be9316df560a79e87e6.zip
chromium_src-03ec653e695277d5c2ad3be9316df560a79e87e6.tar.gz
chromium_src-03ec653e695277d5c2ad3be9316df560a79e87e6.tar.bz2
Unify WebGraphicsContext3D::insertSyncPoint impls
The in-process command buffer implementation of insertSyncPoint() does a shallow flush and returns 0 as the sync point, since the flush posts a task which ensures ordering. The out of process implementation does additional work in the GpuControl implementation. This moves the logic to implement the in process version into GLES2Implementation + GpuControl instead of short circuiting in WebGraphicsContext3DInProcessCommandBufferImpl so that callers can use the GLES2Interface version directly. BUG=181120 Review URL: https://codereview.chromium.org/102813003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238825 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gpu')
-rw-r--r--gpu/command_buffer/service/in_process_command_buffer.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/gpu/command_buffer/service/in_process_command_buffer.cc b/gpu/command_buffer/service/in_process_command_buffer.cc
index ba4e3fa..f8cc141 100644
--- a/gpu/command_buffer/service/in_process_command_buffer.cc
+++ b/gpu/command_buffer/service/in_process_command_buffer.cc
@@ -711,7 +711,6 @@ bool InProcessCommandBuffer::GenerateMailboxNames(
}
uint32 InProcessCommandBuffer::InsertSyncPoint() {
- NOTREACHED();
return 0;
}