summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2009-08-19 17:46:26 -0700
committerMathias Agopian <mathias@google.com>2009-08-19 17:46:26 -0700
commit18b6b49ea5235fb6c0802db9a0cc2c6dd20646cb (patch)
tree99d8c9f592a961c1af7f583792f4178bce2cc89f /include
parentb2f8450db8dfbc05724624f93d9ec5e65f0b7e54 (diff)
downloadframeworks_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 'include')
-rw-r--r--include/ui/ISurfaceFlingerClient.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/ui/ISurfaceFlingerClient.h b/include/ui/ISurfaceFlingerClient.h
index 932a70a..5d231e6 100644
--- a/include/ui/ISurfaceFlingerClient.h
+++ b/include/ui/ISurfaceFlingerClient.h
@@ -52,6 +52,9 @@ public:
struct surface_data_t {
int32_t token;
int32_t identity;
+ uint32_t width;
+ uint32_t height;
+ uint32_t format;
status_t readFromParcel(const Parcel& parcel);
status_t writeToParcel(Parcel* parcel) const;
};