Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(22)

Issue 1892303003: Added the Vulkan Context Provider implementation. (Closed)

Created:
4 years, 8 months ago by David Yen
Modified:
4 years, 8 months ago
Reviewers:
piman
CC:
chromium-reviews, jam, sievers+watch_chromium.org, jbauman+watch_chromium.org, darin-cc_chromium.org, kalyank, piman+watch_chromium.org, cc-bugs_chromium.org, danakj+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Added the Vulkan Context Provider implementation. R=piman@chromium.org BUG=582564 582558 582554 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/b52ecd969eecd55ed48ab9512232dd3eb7b8c240 Cr-Commit-Position: refs/heads/master@{#388589}

Patch Set 1 #

Total comments: 14

Patch Set 2 : Need to destroy device_queue if failed #

Patch Set 3 : Remove derived context provider, always compile in in process vulkan context provider #

Patch Set 4 : rebase #

Patch Set 5 : Removed unnecessary x11 header include #

Patch Set 6 : Added vulkan context provider to gyp build rules. #

Patch Set 7 : fixed gyp file #

Total comments: 10

Patch Set 8 : removed lots of ifdefs #

Patch Set 9 : export vulkan context provider #

Patch Set 10 : Fixed export issue #

Patch Set 11 : rebase #

Patch Set 12 : removed more ifdefs #

Patch Set 13 : Fixed android #

Patch Set 14 : added include that was accidentally deleted #

Total comments: 2

Patch Set 15 : Export VulkanContextProvider #

Unified diffs Side-by-side diffs Delta from patch set Stats (+313 lines, -142 lines) Patch
M cc/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 2 chunks +3 lines, -3 lines 0 comments Download
M cc/cc.gyp View 1 2 3 4 5 6 7 8 9 10 1 chunk +3 lines, -0 lines 0 comments Download
M cc/output/output_surface.h View 1 2 3 4 5 6 7 4 chunks +0 lines, -13 lines 0 comments Download
M cc/output/output_surface.cc View 1 2 3 4 5 6 7 4 chunks +0 lines, -21 lines 0 comments Download
M cc/output/vulkan_context_provider.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +2 lines, -1 line 0 comments Download
M cc/output/vulkan_in_process_context_provider.h View 1 2 10 11 12 13 14 2 chunks +5 lines, -0 lines 0 comments Download
M cc/output/vulkan_in_process_context_provider.cc View 1 2 3 4 1 chunk +25 lines, -9 lines 0 comments Download
M cc/surfaces/surface_display_output_surface.h View 1 2 3 4 5 6 7 1 chunk +4 lines, -0 lines 0 comments Download
M cc/surfaces/surface_display_output_surface.cc View 1 2 3 4 5 6 7 1 chunk +16 lines, -0 lines 0 comments Download
M content/browser/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 1 chunk +7 lines, -0 lines 0 comments Download
M content/browser/browser_main_loop.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +11 lines, -0 lines 0 comments Download
M content/browser/compositor/browser_compositor_output_surface.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +5 lines, -0 lines 0 comments Download
M content/browser/compositor/browser_compositor_output_surface.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +9 lines, -0 lines 0 comments Download
M content/browser/compositor/gpu_process_transport_factory.h View 1 2 3 3 chunks +8 lines, -0 lines 0 comments Download
M content/browser/compositor/gpu_process_transport_factory.cc View 1 2 3 4 5 6 7 8 9 10 7 chunks +83 lines, -38 lines 0 comments Download
A content/browser/compositor/vulkan_browser_compositor_output_surface.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +49 lines, -0 lines 0 comments Download
A content/browser/compositor/vulkan_browser_compositor_output_surface.cc View 1 2 1 chunk +57 lines, -0 lines 0 comments Download
M content/gpu/gpu_child_thread.cc View 2 chunks +0 lines, -9 lines 0 comments Download
M content/public/common/content_switches.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -0 lines 0 comments Download
M content/public/common/content_switches.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +3 lines, -0 lines 0 comments Download
M content/renderer/android/synchronous_compositor_output_surface.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -0 lines 0 comments Download
M content/renderer/gpu/compositor_output_surface.h View 1 2 3 4 5 6 7 1 chunk +0 lines, -2 lines 0 comments Download
M content/renderer/gpu/compositor_output_surface.cc View 1 2 3 4 5 6 7 1 chunk +0 lines, -4 lines 0 comments Download
M content/renderer/gpu/delegated_compositor_output_surface.h View 1 2 3 4 5 6 7 1 chunk +0 lines, -2 lines 0 comments Download
M content/renderer/gpu/delegated_compositor_output_surface.cc View 1 2 3 4 5 6 7 1 chunk +0 lines, -4 lines 0 comments Download
M content/renderer/gpu/mailbox_output_surface.cc View 1 2 3 4 5 6 7 1 chunk +0 lines, -2 lines 0 comments Download
M content/renderer/render_widget.cc View 1 2 3 4 5 6 7 8 9 10 5 chunks +11 lines, -21 lines 0 comments Download
M gpu/vulkan/tests/vulkan_tests_main.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M gpu/vulkan/vulkan_implementation.h View 1 2 3 1 chunk +3 lines, -1 line 0 comments Download
M gpu/vulkan/vulkan_implementation.cc View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M gpu/vulkan/vulkan_surface.h View 1 2 3 1 chunk +0 lines, -2 lines 0 comments Download
M gpu/vulkan/vulkan_surface.cc View 1 2 3 1 chunk +0 lines, -8 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 17 (6 generated)
David Yen
https://codereview.chromium.org/1892303003/diff/1/cc/output/vulkan_in_process_context_provider.cc File cc/output/vulkan_in_process_context_provider.cc (right): https://codereview.chromium.org/1892303003/diff/1/cc/output/vulkan_in_process_context_provider.cc#newcode20 cc/output/vulkan_in_process_context_provider.cc:20: static bool vulkan_initialized = false; Not sure where the ...
4 years, 8 months ago (2016-04-16 01:32:39 UTC) #2
piman
https://codereview.chromium.org/1892303003/diff/1/cc/output/output_surface.h File cc/output/output_surface.h (right): https://codereview.chromium.org/1892303003/diff/1/cc/output/output_surface.h#newcode64 cc/output/output_surface.h:64: bool use_vulkan); What's the reason for use_vulkan, it's not ...
4 years, 8 months ago (2016-04-19 01:36:43 UTC) #3
David Yen
https://codereview.chromium.org/1892303003/diff/1/cc/output/output_surface.h File cc/output/output_surface.h (right): https://codereview.chromium.org/1892303003/diff/1/cc/output/output_surface.h#newcode64 cc/output/output_surface.h:64: bool use_vulkan); On 2016/04/19 01:36:42, piman wrote: > What's ...
4 years, 8 months ago (2016-04-19 22:20:28 UTC) #4
piman
https://codereview.chromium.org/1892303003/diff/1/cc/output/output_surface.h File cc/output/output_surface.h (right): https://codereview.chromium.org/1892303003/diff/1/cc/output/output_surface.h#newcode64 cc/output/output_surface.h:64: bool use_vulkan); On 2016/04/19 22:20:27, David Yen wrote: > ...
4 years, 8 months ago (2016-04-19 23:29:57 UTC) #5
piman
https://codereview.chromium.org/1892303003/diff/1/cc/output/vulkan_in_process_context_provider.cc File cc/output/vulkan_in_process_context_provider.cc (right): https://codereview.chromium.org/1892303003/diff/1/cc/output/vulkan_in_process_context_provider.cc#newcode20 cc/output/vulkan_in_process_context_provider.cc:20: static bool vulkan_initialized = false; On 2016/04/19 22:20:28, David ...
4 years, 8 months ago (2016-04-19 23:42:03 UTC) #6
David Yen
https://codereview.chromium.org/1892303003/diff/120001/cc/surfaces/surface_display_output_surface.h File cc/surfaces/surface_display_output_surface.h (right): https://codereview.chromium.org/1892303003/diff/120001/cc/surfaces/surface_display_output_surface.h#newcode33 cc/surfaces/surface_display_output_surface.h:33: #if defined(ENABLE_VULKAN) On 2016/04/19 23:42:02, piman wrote: > Thinking, ...
4 years, 8 months ago (2016-04-20 17:37:38 UTC) #7
piman
lgtm https://codereview.chromium.org/1892303003/diff/250001/cc/output/vulkan_in_process_context_provider.h File cc/output/vulkan_in_process_context_provider.h (right): https://codereview.chromium.org/1892303003/diff/250001/cc/output/vulkan_in_process_context_provider.h#newcode20 cc/output/vulkan_in_process_context_provider.h:20: : NON_EXPORTED_BASE(public VulkanContextProvider) { nit: let's export VulkanContextProvider ...
4 years, 8 months ago (2016-04-20 21:08:47 UTC) #8
David Yen
https://codereview.chromium.org/1892303003/diff/250001/cc/output/vulkan_in_process_context_provider.h File cc/output/vulkan_in_process_context_provider.h (right): https://codereview.chromium.org/1892303003/diff/250001/cc/output/vulkan_in_process_context_provider.h#newcode20 cc/output/vulkan_in_process_context_provider.h:20: : NON_EXPORTED_BASE(public VulkanContextProvider) { On 2016/04/20 21:08:46, piman wrote: ...
4 years, 8 months ago (2016-04-20 21:12:24 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1892303003/270001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1892303003/270001
4 years, 8 months ago (2016-04-20 21:12:37 UTC) #12
commit-bot: I haz the power
Committed patchset #15 (id:270001)
4 years, 8 months ago (2016-04-20 23:23:57 UTC) #15
commit-bot: I haz the power
4 years, 8 months ago (2016-04-22 19:26:58 UTC) #17
Message was sent while issue was closed.
Patchset 15 (id:??) landed as
https://crrev.com/b52ecd969eecd55ed48ab9512232dd3eb7b8c240
Cr-Commit-Position: refs/heads/master@{#388589}

Powered by Google App Engine
This is Rietveld 408576698