OLD | NEW |
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 Loading... |
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 Loading... |
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 |
OLD | NEW |