From c666cae2d5995097ec49a87e375e2afdd92802b7 Mon Sep 17 00:00:00 2001 From: Mathias Agopian Date: Wed, 25 Jul 2012 18:56:13 -0700 Subject: get rid of the shared-memory control block Change-Id: If814060aca1d2ff2619d4adcd57296983d207f7f --- include/ui/DisplayInfo.h | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) (limited to 'include/ui') diff --git a/include/ui/DisplayInfo.h b/include/ui/DisplayInfo.h index edd28a6..c7dc354 100644 --- a/include/ui/DisplayInfo.h +++ b/include/ui/DisplayInfo.h @@ -14,7 +14,6 @@ * limitations under the License. */ - #ifndef ANDROID_UI_DISPLAY_INFO_H #define ANDROID_UI_DISPLAY_INFO_H @@ -26,15 +25,16 @@ namespace android { struct DisplayInfo { - uint32_t w; - uint32_t h; - PixelFormatInfo pixelFormatInfo; - uint8_t orientation; - uint8_t reserved[3]; - float fps; - float density; - float xdpi; - float ydpi; + uint32_t w; + uint32_t h; + float xdpi; + float ydpi; + float fps; + float density; + uint8_t orientation; + uint8_t reserved[3]; + // TODO: this needs to go away (currently needed only by webkit) + PixelFormatInfo pixelFormatInfo; }; /* Display orientations as defined in Surface.java and ISurfaceComposer.h. */ @@ -45,8 +45,6 @@ enum { DISPLAY_ORIENTATION_270 = 3 }; - }; // namespace android #endif // ANDROID_COMPOSER_DISPLAY_INFO_H - -- cgit v1.1