summaryrefslogtreecommitdiffstats
path: root/include/private/gui/LayerState.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/private/gui/LayerState.h')
-rw-r--r--include/private/gui/LayerState.h21
1 files changed, 14 insertions, 7 deletions
diff --git a/include/private/gui/LayerState.h b/include/private/gui/LayerState.h
index 90e74a9..9765e28 100644
--- a/include/private/gui/LayerState.h
+++ b/include/private/gui/LayerState.h
@@ -106,14 +106,21 @@ struct DisplayState {
eOrientationSwapMask = 0x01
};
- int32_t displayId;
+ enum {
+ eSurfaceChanged = 0x1,
+ eLayerStackChanged = 0x2,
+ eTransformChanged = 0x4
+ };
+
+ uint32_t what;
+ sp<IBinder> token;
sp<ISurfaceTexture> surface;
- uint32_t layerStack;
- uint32_t orientation;
- Rect viewport;
- Rect frame;
- status_t write(Parcel& output) const;
- status_t read(const Parcel& input);
+ uint32_t layerStack;
+ uint32_t orientation;
+ Rect viewport;
+ Rect frame;
+ status_t write(Parcel& output) const;
+ status_t read(const Parcel& input);
};
}; // namespace android