skia2/include
msarett fbfa258027 Optimized implementation of quickReject()
Impl Overview
(1) Keep the device clip bounds up to date.  This
    requires minimal additional work in a few places
    throughout canvas.
(2) Keep track of if the ctm isScaleTranslate.  Yes,
    there's a function that does this, but it's slow
    to call.
(3) Perform the src->device transform in quick reject,
    then check intersection/nan.

Other Notes:
(1) NaN and intersection checks are performed
    simultaneously.
(2) We no longer quick reject infinity.
(3) Affine and perspective are both handled in the slow
    case.
(4) SkRasterClip::isEmpty() is handled by the intersection
    check.

Performance on Nexus 6P:
93.2ms -> 59.8ms

Overall Android Jank Tests Performance Impact:
Should gain us a ms or two on some tests.

BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2225393002

Committed: https://skia.googlesource.com/skia/+/d22a817ff57986407facd16af36320fc86ce02da
Review-Url: https://codereview.chromium.org/2225393002
2016-08-12 08:29:08 -07:00
..
android Delete SkBitmapRegionCanvas 2016-05-18 06:23:57 -07:00
animator Change SkTime::GetMSecs to double; ensure values stored in SkMSec do not overflow. 2016-03-25 12:59:53 -07:00
c spin off easy stuff from Herb's windows GN CL 2016-08-04 06:19:33 -07:00
codec Add color space xform support to SkJpegCodec (includes F16!) 2016-07-29 06:23:33 -07:00
config SkPDF: Use Pathops clipping 2016-03-31 07:33:57 -07:00
core Optimized implementation of quickReject() 2016-08-12 08:29:08 -07:00
effects Implement GPU occluded blur mask filter 2016-08-10 16:25:25 -07:00
gpu Move GrAtlasTextContext to GrDrawingManager, so we only have one. 2016-08-11 12:17:32 -07:00
images gn: fix fiddle 2016-08-02 11:13:49 -07:00
pathops Move SkTDArray to private. 2016-02-18 08:53:33 -08:00
ports Remove no longer existing friend. 2016-08-10 09:23:43 -07:00
private Add flag for window rectangles to GrRenderTarget 2016-08-10 11:09:07 -07:00
svg Delete the legacy SVG parser 2016-07-19 06:12:54 -07:00
utils SkRTConf: eliminate 2016-08-04 10:47:16 -07:00
views Remove use of MakeRenderTargetDirect from view system 2016-07-28 15:17:34 -07:00
xml Initial SVG model 2016-07-26 18:46:34 -07:00