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

Issue 2230513004: Re-adding analytical GeoProc for rectangles (Closed)

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

Description

Re-adding analytical GeoProc for rectangles Adapted old GeoProc because its knowledge of the geometry is helpful for computing the distance vector: https://skia.googlesource.com/skia/+/6006d0f8c4f19d19a12de20826f731f52ac822a7/src/gpu/GrAARectRenderer.cpp Added distance vector capabilities to this GeoProc. Modified GrDrawContext to used this GeoProc when drawing anti-aliased vectors with a shader that requires distance vectors. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2230513004 Committed: https://skia.googlesource.com/skia/+/09e12a6d4a75d281c47e00a64eeba893ba096f9e

Patch Set 1 #

Total comments: 8

Patch Set 2 : Addressed patch 1 comments #

Total comments: 4

Patch Set 3 : Addressed patch 2 comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+466 lines, -4 lines) Patch
M gyp/gpu.gypi View 1 1 chunk +2 lines, -0 lines 0 comments Download
M src/gpu/GrBatchTest.cpp View 2 chunks +2 lines, -0 lines 0 comments Download
M src/gpu/GrDrawContext.cpp View 1 1 chunk +2 lines, -2 lines 0 comments Download
A src/gpu/batches/GrAnalyticRectBatch.h View 1 1 chunk +36 lines, -0 lines 0 comments Download
A src/gpu/batches/GrAnalyticRectBatch.cpp View 1 1 chunk +414 lines, -0 lines 0 comments Download
M src/gpu/batches/GrRectBatchFactory.h View 1 2 2 chunks +10 lines, -2 lines 0 comments Download

Messages

Total messages: 15 (6 generated)
dvonbeck
4 years, 4 months ago (2016-08-09 21:36:52 UTC) #5
dvonbeck
4 years, 4 months ago (2016-08-09 21:36:53 UTC) #6
egdaniel
https://codereview.chromium.org/2230513004/diff/1/src/gpu/GrDrawContext.cpp File src/gpu/GrDrawContext.cpp (right): https://codereview.chromium.org/2230513004/diff/1/src/gpu/GrDrawContext.cpp#newcode398 src/gpu/GrDrawContext.cpp:398: batch.reset(GrRectRenderer::CreateAnalyticRectBatch(paint.getColor(), viewMatrix, Why not put the decision on which ...
4 years, 4 months ago (2016-08-12 17:37:06 UTC) #7
dvonbeck
https://codereview.chromium.org/2230513004/diff/1/src/gpu/GrDrawContext.cpp File src/gpu/GrDrawContext.cpp (right): https://codereview.chromium.org/2230513004/diff/1/src/gpu/GrDrawContext.cpp#newcode398 src/gpu/GrDrawContext.cpp:398: batch.reset(GrRectRenderer::CreateAnalyticRectBatch(paint.getColor(), viewMatrix, On 2016/08/12 17:37:06, egdaniel wrote: > Why ...
4 years, 4 months ago (2016-08-12 18:29:49 UTC) #8
egdaniel
https://codereview.chromium.org/2230513004/diff/20001/src/gpu/batches/GrRectBatchFactory.h File src/gpu/batches/GrRectBatchFactory.h (right): https://codereview.chromium.org/2230513004/diff/20001/src/gpu/batches/GrRectBatchFactory.h#newcode17 src/gpu/batches/GrRectBatchFactory.h:17: #include "GrAnalyticRectBatch.h" alphabetize this https://codereview.chromium.org/2230513004/diff/20001/src/gpu/batches/GrRectBatchFactory.h#newcode42 src/gpu/batches/GrRectBatchFactory.h:42: inline GrDrawBatch* CreateAAFill(GrPaint ...
4 years, 4 months ago (2016-08-12 18:33:11 UTC) #9
dvonbeck
https://codereview.chromium.org/2230513004/diff/20001/src/gpu/batches/GrRectBatchFactory.h File src/gpu/batches/GrRectBatchFactory.h (right): https://codereview.chromium.org/2230513004/diff/20001/src/gpu/batches/GrRectBatchFactory.h#newcode17 src/gpu/batches/GrRectBatchFactory.h:17: #include "GrAnalyticRectBatch.h" On 2016/08/12 18:33:11, egdaniel wrote: > alphabetize ...
4 years, 4 months ago (2016-08-12 18:43:10 UTC) #10
egdaniel
lgtm
4 years, 4 months ago (2016-08-12 18:55:22 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2230513004/40001
4 years, 4 months ago (2016-08-12 18:57:32 UTC) #13
commit-bot: I haz the power
4 years, 4 months ago (2016-08-12 19:50:40 UTC) #15
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://skia.googlesource.com/skia/+/09e12a6d4a75d281c47e00a64eeba893ba096f9e

Powered by Google App Engine
This is Rietveld 408576698