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

Unified Diff: ui/ozone/public/gpu_platform_support.cc

Issue 712343003: Infrastructure for temportarily relinquishing GPU resources. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Changes suggested by spang 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/public/gpu_platform_support.cc
diff --git a/ui/ozone/public/gpu_platform_support.cc b/ui/ozone/public/gpu_platform_support.cc
index 4b7f52758495c7b5655da1209a79b63a85c01164..60c74b0a324561fed3cb3adabe9eb7e48f20cab3 100644
--- a/ui/ozone/public/gpu_platform_support.cc
+++ b/ui/ozone/public/gpu_platform_support.cc
@@ -27,6 +27,10 @@ GpuPlatformSupport::GpuPlatformSupport() {
GpuPlatformSupport::~GpuPlatformSupport() {
}
+void GpuPlatformSupport::RelinquishGpuResources(const base::Closure& callback) {
+ callback.Run();
+}
+
GpuPlatformSupport* CreateStubGpuPlatformSupport() {
return new StubGpuPlatformSupport;
}
« ui/ozone/public/gpu_platform_support.h ('K') | « ui/ozone/public/gpu_platform_support.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698