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

Issue 118143002: Initialize writen paths and strokerecs lazily during GPU drawPath (Closed)

Created:
7 years ago by Kimmo Kinnunen
Modified:
6 years, 11 months ago
CC:
skia-review_googlegroups.com
Visibility:
Public.

Description

Initialize written paths and strokerecs lazily during GPU drawPath Initialize SkPaths and SkStrokeRecs lazily during GPU drawPath calls. The constructors seem to appear in some profiler results on ARM (~1%). Committed: http://code.google.com/p/skia/source/detail?r=13069

Patch Set 1 #

Patch Set 2 : #

Total comments: 4

Patch Set 3 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -17 lines) Patch
M src/gpu/GrContext.cpp View 1 2 4 chunks +10 lines, -10 lines 0 comments Download
M src/gpu/SkGpuDevice.cpp View 1 2 2 chunks +10 lines, -7 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Kimmo Kinnunen
.. though the profiler setup I'm using is not perhaps the most reliable. This doesn't ...
7 years ago (2013-12-18 10:22:56 UTC) #1
bsalomon
I can't imagine it's ever worse and doesn't seem overly complex, so lgtm. https://codereview.chromium.org/118143002/diff/20001/src/gpu/GrContext.cpp File ...
7 years ago (2013-12-18 15:20:04 UTC) #2
Kimmo Kinnunen
https://codereview.chromium.org/118143002/diff/20001/src/gpu/GrContext.cpp File src/gpu/GrContext.cpp (right): https://codereview.chromium.org/118143002/diff/20001/src/gpu/GrContext.cpp#newcode1153 src/gpu/GrContext.cpp:1153: const SkPath* pathPtr = &path; On 2013/12/18 15:20:04, bsalomon ...
7 years ago (2013-12-19 06:30:01 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/kkinnunen@nvidia.com/118143002/40001
6 years, 11 months ago (2014-01-14 18:18:12 UTC) #4
commit-bot: I haz the power
6 years, 11 months ago (2014-01-14 18:42:36 UTC) #5
Message was sent while issue was closed.
Change committed as 13069

Powered by Google App Engine
This is Rietveld 408576698