skia2/include/gpu
reed 85d9178832 Use SkImageCacherator in SkImages
Possible follow-up changes to consider

1. Roll SkImage_Raster and _Gpu into _Generator, where the generator (or cacherator) is backed by a pre-existing texture or raster.
2. Evolve SkImageUsageType into a verb requiring stretching, and have the caller (common code) digest the caps() and usage, so that subclasses are just told what to do (stretch or not)
3. Common code/utility to convert an unstretched texture into a stretch one (and cache it) if the generator can only make an unstretched one.

BUG=skia:

Review URL: https://codereview.chromium.org/1282363002
2015-09-10 14:33:38 -07:00
..
effects Brian requested a new namespace for factories that create fragment processors that combine 2 things with a xfermode. This way, we can change the implementation of these factories in the future to not use GrComposeEffect if desired. 2015-09-09 12:58:32 -07:00
gl Add skstd::unique_ptr and use it. 2015-09-07 12:45:52 -07:00
GrBlend.h Clean up SkTLogic. 2015-08-28 07:09:20 -07:00
GrCaps.h Add ANGLE workaround to prefer flushes over VRAM usage 2015-08-20 09:39:02 -07:00
GrClip.h Remove rect clip type from grclip. 2015-03-06 08:21:39 -08:00
GrColor.h Implement Porter Duff XP with a blend table 2015-05-27 15:08:33 -07:00
GrConfig.h Removing GrAutoMalloc 2015-05-29 08:06:48 -07:00
GrContext.h Add a mutex to GrContext::readSurfacePixels to protect against multiple CPU raster threads accessing the same GrContext to read back GPU input data 2015-09-10 08:12:46 -07:00
GrContextOptions.h Work around for nexus 6 TexSubImage issue 2015-06-18 14:18:03 -07:00
GrCoordTransform.h some utils for rect and matrix 2015-03-13 06:08:28 -07:00
GrDrawContext.h Late creation of GrPathProcessor 2015-09-10 11:00:51 -07:00
GrFragmentProcessor.h Change SkShader;asFragmentProcessor signature to no longer take skpaint\grcolor* 2015-08-28 18:46:56 -07:00
GrGpuResource.h remove SkInstCnt 2015-06-26 11:45:03 -07:00
GrGpuResourceRef.h remove SkInstCnt 2015-06-26 11:45:03 -07:00
GrInvariantOutput.h Change SkShader;asFragmentProcessor signature to no longer take skpaint\grcolor* 2015-08-28 18:46:56 -07:00
GrPaint.h Make GrProcessorDataManager a noop 2015-09-09 10:00:12 -07:00
GrPathRendererChain.h remove SkInstCnt 2015-06-26 11:45:03 -07:00
GrProcessor.h Remove overly complicated GR_CREATE_STATIC_PROCESSOR macro 2015-08-27 12:57:01 -07:00
GrProcessorDataManager.h Make GrProcessorDataManager a noop 2015-09-09 10:00:12 -07:00
GrProcessorUnitTest.h Change SkShader;asFragmentProcessor signature to no longer take skpaint\grcolor* 2015-08-28 18:46:56 -07:00
GrProgramElement.h Convert child FPs from refs to pending executions when parent converts 2015-08-27 16:43:48 -07:00
GrRect.h Begin atlasing 2014-06-30 08:26:50 -07:00
GrRenderTarget.h add ability to get FBO ID to Surface 2015-07-08 12:54:04 -07:00
GrResourceKey.h Move SkTemplates.h to private. 2015-08-19 11:56:48 -07:00
GrShaderVar.h Refactor position computation to enable device space "nudge" 2015-01-18 08:14:14 -08:00
GrSurface.h Defer flushes if kPreferNoIO is specified 2015-08-13 05:19:14 -07:00
GrTestUtils.h Implement caching of stroked paths in the tessellating path renderer. 2015-08-06 10:28:55 -07:00
GrTexture.h Move DstCoordTexture to GrXP, rename and remove the word "copy" from dstcopytexture names. 2015-05-26 09:49:05 -07:00
GrTextureAccess.h remove SkInstCnt 2015-06-26 11:45:03 -07:00
GrTextureProvider.h Some cleanup in GrTextureProvider and GrResourceProvider. 2015-07-31 13:59:31 -07:00
GrTypes.h Add new surface flag 2015-09-02 12:26:10 -07:00
GrTypesPriv.h Store context options on caps. 2015-05-22 14:01:46 -07:00
GrXferProcessor.h Convert child FPs from refs to pending executions when parent converts 2015-08-27 16:43:48 -07:00
SkGr.h Use SkImageCacherator in SkImages 2015-09-10 14:33:38 -07:00
SkGrPixelRef.h remove SkInstCnt 2015-06-26 11:45:03 -07:00
SkGrTexturePixelRef.h Sanitizing source files in Skia_Periodic_House_Keeping 2013-01-26 07:06:02 +00:00