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

Issue 1277933003: First pass at drawAtlas batching. (Closed)

Created:
5 years, 4 months ago by jvanverth1
Modified:
5 years, 4 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

First pass at drawAtlas batching. Moves drawAtlas setup into its own method in GrDrawContext, and adds DrawAtlasBatch. Uses pre-built index buffer for quads. TBR=bsalomon@google.com Committed: https://skia.googlesource.com/skia/+/31ff762dc8bfcd86eb4af92b18fdad36913a04e5

Patch Set 1 #

Patch Set 2 : Update to ToT; fix interface change #

Total comments: 18

Patch Set 3 : Some clean up #

Patch Set 4 : Remove fIndices #

Total comments: 2

Patch Set 5 : Fix comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+285 lines, -41 lines) Patch
M include/gpu/GrDrawContext.h View 1 2 3 4 2 chunks +21 lines, -0 lines 0 comments Download
M src/gpu/GrDrawContext.cpp View 1 2 3 3 chunks +244 lines, -0 lines 0 comments Download
M src/gpu/SkGpuDevice.cpp View 1 chunk +20 lines, -41 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 14 (5 generated)
jvanverth1
Reduces percentage of time in memmove from ~20% to ~17% (it's pretty noisy). This is ...
5 years, 4 months ago (2015-08-06 20:58:46 UTC) #2
robertphillips
https://codereview.chromium.org/1277933003/diff/20001/src/gpu/GrDrawContext.cpp File src/gpu/GrDrawContext.cpp (right): https://codereview.chromium.org/1277933003/diff/20001/src/gpu/GrDrawContext.cpp#newcode701 src/gpu/GrDrawContext.cpp:701: SkTDArray<SkPoint> fPositions; Can we remove 'fIndices' ? https://codereview.chromium.org/1277933003/diff/20001/src/gpu/GrDrawContext.cpp#newcode816 src/gpu/GrDrawContext.cpp:816: ...
5 years, 4 months ago (2015-08-07 13:36:38 UTC) #3
jvanverth1
https://codereview.chromium.org/1277933003/diff/20001/src/gpu/GrDrawContext.cpp File src/gpu/GrDrawContext.cpp (right): https://codereview.chromium.org/1277933003/diff/20001/src/gpu/GrDrawContext.cpp#newcode701 src/gpu/GrDrawContext.cpp:701: SkTDArray<SkPoint> fPositions; On 2015/08/07 13:36:37, robertphillips wrote: > Can ...
5 years, 4 months ago (2015-08-07 15:55:17 UTC) #4
robertphillips
lgtm (with dox questions) although I would like Joshua to weigh in too. https://codereview.chromium.org/1277933003/diff/60001/include/gpu/GrDrawContext.h File ...
5 years, 4 months ago (2015-08-07 16:12:38 UTC) #5
joshualitt
On 2015/08/07 16:12:38, robertphillips wrote: > lgtm (with dox questions) although I would like Joshua ...
5 years, 4 months ago (2015-08-07 16:23:56 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1277933003/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1277933003/80001
5 years, 4 months ago (2015-08-07 16:59:40 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: skia_presubmit-Trybot on client.skia.fyi (JOB_FAILED, http://build.chromium.org/p/client.skia.fyi/builders/skia_presubmit-Trybot/builds/1711)
5 years, 4 months ago (2015-08-07 17:00:41 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1277933003/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1277933003/80001
5 years, 4 months ago (2015-08-07 17:02:13 UTC) #13
commit-bot: I haz the power
5 years, 4 months ago (2015-08-07 17:09:31 UTC) #14
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://skia.googlesource.com/skia/+/31ff762dc8bfcd86eb4af92b18fdad36913a04e5

Powered by Google App Engine
This is Rietveld 408576698