skia2/tools/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
..
gl Delete duplicate null GL interface implementation 2016-04-01 09:04:35 -07:00
GrContextFactory.cpp One signature for creating unit tests that run on premade GrContexts 2016-04-05 12:59:06 -07:00
GrContextFactory.h Make existing unit tests only run on GL contexts 2016-04-06 14:02:39 -07:00
GrTest.cpp Track GL buffer state based on unique resource ID 2016-04-07 18:13:29 -07:00
GrTest.h Move SkGLContext and some GrGLInterface implementations to skgputest module 2016-03-30 18:56:20 -07:00