1. 09 Jan, 2016 11 commits
    • watk's avatar
      Add GpuSurfaceLookup::AcquireJavaSurface for AVDA on Android. · 2b0e76f6
      watk authored
      AndroidVideoDecodeAccelerator, which runs in the GPU process, needs a
      way to get a java Surface from the browser process. GpuSurfaceLookup and
      SurfaceTextureManagerImpl already provide a way to get an ANativeWindow
      but not the corresponding java Surface. This new method returns the java
      surface.
      
      BUG=533630
      
      Review URL: https://codereview.chromium.org/1567193002
      
      Cr-Commit-Position: refs/heads/master@{#368478}
      2b0e76f6
    • zmo's avatar
      Upgrade blink side ReadPixels size validation to consider ES3 pack parameters. · ff942f12
      zmo authored
      Note that this CL didn't do the upgrade for unpack, although the
      foundation is there.
      
      BUG=563714
      TEST=conformance2/reading/read-pixels-pack-parameters.html
      R=kbr@chromium.org,bajones@chromium.org
      
      Review URL: https://codereview.chromium.org/1566283003
      
      Cr-Commit-Position: refs/heads/master@{#368477}
      ff942f12
    • servolk's avatar
      Re-add AC3/EAC3 audio demuxing support · 063ce094
      servolk authored
      Chrome used to have EAC3/DD+ support (crbug.com/215773),
      but it was removed last year (crbug.com/334126). This CL
      partially restores the old code and adds AC3 support.
      This will allow AC3/EAC3 audio demuxing and can be used
      for AC3/EAC3 pass-through support.
      
      BUG=448878
      
      Review URL: https://codereview.chromium.org/812643005
      
      Cr-Commit-Position: refs/heads/master@{#368476}
      063ce094
    • sandersd's avatar
      Implement fallback from WMPI to WMPA. · bcbd85c1
      sandersd authored
      With this change, RenderFrameImpl::createMediaPlayer() will select between WMPI and WMPA on Android. Specifically, WMPI will be used unless:
        - --disable-accelerated-video-decode is set.
        - MediaCodec is not supported (because the API level is too low or the device is blacklisted).
        - The URL indicates that the video is HLS.
      
      Additionally, --disable-accelerated-video-decode is now automatically set whenever any of these flags are set:
        --disable-gpu
        --single-process
        --in-process-gpu
      
      Since in these modes VDAs do not currently work (and these flags are not passed to the renderer).
      
      BUG=516765
      
      Review URL: https://codereview.chromium.org/1560953002
      
      Cr-Commit-Position: refs/heads/master@{#368475}
      bcbd85c1
    • dkrahn's avatar
      histograms.xml: Added a new cryptohome checksum enum value. · e242bf09
      dkrahn authored
      BUG=chromium:411923
      TEST=validate_format, pretty_print
      
      Review URL: https://codereview.chromium.org/1576543002
      
      Cr-Commit-Position: refs/heads/master@{#368474}
      e242bf09
    • kinuko's avatar
      Platform WebUnitTestSupport onion soup: remove more indirect methods · bc2335ab
      kinuko authored
      Removing following three indirect methods which can be directly
      implemented within blink platform:
      - readFromFile
      - enterRunLoop
      - exitRunLoop
      
      BUG=571332
      TBR=danakj
      
      Review URL: https://codereview.chromium.org/1568433005
      
      Cr-Commit-Position: refs/heads/master@{#368473}
      bc2335ab
    • qiangchen's avatar
      Bug Fix: WebMediaPlayerMS Crashes · 09aac57c
      qiangchen authored
      WebMediaPlayerMS owns WebMediaPlayerMSCompositor, but they live on two
      different threads, and then there is a chance that when WebMediaPlayerMS
      is destructed on the main thread, there are still tasks regarding
      WebMediaPlayerMSCompositor on the compositor thread, and finally crash
      will be observed.
      
      Pass weak pointer to the PostTask call, then when the object is
      destroyed, the task will be voided.
      
      BUG=572398
      
      Review URL: https://codereview.chromium.org/1565893002
      
      Cr-Commit-Position: refs/heads/master@{#368472}
      09aac57c
    • chasej's avatar
      Force all experiment enabled checks to use ExperimentalFeatures · 707a221a
      chasej authored
      The original motivation for this CL was to add an overload
      to the isApiEnabled() method, without an error message.
      Like ExecutionContext.isSecureContext(), this allows
      callers to check for enabled experiments, but not pass
      an error message parameter, which would be ignored.
      
      In adding the overload, it was determined that all callers should
      be using the ExperimentalFeatures generated class
      (with the exception of unit tests). As a result, the
      Experiments class now just provides a private
      implementation of the enabled check. Callers use the
      ExperimentalFeatures class for the integrated check of
      runtime-enabled + appropriate API key.
      
      The motivation for this change was this CL to add the
      [ExperimentEnabled] IDL attribute:
      https://codereview.chromium.org/1531443003
      
      BUG=551609
      
      Review URL: https://codereview.chromium.org/1541983003
      
      Cr-Commit-Position: refs/heads/master@{#368471}
      707a221a
    • estade's avatar
      Vectorize tab recording and capturing icons. · e5ee6ef2
      estade authored
      Handling themes (e.g. dark custom themes) is a TODO, but the asset icons don't handle them either so this is not a regression.
      
      BUG=520623, 575031
      TBR=oshima@chromium.org
      
      Review URL: https://codereview.chromium.org/1561923005
      
      Cr-Commit-Position: refs/heads/master@{#368470}
      e5ee6ef2
    • rob's avatar
      Ensure that sendMessage's callback is called. · 3607f177
      rob authored
      Also: unchecked errors are now also reported to the extension's console.
      Unchecked errors were silenced before because the internal disconnect
      handler accessed chrome.runtime.lastError.
      
      BUG=439780
      TEST=browser_tests --gtest_filter=ExtensionApiTest.MessagingCrash
      
      Review URL: https://codereview.chromium.org/1567423002
      
      Cr-Commit-Position: refs/heads/master@{#368469}
      3607f177
    • boliu's avatar
      Implement external stencil for Android WebView · 0ed4f656
      boliu authored
      Add an OutputSurface::ApplyExternalStencil method.
      Android WebView implements this method on the render thread
      and applies the stencil parameters read in functor, through
      the command buffer client.
      
      BUG=574570
      CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel
      
      Review URL: https://codereview.chromium.org/1564703005
      
      Cr-Commit-Position: refs/heads/master@{#368468}
      0ed4f656
  2. 08 Jan, 2016 29 commits