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

Unified Diff: services/ui/gpu/interfaces/gpu_service.mojom

Issue 2772193006: gpu: Replace GpuMsg_GpuSwitched with mojom api. (Closed)
Patch Set: Created 3 years, 9 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 | « services/ui/gpu/gpu_service.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/gpu/interfaces/gpu_service.mojom
diff --git a/services/ui/gpu/interfaces/gpu_service.mojom b/services/ui/gpu/interfaces/gpu_service.mojom
index eb2c89b6cd0922a8e923d9dd5ea691dd7c3b3e85..6226e83210545ad1109a38eb84434dd8d558bfd7 100644
--- a/services/ui/gpu/interfaces/gpu_service.mojom
+++ b/services/ui/gpu/interfaces/gpu_service.mojom
@@ -50,6 +50,10 @@ interface GpuService {
// Tells GPU to wake up the GPU because we're about to draw.
WakeUpGpu();
+ // Tells GPU that host has seen a GPU switch. This can happen when the display
+ // is reconfigured, for example.
+ GpuSwitched();
+
DestroyAllChannels();
Crash();
« no previous file with comments | « services/ui/gpu/gpu_service.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698