Skip to content
Snippets Groups Projects
  1. May 08, 2023
    • Yuxin Hu's avatar
      Fix the missing extension EGL_ANDROID_image_native_buffer · 0bc64a80
      Yuxin Hu authored
      In http://ag/22040002, EGL_ANDROID_get_frame_timestamps
      is conditionally added to the mExtensionString. A space
      at the end of the extension name is mandatory, because
      we use ' ' or '\0' as an indicator when parsing the
      mExtensionString to find each individual extension name.
      
      Bug: b/269060366
      Bug: b/280016556
      Test: m; atest android.hardware.nativehardware.cts.AHardwareBufferNativeTests
      Change-Id: Ie8ddc3018c37d77167b95210d89c7e7f7e6e69e7
      0bc64a80
  2. Apr 19, 2023
  3. Apr 18, 2023
  4. Apr 17, 2023
  5. Apr 16, 2023
  6. Apr 15, 2023
  7. Apr 14, 2023
    • Treehugger Robot's avatar
    • Greg Pataky's avatar
      input: Cleanup doxygen linking · e153adc9
      Greg Pataky authored
      This goes through the file and adds either `#` or `{@link ...}` doxygen
      linkage for all enum values, types, and functions to allow deep linking
      to be generated.
      
      Test: `development/tools/ndk/build_ndk_docs.py` and manual inspection of the generated doc.
      Change-Id: I0b6a154c9ba2cb4749d007b22088675667b6d7b4
      e153adc9
    • Prabir Pradhan's avatar
      InputListener: Pass NotifyArgs by reference · 678438e2
      Prabir Pradhan authored
      Bug: 245989146
      Test: Presubmit
      Change-Id: I15af8a6737625a062f31acc1ab6974d52eb91d66
      Merged-In: I15af8a6737625a062f31acc1ab6974d52eb91d66
      678438e2
    • Leon Scroggins III's avatar
      Better logs for "Unable to generate SkImage/SkSurface" · c10321d2
      Leon Scroggins III authored
      In both cases, we don't have enough information to debug the issue, and
      none of these have been reproducible, so we need more info in the logs
      to know what's going on.
      
      Combine the logs, since they're complaining about similar issues. Add
      the data that was added in
      https://skia-review.googlesource.com/c/skia/+/573879 for SkSurfaces.
      
      Tested by converting the fatal logs to ALOGD and removing the if
      statements. The logs then look like:
      D RenderEngine: Unable to generate SkSurface. isTextureValid:1 dataspace:143261696
      D RenderEngine: 	GrBackendTexture: (2208 x 1840) hasMipmaps: 0 isProtected: 0 texType: 1
      D RenderEngine: 		GrGLTextureInfo: success: 0 fTarget: 0 fFormat: 0 colorType 4
      
      Bug: 275475401
      Bug: 242603007
      Bug: 223762683
      Test: m; look at logs
      Change-Id: If1f3a933ea612279e9911c191ab2553160e744c2
      c10321d2
    • Devin Moore's avatar
      RecordedTransaction use Parcel::dataBufferSize · fcf73c08
      Devin Moore authored
      instead of dataSize(). In RecordedTransaction we are recording a parcel
      that isn't going to have its data buffer change sizes.
      
      Test: android.hardware.confirmationui-service.trusty_fuzzer
      Bug: 276708037
      
      Change-Id: I83b99ef566f388078b10241e9791b1f3410dcf0e
      fcf73c08
    • Huihong Luo's avatar
      Round up virtual display refresh rate · 59a60b7b
      Huihong Luo authored
      This semantics guarantees the virtual display will at least have the
      specified refresh rate, e.g., if 60hz is requested on a 90hz display,
      the virtual dislay will get a 90hz.
      
      Bug: 266965278
      Test: atest libsurfaceflinger_unittest
      Change-Id: Ie7b30c5766454d0ad25cfd437f0498594c690a2e
      59a60b7b
    • Patrick Williams's avatar
      SF: throttle WindowInfosListener calls · 1caf3b7d
      Patrick Williams authored
      This change updates WindowInfosListenerInvoker to delay and drop
      messages when there are unacked messages. When WindowInfosListener calls
      are acknowledged before the next windowInfosChanged call, there is no
      behavior change. If windowInfosChanged is called and there are unacked
      messages, then the update is delayed and sent once the messages are
      acked via WindowInfosReportedListener. If windowInfosChanged is called
      and there is already a delayed update, then the previous delayed update
      is overwritten and only the latest update is sent.
      
      WindowInfosListeners are still called immediately when there are focus
      requests. This means the number of unacked messages may be greater than
      one.
      
      This reverts commit 1234a337.
      
      Bug: 270894765
      Test: presubmits
      Test: manual fuzz testing (random sleeps added to input flinger listener)
      Change-Id: If43b7ab91e05df863e9e6ac51b0bbd36cabe85d7
      1caf3b7d
    • Steven Moreland's avatar
Loading