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

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

Issue 1548443002: Introducing gpu::CommandBufferId as a distinct, IdType<...>-based type. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@type-safe-save-package-id-self-contained
Patch Set: Rebasing... Created 4 years, 10 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') | gpu/gpu.gyp » ('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 351 matching lines...) Expand 10 before | Expand all | Expand 10 after
362 } 362 }
363 363
364 void Display::EnsureWorkVisible() { 364 void Display::EnsureWorkVisible() {
365 // This is only relevant for out-of-process command buffers. 365 // This is only relevant for out-of-process command buffers.
366 } 366 }
367 367
368 gpu::CommandBufferNamespace Display::GetNamespaceID() const { 368 gpu::CommandBufferNamespace Display::GetNamespaceID() const {
369 return gpu::CommandBufferNamespace::IN_PROCESS; 369 return gpu::CommandBufferNamespace::IN_PROCESS;
370 } 370 }
371 371
372 uint64_t Display::GetCommandBufferID() const { 372 gpu::CommandBufferId Display::GetCommandBufferID() const {
373 return 0; 373 return gpu::CommandBufferId();
374 } 374 }
375 375
376 int32_t Display::GetExtraCommandBufferData() const { 376 int32_t Display::GetExtraCommandBufferData() const {
377 return 0; 377 return 0;
378 } 378 }
379 379
380 uint64_t Display::GenerateFenceSyncRelease() { 380 uint64_t Display::GenerateFenceSyncRelease() {
381 return next_fence_sync_release_++; 381 return next_fence_sync_release_++;
382 } 382 }
383 383
(...skipping 12 matching lines...) Expand all
396 void Display::SignalSyncToken(const gpu::SyncToken& sync_token, 396 void Display::SignalSyncToken(const gpu::SyncToken& sync_token,
397 const base::Closure& callback) { 397 const base::Closure& callback) {
398 NOTIMPLEMENTED(); 398 NOTIMPLEMENTED();
399 } 399 }
400 400
401 bool Display::CanWaitUnverifiedSyncToken(const gpu::SyncToken* sync_token) { 401 bool Display::CanWaitUnverifiedSyncToken(const gpu::SyncToken* sync_token) {
402 return false; 402 return false;
403 } 403 }
404 404
405 } // namespace egl 405 } // namespace egl
OLDNEW
« no previous file with comments | « gpu/gles2_conform_support/egl/display.h ('k') | gpu/gpu.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698