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

Issue 2274663005: Add GrVkCopyPipeline to handle vulkan copies as draws (Closed)

Created:
4 years, 3 months ago by egdaniel
Modified:
4 years, 2 months ago
Reviewers:
jvanverth1, Brian Osman
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@compatibleCopyDS
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Add GrVkCopyPipeline to handle vulkan copies as draws BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2274663005 Committed: https://skia.googlesource.com/skia/+/bc9b2963bf9e39c47ae5c3ab94b8503b476f4f0e

Patch Set 1 #

Patch Set 2 : Lots of debugging #

Patch Set 3 : Remove debug code #

Patch Set 4 : cleanup #

Total comments: 10

Patch Set 5 : indent nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+578 lines, -12 lines) Patch
M gyp/gpu.gypi View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M src/gpu/vk/GrVkCaps.h View 1 2 2 chunks +7 lines, -0 lines 0 comments Download
M src/gpu/vk/GrVkCaps.cpp View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M src/gpu/vk/GrVkCommandBuffer.h View 1 2 1 chunk +10 lines, -0 lines 0 comments Download
M src/gpu/vk/GrVkCommandBuffer.cpp View 1 2 1 chunk +26 lines, -0 lines 0 comments Download
A src/gpu/vk/GrVkCopyManager.h View 1 2 3 4 1 chunk +55 lines, -0 lines 0 comments Download
A src/gpu/vk/GrVkCopyManager.cpp View 1 2 3 4 1 chunk +409 lines, -0 lines 0 comments Download
M src/gpu/vk/GrVkGpu.h View 1 3 chunks +6 lines, -1 line 0 comments Download
M src/gpu/vk/GrVkGpu.cpp View 1 2 4 chunks +14 lines, -6 lines 0 comments Download
M src/gpu/vk/GrVkGpuCommandBuffer.cpp View 1 2 2 chunks +4 lines, -2 lines 0 comments Download
M src/gpu/vk/GrVkMemory.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M src/gpu/vk/GrVkPipelineStateBuilder.cpp View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M src/gpu/vk/GrVkResourceProvider.h View 1 3 chunks +8 lines, -0 lines 0 comments Download
M src/gpu/vk/GrVkResourceProvider.cpp View 1 4 chunks +34 lines, -0 lines 0 comments Download
M src/gpu/vk/GrVkUtil.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download

Dependent Patchsets:

Messages

Total messages: 15 (6 generated)
egdaniel
Currently copies as draws will be disabled for all platforms, but this at least gets ...
4 years, 3 months ago (2016-09-22 16:36:25 UTC) #3
egdaniel
ping
4 years, 3 months ago (2016-09-23 18:48:06 UTC) #5
Brian Osman
As far as I can tell, lgtm. https://codereview.chromium.org/2274663005/diff/60001/src/gpu/vk/GrVkCopyManager.cpp File src/gpu/vk/GrVkCopyManager.cpp (right): https://codereview.chromium.org/2274663005/diff/60001/src/gpu/vk/GrVkCopyManager.cpp#newcode44 src/gpu/vk/GrVkCopyManager.cpp:44: "vTexCoord = ...
4 years, 2 months ago (2016-09-25 19:58:48 UTC) #6
egdaniel
https://codereview.chromium.org/2274663005/diff/60001/src/gpu/vk/GrVkCopyManager.cpp File src/gpu/vk/GrVkCopyManager.cpp (right): https://codereview.chromium.org/2274663005/diff/60001/src/gpu/vk/GrVkCopyManager.cpp#newcode44 src/gpu/vk/GrVkCopyManager.cpp:44: "vTexCoord = inPosition * uTexCoordXform.xy + uTexCoordXform.zw;" On 2016/09/25 ...
4 years, 2 months ago (2016-09-26 15:16:49 UTC) #7
jvanverth1
A couple of questions: https://codereview.chromium.org/2274663005/diff/60001/src/gpu/vk/GrVkCommandBuffer.cpp File src/gpu/vk/GrVkCommandBuffer.cpp (right): https://codereview.chromium.org/2274663005/diff/60001/src/gpu/vk/GrVkCommandBuffer.cpp#newcode193 src/gpu/vk/GrVkCommandBuffer.cpp:193: void GrVkCommandBuffer::bindDescriptorSets(const GrVkGpu* gpu, Just ...
4 years, 2 months ago (2016-09-26 17:26:11 UTC) #8
egdaniel
https://codereview.chromium.org/2274663005/diff/60001/src/gpu/vk/GrVkCommandBuffer.cpp File src/gpu/vk/GrVkCommandBuffer.cpp (right): https://codereview.chromium.org/2274663005/diff/60001/src/gpu/vk/GrVkCommandBuffer.cpp#newcode193 src/gpu/vk/GrVkCommandBuffer.cpp:193: void GrVkCommandBuffer::bindDescriptorSets(const GrVkGpu* gpu, On 2016/09/26 17:26:11, jvanverth1 wrote: ...
4 years, 2 months ago (2016-09-26 21:12:39 UTC) #9
jvanverth1
lgtm
4 years, 2 months ago (2016-09-27 13:48:07 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/2274663005/100001
4 years, 2 months ago (2016-09-27 14:23:04 UTC) #13
commit-bot: I haz the power
4 years, 2 months ago (2016-09-27 15:00:55 UTC) #15
Message was sent while issue was closed.
Committed patchset #5 (id:100001) as
https://skia.googlesource.com/skia/+/bc9b2963bf9e39c47ae5c3ab94b8503b476f4f0e

Powered by Google App Engine
This is Rietveld 408576698