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

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

Issue 1249313004: Remove GPU relinquish resources infrastructure and stop GPU process. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove gpu_crash_recorded_. Created 5 years, 5 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
« no previous file with comments | « content/browser/gpu/gpu_process_host_ui_shim.cc ('k') | content/common/gpu/gpu_channel_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/gpu/gpu_channel_manager.h
diff --git a/content/common/gpu/gpu_channel_manager.h b/content/common/gpu/gpu_channel_manager.h
index 2bbca8b9d88425921727d68cacc60e1f1856770e..ef1d80b019b377c03075a9d5225766c7f92d8afe 100644
--- a/content/common/gpu/gpu_channel_manager.h
+++ b/content/common/gpu/gpu_channel_manager.h
@@ -130,15 +130,13 @@ class CONTENT_EXPORT GpuChannelManager : public IPC::Listener,
int client_id,
int32 sync_point);
- void OnRelinquishResources();
- void OnResourcesRelinquished();
+ void OnFinalize();
void OnUpdateValueState(int client_id,
unsigned int target,
const gpu::ValueState& state);
void OnLoseAllContexts();
- void CheckRelinquishGpuResources();
scoped_refptr<base::SingleThreadTaskRunner> io_task_runner_;
base::WaitableEvent* shutdown_event_;
@@ -161,7 +159,6 @@ class CONTENT_EXPORT GpuChannelManager : public IPC::Listener,
scoped_refptr<gfx::GLSurface> default_offscreen_surface_;
GpuMemoryBufferFactory* const gpu_memory_buffer_factory_;
IPC::SyncChannel* channel_;
- bool relinquish_resources_pending_;
// Must outlive this instance of GpuChannelManager.
IPC::AttachmentBroker* attachment_broker_;
« no previous file with comments | « content/browser/gpu/gpu_process_host_ui_shim.cc ('k') | content/common/gpu/gpu_channel_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698