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

Issue 2356703002: Is char* or uintptr_t easier to read? (Closed)

Created:
4 years, 3 months ago by cblume
Modified:
4 years, 3 months ago
Reviewers:
bsalomon, ericrk
CC:
reviews_skia.org
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Is char* or uintptr_t easier to read? Using a char* instead of uintptr_t allows us to use fewer reinterpret_casts which may make the code easier to read. BUG=648512 GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2356703002 Committed: https://skia.googlesource.com/skia/+/921bc678a7b81de31b4e672326ed2f37ffb66b10

Patch Set 1 #

Patch Set 2 : Rebasing. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+28 lines, -36 lines) Patch
M src/image/SkImage_Gpu.cpp View 1 5 chunks +28 lines, -36 lines 0 comments Download

Messages

Total messages: 22 (10 generated)
cblume
PTAL This is only to see if we prefer this style of code for readability. ...
4 years, 3 months ago (2016-09-20 06:19:16 UTC) #3
Brian Osman
On 2016/09/20 06:19:16, cblume wrote: > PTAL > > This is only to see if ...
4 years, 3 months ago (2016-09-20 12:58:13 UTC) #4
bsalomon
I'd support adding SkAlign* variants that work on char*.
4 years, 3 months ago (2016-09-20 13:08:02 UTC) #5
reed1
On 2016/09/20 13:08:02, bsalomon wrote: > I'd support adding SkAlign* variants that work on char*. ...
4 years, 3 months ago (2016-09-20 13:40:08 UTC) #6
ericrk
On 2016/09/20 13:40:08, reed1 wrote: > On 2016/09/20 13:08:02, bsalomon wrote: > > I'd support ...
4 years, 3 months ago (2016-09-20 14:43:08 UTC) #7
cblume
Okay, sounds pretty unanimous that we all prefer char*. Thank you for that recommendation, Eric! ...
4 years, 3 months ago (2016-09-20 18:09:28 UTC) #10
cblume
On 2016/09/20 18:09:28, cblume wrote: > Okay, sounds pretty unanimous that we all prefer char*. ...
4 years, 3 months ago (2016-09-21 01:17:10 UTC) #13
bsalomon
lgtm
4 years, 3 months ago (2016-09-21 13:10:28 UTC) #14
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/2356703002/20001
4 years, 3 months ago (2016-09-21 18:52:10 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: Build-Win-MSVC-x86-Debug-Trybot on master.client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Win-MSVC-x86-Debug-Trybot/builds/11831)
4 years, 3 months ago (2016-09-21 19:04:39 UTC) #18
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/2356703002/20001
4 years, 3 months ago (2016-09-22 04:27:45 UTC) #20
commit-bot: I haz the power
4 years, 3 months ago (2016-09-22 12:25:29 UTC) #22
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://skia.googlesource.com/skia/+/921bc678a7b81de31b4e672326ed2f37ffb66b10

Powered by Google App Engine
This is Rietveld 408576698