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

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

Issue 1916303003: Report lost context from GLES2Implementation based on share group state. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: lost-share-group: disconnect-channel Created 4 years, 7 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 566 matching lines...) Expand 10 before | Expand all | Expand 10 after
577 } 577 }
578 578
579 void GLManager::SignalQuery(uint32_t query, const base::Closure& callback) { 579 void GLManager::SignalQuery(uint32_t query, const base::Closure& callback) {
580 NOTIMPLEMENTED(); 580 NOTIMPLEMENTED();
581 } 581 }
582 582
583 void GLManager::SetLock(base::Lock*) { 583 void GLManager::SetLock(base::Lock*) {
584 NOTIMPLEMENTED(); 584 NOTIMPLEMENTED();
585 } 585 }
586 586
587 bool GLManager::IsGpuChannelLost() {
588 NOTIMPLEMENTED();
589 return false;
590 }
591
592 void GLManager::EnsureWorkVisible() { 587 void GLManager::EnsureWorkVisible() {
593 // This is only relevant for out-of-process command buffers. 588 // This is only relevant for out-of-process command buffers.
594 } 589 }
595 590
596 gpu::CommandBufferNamespace GLManager::GetNamespaceID() const { 591 gpu::CommandBufferNamespace GLManager::GetNamespaceID() const {
597 return gpu::CommandBufferNamespace::IN_PROCESS; 592 return gpu::CommandBufferNamespace::IN_PROCESS;
598 } 593 }
599 594
600 CommandBufferId GLManager::GetCommandBufferID() const { 595 CommandBufferId GLManager::GetCommandBufferID() const {
601 return command_buffer_id_; 596 return command_buffer_id_;
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
637 632
638 // Something went wrong, just run the callback now. 633 // Something went wrong, just run the callback now.
639 callback.Run(); 634 callback.Run();
640 } 635 }
641 636
642 bool GLManager::CanWaitUnverifiedSyncToken(const gpu::SyncToken* sync_token) { 637 bool GLManager::CanWaitUnverifiedSyncToken(const gpu::SyncToken* sync_token) {
643 return false; 638 return false;
644 } 639 }
645 640
646 } // namespace gpu 641 } // 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