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

Side by Side Diff: gpu/command_buffer/tests/gl_manager.cc

Issue 1615253006: Removed last references to old sync points. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed references in TestContextSupport 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/command_buffer/tests/gl_manager.h ('k') | gpu/gles2_conform_support/egl/display.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/command_buffer/tests/gl_manager.h" 5 #include "gpu/command_buffer/tests/gl_manager.h"
6 6
7 #include <GLES2/gl2.h> 7 #include <GLES2/gl2.h>
8 #include <GLES2/gl2ext.h> 8 #include <GLES2/gl2ext.h>
9 #include <GLES2/gl2extchromium.h> 9 #include <GLES2/gl2extchromium.h>
10 #include <stddef.h> 10 #include <stddef.h>
(...skipping 466 matching lines...) Expand 10 before | Expand all | Expand 10 after
477 gfx::Size(width, height), gfx::BufferFormat::RGBA_8888); 477 gfx::Size(width, height), gfx::BufferFormat::RGBA_8888);
478 return CreateImage(buffer->AsClientBuffer(), width, height, internalformat); 478 return CreateImage(buffer->AsClientBuffer(), width, height, internalformat);
479 } 479 }
480 480
481 void GLManager::DestroyImage(int32_t id) { 481 void GLManager::DestroyImage(int32_t id) {
482 gpu::gles2::ImageManager* image_manager = decoder_->GetImageManager(); 482 gpu::gles2::ImageManager* image_manager = decoder_->GetImageManager();
483 DCHECK(image_manager); 483 DCHECK(image_manager);
484 image_manager->RemoveImage(id); 484 image_manager->RemoveImage(id);
485 } 485 }
486 486
487 uint32_t GLManager::InsertSyncPoint() {
488 NOTIMPLEMENTED();
489 return 0u;
490 }
491
492 uint32_t GLManager::InsertFutureSyncPoint() {
493 NOTIMPLEMENTED();
494 return 0u;
495 }
496
497 void GLManager::RetireSyncPoint(uint32_t sync_point) {
498 NOTIMPLEMENTED();
499 }
500
501 void GLManager::SignalSyncPoint(uint32_t sync_point,
502 const base::Closure& callback) {
503 NOTIMPLEMENTED();
504 }
505
506 void GLManager::SignalQuery(uint32_t query, const base::Closure& callback) { 487 void GLManager::SignalQuery(uint32_t query, const base::Closure& callback) {
507 NOTIMPLEMENTED(); 488 NOTIMPLEMENTED();
508 } 489 }
509 490
510 void GLManager::SetLock(base::Lock*) { 491 void GLManager::SetLock(base::Lock*) {
511 NOTIMPLEMENTED(); 492 NOTIMPLEMENTED();
512 } 493 }
513 494
514 bool GLManager::IsGpuChannelLost() { 495 bool GLManager::IsGpuChannelLost() {
515 NOTIMPLEMENTED(); 496 NOTIMPLEMENTED();
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
564 545
565 // Something went wrong, just run the callback now. 546 // Something went wrong, just run the callback now.
566 callback.Run(); 547 callback.Run();
567 } 548 }
568 549
569 bool GLManager::CanWaitUnverifiedSyncToken(const gpu::SyncToken* sync_token) { 550 bool GLManager::CanWaitUnverifiedSyncToken(const gpu::SyncToken* sync_token) {
570 return false; 551 return false;
571 } 552 }
572 553
573 } // namespace gpu 554 } // namespace gpu
OLDNEW
« no previous file with comments | « gpu/command_buffer/tests/gl_manager.h ('k') | gpu/gles2_conform_support/egl/display.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698