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

Issue 56453002: speed up A8 (Closed)

Created:
7 years, 1 month ago by reed1
Modified:
7 years, 1 month ago
CC:
skia-review_googlegroups.com
Visibility:
Public.

Description

speed up A8 by creating a new entry-point in SkDraw that blits the path's coverage directly into an A8 target, regardless of the previous pixel values. R=bsalomon@google.com, mtklein@google.com Committed: https://code.google.com/p/skia/source/detail?r=12118

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 6

Patch Set 4 : #

Patch Set 5 : #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+199 lines, -25 lines) Patch
A bench/CoverageBench.cpp View 1 2 3 1 chunk +70 lines, -0 lines 0 comments Download
M gyp/bench.gypi View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M include/core/SkDraw.h View 1 2 3 chunks +20 lines, -4 lines 0 comments Download
M include/core/SkRect.h View 1 2 3 2 chunks +10 lines, -1 line 0 comments Download
M src/core/SkBlitter.h View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M src/core/SkBlitter.cpp View 1 2 3 chunks +11 lines, -3 lines 0 comments Download
M src/core/SkBlitter_A8.cpp View 1 2 1 chunk +53 lines, -0 lines 0 comments Download
M src/core/SkCoreBlitters.h View 1 2 1 chunk +11 lines, -0 lines 1 comment Download
M src/core/SkDraw.cpp View 1 2 3 chunks +5 lines, -4 lines 0 comments Download
M src/gpu/GrSWMaskHelper.h View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M src/gpu/GrSWMaskHelper.cpp View 1 2 3 chunks +14 lines, -11 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
reed1
7 years, 1 month ago (2013-11-01 20:55:38 UTC) #1
mtklein
would be nice to know by how much :) https://codereview.chromium.org/56453002/diff/40001/gm/aaclip.cpp File gm/aaclip.cpp (right): https://codereview.chromium.org/56453002/diff/40001/gm/aaclip.cpp#newcode13 gm/aaclip.cpp:13: ...
7 years, 1 month ago (2013-11-01 21:55:45 UTC) #2
bsalomon
https://codereview.chromium.org/56453002/diff/40001/include/core/SkDraw.h File include/core/SkDraw.h (right): https://codereview.chromium.org/56453002/diff/40001/include/core/SkDraw.h#newcode81 include/core/SkDraw.h:81: void drawPathCoverage(const SkPath& src, const SkPaint& paint) const { ...
7 years, 1 month ago (2013-11-04 14:50:13 UTC) #3
reed1
https://codereview.chromium.org/56453002/diff/40001/include/core/SkDraw.h File include/core/SkDraw.h (right): https://codereview.chromium.org/56453002/diff/40001/include/core/SkDraw.h#newcode81 include/core/SkDraw.h:81: void drawPathCoverage(const SkPath& src, const SkPaint& paint) const { ...
7 years, 1 month ago (2013-11-04 20:00:37 UTC) #4
reed1
/skia/trunk> rbench --match draw_coverage skia bench: mode=normal alpha=0xFF antialias=1 filter=0 dither=default rotate=0 scale=0 clip=0 scalar=float ...
7 years, 1 month ago (2013-11-04 20:00:47 UTC) #5
mtklein
lgtm
7 years, 1 month ago (2013-11-04 20:09:22 UTC) #6
bsalomon
On 2013/11/04 20:09:22, mtklein wrote: > lgtm lgtm
7 years, 1 month ago (2013-11-04 20:10:15 UTC) #7
reed1
Committed patchset #5 manually as r12118 (presubmit successful).
7 years, 1 month ago (2013-11-04 20:10:44 UTC) #8
robertphillips
7 years, 1 month ago (2013-11-05 17:17:46 UTC) #9
Message was sent while issue was closed.
lgtm + nit

https://codereview.chromium.org/56453002/diff/160001/src/core/SkCoreBlitters.h
File src/core/SkCoreBlitters.h (right):

https://codereview.chromium.org/56453002/diff/160001/src/core/SkCoreBlitters....
src/core/SkCoreBlitters.h:51: virtual const SkBitmap*
justAnOpaqueColor(uint32_t*) SK_OVERRIDE;
private:
INHERITED?

Powered by Google App Engine
This is Rietveld 408576698