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

Issue 2472433002: Fixed compile- and link-time errors with the "enable_vulkan" GN-argument (Closed)

Created:
4 years, 1 month ago by Sergey.Kipet
Modified:
4 years, 1 month ago
CC:
chromium-reviews, jam, sievers+watch_chromium.org, jbauman+watch_chromium.org, darin-cc_chromium.org, piman+watch_chromium.org, kalyank, danakj+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fixed compile- and link-time errors with the "enable_vulkan" GN-argument set to true: I. Got rid of the VulkanBrowserCompositorSurface::OnGpuSwapBuffersCompleted function due to it was dropped from the BrowserCompositorSurface parent type. II. Brought appearance of the VulkanBrowserCompositorSurface class in accordance with the most recent cc::OutputSurface class definition. III. Fixed 3rd parameter within the VulkanBrowserCompositorOutputSurface c-tor calling from GpuProcessTransportFactory::EstablishedGpuChannel. IV. Updated the VulkanBrowserCompositorOutputSurface c-tor signature according to the declaration provided within corresponding header. V. Starting from version 1.0.13 the Vulkan SDK installer no longer installs files to system locations that require administrative privileges. Thus, to support newer versions of the SDK, the VULKAN_SDK environment variable shall be read to locate corresponding shared library instead of making GN to look for the latter among system folders. BUG=582558, 582564 CQ_INCLUDE_TRYBOTS=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 Committed: https://crrev.com/1f226f5a91c999f0cd248a807a15e2038bf57cc3 Cr-Commit-Position: refs/heads/master@{#430354}

Patch Set 1 #

Total comments: 10

Patch Set 2 : Fixed compile- and link-time errors with the "enable_vulkan" GN-argument set to true: #

Patch Set 3 : Augmented the AUTHORS file per reviewers request. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+93 lines, -23 lines) Patch
M AUTHORS View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/compositor/gpu_process_transport_factory.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M content/browser/compositor/vulkan_browser_compositor_output_surface.h View 1 2 chunks +19 lines, -8 lines 0 comments Download
M content/browser/compositor/vulkan_browser_compositor_output_surface.cc View 1 2 chunks +63 lines, -12 lines 0 comments Download
M gpu/vulkan/BUILD.gn View 3 chunks +9 lines, -2 lines 0 comments Download

Messages

Total messages: 16 (5 generated)
Sergey.Kipet
Hello, Please, participate the first code review of mine. Thank you so much in advance ...
4 years, 1 month ago (2016-11-01 18:01:21 UTC) #3
danakj
LGTM https://codereview.chromium.org/2472433002/diff/1/content/browser/compositor/vulkan_browser_compositor_output_surface.cc File content/browser/compositor/vulkan_browser_compositor_output_surface.cc (right): https://codereview.chromium.org/2472433002/diff/1/content/browser/compositor/vulkan_browser_compositor_output_surface.cc#newcode17 content/browser/compositor/vulkan_browser_compositor_output_surface.cc:17: : BrowserCompositorOutputSurface(context, std::move https://codereview.chromium.org/2472433002/diff/1/content/browser/compositor/vulkan_browser_compositor_output_surface.cc#newcode18 content/browser/compositor/vulkan_browser_compositor_output_surface.cc:18: vsync_manager, same https://codereview.chromium.org/2472433002/diff/1/content/browser/compositor/vulkan_browser_compositor_output_surface.cc#newcode89 ...
4 years, 1 month ago (2016-11-01 18:48:24 UTC) #4
piman
https://codereview.chromium.org/2472433002/diff/1/gpu/vulkan/BUILD.gn File gpu/vulkan/BUILD.gn (right): https://codereview.chromium.org/2472433002/diff/1/gpu/vulkan/BUILD.gn#newcode13 gpu/vulkan/BUILD.gn:13: vulkan_lib_dir = getenv("VULKAN_SDK") + "/lib" What is this for? ...
4 years, 1 month ago (2016-11-01 19:45:13 UTC) #5
Sergey.Kipet
Hello, Please, find the issues previously found fixed in patch set 2 of the code ...
4 years, 1 month ago (2016-11-04 22:15:37 UTC) #6
piman
Please add your name to the AUTHORS file, then we should be good to go. ...
4 years, 1 month ago (2016-11-05 00:39:06 UTC) #7
Sergey.Kipet
On 2016/11/05 00:39:06, piman wrote: > Please add your name to the AUTHORS file, then ...
4 years, 1 month ago (2016-11-05 08:43:13 UTC) #8
Sergey.Kipet
Hello, Please, find the AUTHORS file updated as requested. Thank you. BRs, Sergey Kipet. https://codereview.chromium.org/2472433002/diff/1/gpu/vulkan/BUILD.gn ...
4 years, 1 month ago (2016-11-05 09:10:11 UTC) #9
piman
lgtm
4 years, 1 month ago (2016-11-07 19:00:00 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2472433002/40001
4 years, 1 month ago (2016-11-07 19:00:49 UTC) #13
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 1 month ago (2016-11-07 20:10:24 UTC) #14
commit-bot: I haz the power
4 years, 1 month ago (2016-11-07 20:22:12 UTC) #16
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/1f226f5a91c999f0cd248a807a15e2038bf57cc3
Cr-Commit-Position: refs/heads/master@{#430354}

Powered by Google App Engine
This is Rietveld 408576698