summaryrefslogtreecommitdiffstats
path: root/services/surfaceflinger/LayerScreenshot.h
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2012-08-27 16:28:24 -0700
committerMathias Agopian <mathias@google.com>2012-08-27 17:43:43 -0700
commit3ee454a7bef8bd3d1c9cdd9d17108eb80ebadf2a (patch)
tree008181467301126011532e5a7e7ac703b54c81d1 /services/surfaceflinger/LayerScreenshot.h
parenta50b51c03aca449920fc8581a738032a7bce7150 (diff)
downloadframeworks_native-3ee454a7bef8bd3d1c9cdd9d17108eb80ebadf2a.zip
frameworks_native-3ee454a7bef8bd3d1c9cdd9d17108eb80ebadf2a.tar.gz
frameworks_native-3ee454a7bef8bd3d1c9cdd9d17108eb80ebadf2a.tar.bz2
Eradicate DisplayID.
DisplayDevices are now keyed of the wp<IBinder> 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
Diffstat (limited to 'services/surfaceflinger/LayerScreenshot.h')
-rw-r--r--services/surfaceflinger/LayerScreenshot.h5
1 files changed, 2 insertions, 3 deletions
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<SurfaceFlinger> mFlinger;
public:
- LayerScreenshot(SurfaceFlinger* flinger, DisplayID display,
- const sp<Client>& client);
+ LayerScreenshot(SurfaceFlinger* flinger, const sp<Client>& 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);
};