0d07cdd593f982e5f6e75706c7f9a99a3c5a9264 |
|
28-Sep-2017 |
Corey Tabaka <eieio@google.com> |
Use the HWC caching mechanism to avoid stalls in the ion driver. HWC supports caching buffers for layers using "slot" assignments. Use this in VrFlinger to avoid importing a buffer handle every frame. The avoids periodic stalls we observe in the ion driver when mapping a buffer into the HWC address space. Bug: 66459419 Test: Observe systraces no longer have MapBuffer in HWC in steady state; system does not drop frames. Change-Id: Iba4161b33561322bfbccbfafe600b432a6fa7c44
/frameworks/native/libs/vr/libvrflinger/acquired_buffer.h
|
0b485c91f95fa7022998971fb9f407fe198bb853 |
|
19-May-2017 |
Corey Tabaka <eieio@google.com> |
libvrflinger: Add additional info to PDX dump. - Add logging for surface and layers. - Minor cleanup of AcquiredBuffer code. - Add additional debug tracing. Bug: None Test: servicetool --dump /dev/socket/pdx/system/vr/display/client Change-Id: Ie7cfe46978139e0eef2184b03acb4b9bab428a33
/frameworks/native/libs/vr/libvrflinger/acquired_buffer.h
|
2251d822dac2a96aad4184a6fdc2690f0a58af7c |
|
21-Apr-2017 |
Corey Tabaka <eieio@google.com> |
Remove the VR compositor from the framework. Remove the VR compositor framework and enable out-of-process VR composition in VrCore. This CL seems large due to the ripple effect of changing the VrFlinger API and protocol types. There are three major modules that require concurrent changes: 1. Protocol definitions and low-level VrFlinger API in libdisplay. * Additional changes needed to keep old interfaces working for a short time while replacing the dependent code (dvrGraphics*). 2. VrFlinger service implementation changes to support VrCore compositor and the removal of the internal compositor. 3. Changes to libdvr platform library API due to changes in #1 and #2. Because of the nature of the interdependence of types and other defs it is difficult to break this CL into smaller chunks. However, review of the three major modules (libdisplay, libdvr, and libvrflinger) may be done separately to ease the mental burden on reviewers. Change Summary: - Remove obsolete screenshot service. VR screenshots will be implemented by VrCore. - Update display protocol definitions for changes in VrFlinger service requirements. The majority of the changes in libdisplay are a consequence of these protocol and service changes. - Update VrFlinger to support two kinds of surfaces: 1. Application - use by VR apps. 2. Direct - used by VrCore (protected by permission check). - Remove VrFlinger internal compositor and GL context. - Remove obsolete debug console. - Update VrFlinger hardware composer interface to handle direct surfaces only, removing the concept of GPU (compositor) layers. - Update display manager to expose access to application surface info to VrCore (protected by permission check). - Update libdvr platform library interfaces for changes to VrFlinger API / protocol. - Clean up libdvr API struct setup using a common include. - Add C++ header-only helpers for DVR platform library opaque types. Bug: 36401174 Test: Build; run VrFlinger display test tool. Change-Id: I15abfde5f72dbb3725a3f58621486afba6b64902
/frameworks/native/libs/vr/libvrflinger/acquired_buffer.h
|
4b78832d7fc3cdd13a20587dfee96d1505916213 |
|
24-Mar-2017 |
Luke Song <songwalker@google.com> |
Remove/Cleanup Obselete References Bug: 36039686 Bug: 36040117 Bug: 36039685 Bug: 36040550 Test: Build Change-Id: Ifd5ae90138e39d0a14c6a5a8198a9145f74ec8f6 (cherry picked from commit 8126b9df8987fd9959eab1ae76620c343c32f4fc)
/frameworks/native/libs/vr/libvrflinger/acquired_buffer.h
|
a8a92784bc5f6a50ce00311c6161fbcfc0898c5a |
|
27-Jan-2017 |
Alex Vakulenko <avakulenko@google.com> |
Add libvrflinger for use in SurfaceFlinger A separate CL uses this code from SurfaceFlinger. Bug: None Test: Manually ran modified SurfaceFlinger Change-Id: I34588df1365588c0a0265e1e2325e3dd5516206a
/frameworks/native/libs/vr/libvrflinger/acquired_buffer.h
|