skia2/include/gpu
cdalton e2e71c2df4 Track GL buffer state based on unique resource ID
Reworks GrGLGpu to track GL buffer state based on the unique
GrGpuResource ID. This eliminates the need to notify the gpu object
whenever a buffer is deleted.

This change also allows us to remove the type specifier from GrBuffer.
At this point a buffer is just a chunk of memory, and the type
given at creation time is just a suggestion to the GL backend about
which target to bind to for updates.

BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1854283004

Committed: https://skia.googlesource.com/skia/+/deacc97bc63513b5eacaf21f858727f6e8b98ce5

Review URL: https://codereview.chromium.org/1854283004
2016-04-07 18:13:29 -07:00
..
effects added support for PLS path rendering 2016-01-30 09:59:10 -08:00
gl Expose GrGLAssembleInterface 2016-03-31 10:22:20 -07:00
vk Add WSI functions to GrVkInterface 2016-03-28 07:03:06 -07:00
GrBlend.h Create fragment processor for performing input color blend with child processor 2015-09-15 15:33:27 -07:00
GrCaps.h Consolidate GPU buffer implementations 2016-03-25 12:15:03 -07:00
GrClip.h Begin weaning GrClipMaskManager off of GrDrawTarget (take 2) 2016-03-02 09:26:36 -08:00
GrColor.h sRGB support in Ganesh. Several pieces: 2016-03-21 06:55:37 -07:00
GrConfig.h Remove version checks for _MSC_VER < 1800 (msvs2013). 2016-03-10 11:14:40 -08:00
GrContext.h Add GrContext::releaseAndAbandonContext() 2016-04-01 11:54:31 -07:00
GrContextOptions.h Consolidate GPU buffer implementations 2016-03-25 12:15:03 -07:00
GrCoordTransform.h some utils for rect and matrix 2015-03-13 06:08:28 -07:00
GrDrawContext.h SkSurfaceProps now has a gamma-correct ("AllowSRGBInputs") flag. That's propagated in a few places so that the backend can do the right thing for L32 vs S32 mode. 2016-04-06 07:38:23 -07:00
GrFragmentProcessor.h Change prealloc number of child FPs be 1 rather than 2 2015-11-19 11:04:48 -05:00
GrGpuResource.h Add onMemoryDump to GrContext 2015-09-15 14:16:10 -07:00
GrGpuResourceRef.h apply mozilla patch 2015-11-10 04:55:08 -08:00
GrInvariantOutput.h Make skpaint->grpaint flow work for composing draws (verts and atlas) 2015-09-28 06:26:29 -07:00
GrPaint.h SkSurfaceProps now has a gamma-correct ("AllowSRGBInputs") flag. That's propagated in a few places so that the backend can do the right thing for L32 vs S32 mode. 2016-04-06 07:38:23 -07:00
GrProcessor.h Add "sample locations" feature to GrProcessor 2016-03-07 13:58:26 -08:00
GrProcessorUnitTest.h Move SkTArray to include/private. 2016-02-17 13:13:44 -08:00
GrProgramElement.h Move SkTArray to include/private. 2016-02-17 13:13:44 -08:00
GrRenderTarget.h Dependencies are now added between the drawTargets in GrPipeline 2015-10-30 10:11:30 -07:00
GrResourceKey.h Fix thread-unsafe construction of GrUniqueKey in GR_DEFINE_STATIC_UNIQUE_KEY 2015-12-17 08:15:47 -08:00
GrShaderVar.h added support for PLS path rendering 2016-01-30 09:59:10 -08:00
GrSurface.h Cleaning up trailing spaces and typos. 2016-01-26 09:10:48 -08:00
GrTestUtils.h Appease valgrind wrt testing code initialization 2016-04-07 09:01:20 -07:00
GrTexture.h Add support for vertex and geometry shader textures 2016-03-11 10:07:37 -08:00
GrTextureAccess.h Add sampler precision to GrTextureAccess 2016-03-11 13:34:32 -08:00
GrTextureParams.h sRGB support in Ganesh. Several pieces: 2016-03-21 06:55:37 -07:00
GrTextureProvider.h Don't allow nullptr in texels array params (unless using a transfer buffer). 2016-03-09 06:25:16 -08:00
GrTypes.h SkSurfaceProps now has a gamma-correct ("AllowSRGBInputs") flag. That's propagated in a few places so that the backend can do the right thing for L32 vs S32 mode. 2016-04-06 07:38:23 -07:00
GrTypesPriv.h Track GL buffer state based on unique resource ID 2016-04-07 18:13:29 -07:00
GrXferProcessor.h added support for PLS path rendering 2016-01-30 09:59:10 -08:00
SkGr.h sRGB support in Ganesh. Several pieces: 2016-03-21 06:55:37 -07:00
SkGrPixelRef.h Make SkBitmap::CopyTo respect requested dst color type when bitmap is texture backed. 2016-01-11 11:14:17 -08:00
SkGrTexturePixelRef.h Sanitizing source files in Skia_Periodic_House_Keeping 2013-01-26 07:06:02 +00:00