OSDN Git Service

Fix dpi in eglQuerySurface
authorYahan Zhou <yahan@google.com>
Tue, 11 Oct 2016 18:39:39 +0000 (11:39 -0700)
committerYahan Zhou <yahan@google.com>
Tue, 11 Oct 2016 18:39:39 +0000 (11:39 -0700)
commit00fb788ffa8c217b599e048637784dbd2a37de3e
tree6a51a039f9e9420dd37c2afa02307c3600977338
parent9b3dec2f88a6e2887523293072ac32a85ef38cb2
Fix dpi in eglQuerySurface

Previously we fake a dpi when eglQuerySurface asks for it.

Now we retrieve the real value by querying an emulator property.

Change-Id: I59e17262efb8e7cf6ce492f7ed5c86a261b7d0c5
system/egl/egl.cpp