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

Unified Diff: content/common/gpu/gpu_command_buffer_stub.h

Issue 301793003: During image destroy, delete textures only if we have a GL context. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: WIP - Avoid optional image manager creation/destroy in context group Created 6 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: content/common/gpu/gpu_command_buffer_stub.h
diff --git a/content/common/gpu/gpu_command_buffer_stub.h b/content/common/gpu/gpu_command_buffer_stub.h
index 214cb97b7ee3c823f27ed4bcb85589811fb15968..3669e816b6e389d29105207df4977750828b3ecf 100644
--- a/content/common/gpu/gpu_command_buffer_stub.h
+++ b/content/common/gpu/gpu_command_buffer_stub.h
@@ -144,6 +144,7 @@ class GpuCommandBufferStub
void SetLatencyInfoCallback(const LatencyInfoCallback& callback);
void MarkContextLost();
+ bool CheckContextLost();
uint64 GetMemoryUsage() const;
@@ -226,7 +227,6 @@ class GpuCommandBufferStub
void ScheduleDelayedWork(int64 delay);
- bool CheckContextLost();
void CheckCompleteWaits();
// The lifetime of objects of this class is managed by a GpuChannel. The

Powered by Google App Engine
This is Rietveld 408576698