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

Issue 1765633002: Don't allow nullptr in texels array params (unless using a transfer buffer). (Closed)

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

Description

Don't allow nullptr in texels array params (unless using a transfer buffer). Require all levels in writePixels to have a non-nullptr. GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1765633002 Committed: https://skia.googlesource.com/skia/+/8ee78f31b2a29a5f76403755ea17bad9be74a3ec Committed: https://skia.googlesource.com/skia/+/e699d0cd25fd059e3f0c4949e613e50c83a52179

Patch Set 1 #

Patch Set 2 : more #

Total comments: 2

Patch Set 3 : cleanup #

Patch Set 4 : Fix for Vulkan #

Patch Set 5 : Upload again in case prev didn't work #

Unified diffs Side-by-side diffs Delta from patch set Stats (+101 lines, -94 lines) Patch
M include/gpu/GrTextureProvider.h View 1 chunk +1 line, -1 line 0 comments Download
M src/gpu/GrGpu.h View 1 2 3 1 chunk +14 lines, -14 lines 0 comments Download
M src/gpu/GrGpu.cpp View 1 2 3 5 chunks +10 lines, -20 lines 0 comments Download
M src/gpu/GrTextureProvider.cpp View 1 2 4 chunks +22 lines, -9 lines 0 comments Download
M src/gpu/gl/GrGLGpu.cpp View 1 2 3 16 chunks +52 lines, -49 lines 0 comments Download
M src/gpu/vk/GrVkGpu.cpp View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 24 (12 generated)
bsalomon
4 years, 9 months ago (2016-03-03 20:55:04 UTC) #4
cblume
https://codereview.chromium.org/1765633002/diff/40001/src/gpu/GrGpu.cpp File src/gpu/GrGpu.cpp (right): https://codereview.chromium.org/1765633002/diff/40001/src/gpu/GrGpu.cpp#newcode191 src/gpu/GrGpu.cpp:191: return this->createTexture(desc, budgeted, SkTArray<GrMipLevel>()); I'm not sure I understand ...
4 years, 9 months ago (2016-03-03 22:54:46 UTC) #6
bsalomon
https://codereview.chromium.org/1765633002/diff/40001/src/gpu/GrGpu.cpp File src/gpu/GrGpu.cpp (right): https://codereview.chromium.org/1765633002/diff/40001/src/gpu/GrGpu.cpp#newcode191 src/gpu/GrGpu.cpp:191: return this->createTexture(desc, budgeted, SkTArray<GrMipLevel>()); On 2016/03/03 22:54:46, cblume wrote: ...
4 years, 9 months ago (2016-03-03 23:02:40 UTC) #7
bsalomon
PTAL
4 years, 9 months ago (2016-03-03 23:41:05 UTC) #8
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1765633002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1765633002/60001
4 years, 9 months ago (2016-03-03 23:42:27 UTC) #10
cblume
On 2016/03/03 23:41:05, bsalomon wrote: > PTAL Okay, I follow now. lgtm :)
4 years, 9 months ago (2016-03-03 23:47:01 UTC) #11
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 9 months ago (2016-03-03 23:54:00 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1765633002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1765633002/60001
4 years, 9 months ago (2016-03-04 14:22:13 UTC) #15
commit-bot: I haz the power
Committed patchset #3 (id:60001) as https://skia.googlesource.com/skia/+/8ee78f31b2a29a5f76403755ea17bad9be74a3ec
4 years, 9 months ago (2016-03-04 14:23:39 UTC) #17
bsalomon
A revert of this CL (patchset #3 id:60001) has been created in https://codereview.chromium.org/1760343003/ by bsalomon@google.com. ...
4 years, 9 months ago (2016-03-04 15:06:35 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1765633002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1765633002/100001
4 years, 9 months ago (2016-03-09 13:58:18 UTC) #22
commit-bot: I haz the power
4 years, 9 months ago (2016-03-09 14:25:22 UTC) #24
Message was sent while issue was closed.
Committed patchset #5 (id:100001) as
https://skia.googlesource.com/skia/+/e699d0cd25fd059e3f0c4949e613e50c83a52179

Powered by Google App Engine
This is Rietveld 408576698