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

Issue 1940963002: Fix VK WritePixels with offset rect (Closed)

Created:
4 years, 7 months ago by jvanverth1
Modified:
4 years, 7 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

Fix VK WritePixels with offset rect VkUploadPixelsTest was failing because it was reallocating the image when it didn't need to, because it was not resetting the rowBytes when it did need to, and because the origin was incorrect when using bottom-up images. GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1940963002 Committed: https://skia.googlesource.com/skia/+/c578b06319f271ac46ac78e3b86f74fbceed360e

Patch Set 1 #

Total comments: 2

Patch Set 2 : Make sure we set at least one mipLevel #

Patch Set 3 : Clamp miplevel dimensions to be at least 1" #

Unified diffs Side-by-side diffs Delta from patch set Stats (+48 lines, -35 lines) Patch
M src/gpu/vk/GrVkGpu.cpp View 1 2 5 chunks +48 lines, -35 lines 0 comments Download

Messages

Total messages: 13 (7 generated)
jvanverth1
4 years, 7 months ago (2016-05-02 17:00:01 UTC) #5
jvanverth1
Updated to fix VkClearTests.
4 years, 7 months ago (2016-05-02 17:30:24 UTC) #6
egdaniel
lgtm with the one question https://codereview.chromium.org/1940963002/diff/1/src/gpu/vk/GrVkGpu.cpp File src/gpu/vk/GrVkGpu.cpp (right): https://codereview.chromium.org/1940963002/diff/1/src/gpu/vk/GrVkGpu.cpp#newcode422 src/gpu/vk/GrVkGpu.cpp:422: for (int currentMipLevel = ...
4 years, 7 months ago (2016-05-02 17:38:24 UTC) #7
jvanverth1
https://codereview.chromium.org/1940963002/diff/1/src/gpu/vk/GrVkGpu.cpp File src/gpu/vk/GrVkGpu.cpp (right): https://codereview.chromium.org/1940963002/diff/1/src/gpu/vk/GrVkGpu.cpp#newcode422 src/gpu/vk/GrVkGpu.cpp:422: for (int currentMipLevel = 1; currentMipLevel < texelsShallowCopy.count(); currentMipLevel++) ...
4 years, 7 months ago (2016-05-02 17:46:08 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1940963002/30001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1940963002/30001
4 years, 7 months ago (2016-05-02 17:46:49 UTC) #11
commit-bot: I haz the power
4 years, 7 months ago (2016-05-02 17:58:16 UTC) #13
Message was sent while issue was closed.
Committed patchset #3 (id:30001) as
https://skia.googlesource.com/skia/+/c578b06319f271ac46ac78e3b86f74fbceed360e

Powered by Google App Engine
This is Rietveld 408576698