History log of /external/skia/src/gpu/GrStrokeInfo.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
261694c98a4de4c67fb719e365c0345da0473a17 05-May-2015 kkinnunen <kkinnunen@nvidia.com> Avoid using SkPathEffect::DashInfo in GrStrokeInfo

Avoid using SkPathEffect::DashInfo for storing the phase
in GrStrokeInfo. Instead, just use normal instance variables.

Fixes the copy constructor pointing the DashInfo interval pointer
to the wrong interval data.

Also fixes GrStrokeInfo::setDashInfo(const SkPathEffect::DashInfo&)
by updating the fDashType correctly.

Makes it simpler to write code such as the operator== in the future.

Review URL: https://codereview.chromium.org/1110093002
/external/skia/src/gpu/GrStrokeInfo.h
fa2008ff6ee5963fc2566b20c1af39367b77bdf7 29-Apr-2015 joshualitt <joshualitt@chromium.org> Add dash lines batch unit test

BUG=skia:

Review URL: https://codereview.chromium.org/1108053004
/external/skia/src/gpu/GrStrokeInfo.h
1899651ffc459f5462aa989cd6d08507947b67e4 27-Apr-2015 kkinnunen <kkinnunen@nvidia.com> Extract gpu line dashing to GrDashLinePathRenderer

Move line dashing logic from GrContext::drawPath to
GrDashLinePathRenderer. This makes it possible to let path renderers render arbitrary dashed paths.

End goal is to implement dashing in GrStencilAndCoverPathRenderer.

Review URL: https://codereview.chromium.org/1100073003
/external/skia/src/gpu/GrStrokeInfo.h
49f085dddff10473b6ebf832a974288300224e60 05-Sep-2014 bsalomon <bsalomon@google.com> "NULL !=" = NULL

R=reed@google.com

Author: bsalomon@google.com

Review URL: https://codereview.chromium.org/544233002
/external/skia/src/gpu/GrStrokeInfo.h
e61c411c1258a323a010558c08de3d9f8d170dca 12-Jun-2014 egdaniel <egdaniel@google.com> Use vertex attributes for dash effect in gpu

This will allow us to batch dashed lines together when drawing. Also, this removes the need for
a coord transform matrix in the shader, thus we save the cost of uploading a new matrix uniform
everytime we do a simple transform to the dashed line we are drawing.

BUG=skia:
R=bsalomon@google.com

Author: egdaniel@google.com

Review URL: https://codereview.chromium.org/326103002
/external/skia/src/gpu/GrStrokeInfo.h
d58a0ba9cff9fcefe5047e88ccb4a6e76c591c40 11-Jun-2014 egdaniel <egdaniel@google.com> Push dash checks into GrContext.

Add class to hold stroke and dash info.

R=bsalomon@google.com, robertphillips@google.com, jvanverth@google.com

Author: egdaniel@google.com

Review URL: https://codereview.chromium.org/311183002
/external/skia/src/gpu/GrStrokeInfo.h