diff options
author | Jeff Brown <jeffbrown@google.com> | 2012-08-24 20:00:51 -0700 |
---|---|---|
committer | Jeff Brown <jeffbrown@google.com> | 2012-08-27 14:40:17 -0700 |
commit | 9d4e3d2f42e93e2d12bacabe97d307d30c3c20dd (patch) | |
tree | 3db010ef45a3793c5b09887ae321b4a8095a5001 /include/gui/Surface.h | |
parent | 225c66a48cdc3acef21ee380dc134449749d3cb3 (diff) | |
download | frameworks_native-9d4e3d2f42e93e2d12bacabe97d307d30c3c20dd.zip frameworks_native-9d4e3d2f42e93e2d12bacabe97d307d30c3c20dd.tar.gz frameworks_native-9d4e3d2f42e93e2d12bacabe97d307d30c3c20dd.tar.bz2 |
Banish DisplayID from the SurfaceFlinger API.
Use only display tokens in the API to refer to new displays.
Don't require the caller to specify the display when creating
a surface (since in general a surface could be shown on
any display).
This is intended to be a minimum change just to update the API.
Note that SurfaceFlinger still uses DisplayID in a few places
internally that might cause some features not to work properly
when there are multiple displays (LayerScreenshot, for example).
Change-Id: I3d91eec2da406eefd97bcd53655d403ad865a7e6
Diffstat (limited to 'include/gui/Surface.h')
-rw-r--r-- | include/gui/Surface.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/gui/Surface.h b/include/gui/Surface.h index 7b8873a..6f2d40f 100644 --- a/include/gui/Surface.h +++ b/include/gui/Surface.h @@ -60,6 +60,7 @@ public: // release surface data from java void clear(); + status_t setLayerStack(int32_t layerStack); status_t setLayer(int32_t layer); status_t setPosition(int32_t x, int32_t y); status_t setSize(uint32_t w, uint32_t h); |