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

Issue 901593002: Remove opaque versions of Color32_D565 (Closed)

Created:
5 years, 10 months ago by henrik.smiding
Modified:
5 years, 10 months ago
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Remove opaque versions of Color32_D565 Removes the opaque-only versions of this function from the factory since they will never be used. Opaque source colors are handled in SkRGB16_Opaque_Blitter instead, which doesn't use the factory function. Signed-off-by: Henrik Smiding <henrik.smiding@intel.com>; Committed: https://skia.googlesource.com/skia/+/e6b1a60758aa16c0456ff8e1cf717c369e4e84b0

Patch Set 1 #

Patch Set 2 : Modified to remove opaque functions #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -9 lines) Patch
M src/core/SkBlitRow_D16.cpp View 1 2 chunks +4 lines, -7 lines 0 comments Download
M src/opts/SkBlitRow_opts_arm.cpp View 1 1 chunk +0 lines, -2 lines 0 comments Download

Messages

Total messages: 20 (4 generated)
henrik.smiding
Extracted from https://codereview.chromium.org/892623002/
5 years, 10 months ago (2015-02-04 12:19:58 UTC) #2
mtklein
This LGTM as documentation, however I think it may be that we're landing dead code. ...
5 years, 10 months ago (2015-02-04 13:54:31 UTC) #3
henrik.smiding
On 2015/02/04 13:54:31, mtklein wrote: > This LGTM as documentation, however I think it may ...
5 years, 10 months ago (2015-02-04 19:06:08 UTC) #4
mtklein
On 2015/02/04 19:06:08, henrik.smiding wrote: > On 2015/02/04 13:54:31, mtklein wrote: > > This LGTM ...
5 years, 10 months ago (2015-02-04 19:24:08 UTC) #5
reed1
On 2015/02/04 19:24:08, mtklein wrote: > On 2015/02/04 19:06:08, henrik.smiding wrote: > > On 2015/02/04 ...
5 years, 10 months ago (2015-02-04 22:33:54 UTC) #6
henrik.smiding
On 2015/02/04 22:33:54, reed1 wrote: > On 2015/02/04 19:24:08, mtklein wrote: > > On 2015/02/04 ...
5 years, 10 months ago (2015-02-05 11:37:31 UTC) #7
mtklein
On 2015/02/05 11:37:31, henrik.smiding wrote: > On 2015/02/04 22:33:54, reed1 wrote: > > On 2015/02/04 ...
5 years, 10 months ago (2015-02-05 14:28:47 UTC) #8
henrik.smiding
I removed the opaque optimization and trimmed the function list/array. Still can't get trybots to ...
5 years, 10 months ago (2015-02-08 20:08:42 UTC) #10
mtklein
lgtm
5 years, 10 months ago (2015-02-08 23:56:51 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/901593002/20001
5 years, 10 months ago (2015-02-08 23:57:42 UTC) #13
commit-bot: I haz the power
Committed patchset #2 (id:20001) as https://skia.googlesource.com/skia/+/e6b1a60758aa16c0456ff8e1cf717c369e4e84b0
5 years, 10 months ago (2015-02-09 00:03:29 UTC) #14
mtklein
After looking at the work required to update the Color32A_D565 algorithm, I don't think I'm ...
5 years, 10 months ago (2015-02-09 00:16:23 UTC) #15
mtklein
On 2015/02/09 00:16:23, mtklein wrote: > After looking at the work required to update the ...
5 years, 10 months ago (2015-02-09 00:17:48 UTC) #16
reed1
I'm not sure the proper explanation is that the current client doesn't call this. SkBlitRow ...
5 years, 10 months ago (2015-02-09 14:45:31 UTC) #18
henrik.smiding
On 2015/02/09 00:17:48, mtklein wrote: > On 2015/02/09 00:16:23, mtklein wrote: > > After looking ...
5 years, 10 months ago (2015-02-09 14:48:54 UTC) #19
henrik.smiding
5 years, 10 months ago (2015-02-12 12:32:57 UTC) #20
Message was sent while issue was closed.
On 2015/02/09 14:45:31, reed1 wrote:
> I'm not sure the proper explanation is that the current client doesn't call
> this.
> 
> SkBlitRow is an api, and it is better when it behaves "correctly" regardless
of
> the current client.
> 
> After this CL, is the API contract still met? If I call this with opaque
colors,
> will it draw correctly? If so, great. Perhaps the comment could be changed to
be
> : no need for the addition code specializing on opaque alpha at this time...

Opaque color would still work, just not as fast as the dedicated opaque blitter.
Will change the comment in my next patch.

Powered by Google App Engine
This is Rietveld 408576698