1. 26 Apr, 2017 1 commit
    • ericrk's avatar
      Make GPU Rasterization Default on Windows · 4166ab85
      ericrk authored
      Wrapping up finch roll-out by making this default and switching to a
      10% finch hold-back group in Canary.
      
      R=vmiura@chromium.org
      BUG=643850
      CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel
      
      Review-Url: https://codereview.chromium.org/2844483003
      Cr-Commit-Position: refs/heads/master@{#467198}
      4166ab85
  2. 25 Apr, 2017 2 commits
    • braveyao's avatar
      Android: enable HW encoding · 96c9b34e
      braveyao authored
      Android video encode accelerator was disabled based on gpu blacklist since
      the day it's born, as in https://codereview.chromium.org/74563002/#ps330001.
      We have tweaked the encoding codes on Android a bit. Now H264 has been
      enabled by default for WebRTC calls. And VP8&H264 are enabled for MediaRecorder
      too recently. Both are done by bypassing the blacklist.
      So it's time to enable HW encoding on Android.
      
      This CL is to revert the PS#3 of https://codereview.chromium.org/74563002,
      as removing the entry in gpu blacklist to enable HW encoing on Android.
      And add a flag to keep VP8 disabled for WebRTC for now.
      
      BUG=709118
      CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel
      
      Review-Url: https://codereview.chromium.org/2839823002
      Cr-Commit-Position: refs/heads/master@{#467050}
      96c9b34e
    • kbr's avatar
      Fix blits from multisampled renderbuffers to alpha:false WebGL back buffer. · e90ed61e
      kbr authored
      (Re-land after fix to avoid deleting nonexistent textures.)
      
      Blitting from a multisampled RGB8 renderbuffer to an alpha:false WebGL
      back buffer is supposed to work, and from an RGBA8 renderbuffer is
      supposed to not work. The emulation of IOSurface-backed RGB textures
      using RGBA textures didn't handle this case.
      
      Add BindTexImage2DWithInternalformatCHROMIUM to the command buffer to
      allow internal format to be overridden; currently this is only
      supported on macOS. Use this to bind a second texture to the IOSurface
      and use it only for BlitFramebuffer calls from WebGL, fixing up the
      alpha channel afterward.
      
      Covered by new conformance test in
      https://github.com/KhronosGroup/WebGL/pull/2377 .
      
      BUG=699566
      TBR=zmo@chromium.org,ccameron@chromium.org
      CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel
      
      Review-Url: https://codereview.chromium.org/2838743002
      Cr-Commit-Position: refs/heads/master@{#466878}
      e90ed61e
  3. 24 Apr, 2017 2 commits
    • kbr's avatar
      Make GPU_CLIENT_DCHECK_CODE_BLOCK obey DCHECK_ALWAYS_ON. · 88c12019
      kbr authored
      Note that this block of #ifdefs violates the indentation guidelines,
      but I'm ignoring that because the current form is more readable.
      
      BUG=714761
      CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel
      
      Review-Url: https://codereview.chromium.org/2837773004
      Cr-Commit-Position: refs/heads/master@{#466790}
      88c12019
    • pkalinnikov's avatar
      Revert of Fix blits from multisampled renderbuffers to alpha:false WebGL back... · efefc5f0
      pkalinnikov authored
      Revert of Fix blits from multisampled renderbuffers to alpha:false WebGL back buffer. (patchset #4 id:60001 of https://codereview.chromium.org/2831733003/ )
      
      Reason for revert:
      Reverting because 4 gpu_tests.context_lost_integration_test.ContextLostIntegrationTest.ContextLost_WebGLContextLost* tests
      and GpuCrash_GPUProcessCrashesExactlyOncePerVisitToAboutGpuCrash crash on "Mac Retina Debug (AMD)" bot.
      
      Original issue's description:
      > Fix blits from multisampled renderbuffers to alpha:false WebGL back buffer.
      >
      > Blitting from a multisampled RGB8 renderbuffer to an alpha:false WebGL
      > back buffer is supposed to work, and from an RGBA8 renderbuffer is
      > supposed to not work. The emulation of IOSurface-backed RGB textures
      > using RGBA textures didn't handle this case.
      >
      > Add BindTexImage2DWithInternalformatCHROMIUM to the command buffer to
      > allow internal format to be overridden; currently this is only
      > supported on macOS. Use this to bind a second texture to the IOSurface
      > and use it only for BlitFramebuffer calls from WebGL, fixing up the
      > alpha channel afterward.
      >
      > Covered by new conformance test in
      > https://github.com/KhronosGroup/WebGL/pull/2377 .
      >
      > BUG=699566
      > CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel
      >
      > Review-Url: https://codereview.chromium.org/2831733003
      > Cr-Commit-Position: refs/heads/master@{#466523}
      > Committed: https://chromium.googlesource.com/chromium/src/+/3d4d5d7a9198bea6f0018a36fc6825637f9a12c4
      
      TBR=zmo@chromium.org,ccameron@chromium.org,kbr@chromium.org
      # Not skipping CQ checks because original CL landed more than 1 days ago.
      BUG=699566
      
      Review-Url: https://codereview.chromium.org/2841573002
      Cr-Commit-Position: refs/heads/master@{#466644}
      efefc5f0
  4. 22 Apr, 2017 1 commit
    • kbr's avatar
      Fix blits from multisampled renderbuffers to alpha:false WebGL back buffer. · 3d4d5d7a
      kbr authored
      Blitting from a multisampled RGB8 renderbuffer to an alpha:false WebGL
      back buffer is supposed to work, and from an RGBA8 renderbuffer is
      supposed to not work. The emulation of IOSurface-backed RGB textures
      using RGBA textures didn't handle this case.
      
      Add BindTexImage2DWithInternalformatCHROMIUM to the command buffer to
      allow internal format to be overridden; currently this is only
      supported on macOS. Use this to bind a second texture to the IOSurface
      and use it only for BlitFramebuffer calls from WebGL, fixing up the
      alpha channel afterward.
      
      Covered by new conformance test in
      https://github.com/KhronosGroup/WebGL/pull/2377 .
      
      BUG=699566
      CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel
      
      Review-Url: https://codereview.chromium.org/2831733003
      Cr-Commit-Position: refs/heads/master@{#466523}
      3d4d5d7a
  5. 21 Apr, 2017 2 commits
    • reveman's avatar
      gpu: Empty swaps for surfaceless output surfaces. · bba53b15
      reveman authored
      This improves hardware overlay support by avoiding updates to the
      primary plane when only overlays are damaged. The previous buffer
      is now reused for the primary plane when damage rect is empty.
      
      An important side-effect of this is that we can always support empty
      swaps without the need for partial updates.
      
      BUG=705290
      CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel;master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel
      
      Review-Url: https://codereview.chromium.org/2829543003
      Cr-Commit-Position: refs/heads/master@{#466245}
      bba53b15
    • jorgelo's avatar
      Fix --no-sandbox and --disable-gpu-sandbox on Mali. · 754f1ec2
      jorgelo authored
      On Mali GPUs we try to start the sandbox early, before the driver
      spawns threads. Because of --no-sandbox, we don't actually start the
      sandbox. |gpu_info.sandboxed| will then be false, so at the bottom of
      the InitializeAndStartSandbox function we'll try to start the sandbox
      again, but at this time the Mali driver will have already started
      threads and we'll LOG(FATAL).
      
      Fix by not attempting the second sandbox start when the early one
      was attempted.
      
      BUG=707461
      TEST=Build for Kevin, add --no-sandbox to the cmdline, UI starts.
      TEST=Add --disable-gpu-sandbox to the cmdline, UI starts.
      CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel
      
      Review-Url: https://codereview.chromium.org/2814793007
      Cr-Commit-Position: refs/heads/master@{#466212}
      754f1ec2
  6. 20 Apr, 2017 6 commits
    • jbauman's avatar
      Reset() instead of Receive() video_processor_enumerator_ · 9f7f53b5
      jbauman authored
      BUG=654631
      CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel
      
      Review-Url: https://codereview.chromium.org/2831023002
      Cr-Commit-Position: refs/heads/master@{#466093}
      9f7f53b5
    • cwallez's avatar
      Passthrough CmdDecoder: Use robust CompressedTex(Sub)Image · 7cc769d2
      cwallez authored
      A compromised renderer would have been able to crash ANGLE by sending a
      0 shmem ID and non 0 shmem offset for CompressedTex(Sub)Image commands,
      with no unpack buffer bound. Use the newly added RobustANGLE entry
      points that check enough data is passed.
      
      BUG=chromium:602688
      CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel
      
      Review-Url: https://codereview.chromium.org/2826143003
      Cr-Commit-Position: refs/heads/master@{#466042}
      7cc769d2
    • qiankun.miao's avatar
      Force cube map texture complete on Linux AMD · 9d28c22d
      qiankun.miao authored
      CopyTex{Sub}Image2D reports INVALID_OPERATION error if the destination
      texture is an integer incomplete cube map texture on Linux AMD. Similarly,
      TexSubImage2D reports OUT_OF_MEMORY error if the destination texture is a
      srgb incomplete cube map texture on Linux AMD. This is a bug in AMD Linux
      driver. This CL workarounds this bug by forcing the texture to be cube map
      complete.
      
      BUG=710392, 712117
      TEST=webgl2 conformance test
      CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel
      
      Review-Url: https://codereview.chromium.org/2821913002
      Cr-Commit-Position: refs/heads/master@{#465915}
      9d28c22d
    • brettw's avatar
      Improvements to uses of base::SmallMap · ca2ec763
      brettw authored
      Rename base::SmallMap to base::small_map.
      
      Add a readme to base/containers to codify naming rules for containers.
      
      Convert some uses of SmallMap to flat_map where appropriate.
      
      Add an IPC serialization rule for flat_map (required by one of the SmallMap->flat_map conversions)
      
      Improve the small_map documentation slightly.
      CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel;master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel
      
      Review-Url: https://codereview.chromium.org/2825853002
      Cr-Commit-Position: refs/heads/master@{#465911}
      ca2ec763
    • ccameron's avatar
      WebGL: Tidy up buffer allocation logic · 2ecea20b
      ccameron authored
      This patch should not change any of the allocation format logic, it
      just makes it more clear what it's doing. Rather than compute the
      formats to use, compute the parameter "should we allocate an
      alpha channel".
      
      But, there is one bugfix where, if we fail to allocate a GLImage, we
      we were not re-computing the color buffer parameters. Now we do.
      
      BUG=711107
      CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel
      
      Review-Url: https://codereview.chromium.org/2820373003
      Cr-Commit-Position: refs/heads/master@{#465898}
      2ecea20b
    • Sunny Sachanandani's avatar
      gpu: Fix reduced frame rate when animating multiple windows on Linux. · 43bd95af
      Sunny Sachanandani authored
      Synchronizing with vsync has the advantage of not tearing but reduces
      frame rate when multiple windows animate. All Chrome windows share one
      thread (GPU main thread) for issuing swap buffers. Therefore, if one
      window's swap buffers blocks the other windows' frame rates fall.
      
      This CL ports the force swap interval zero for multiple window swaps
      workaround used on Windows. This can cause tearing without a compositing
      manager but seems like a reasonable tradeoff.
      
      Also included are minor fixes to conform to the style guide.
      
      R=kbr
      BUG=528803
      
      CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel
      
      Change-Id: If23b2fd7562376fa2fc02391fa2aa3a3c3644dd5
      Reviewed-on: https://chromium-review.googlesource.com/479566
      Commit-Queue: Sunny Sachanandani <sunnyps@chromium.org>
      Reviewed-by: default avatarKenneth Russell <kbr@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#465889}
      43bd95af
  7. 19 Apr, 2017 2 commits
    • hajimehoshi's avatar
      Reorganize GUIDs for GPU memory buffers · 7c6261c7
      hajimehoshi authored
      This CL replaces current GUID generators (GetGenericSharedMemoryGUID-
      -ForTracing and GetGpuMemoryBufferGUIDForTracing) with new GUID
      generators GetSharedMemoryGUIDForTracing and GetGenericSharedGpumemory-
      -GUIDForTracing. The formater is used for GPU memory buffer that use
      base::SharedMemory, and the latter is not. This fix is required to know
      shared memory usages on memory-infra accurately.
      
      BUG=604726
      TEST=n/a
      CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel;master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel
      
      Review-Url: https://codereview.chromium.org/2819803002
      Cr-Commit-Position: refs/heads/master@{#465529}
      7c6261c7
    • robliao's avatar
      Rename ScopedComPtr::get() to ScopedComPtr::Get() · b44b907b
      robliao authored
      This renames get() to Get() to harmonize with ComPtr::Get().
      Most replacements were performed automatically with clang-tidy.
      
      BUG=638327
      CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win10_chromium_x64_rel_ng;master.tryserver.chromium.win:win_optional_gpu_tests_rel
      TBR=dalecurtis@chromium.org, jam@chromium.org, kbr@chromium.org, reillyg@chromium.org, rsleevi@chromium.org, sdefresne@chromium.org, thestig@chromium.org, thakis@chromium.org, wez@chromium.org,
      Mechanical rename.
      
      Review-Url: https://codereview.chromium.org/2824773002
      Cr-Commit-Position: refs/heads/master@{#465432}
      b44b907b
  8. 18 Apr, 2017 3 commits
    • Sunny Sachanandani's avatar
      gpu: Automatically add optional gpu tests to ui/gl changes. · 4b2894f1
      Sunny Sachanandani authored
      ui/gl changes are likely to affect gpu tests so we should run these
      trybots.
      
      R=kbr
      BUG=712303
      
      Change-Id: Id8b89b4647b1b1926184ff55a8746adddc3b345b
      
      CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel
      
      Change-Id: Id8b89b4647b1b1926184ff55a8746adddc3b345b
      Reviewed-on: https://chromium-review.googlesource.com/479802Reviewed-by: default avatarKenneth Russell <kbr@chromium.org>
      Commit-Queue: Sunny Sachanandani <sunnyps@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#465347}
      4b2894f1
    • zmo's avatar
      Explicitly disable WebGL2 where D3D11 is disabled. · 14d57a73
      zmo authored
      BUG=706366
      TEST=gpu_unittests
      R=capn@chromium.org
      CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel
      
      Review-Url: https://codereview.chromium.org/2824833002
      Cr-Commit-Position: refs/heads/master@{#465278}
      14d57a73
    • qiankun.miao's avatar
      Update some autogen files · 604a0257
      qiankun.miao authored
      These files are generated by running gpu/config/process_json.py.
      These are missing in the following CL:
      https://codereview.chromium.org/2823503002.
      
      BUG=691703
      CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel
      
      Review-Url: https://codereview.chromium.org/2828463002
      Cr-Commit-Position: refs/heads/master@{#465270}
      604a0257
  9. 15 Apr, 2017 2 commits
    • jbauman's avatar
      Report swap chain format histogram on every swap. · 6e8419d3
      jbauman authored
      It's more useful to know what fraction of presents are using BGRA vs.
      YUY2, rather than what fraction of swapchains, since some swapchains
      could be doing very few presents and wouldn't matter for performance.
      
      CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel
      
      Review-Url: https://codereview.chromium.org/2819933003
      Cr-Commit-Position: refs/heads/master@{#464842}
      6e8419d3
    • zmo's avatar
      Only generate GPU json data entries related to a given platform at build time. · a3071ce2
      zmo authored
      This is for SoftwareRenderingList and GpuDriverBugList.
      
      BUG=691703
      TEST=chrome
      R=kbr@chromium.org
      CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel
      
      Review-Url: https://codereview.chromium.org/2823503002
      Cr-Commit-Position: refs/heads/master@{#464840}
      a3071ce2
  10. 14 Apr, 2017 1 commit
    • mfomitchev's avatar
      Plumbing input event latency reporting through Mus GPU. · 426ea5dd
      mfomitchev authored
      Adds support for input event latency reporting for Mus.
      There's two subtle differences between the Mus flow and the non-Mus flow:
      - DISPLAY_COMPOSITOR_RECEIVED_FRAME_COMPONENT is logged if there are ANY latency
        components present.
      - OnGpuSwapBuffersCompleted() is called if there are ANY latency components
        present.
      In non-Mus flow these are done only when there are browser-specific latency
      components present. In practice this shouldn't have any effect on UMA latency
      reporting, because currently OnGpuSwapBuffersCompleted() exits early if it doesn't
      see RWH-specific latency components. However it should prove useful for getting
      latency data for non-blink use cases in the future.
      
      Other changes:
      - Adds logging of DISPLAY_COMPOSITOR_RECEIVED_FRAME_COMPONENT in
        SurfaceFactory::SubmitCompositorFrame().
      - Plumbs through LatencyInfo propagation for the in-process GPU
        command buffer case (i.e. for Mus GPU).
      - Adds LatencyTracker to DisplayOutputSurface, and calls
        LatencyTracker::OnGpuSwapBuffersCompleted from
        DisplayOutputSurface::OnGpuSwapBuffersCompleted, which ensures UMA latency
        data is reported in Mus.
      
      TBR=bbudge@chromium.org,danakj@chromium.org
      BUG=686865
      
      CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel;master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel
      
      Review-Url: https://codereview.chromium.org/2806163004
      Cr-Commit-Position: refs/heads/master@{#464664}
      426ea5dd
  11. 13 Apr, 2017 7 commits
    • jbauman's avatar
      Do additional blit and Present on first draw to overlay. · 7c2bb41a
      jbauman authored
      It's unclear why this is necessary, but it seems to fix
      Pixel_DirectComposition_Video_MP4.
      CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel
      
      Review-Url: https://codereview.chromium.org/2813103004
      Cr-Commit-Position: refs/heads/master@{#464601}
      7c2bb41a
    • fserb's avatar
      Disables software to accelerated canvas update on Linux AMD GPUs · fd8adbcc
      fserb authored
      BUG=710029
      CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel
      
      Review-Url: https://codereview.chromium.org/2815103003
      Cr-Commit-Position: refs/heads/master@{#464560}
      fd8adbcc
    • geofflang's avatar
      Let DoMapBufferRange write the result integer to signal a GL error. · eeeeb4f7
      geofflang authored
      TEST=conformance2/buffers/get-buffer-sub-data
      
      BUG=602688
      CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel
      
      Review-Url: https://codereview.chromium.org/2822513002
      Cr-Commit-Position: refs/heads/master@{#464530}
      eeeeb4f7
    • julien.isorce's avatar
      Rename GpuMemoryBufferFactoryOzoneNativePixmap to GpuMemoryBufferFactoryNativePixmap · 9d1bf155
      julien.isorce authored
      And rename files
      gpu/ipc/service/gpu_memory_buffer_factory_ozone_native_pixmap.{cc,h} =>
      gpu/ipc/service/gpu_memory_buffer_factory_native_pixmap.{cc,h}
      
      From this CL the 2 files above are now also build on linux. But for now
      GpuMemoryBufferFactoryNativePixmap::CreateImageForGpuMemoryBuffer is only
      implemented on ozone as it was previsouly. A follow-up CL will implements
      it for linux.
      
      This a pre-step to enable glCreateImageCHROMIUM with linux dma buf on linux.
      
      BUG=584248
      R=reveman@chromium.org
      TBR=kbr@chromium.org, piman@chromium.org
      CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel
      
      Review-Url: https://codereview.chromium.org/2709163004
      Cr-Commit-Position: refs/heads/master@{#464366}
      9d1bf155
    • julien.isorce's avatar
      Rename GpuMemoryBufferImplOzoneNativePixmap to GpuMemoryBufferImplNativePixmap · fdc307c2
      julien.isorce authored
      And rename files
      gpu/ipc/client/gpu_memory_buffer_impl_ozone_native_pixmap.{cc,h} =>
      gpu/ipc/client/gpu_memory_buffer_impl_native_pixmap.{cc,h}
      
      Turn on GpuMemoryBufferImplNativePixmap on OS_LINUX instead of only USE_ZONE.
      
      This a pre-step to enable glCreateImageCHROMIUM with linux dma buf on linux.
      
      BUG=584248
      R=reveman@chromium.org
      TBR=kbr@chromium.org, piman@chromium.org
      CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel
      
      Review-Url: https://codereview.chromium.org/2710223002
      Cr-Commit-Position: refs/heads/master@{#464342}
      fdc307c2
    • jbauman's avatar
      Switch DirectComposition layers to BGRA if overlay allocation fails. · 2a486dc7
      jbauman authored
      If windows isn't using overlays then it's more efficient to use a
      B8G8R8A8 swapchain instead of YUY2, as then windows won't have to do its
      own colorspace conversion.
      
      BUG=678800
      CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel
      
      Review-Url: https://codereview.chromium.org/2809473003
      Cr-Commit-Position: refs/heads/master@{#464272}
      2a486dc7
    • zmo's avatar
      Move gpu jason file data generation to build time. · ede160c5
      zmo authored
      BUG=691703
      TEST=chrome
      R=piman@chromium.org
      CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel
      
      Review-Url: https://codereview.chromium.org/2812003006
      Cr-Commit-Position: refs/heads/master@{#464235}
      ede160c5
  12. 12 Apr, 2017 4 commits
    • mfomitchev's avatar
      InProcessCommandBuffer::OnWaitSyncTokenCompleted should not enqueue a new task. · 995b74dc
      mfomitchev authored
      Instead it should simply schedule the service to process tasks again.
      
      BUG=NONE
      CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel
      
      Review-Url: https://codereview.chromium.org/2815023004
      Cr-Commit-Position: refs/heads/master@{#464188}
      995b74dc
    • cwallez's avatar
      Handle pixel (un)pack buffers with non-zero offset. · 95f93822
      cwallez authored
      The passthrough command buffer (Compressed)Tex(Sub)Image and ReadPixels
      handlers didn't handle the case where shm_id == 0 but shm_offset != 0
      which can happen when a PBO is bound.
      
      This patch also adds a dataSize argument to the CompressedTex(Sub)Image
      doers that will be needed to have a robust version of them when "data"
      can be an offset in a PBO.
      
      BUG=chromium:602688
      CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel
      
      Review-Url: https://codereview.chromium.org/2811693005
      Cr-Commit-Position: refs/heads/master@{#464137}
      95f93822
    • ccameron's avatar
      Add half-float IOSurface GpuMemoryBuffer support · c1fcde58
      ccameron authored
      Add support for gpu rasterization to half-float RGBA textures.
      
      Do not add software rasterization support for half-float RGBA textures.
      While this is possible, software rasterization to half-float is not a good
      idea for performance reasons.
      
      BUG=655171
      CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel;master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel
      
      Review-Url: https://codereview.chromium.org/2786103003
      Cr-Commit-Position: refs/heads/master@{#464114}
      c1fcde58
    • jbauman's avatar
      Disable BT.709 to BT.601 conversion by default. · 6047442f
      jbauman authored
      This sometimes causes the PrintWindow readback results to change.
      
      BUG=678800
      TBR=sunnyps@chromium.org
      CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel
      
      Review-Url: https://codereview.chromium.org/2809213004
      Cr-Commit-Position: refs/heads/master@{#463891}
      6047442f
  13. 11 Apr, 2017 2 commits
    • jbauman's avatar
      Add feature flag to convert BT.709 to BT.601 video in overlays. · 137707cf
      jbauman authored
      Some systems seem to be ignoring the BT.709 colorspace, so add a feature
      flag so we can test converting it to BT.601 in the video processor  so
      it will display properly.
      
      BUG=678800
      CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel
      
      Review-Url: https://codereview.chromium.org/2801193003
      Cr-Commit-Position: refs/heads/master@{#463842}
      137707cf
    • mfomitchev's avatar
      Splitting up RenderWidgetHostLatencyTracker and some renames. · 598a769a
      mfomitchev authored
      This is in preparation for latency reporting in Mus - see CL https://codereview.chromium.org/2806163004.
      
      - Splits out RWHLatencyTracker::OnGpuSwapBuffersCompleted(), moving it into a
        separate LatencyTracker class, which RWHLatencyTracker extends
      - Renames INPUT_EVENT_BROWSER_RECEIVED_RENDERER_SWAP_COMPONENT to
        DISPLAY_COMPOSITOR_RECEIVED_FRAME_COMPONENT
      - Renames SetLatencyInfo in PassThroughImageTransportSurface and
        CommandBufferProxyImpl to AddLatencyInfo.
      
      TBR=tsepez@chromium.org
      BUG=686865
      
      CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel
      
      Review-Url: https://codereview.chromium.org/2814483002
      Cr-Commit-Position: refs/heads/master@{#463464}
      598a769a
  14. 09 Apr, 2017 1 commit
    • alokp's avatar
      Deletes NativeViewGLSurfaceEGL::Initialize(gfx::VSyncProvider). · dc4c6262
      alokp authored
      VsyncProvider is only customized by subclasses of NativeViewGLSurfaceEGL,
      which can also be done using the virtual GLSurface::GetVSyncProvider member function.
      
      NativeViewGLSurfaceEGL::GetVSyncProvider now lazily creates the VSyncProvider
      so that subclasses that override GLSurface::GetVSyncProvider do not
      unnecessarily get two vsync providers.
      CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel
      
      Review-Url: https://codereview.chromium.org/2801163002
      Cr-Commit-Position: refs/heads/master@{#463150}
      dc4c6262
  15. 07 Apr, 2017 4 commits