diff options
| author | Mathias Agopian <mathias@google.com> | 2009-08-19 17:46:26 -0700 |
|---|---|---|
| committer | Mathias Agopian <mathias@google.com> | 2009-08-19 17:46:26 -0700 |
| commit | 18b6b49ea5235fb6c0802db9a0cc2c6dd20646cb (patch) | |
| tree | 99d8c9f592a961c1af7f583792f4178bce2cc89f /libs/surfaceflinger/LayerBase.cpp | |
| parent | b2f8450db8dfbc05724624f93d9ec5e65f0b7e54 (diff) | |
| download | frameworks_base-18b6b49ea5235fb6c0802db9a0cc2c6dd20646cb.zip frameworks_base-18b6b49ea5235fb6c0802db9a0cc2c6dd20646cb.tar.gz frameworks_base-18b6b49ea5235fb6c0802db9a0cc2c6dd20646cb.tar.bz2 | |
fix a bug that caused the PixelFormat viewed by Surface to be wrong.
what happened is that the efective pixel format is calculated by SF but Surface nevew had access to it directly.
in particular this caused query(FORMAT) to return the requested format instead of the effective format.
Diffstat (limited to 'libs/surfaceflinger/LayerBase.cpp')
| -rw-r--r-- | libs/surfaceflinger/LayerBase.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/libs/surfaceflinger/LayerBase.cpp b/libs/surfaceflinger/LayerBase.cpp index 419574c..fd54e35 100644 --- a/libs/surfaceflinger/LayerBase.cpp +++ b/libs/surfaceflinger/LayerBase.cpp @@ -730,14 +730,6 @@ sp<LayerBaseClient> LayerBaseClient::Surface::getOwner() const { return owner; } - -void LayerBaseClient::Surface::getSurfaceData( - ISurfaceFlingerClient::surface_data_t* params) const -{ - params->token = mToken; - params->identity = mIdentity; -} - status_t LayerBaseClient::Surface::onTransact( uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) { |
