summaryrefslogtreecommitdiff
path: root/libs/hwui/renderthread/ReliableSurface.cpp
AgeCommit message (Collapse)Author
2021-06-15Remove the extra buffer allocation from hwuiAdy Abraham
SurfaceFlinger will set the maxAcquiredBufferCount on the buffer queue to account for the extra buffers needed, depends on the refresh rate and app/sf durations, and there is no needed for any addional buffer allocation is hwui. Test: TBD Bug: 188553729 Change-Id: Ic441a6feb15f6b084d45c9e538b11b7b24e36a0e
2020-05-10Merge "Avoid excessive KGSL maps" into rvc-dev am: acf8443e9a am: 906a94baec ↵John Reck
am: d292bcc672 am: bc6a00d37e Change-Id: I71ed49ad8273dd886c21cbff7413a0c189dbde60
2020-05-07Avoid excessive KGSL mapsJohn Reck
Hook MIN_UNDEQUEUED_BUFFERS if possible to avoid thrashing kgsl maps when render_ahead is being used Bug: 143555869 Test: verified kgsl maps only happened once per buffer Change-Id: I985fae0a9a7635be3a1cf6177186e5541a1169df
2020-03-01[HWUI] remove libui from HWUI's dependenciesAlec Mouri
Bug: 136263238 Test: builds Test: interact with device Change-Id: I18540f78a4ee5ffcc30c96ff7862480e1d8fe50a
2020-02-14[HWUI] Remove references to gui/Surface.Alec Mouri
ANativeWindow usage now has enough feature parity so that we can use that instead. Bug: 137012798 Test: builds Test: Scroll through settings Change-Id: I0054315058b28bcb5e779a6f71a3cfb164625a5f
2020-01-30[HWUI] Use ANativeWindow inteception methods in ReliableSurfaceAlec Mouri
Test: boots Test: manually test with opening and scrolling through settings app Change-Id: I8d7a44d3ead0b2350318e1514153e256f97ccca5
2019-09-06[HWUI] hook in ANativeWindow_getLastDequeueStartTimeAlec Mouri
Bug: 137012798 Test: builds Change-Id: I37fd2a7c40398053082f606f0a085db0a239e2e0
2019-07-26Fix ReliableSurface to be more reliableJohn Reck
Handle TIMED_OUT better by rescheduling (TODO: give up after N attempts?) Fix SYNC_SURFACE_LOST_REWARD_IF_FOUND path to actually go fetch a new surface. Bug: 137509524 Test: Injected errors randomly, verified nothing got permanently dead. Change-Id: Id30f8ad1dd7196041ee84c16c8cf5c814002a6ce
2019-04-15Merge "Fix set_buffers_damage in VulkanSurface" into qt-devTreeHugger Robot
2019-04-12Support render-ahead in vulkanJohn Reck
Bug: 127822449 Test: verified render_ahead working with skiavk Change-Id: Iae1b227a763f6def035057f38cca4b0ab65c7e82
2019-04-12Fix set_buffers_damage in VulkanSurfaceJohn Reck
Fixes: 130363483 Test: `setprop debug.hwui.renderer skiavk` and ensure surface damage in dumpsys surfaceflinger is expected in portrait & landscape orientations. Change-Id: I973c47038e534c86f38112de7b863477d982d150
2018-12-06Revert "Revert "Make HWUI's surface Reliable^TM""John Reck
This reverts commit dd08224e4d75689c42bf452d44617f84072649a1. Bug: 120097554 Bug: 120342364 Bug: 120421537 Test: verified emulator can boot OK, with no log warnings Test: verified keyboard works in landscape Change-Id: Iae2cd1140d81755b126adfb21ec885181f3bc6b6
2018-12-03Revert "Make HWUI's surface Reliable^TM"Bo Hu
This reverts commit 650bd9a7b35139354916d2522b59cc57eb5fddc3. Reason for revert: broken emulator b/120342364 Exempt-From-Owner-Approval: Change-Id: If05d9d87325e1d836375d7dc79ff66ef057d228d
2018-11-28Make HWUI's surface Reliable^TMJohn Reck
You won't believe this one weird trick to make EGL_BAD_ALLOC errors never happen again! libgui hates it! Bug: way too many to list Test: none - there probably should be, though Change-Id: I8e7fc3e584f90c01e0fd932497604a1d93710ba6