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.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/include/private/gui/LayerState.h b/include/private/gui/LayerState.h
index a7eb48c..bf4bf03 100644
--- a/include/private/gui/LayerState.h
+++ b/include/private/gui/LayerState.h
@@ -24,7 +24,6 @@
#include <ui/Region.h>
#include <ui/Rect.h>
-#include <gui/ISurface.h>
namespace android {
@@ -51,7 +50,7 @@ struct layer_state_t {
};
layer_state_t()
- : surface(0), what(0),
+ : what(0),
x(0), y(0), z(0), w(0), h(0), layerStack(0),
alpha(0), flags(0), mask(0),
reserved(0)
@@ -70,7 +69,7 @@ struct layer_state_t {
float dsdy;
float dtdy;
};
- SurfaceID surface;
+ sp<IBinder> surface;
uint32_t what;
float x;
float y;
@@ -114,7 +113,7 @@ struct DisplayState {
uint32_t what;
sp<IBinder> token;
- sp<ISurfaceTexture> surface;
+ sp<IGraphicBufferProducer> surface;
uint32_t layerStack;
uint32_t orientation;
Rect viewport;