HACK: hwc: hard-code screen resolution
authorGreg Hackmann <ghackmann@google.com>
Thu, 13 Sep 2012 20:38:12 +0000 (13:38 -0700)
committerGreg Hackmann <ghackmann@google.com>
Tue, 18 Sep 2012 20:55:40 +0000 (13:55 -0700)
Change-Id: Id0e3d50e07f56395873e14286772e2b3f6497d4a
Signed-off-by: Greg Hackmann <ghackmann@google.com>
libhwc/hwc.cpp

index 58d1c3ddf363072dd78e11940759768ccdd95ec6..5d152724002e048ec20aa29ae79d68dd083d91ac 100644 (file)
@@ -1607,8 +1607,8 @@ static int exynos5_open(const struct hw_module_t *module, const char *name,
         refreshRate = 60;
     }
 
-    dev->xres = info.xres;
-    dev->yres = info.yres;
+    dev->xres = 2560;
+    dev->yres = 1600;
     dev->xdpi = 1000 * (info.xres * 25.4f) / info.width;
     dev->ydpi = 1000 * (info.yres * 25.4f) / info.height;
     dev->vsync_period  = 1000000000 / refreshRate;