skia2/include/private
Mike Klein 26eb16f1e3 calculate cull rects for SkMiniPictures
This is the other half of https://skia-review.googlesource.com/c/7874/,
adding the cull-shrinking feature of SkBigPictures to SkMiniPictures.

Like SkBigPictures, shrink only when we're asked to build an R-tree.
(We don't actually build a tree for one rect, of course.)

We could do unconditionally, but SkPictureImageFilter uses the cull rect
as its crop.  It's unclear to me what this image filter unit test I've
changed here was intending... had it had two draws we would have shrunk
its cull, but because it was hitting the 1-draw SkMiniPicture path it
kept the larger user-supplied cull.

As the test doesn't appear to have been written with cull shrinking in
mind, I've removed its SkRTreeFactory to keep that feature explicitly
disabled there.

BUG=skia:5974

Change-Id: I4118d2e85f2a69adef2e7a7fa9b9b8c17607a94f
Reviewed-on: https://skia-review.googlesource.com/12624
Reviewed-by: Mike Klein <mtklein@chromium.org>
Commit-Queue: Mike Klein <mtklein@chromium.org>
2017-04-20 15:02:19 +00:00
..
GrAuditTrail.h Add tracking of unique proxyID beside unique renderTargetID in auditTrail and clearOp 2017-03-31 16:11:30 +00:00
GrGLSL_impl.h Merge GrGLSLCaps into GrShaderCaps 2016-11-29 19:32:31 +00:00
GrGLSL.h Allow FPs to elevate default precision for the entire fragment program 2017-04-05 14:00:50 +00:00
GrInstancedPipelineInfo.h Remove stencil related flags from GrInstancedPipelineInfo. 2017-03-01 20:16:45 +00:00
GrRenderTargetProxy.h Rebase and fix chromium 2017-03-04 13:49:47 +00:00
GrSingleOwner.h Reland of Make a single GrSingleOwner in GrContext (patchset #1 id:1 of https://codereview.chromium.org/1565303003/ ) 2016-01-08 10:09:13 -08:00
GrSurfaceProxy.h Revert "Plumb GrBackendTexture throughout skia." 2017-04-19 00:23:50 +00:00
GrSwizzle.h Add Swizzle FP, and remove swizzle logic from GrConfigConversionEffect 2017-03-22 19:16:30 +00:00
GrTextureProxy.h Push setMipColorMode calls further down-stack & add to GrTextureProxy 2017-03-15 18:34:32 +00:00
GrTextureRenderTargetProxy.h Allow GrSurfaceProxy-derived classes to use flags when instantiating (take 2) 2017-02-28 17:21:55 +00:00
SkAtomics.h Clean up some unused atomic routines. 2016-07-27 08:40:45 -07:00
SkBitmaskEnum.h SkPDF: SkPDFFont class changes 2016-08-16 09:36:23 -07:00
SkChecksum.h Use sse4.2 CRC32 instructions to hash when available. 2016-08-08 09:06:28 -07:00
SkFixed.h Revert "Fix new IT blocks ARMv8" 2017-03-07 00:55:02 +00:00
SkFloatBits.h Guard against buggy ucrt\math.h. 2016-11-28 15:40:23 +00:00
SkFloatingPoint.h Guard against buggy ucrt\math.h. 2016-11-28 15:40:23 +00:00
SkLeanWindows.h SkLeanWindows.h: #include "Windows.h" fewer places 2016-06-07 17:21:10 -07:00
SkMalloc.h Change SkMemory to the more accurately named SkMalloc. 2017-03-27 18:13:07 +00:00
SkMessageBus.h Purge clip masks when they are no longer findable. 2017-01-06 19:42:08 +00:00
SkMiniRecorder.h calculate cull rects for SkMiniPictures 2017-04-20 15:02:19 +00:00
SkMutex.h Type-erase SkAutoMutexAcquire and SkAutoExclusive. 2016-06-10 13:56:35 -07:00
SkOnce.h tweak SkOnce.h header to work around issues with std::atomic::compare_exchange_strong 2016-12-16 22:21:27 +00:00
SkRecords.h Revert[2] "More SkVertices implementation work"" 2017-03-17 14:27:33 +00:00
SkSafe_math.h Guard against buggy ucrt\math.h. 2016-11-28 15:40:23 +00:00
SkSemaphore.h Fix SkSemaphore comments. 2017-02-22 20:11:54 +00:00
SkShadowFlags.h Remove exec bit from source files. 2017-02-08 20:21:18 +00:00
SkShadowParams.h Make header files self-sufficient 2017-02-10 01:19:52 +00:00
SkSpinlock.h Cache GrColorSpaceXforms 2016-10-20 20:47:33 +00:00
SkTArray.h Fix SkTArray operator= to work with self assignment 2017-03-22 18:33:19 +00:00
SkTDArray.h Change SkMemory to the more accurately named SkMalloc. 2017-03-27 18:13:07 +00:00
SkTemplates.h make SkAutoTMalloc self-move safe 2017-04-07 19:06:12 +00:00
SkTFitsIn.h Templatize SkToXXX. 2016-03-19 15:06:56 -07:00
SkTHash.h Fix SkTHashTable dangling values 2017-03-10 17:28:04 +00:00
SkThreadID.h Unify ThreadID. 2015-09-29 14:38:01 -07:00
SkTLogic.h Fix syntax error for adjusting old stdc++ headers. 2017-01-13 21:26:03 +00:00
SkTSearch.h move SkTDict and SkTSearch into private 2016-01-03 18:36:05 -08:00
SkWeakRefCnt.h Mark overridden destructors with 'override' and remove 'virtual' 2017-03-22 16:06:18 +00:00