summaryrefslogtreecommitdiffstats
path: root/services/surfaceflinger/Layer.cpp
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/Layer.cpp
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/Layer.cpp')
-rw-r--r--services/surfaceflinger/Layer.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/services/surfaceflinger/Layer.cpp b/services/surfaceflinger/Layer.cpp
index 0825ec6..4c82f91 100644
--- a/services/surfaceflinger/Layer.cpp
+++ b/services/surfaceflinger/Layer.cpp
@@ -50,9 +50,8 @@ namespace android {
// ---------------------------------------------------------------------------
-Layer::Layer(SurfaceFlinger* flinger,
- DisplayID display, const sp<Client>& client)
- : LayerBaseClient(flinger, display, client),
+Layer::Layer(SurfaceFlinger* flinger, const sp<Client>& client)
+ : LayerBaseClient(flinger, client),
mTextureName(-1U),
mQueuedFrames(0),
mCurrentTransform(0),