skia2/include/gpu
bsalomon b77a907c2f Restructure flushing relationship between GrContext, GrDrawingManager, and GrResourceCache.
Consolidates all flush actions into GrDrawingManager and makes GrContext::flush a passthrough.

Removes the unused and untested discard flush variation.

Replaces the indirect overbudget callback mechanism of GrResourceCache with a flag set by resource cache when it wants to flush that is checked after each draw by GrDrawContext.

Modifies GrResourceCache::notifyFlushOccurred() to take a param indicating whether it triggered the
flush that just occurred.

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

Committed: https://skia.googlesource.com/skia/+/1dbb207babecdae8f1f74ed9d9900c73064df744
Review-Url: https://codereview.chromium.org/2307053002
2016-09-07 10:02:04 -07:00
..
effects sk_sp for Ganesh. 2016-06-09 08:01:03 -07:00
gl Add support for glDrawRangeElements 2016-08-29 09:18:39 -07:00
vk Add gyp define to enable vulkan debug layers 2016-07-27 08:03:57 -07:00
GrBlend.h Create fragment processor for performing input color blend with child processor 2015-09-15 15:33:27 -07:00
GrBuffer.h Add resource provider flag to avoid client-side buffers 2016-07-13 10:16:32 -07:00
GrBufferAccess.h Abandon offset support with texel buffers 2016-06-03 08:50:54 -07:00
GrCaps.h Include EXT_window_rectangles API 2016-08-09 12:42:47 -07:00
GrClip.h Converts a drawPaint through a rrect clip to a drawRRect in GrDrawContext. 2016-08-26 10:48:19 -07:00
GrColor.h GrColor4f is yet another 4f color type, unfortunately. 2016-06-24 12:50:19 -07:00
GrColorSpaceXform.h Add color gamut xform helpers to GrGLSLShaderBuilder 2016-09-07 08:09:10 -07:00
GrConfig.h Repurpose Release_Developer BUILDTYPE and remove SK_DEVELOPER. 2016-04-29 06:41:35 -07:00
GrContext.h Restructure flushing relationship between GrContext, GrDrawingManager, and GrResourceCache. 2016-09-07 10:02:04 -07:00
GrContextOptions.h Add test configs for instanced rendering 2016-07-29 08:14:20 -07:00
GrCoordTransform.h some utils for rect and matrix 2015-03-13 06:08:28 -07:00
GrDrawContext.h Flush some non-substantive Ganesh changes 2016-08-31 15:06:24 -07:00
GrFragmentProcessor.h GrFP can express distance vector field req., program builder declares variable for it 2016-08-01 11:01:56 -07:00
GrGpuResource.h Have GrSurfaceProxys and GrGpuResources draw from the same pool of unique ids 2016-08-31 14:04:06 -07:00
GrGpuResourceRef.h apply mozilla patch 2015-11-10 04:55:08 -08:00
GrInvariantOutput.h Added premulFourChannelColor to GrInvariantOutput 2016-07-14 09:02:18 -07:00
GrPaint.h Inline fast path for GrPaint::isConstantBlendedColor when no color FPs and src-over blend. 2016-08-11 07:39:33 -07:00
GrProcessor.h remove non-static uses of SkOncePtr 2016-05-02 07:19:41 -07:00
GrProcessorUnitTest.h sk_sp for Ganesh. 2016-06-09 08:01:03 -07:00
GrProgramElement.h Move SkTArray to include/private. 2016-02-17 13:13:44 -08:00
GrRenderTarget.h Add flag for window rectangles to GrRenderTarget 2016-08-10 11:09:07 -07:00
GrResourceKey.h Move off SK_SUPPORT_LEGACY_DATA_FACTORIES. 2016-08-02 14:40:46 -07:00
GrShaderVar.h Refactor how we store and use samplers in Ganesh 2016-04-20 07:09:46 -07:00
GrSurface.h Flush some non-substantive Ganesh changes 2016-08-31 15:06:24 -07:00
GrTestUtils.h Move GrNonAAFillRectPerspectiveBatch to its own file 2016-07-06 09:58:57 -07:00
GrTexture.h Better (?) interface for controlling sRGB-ness of mipmaps on GrTexture 2016-06-13 07:59:48 -07:00
GrTextureAccess.h Infer sampler precision from pixel config 2016-04-11 12:03:08 -07:00
GrTextureParams.h Remove sRGB overrides on GrTextureParams. Use GrPaint flags instead. 2016-05-24 06:18:48 -07:00
GrTextureProvider.h Remove some unnecessary #includes of SkImageFilter.h 2016-04-22 07:36:12 -07:00
GrTypes.h Add Vulkan docs 2016-09-06 14:18:13 -07:00
GrTypesPriv.h Improve usage of window rectangles 2016-09-06 10:01:07 -07:00
GrXferProcessor.h Remove hasMixedSamples() from GrPipelineBuilder 2016-05-06 09:41:16 -07:00
SkGr.h remove/deprecate SkBitmap::getTexture, as it now always returns false 2016-07-25 08:29:10 -07:00