Skip to content
Snippets Groups Projects
  1. Nov 29, 2023
  2. Nov 28, 2023
  3. Nov 27, 2023
    • Melody Hsu's avatar
      Remove useIdentityTransform from DisplayCaptureArgs. · 70a63e5f
      Melody Hsu authored
      Screenshots do not set useIdentityTransfrom to true with
      a rotated display. The default value is false in
      SurfaceFlinger and is not relevant for captureLayers,
      which is the API that will be used for screenshots going
      forward. Rotation flags are no longer relevant in
      DisplayRenderArea and rotation values can be simplified
      to 0 rotation by default.
      
      Bug: 293445881
      Test: atest LayerStateTest
      Test: presubmit
      Change-Id: Id0cce05458c3daa4078097057f00fd856df1e092
      70a63e5f
    • Leon Scroggins's avatar
    • Ram Indani's avatar
    • Leon Scroggins III's avatar
      SF multithreaded_present: clean up and add more tests · ab551a3e
      Leon Scroggins III authored
      Add tests for CompositionEngine to verify that the displays which are
      expected to offload HWC calls do so.
      
      In CompositionEngine::present, improve the process for selecting which
      displays to offload. In the old process, a virtual display without HAL
      support could in theory return true for supportsOffloadPresent. Even
      though it wasn't counted in the original number, it could then be told
      to offload present, resulting in one of the intended displays not
      offloading.
      
      In the new process, store a list of eligible displays, so that only
      eligible displays are told to offload. This also means that
      supportsOffloadPresent is called at most once per frame.
      
      Bug: 241285491
      Bug: 259132483
      Test: libcompositionengine_test
      Change-Id: Ie2836e07e900c0269d60112ec0ebfa82ee4b82d7
      ab551a3e
    • ramindani's avatar
      Update FrameInterval using next vsync generated · 0491e646
      ramindani authored
      use the expectedPresentTime + threshold to get
      the next frames interval.
      
      Test: atrace and atest libsurfaceflinger_unittest --test-filter="SchedulerTest*"
      BUG: 296636176
      Change-Id: I9eb0d2784a81491028ec13d579356da2f34b85df
      0491e646
    • Rachel Lee's avatar
      Merge changes from topics "rename", "strategy-donotprop" into main · 2f8ab0ea
      Rachel Lee authored
      * changes:
        native: Rename frame rate selection strategies
        Logic for selection strategy "DoNotPropagate"
      2f8ab0ea
    • Lucas Henneman's avatar
    • Kiyoung Kim's avatar
      Do not rely on android_is_in_vendor_process · 5c08e30e
      Kiyoung Kim authored
      android_is_in_vendor_process is used to check if the function is called
      from the system process. However, implementation would not work as
      expected once VNDK deprecates. This change is to change logic from using
      libvndksupport to directly check if current selinux context can access
      to permission service.
      
      Bug: 300366609
      Test: aosp cf build succeded
      Change-Id: I7cb904fe9910e5325132c68ca584eb964c84a79b
      5c08e30e
  4. Nov 24, 2023
    • Treehugger Robot's avatar
    • Harry Cutts's avatar
      evemu-record: add --timestamp-base option · 009262ea
      Harry Cutts authored
      This option allows recordings to be produced with the event timestamps
      relative to boot time (like those in dmesg), rather than the time of the
      first event received. Because evemu playback tools (e.g. uinput or
      evemu-play on desktop Linux) immediately play the first event they
      encounter and then subtract its timestamp from those of all following
      events, the timestamp base used should have no effect on playback [0].
      
      Where timestamps relative to boot come in useful is when collating data
      from a recording with other logs. For example, the touchpad debugging
      logs report timestamps relative to boot time, so one could record
      touchpad input and those logs simultaneously, then automatically match
      up events in the evemu recording with the gestures recognized by the
      touchpad stack.
      
      [0]: In fact, FreeDesktop evemu used boot time as the timestamp base
           until version 1.2.0, so other timestamp bases have to be supported
           to maintain backwards compatibility.
      
      Bug: 302297266
      Test: record events with --timestamp-base=boot, check recording replays
            correctly with uinput
      Test: check original behaviour is preserved when --timestamp-base isn't
            specified
      Change-Id: I89e9682bfc77267e0d5b2397c78ebfe4270e676f
      009262ea
  5. Nov 23, 2023
  6. Nov 22, 2023
Loading