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

Issue 1916563002: Add automatic generation of mipmaps to Vulkan (Closed)

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

Description

Patch Set 1 #

Patch Set 2 : Got it working #

Patch Set 3 : Mark mipmaps created on texture #

Patch Set 4 : Fix up sampler #

Patch Set 5 : Add error recovery; better sampling #

Patch Set 6 : Minor cleanups #

Patch Set 7 : Fix max mip in sampler #

Total comments: 6

Patch Set 8 : Address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+243 lines, -46 lines) Patch
M src/gpu/vk/GrVkCaps.cpp View 1 chunk +1 line, -1 line 0 comments Download
M src/gpu/vk/GrVkCommandBuffer.h View 1 chunk +2 lines, -2 lines 0 comments Download
M src/gpu/vk/GrVkCommandBuffer.cpp View 1 chunk +6 lines, -6 lines 0 comments Download
M src/gpu/vk/GrVkGpu.h View 1 2 3 4 5 6 7 1 chunk +2 lines, -0 lines 0 comments Download
M src/gpu/vk/GrVkGpu.cpp View 1 2 3 4 5 6 7 4 chunks +111 lines, -5 lines 0 comments Download
M src/gpu/vk/GrVkImageView.h View 1 2 3 4 5 6 7 1 chunk +2 lines, -1 line 0 comments Download
M src/gpu/vk/GrVkImageView.cpp View 1 2 3 4 5 6 7 2 chunks +3 lines, -3 lines 0 comments Download
M src/gpu/vk/GrVkPipelineState.cpp View 1 2 3 4 5 6 7 3 chunks +11 lines, -1 line 0 comments Download
M src/gpu/vk/GrVkRenderTarget.cpp View 1 2 chunks +2 lines, -2 lines 0 comments Download
M src/gpu/vk/GrVkResourceProvider.h View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M src/gpu/vk/GrVkResourceProvider.cpp View 1 2 3 3 chunks +6 lines, -5 lines 0 comments Download
M src/gpu/vk/GrVkSampler.h View 1 2 3 1 chunk +6 lines, -6 lines 0 comments Download
M src/gpu/vk/GrVkSampler.cpp View 1 2 3 4 5 6 7 4 chunks +14 lines, -7 lines 0 comments Download
M src/gpu/vk/GrVkStencilAttachment.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M src/gpu/vk/GrVkTexture.h View 1 2 3 4 5 6 7 1 chunk +2 lines, -0 lines 0 comments Download
M src/gpu/vk/GrVkTexture.cpp View 1 2 3 4 5 6 7 3 chunks +62 lines, -1 line 0 comments Download
M src/gpu/vk/GrVkTextureRenderTarget.cpp View 1 4 chunks +10 lines, -3 lines 0 comments Download

Messages

Total messages: 11 (4 generated)
jvanverth1
4 years, 8 months ago (2016-04-25 16:49:00 UTC) #3
jvanverth1
The results appear to be identical to those prior -- which is a bit puzzling ...
4 years, 8 months ago (2016-04-25 19:27:10 UTC) #4
egdaniel
https://codereview.chromium.org/1916563002/diff/120001/src/gpu/vk/GrVkPipelineState.cpp File src/gpu/vk/GrVkPipelineState.cpp (right): https://codereview.chromium.org/1916563002/diff/120001/src/gpu/vk/GrVkPipelineState.cpp#newcode302 src/gpu/vk/GrVkPipelineState.cpp:302: texture->texturePriv().setMaxMipMapLevel(mipLevels); can this be done in generateMipmap? Might be ...
4 years, 8 months ago (2016-04-25 21:01:09 UTC) #5
jvanverth1
https://codereview.chromium.org/1916563002/diff/120001/src/gpu/vk/GrVkPipelineState.cpp File src/gpu/vk/GrVkPipelineState.cpp (right): https://codereview.chromium.org/1916563002/diff/120001/src/gpu/vk/GrVkPipelineState.cpp#newcode302 src/gpu/vk/GrVkPipelineState.cpp:302: texture->texturePriv().setMaxMipMapLevel(mipLevels); On 2016/04/25 21:01:09, egdaniel wrote: > can this ...
4 years, 8 months ago (2016-04-26 14:18:26 UTC) #6
egdaniel
lgtm
4 years, 8 months ago (2016-04-26 14:21:57 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1916563002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1916563002/140001
4 years, 8 months ago (2016-04-26 14:28:39 UTC) #9
commit-bot: I haz the power
4 years, 8 months ago (2016-04-26 15:01:47 UTC) #11
Message was sent while issue was closed.
Committed patchset #8 (id:140001) as
https://skia.googlesource.com/skia/+/62340067270c5c3365afa6b40b8e995ae6a6c1ec

Powered by Google App Engine
This is Rietveld 408576698