| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 module ui.mojom; | 5 module ui.mojom; |
| 6 | 6 |
| 7 import "cc/ipc/display_compositor.mojom"; | 7 import "cc/ipc/display_compositor.mojom"; |
| 8 import "gpu/ipc/common/gpu_info.mojom"; | 8 import "gpu/ipc/common/gpu_info.mojom"; |
| 9 import "gpu/ipc/common/memory_stats.mojom"; | 9 import "gpu/ipc/common/memory_stats.mojom"; |
| 10 import "gpu/ipc/common/surface_handle.mojom"; | 10 import "gpu/ipc/common/surface_handle.mojom"; |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 43 | 43 |
| 44 // Notify GPU that a shader was loaded from disk. | 44 // Notify GPU that a shader was loaded from disk. |
| 45 LoadedShader(string data); | 45 LoadedShader(string data); |
| 46 | 46 |
| 47 // Tells GPU to release the surface because it's being destroyed. | 47 // Tells GPU to release the surface because it's being destroyed. |
| 48 DestroyingVideoSurface(int32 surface_id) => (); | 48 DestroyingVideoSurface(int32 surface_id) => (); |
| 49 | 49 |
| 50 // Tells GPU to wake up the GPU because we're about to draw. | 50 // Tells GPU to wake up the GPU because we're about to draw. |
| 51 WakeUpGpu(); | 51 WakeUpGpu(); |
| 52 | 52 |
| 53 // Tells GPU that host has seen a GPU switch. This can happen when the display |
| 54 // is reconfigured, for example. |
| 55 GpuSwitched(); |
| 56 |
| 53 DestroyAllChannels(); | 57 DestroyAllChannels(); |
| 54 | 58 |
| 55 Crash(); | 59 Crash(); |
| 56 Hang(); | 60 Hang(); |
| 57 ThrowJavaException(); | 61 ThrowJavaException(); |
| 58 Stop() => (); | 62 Stop() => (); |
| 59 }; | 63 }; |
| OLD | NEW |