| Index: ui/ozone/platform/dri/dri_window.h
|
| diff --git a/ui/ozone/platform/dri/dri_window.h b/ui/ozone/platform/dri/dri_window.h
|
| index cc6b9c54757f508ee88407d49f0ac603b0a7ca34..00d4e4a79b8ab65ae9100b24eef8a2f2a6f37d0b 100644
|
| --- a/ui/ozone/platform/dri/dri_window.h
|
| +++ b/ui/ozone/platform/dri/dri_window.h
|
| @@ -22,6 +22,16 @@ class DriWindowManager;
|
| class EventFactoryEvdev;
|
| class DriGpuPlatformSupportHost;
|
|
|
| +// Implementation of the platform window. This object and its handle |widget_|
|
| +// uniquely identify a window. Since the DRI/GBM platform is split into 2
|
| +// pieces (Browser process and GPU process), internally we need to make sure the
|
| +// state is synchronized between the 2 processes.
|
| +//
|
| +// |widget_| is used in both processes to uniquely identify the window. This
|
| +// means that any state on the browser side needs to be propagated to the GPU.
|
| +// State propagation needs to happen before the state change is acknowledged to
|
| +// |delegate_| as |delegate_| is responsible for initializing the surface
|
| +// associated with the window (the surface is created on the GPU process).
|
| class DriWindow : public PlatformWindow,
|
| public PlatformEventDispatcher,
|
| public ChannelObserver {
|
|
|