Skip to content
Snippets Groups Projects
  1. Aug 17, 2023
  2. Aug 02, 2023
    • Huihong Luo's avatar
      Generate texture pool asynchronously · 56866118
      Huihong Luo authored
      This improves performance by moving allocateHelper to a different
      thread, which is launched early so that the allocation is ready when
      it is needed. In addition, each display will only need at most one
      additional texture per frame, so replace the idea of a minimum pool
      with making sure there is either at least one texture in the pool
      or a future which will generate one.
      
      Bug: 256184546
      Test: atest libcompositionengine_test
      Change-Id: Icb92a85c07b9f2911d1365aa9bbc8d0750a8c116
      Merged-In: Icb92a85c07b9f2911d1365aa9bbc8d0750a8c116
      56866118
  3. Jul 15, 2023
  4. Jul 14, 2023
    • Alec Mouri's avatar
      Propagate the 170M->sRGB lie everywhere. · 7dae9c10
      Alec Mouri authored
      If the device is configured to decode SDR video standards as sRGB, then
      we need to do this for screenshots and caching as well.
      
      See patch I64fc8f2ea77f8e595333de36fb9da2979d8316ca for why we allow for reinterpreting 170M as sRGB.
      
      Bug: 288330598
      Test: Netflix full screen, disable HW overlays, then swipe to home
      Change-Id: Ie4eabd6301826fcb9e302ba6079f7f6b94e5a8b8
      7dae9c10
  5. Jul 13, 2023
  6. Jul 12, 2023
  7. Jul 11, 2023
  8. Jul 10, 2023
  9. Jul 07, 2023
    • Cody Heiner's avatar
      Split EventBuilders.h · 166a5af1
      Cody Heiner authored
      The `NotifyArgs.h` header is only available within inputflinger.
      Therefore, the builders that rely on NotifyArgs need to be defined
      in inputflinger, while MotionEvent-related builders can be defined
      in libinput (so they can be used in libinput tests).
      
      Test: `atest surfaceflinger_tests` passes.
      
      Bug: 268245099
      
      Change-Id: I9c9013d3fb8799bba0fa93a0d7dafd3b6b56a583
      166a5af1
    • Siarhei Vishniakou's avatar
      Mark InputDispatcher::dump as const · 5e20f27d
      Siarhei Vishniakou authored
      This helps debug InputDispatcher by dumping its state from other const functions.
      
      Bug: 281806933
      Test: none
      Change-Id: Ic7f1cef7eeaa753115143756ce60f4167412ef24
      5e20f27d
    • Patrick Williams's avatar
      Fix captureDisplay when the display is rotated · 1c8d8425
      Patrick Williams authored
      Bug: 288824234
      Test: manual screenshots with temporary changes to use captureDisplay
      Test: ScreenCaptureTest
      Change-Id: I31591d6111303518776308a0dfaa195082a7950a
      1c8d8425
    • Peiyong Lin's avatar
      Revert "Load native GLES driver when specified." · 1d626138
      Peiyong Lin authored
      This reverts commit 0d60e80a.
      
      Reason for revert: culprit of boot memory regression
      Original commit message:
      """
      Load native GLES driver when specified.
      
      Since ANGLE and native GLES drivers can coexist, when native is
      specified, the loader must load the native GLES drivers specified in
      ro.hardware.egl. This patch adds the support to load native GLES drivers
      when specified.
      
      Bug: b/283858001
      Test: atest CtsAngleDeveloperOptionHostTest -c with ANGLE being default
      Test: atest CtsAngleDeveloperOptionHostTest -c with native being default
      """
      
      Bug: b/283858001
      Bug: b/289956225
      Change-Id: I785d2d3ff8dd21a1a207ccd814b5dddb080e9b52
      Test: forrest test
      1d626138
    • Harry Cutts's avatar
      TouchpadInputMapper: send hover events after UP · 48e7a401
      Harry Cutts authored
      After an UP event, it's expected that an input device with a cursor
      (e.g. mouse, touchpad, stylus) sends a HOVER_ENTER event so that the app
      knows the cursor is hovering again. From how CursorInputMapper does
      this, it seems that the convention is for the mapper to send a
      HOVER_MOVE which is then turned into HOVER_ENTER later in the stack.
      
      This is an area we'd like to refactor in future, but for now this fixes
      the issue in a way that's consistent with CursorInputMapper.
      
      Bug: 287246827
      Test: in a test app, click with a touchpad and check the UP event is
            followed by a HOVER_ENTER
      Test: atest inputflinger_tests:GestureConverterTest
      Change-Id: I990428552549b3bc8a1eda7199dcbe92801ca4e1
      48e7a401
Loading