From 3ee454a7bef8bd3d1c9cdd9d17108eb80ebadf2a Mon Sep 17 00:00:00 2001 From: Mathias Agopian Date: Mon, 27 Aug 2012 16:28:24 -0700 Subject: Eradicate DisplayID. DisplayDevices are now keyed of the wp the client uses. DisplayID has now become DisplayType which is just used to identify physical displays (as opposed to virtual displays such as wifi displays). Change-Id: I0c5968f2c902dcd699a7e0afacf833ff070c12ea --- services/surfaceflinger/LayerScreenshot.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'services/surfaceflinger/LayerScreenshot.h') diff --git a/services/surfaceflinger/LayerScreenshot.h b/services/surfaceflinger/LayerScreenshot.h index c06c23c..7807ffc 100644 --- a/services/surfaceflinger/LayerScreenshot.h +++ b/services/surfaceflinger/LayerScreenshot.h @@ -35,8 +35,7 @@ class LayerScreenshot : public LayerBaseClient GLfloat mTexCoords[8]; sp mFlinger; public: - LayerScreenshot(SurfaceFlinger* flinger, DisplayID display, - const sp& client); + LayerScreenshot(SurfaceFlinger* flinger, const sp& client); virtual ~LayerScreenshot(); status_t capture(); @@ -51,7 +50,7 @@ public: virtual const char* getTypeId() const { return "LayerScreenshot"; } private: - status_t captureLocked(); + status_t captureLocked(int32_t layerStack); void initTexture(GLfloat u, GLfloat v); }; -- cgit v1.1