diff options
| author | 2009-08-19 17:46:26 -0700 | |
|---|---|---|
| committer | 2009-08-19 17:46:26 -0700 | |
| commit | 18b6b49ea5235fb6c0802db9a0cc2c6dd20646cb (patch) | |
| tree | 99d8c9f592a961c1af7f583792f4178bce2cc89f /libs/surfaceflinger/LayerBase.cpp | |
| parent | b2f8450db8dfbc05724624f93d9ec5e65f0b7e54 (diff) | |
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 419574c7def1..fd54e353a2e2 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) { |