93b122f4aa6d169939909335fc7e457b03175000 |
|
01-Dec-2017 |
Chia-I Wu <olv@google.com> |
libgui: add a helper for GLConsumer::getCurrentCrop Add static GLConsumer::scaleDownCrop for use with NATIVE_WINDOW_SCALING_MODE_SCALE_CROP. This also allows it to be called from other consumers. Test: libgui_test Change-Id: I2b5f7d14038b36709b52991b7b7e9379117b708b
/frameworks/native/libs/gui/include/gui/GLConsumer.h
|
f10b05c6e305564da77e630990c063c1855d87db |
|
18-Nov-2017 |
Chia-I Wu <olv@google.com> |
libgui: remove unused GLConsumer methods doGLFenceWait has no user since commit 97eba89. isExternalFormat has no user since commit 1f8e09f. Test: builds Change-Id: I9ea788e9411f2bcf1fcdfb1b1113d6c7cec186b7
/frameworks/native/libs/gui/include/gui/GLConsumer.h
|
a81bc4975941bff8dbfcb858627dfcd01250c1ed |
|
27-Nov-2017 |
Chia-I Wu <olv@google.com> |
libgui: add more IGBC wrappers to ConsumerBase Add ConsumerBase::setName ConsumerBase::setConsumerUsageBits ConsumerBase::setTransformHint ConsumerBase::setMaxAcquiredBufferCount ConsumerBase::getSidebandStream and remove BufferItemConsumer::setName CpuConsumer::setName GLConsumer::setName GLConsumer::setDefaultBufferFormat GLConsumer::setDefaultBufferDataSpace GLConsumer::setTransformHint GLConsumer::setMaxAcquiredBufferCount SurfaceFlingerConsumer::getSidebandStream at the same time. Test: libgui_test Change-Id: I0b81b7759d6d5a7a89eefdfe95440b262e7fa424
/frameworks/native/libs/gui/include/gui/GLConsumer.h
|
e2786ea5aec3a12d948feb85ffbb535fc89c0fe6 |
|
07-Aug-2017 |
Chia-I Wu <olv@google.com> |
libgui: support 64-bit BQ consumer usage Add NATIVE_WINDOW_GET_CONSUMER_USAGE64. Support 64-bit consumer usage flags in BufferItemConsumer and GLConsumer. In H2BGraphicBufferProducer::getConsumerUsage, however, we will issue a warning and return 32-bit consumer usage. We will need a HIDL interface version bump to fix it. Bug: 35215313 Test: manual Change-Id: I1f8884a7db71bbdb269d05b94443ddec2ff46f8a
/frameworks/native/libs/gui/include/gui/GLConsumer.h
|
172bd727181da158c40100795cff279b9721559d |
|
20-Jun-2017 |
Jiyong Park <jiyong@google.com> |
Make libgui available to vendors libgui is now available to vendors, especially for BufferQueue in between the OMX and Camera HALs for encoding the captured video stream. In doing so, its headers were moved from frameworks/native/include to its local directory frameworks/native/libs/gui/include. This is required because global include path is not supported when building for vendor. However, in order not to affect platform modules that are still relying on the global include path, symlinks are provided. frameworks/native/include/gui -> frameworks/native/libs/include/gui frameworks/native/include/private/gui -> frameworks/native/libs/include/private/gui Bug: 37731063 Test: BOARD_VNDK_VERSION=current m -j libgui.vendor Change-Id: I0bab8d2e31959085ad58b1ce4c610334ee3da033
/frameworks/native/libs/gui/include/gui/GLConsumer.h
|