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
commit1c97d2ebe1f035beabd90089bfc78326b73d7864 (patch)
treef78d8eb4239a3abf418d2efd1de88e3b20005df9 /include
parent50517543d84446fc91fa65c60eda6d2e2724de10 (diff)
downloadframeworks_native-1c97d2ebe1f035beabd90089bfc78326b73d7864.zip
frameworks_native-1c97d2ebe1f035beabd90089bfc78326b73d7864.tar.gz
frameworks_native-1c97d2ebe1f035beabd90089bfc78326b73d7864.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;
};