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

Issue 1816153002: Set up cache in vulkan to reuse GrVkPrograms (aka VkPipelines) (Closed)

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

Description

Patch Set 1 #

Patch Set 2 : working? #

Patch Set 3 : add file #

Patch Set 4 : cleanup #

Total comments: 17

Patch Set 5 : Rename to PipelineState + review fixes #

Patch Set 6 : update comment #

Total comments: 13

Patch Set 7 : review nits #

Patch Set 8 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+890 lines, -1548 lines) Patch
M gyp/gpu.gypi View 1 2 3 4 5 6 7 1 chunk +7 lines, -6 lines 0 comments Download
M src/gpu/GrStencil.h View 2 chunks +4 lines, -0 lines 0 comments Download
M src/gpu/GrStencil.cpp View 1 2 3 4 2 chunks +9 lines, -0 lines 0 comments Download
M src/gpu/gl/GrGLGpu.h View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download
M src/gpu/gl/GrGLGpuProgramCache.cpp View 1 2 3 2 chunks +1 line, -5 lines 0 comments Download
M src/gpu/glsl/GrGLSLShaderBuilder.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M src/gpu/vk/GrVkCommandBuffer.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M src/gpu/vk/GrVkCommandBuffer.cpp View 1 2 3 4 3 chunks +3 lines, -3 lines 0 comments Download
M src/gpu/vk/GrVkGpu.h View 1 2 3 4 5 6 7 3 chunks +2 lines, -2 lines 0 comments Download
M src/gpu/vk/GrVkGpu.cpp View 1 2 3 4 5 6 7 6 chunks +23 lines, -47 lines 0 comments Download
M src/gpu/vk/GrVkPipeline.cpp View 1 2 3 4 2 chunks +0 lines, -3 lines 0 comments Download
A src/gpu/vk/GrVkPipelineState.h View 1 2 3 4 5 6 1 chunk +286 lines, -0 lines 0 comments Download
A + src/gpu/vk/GrVkPipelineState.cpp View 1 2 3 4 20 chunks +98 lines, -39 lines 0 comments Download
A + src/gpu/vk/GrVkPipelineStateBuilder.h View 1 2 3 4 2 chunks +23 lines, -22 lines 0 comments Download
A + src/gpu/vk/GrVkPipelineStateBuilder.cpp View 1 2 3 4 5 chunks +39 lines, -37 lines 0 comments Download
A src/gpu/vk/GrVkPipelineStateCache.cpp View 1 2 3 4 5 6 1 chunk +249 lines, -0 lines 0 comments Download
A + src/gpu/vk/GrVkPipelineStateDataManager.h View 1 2 3 4 2 chunks +6 lines, -6 lines 0 comments Download
A + src/gpu/vk/GrVkPipelineStateDataManager.cpp View 1 2 3 4 12 chunks +43 lines, -33 lines 0 comments Download
D src/gpu/vk/GrVkProgram.h View 1 2 3 4 1 chunk +0 lines, -190 lines 0 comments Download
D src/gpu/vk/GrVkProgram.cpp View 1 2 3 4 1 chunk +0 lines, -437 lines 0 comments Download
M src/gpu/vk/GrVkProgramBuilder.h View 1 2 3 4 1 chunk +0 lines, -73 lines 0 comments Download
M src/gpu/vk/GrVkProgramBuilder.cpp View 1 2 3 4 1 chunk +0 lines, -287 lines 0 comments Download
D src/gpu/vk/GrVkProgramDataManager.h View 1 2 3 4 1 chunk +0 lines, -79 lines 0 comments Download
D src/gpu/vk/GrVkProgramDataManager.cpp View 1 2 3 4 1 chunk +0 lines, -272 lines 0 comments Download
M src/gpu/vk/GrVkRenderPass.h View 2 chunks +3 lines, -0 lines 0 comments Download
M src/gpu/vk/GrVkRenderPass.cpp View 2 chunks +18 lines, -0 lines 0 comments Download
M src/gpu/vk/GrVkResourceProvider.h View 1 2 3 4 5 6 4 chunks +57 lines, -1 line 0 comments Download
M src/gpu/vk/GrVkResourceProvider.cpp View 1 2 3 4 4 chunks +14 lines, -0 lines 0 comments Download
M src/gpu/vk/GrVkUniformHandler.h View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M src/gpu/vk/GrVkVaryingHandler.h View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 20 (8 generated)
egdaniel
4 years, 9 months ago (2016-03-21 20:14:00 UTC) #3
jvanverth1
A bunch of little stuff, plus one general question. Is the reason the stencil settings ...
4 years, 9 months ago (2016-03-21 21:16:16 UTC) #4
egdaniel
So you are correct that the stencil is in the pipeline, but this is really ...
4 years, 9 months ago (2016-03-21 22:23:52 UTC) #5
egdaniel
So you are correct that the stencil is in the pipeline, but this is really ...
4 years, 9 months ago (2016-03-21 22:23:53 UTC) #6
bsalomon
I think it'd be good to clear up the program, pipeline, program+pipeline distinctions. The code ...
4 years, 9 months ago (2016-03-22 14:00:33 UTC) #7
egdaniel
I've change GrVkProgram to be GrVkPipelineState. All related helper structs and classes also had their ...
4 years, 9 months ago (2016-03-22 20:06:15 UTC) #8
bsalomon
lgtm, nits inline https://codereview.chromium.org/1816153002/diff/100001/src/gpu/vk/GrVkPipelineState.h File src/gpu/vk/GrVkPipelineState.h (right): https://codereview.chromium.org/1816153002/diff/100001/src/gpu/vk/GrVkPipelineState.h#newcode2 src/gpu/vk/GrVkPipelineState.h:2: * Copyright 2015 Google Inc. 2016 ...
4 years, 9 months ago (2016-03-23 15:04:37 UTC) #9
egdaniel
https://codereview.chromium.org/1816153002/diff/100001/src/gpu/vk/GrVkPipelineState.h File src/gpu/vk/GrVkPipelineState.h (right): https://codereview.chromium.org/1816153002/diff/100001/src/gpu/vk/GrVkPipelineState.h#newcode2 src/gpu/vk/GrVkPipelineState.h:2: * Copyright 2015 Google Inc. On 2016/03/23 15:04:36, bsalomon ...
4 years, 9 months ago (2016-03-23 19:12:07 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1816153002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1816153002/120001
4 years, 9 months ago (2016-03-23 19:12:19 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: Build-Mac-Clang-x86_64-Release-Trybot on client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Mac-Clang-x86_64-Release-Trybot/builds/1424)
4 years, 9 months ago (2016-03-23 19:13:30 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1816153002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1816153002/140001
4 years, 9 months ago (2016-03-23 20:39:02 UTC) #18
commit-bot: I haz the power
4 years, 9 months ago (2016-03-23 20:49:43 UTC) #20
Message was sent while issue was closed.
Committed patchset #8 (id:140001) as
https://skia.googlesource.com/skia/+/22281c13a13c4b4e275516e9fe02185a53a7e5aa

Powered by Google App Engine
This is Rietveld 408576698