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

Side by Side Diff: gpu/gles2_conform_support/egl/display.cc

Issue 1559893003: Added method to synchronize command buffers within GpuControl. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: SynchronizeCommandBuffer() -> EnsureWorkVisible() Created 4 years, 11 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
« no previous file with comments | « gpu/gles2_conform_support/egl/display.h ('k') | mojo/gles2/command_buffer_client_impl.h » ('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 #include "gpu/gles2_conform_support/egl/display.h" 5 #include "gpu/gles2_conform_support/egl/display.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <vector> 10 #include <vector>
(...skipping 322 matching lines...) Expand 10 before | Expand all | Expand 10 after
333 333
334 void Display::SetLock(base::Lock*) { 334 void Display::SetLock(base::Lock*) {
335 NOTIMPLEMENTED(); 335 NOTIMPLEMENTED();
336 } 336 }
337 337
338 bool Display::IsGpuChannelLost() { 338 bool Display::IsGpuChannelLost() {
339 NOTIMPLEMENTED(); 339 NOTIMPLEMENTED();
340 return false; 340 return false;
341 } 341 }
342 342
343 void Display::EnsureWorkVisible() {
344 // This is only relevant for out-of-process command buffers.
345 }
346
343 gpu::CommandBufferNamespace Display::GetNamespaceID() const { 347 gpu::CommandBufferNamespace Display::GetNamespaceID() const {
344 return gpu::CommandBufferNamespace::IN_PROCESS; 348 return gpu::CommandBufferNamespace::IN_PROCESS;
345 } 349 }
346 350
347 uint64_t Display::GetCommandBufferID() const { 351 uint64_t Display::GetCommandBufferID() const {
348 return 0; 352 return 0;
349 } 353 }
350 354
351 int32_t Display::GetExtraCommandBufferData() const { 355 int32_t Display::GetExtraCommandBufferData() const {
352 return 0; 356 return 0;
(...skipping 18 matching lines...) Expand all
371 void Display::SignalSyncToken(const gpu::SyncToken& sync_token, 375 void Display::SignalSyncToken(const gpu::SyncToken& sync_token,
372 const base::Closure& callback) { 376 const base::Closure& callback) {
373 NOTIMPLEMENTED(); 377 NOTIMPLEMENTED();
374 } 378 }
375 379
376 bool Display::CanWaitUnverifiedSyncToken(const gpu::SyncToken* sync_token) { 380 bool Display::CanWaitUnverifiedSyncToken(const gpu::SyncToken* sync_token) {
377 return false; 381 return false;
378 } 382 }
379 383
380 } // namespace egl 384 } // namespace egl
OLDNEW
« no previous file with comments | « gpu/gles2_conform_support/egl/display.h ('k') | mojo/gles2/command_buffer_client_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698