1. 10 Sep, 2020 37 commits
  2. 09 Sep, 2020 3 commits
    • Gang Wu's avatar
      use app:chromeDrawableTint to tint TextViewWithCompoundDrawables · aacbc378
      Gang Wu authored
      We should use app:chromeDrawableTint to tint
      TextViewWithCompoundDrawables instead of android:drawableTint.
      
      android:drawableTint works on API level 23 and above. But somehow
      not work for PNG drawables in API 23, and TextViewWithCompoundDrawables
      provide app:chromeDrawableTint to tint, so we can use it to handle the
      issue.
      
      Bug: 1126035
      Change-Id: Iebc9b0d0ccf9ca8510bd03d8285d19b2ba705cec
      Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2402102Reviewed-by: default avatarTheresa  <twellington@chromium.org>
      Commit-Queue: Gang Wu <gangwu@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#805559}
      aacbc378
    • Kent Tamura's avatar
      Enable "gn check" for //third_party/blink/renderer/modules/webcodecs · 89a6b640
      Kent Tamura authored
      webcodecs:unit_tests had a circular dependency with
      controller:blink_unittests_sources. This CL moves out
      controller:blink_bindings_test_sources from
      controller:blink_unittests_sources and adds
      controller:blink_bindings_test_sources dependency to
      webcodecs:unit_tests to remove the circular dependency.
      
      This CL has no behavior changes.
      
      Bug: 800764
      Change-Id: Ie578dfe442f2ee111f19abb7496e41a27ff66b80
      Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2400644
      Commit-Queue: Takuto Ikuta <tikuta@chromium.org>
      Commit-Queue: Thomas Guilbert <tguilbert@chromium.org>
      Auto-Submit: Kent Tamura <tkent@chromium.org>
      Reviewed-by: default avatarTakuto Ikuta <tikuta@chromium.org>
      Reviewed-by: default avatarThomas Guilbert <tguilbert@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#805558}
      89a6b640
    • Miguel Casas's avatar
      media/gpu/vaapi: batch submitting VABufferIDs for MJPEG decoding · 405ed4ac
      Miguel Casas authored
      This CL follows crrev.com/c/2393629 by batching up SubmitBuffer
      calls in the JPEG decode accelerator, used e.g. for MJPEG camera
      stream decoding.
      
      This was verified via chrome:tracing while capturing HD on kohaku
      and reks (Braswell) in the link [1]. Similarly to what is seen in
      the previous CL, the combination of SubmitBuffer() calls on ToT
      is ~10% slower than the batched SubmitBuffers(). A key difference
      is that since JPEG is way simpler than e.g. VP9, the submitting
      time is comparable to the ExecuteBuffers_Locked(), so this CL
      has some minor overall decode-time savings. But still the target
      here is to reduce contention on the lock and libva for video
      conferencing cases with multiple remote participants a la Meet.
      
      [1] webrtc.github.io/samples/src/content/getusermedia/resolution/
      
      Cq-Depend: chromium:2393629
      Bug: b/166646505
      Change-Id: I183cc151de24d8fdbdc62e0172be296dacbf26f2
      Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2393525
      Commit-Queue: Miguel Casas <mcasas@chromium.org>
      Reviewed-by: default avatarJ Kardatzke <jkardatzke@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#805557}
      405ed4ac