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

Issue 1897203002: Implement instanced rendering for simple shapes (Closed)

Created:
4 years, 8 months ago by Chris Dalton
Modified:
4 years, 6 months ago
CC:
reviews_skia.org, nv_mark, Sami Väisänen
Base URL:
https://skia.googlesource.com/skia.git@upload2_requireHWAA
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Implement instanced rendering for simple shapes <TODO> BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1897203002

Patch Set 1 #

Total comments: 1

Patch Set 2 : fix msvc #

Patch Set 3 : #

Patch Set 4 : rebase + more cleanup #

Patch Set 5 : rebase + more cleanup #

Patch Set 6 : rebase #

Total comments: 53

Patch Set 7 : comments #

Patch Set 8 : comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3583 lines, -127 lines) Patch
M gyp/gpu.gypi View 1 2 3 3 chunks +7 lines, -0 lines 0 comments Download
M include/gpu/GrDrawContext.h View 1 2 2 chunks +4 lines, -1 line 0 comments Download
M include/gpu/gl/GrGLFunctions.h View 1 chunk +1 line, -1 line 0 comments Download
M src/gpu/GrClipMaskManager.cpp View 1 2 7 chunks +51 lines, -20 lines 0 comments Download
M src/gpu/GrDrawContext.cpp View 1 2 14 chunks +172 lines, -101 lines 0 comments Download
M src/gpu/GrDrawTarget.h View 2 chunks +7 lines, -0 lines 0 comments Download
M src/gpu/GrDrawTarget.cpp View 1 2 3 4 5 6 4 chunks +10 lines, -1 line 0 comments Download
M src/gpu/GrDrawingManager.cpp View 1 2 3 4 5 6 3 chunks +11 lines, -0 lines 0 comments Download
M src/gpu/GrGpu.h View 1 2 3 2 chunks +6 lines, -0 lines 0 comments Download
A src/gpu/GrInstancedRendering.h View 1 2 3 4 5 6 7 1 chunk +216 lines, -0 lines 0 comments Download
A src/gpu/GrInstancedRendering.cpp View 1 2 3 4 5 6 7 1 chunk +412 lines, -0 lines 0 comments Download
A src/gpu/GrInstancedRenderingTypes.h View 1 2 3 4 5 6 1 chunk +188 lines, -0 lines 0 comments Download
M src/gpu/batches/GrBatch.h View 2 chunks +9 lines, -0 lines 0 comments Download
A src/gpu/effects/GrInstanceProcessor.h View 1 2 3 4 5 6 1 chunk +58 lines, -0 lines 0 comments Download
A src/gpu/effects/GrInstanceProcessor.cpp View 1 2 3 4 5 6 1 chunk +2077 lines, -0 lines 0 comments Download
M src/gpu/gl/GrGLCaps.cpp View 1 2 3 1 chunk +5 lines, -2 lines 0 comments Download
M src/gpu/gl/GrGLGpu.h View 1 2 3 2 chunks +3 lines, -0 lines 0 comments Download
M src/gpu/gl/GrGLGpu.cpp View 1 2 3 2 chunks +5 lines, -0 lines 0 comments Download
A src/gpu/gl/GrGLInstancedRendering.h View 1 2 3 4 5 6 1 chunk +45 lines, -0 lines 0 comments Download
A src/gpu/gl/GrGLInstancedRendering.cpp View 1 2 3 4 5 6 1 chunk +295 lines, -0 lines 0 comments Download
M src/gpu/gl/GrGLTestInterface.h View 1 chunk +1 line, -1 line 0 comments Download

Depends on Patchset:

Messages

Total messages: 22 (6 generated)
Chris Dalton
https://codereview.chromium.org/1897203002/diff/1/src/gpu/GrDrawingManager.cpp File src/gpu/GrDrawingManager.cpp (right): https://codereview.chromium.org/1897203002/diff/1/src/gpu/GrDrawingManager.cpp#newcode48 src/gpu/GrDrawingManager.cpp:48: } This is a bit of a cop out. ...
4 years, 8 months ago (2016-04-19 09:50:33 UTC) #3
Chris Dalton
I remember hearing you can run trybots and pre-approve images. Is that right? Can someone ...
4 years, 8 months ago (2016-04-19 09:51:46 UTC) #4
Kimmo Kinnunen
On 2016/04/19 09:51:46, Chris Dalton wrote: > I remember hearing you can run trybots and ...
4 years, 8 months ago (2016-04-19 10:21:05 UTC) #5
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1897203002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1897203002/1
4 years, 8 months ago (2016-04-19 13:34:57 UTC) #7
commit-bot: I haz the power
Note for Reviewers: The CQ is waiting for an approval. If you believe that the ...
4 years, 8 months ago (2016-04-19 13:34:58 UTC) #8
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Build-Win-MSVC-x86-Debug-Trybot on client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Win-MSVC-x86-Debug-Trybot/builds/7952) Build-Win-MSVC-x86_64-Debug-Trybot on ...
4 years, 8 months ago (2016-04-19 13:38:07 UTC) #10
bsalomon
This is really nicely integrated. I'd like to get Rob's opinion on interaction with having ...
4 years, 8 months ago (2016-04-25 13:22:39 UTC) #11
Chris Dalton
Replying to a few comments. Thanks for the comprehensive review! To answer your main question, ...
4 years, 8 months ago (2016-04-25 17:01:19 UTC) #12
Chris Dalton
Ok, all the comments are either addressed now or open for more discussion. https://codereview.chromium.org/1897203002/diff/100001/src/gpu/GrInstancedRendering.cpp File ...
4 years, 8 months ago (2016-04-26 19:18:08 UTC) #13
bsalomon
https://codereview.chromium.org/1897203002/diff/100001/src/gpu/GrInstancedRendering.cpp File src/gpu/GrInstancedRendering.cpp (right): https://codereview.chromium.org/1897203002/diff/100001/src/gpu/GrInstancedRendering.cpp#newcode184 src/gpu/GrInstancedRendering.cpp:184: #if SK_SCALAR_IS_FLOAT On 2016/04/26 19:18:07, Chris Dalton wrote: > ...
4 years, 7 months ago (2016-04-27 14:10:32 UTC) #14
csmartdalton
4 years, 7 months ago (2016-05-20 00:46:58 UTC) #16
csmartdalton
https://codereview.chromium.org/1897203002/diff/100001/src/gpu/GrInstancedRendering.cpp File src/gpu/GrInstancedRendering.cpp (right): https://codereview.chromium.org/1897203002/diff/100001/src/gpu/GrInstancedRendering.cpp#newcode398 src/gpu/GrInstancedRendering.cpp:398: void GrInstancedRendering::Batch::onDelete() const { On 2016/04/27 14:10:32, bsalomon wrote: ...
4 years, 7 months ago (2016-05-20 01:09:46 UTC) #17
bsalomon
https://codereview.chromium.org/1897203002/diff/100001/src/gpu/GrInstancedRendering.cpp File src/gpu/GrInstancedRendering.cpp (right): https://codereview.chromium.org/1897203002/diff/100001/src/gpu/GrInstancedRendering.cpp#newcode398 src/gpu/GrInstancedRendering.cpp:398: void GrInstancedRendering::Batch::onDelete() const { On 2016/05/20 01:09:45, csmartdalton wrote: ...
4 years, 7 months ago (2016-05-20 14:04:49 UTC) #18
csmartdalton
https://codereview.chromium.org/1897203002/diff/100001/src/gpu/GrInstancedRendering.cpp File src/gpu/GrInstancedRendering.cpp (right): https://codereview.chromium.org/1897203002/diff/100001/src/gpu/GrInstancedRendering.cpp#newcode398 src/gpu/GrInstancedRendering.cpp:398: void GrInstancedRendering::Batch::onDelete() const { On 2016/05/20 14:04:48, bsalomon wrote: ...
4 years, 7 months ago (2016-05-21 06:54:25 UTC) #19
bsalomon
https://codereview.chromium.org/1897203002/diff/100001/src/gpu/GrInstancedRendering.cpp File src/gpu/GrInstancedRendering.cpp (right): https://codereview.chromium.org/1897203002/diff/100001/src/gpu/GrInstancedRendering.cpp#newcode398 src/gpu/GrInstancedRendering.cpp:398: void GrInstancedRendering::Batch::onDelete() const { On 2016/05/21 06:54:24, csmartdalton wrote: ...
4 years, 7 months ago (2016-05-23 14:05:43 UTC) #20
csmartdalton
4 years, 6 months ago (2016-06-15 19:41:25 UTC) #21

Powered by Google App Engine
This is Rietveld 408576698