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

Unified Diff: ui/ozone/platform/dri/dri_gpu_platform_support.h

Issue 712343003: Infrastructure for temportarily relinquishing GPU resources. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Try trybots again. Maybe now I have access Created 6 years, 1 month 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: ui/ozone/platform/dri/dri_gpu_platform_support.h
diff --git a/ui/ozone/platform/dri/dri_gpu_platform_support.h b/ui/ozone/platform/dri/dri_gpu_platform_support.h
index 05ab7678f6697b4a81c5f8dc608c1f6426aacb5f..5e2bef8036f433dc60d4536218c6aea39e1e6f47 100644
--- a/ui/ozone/platform/dri/dri_gpu_platform_support.h
+++ b/ui/ozone/platform/dri/dri_gpu_platform_support.h
@@ -45,6 +45,8 @@ class DriGpuPlatformSupport : public GpuPlatformSupport {
// IPC::Listener:
bool OnMessageReceived(const IPC::Message& message) override;
+ virtual void RelinquishGpuResources(const base::Closure& callback) override;
dcheng 2014/11/21 03:06:04 No virtual. Also, this should probably be grouped
GusFernandez 2014/11/21 19:13:57 Done.
+
private:
void OnCreateWindowDelegate(gfx::AcceleratedWidget widget);
void OnDestroyWindowDelegate(gfx::AcceleratedWidget widget);

Powered by Google App Engine
This is Rietveld 408576698