skia2/tools/gpu
Brian Salomon 5627d65146 Add method to sk_gpu_test::TestContext to automatically restore the previous context.
The motivation for this is to allow a GM to create a GL context, do some some work in it, and then return to the context that was set when it was invoked.

Change-Id: Ie8496072a10f8f3ff36a08889e593a6ca961b61a
Reviewed-on: https://skia-review.googlesource.com/70720
Commit-Queue: Brian Salomon <bsalomon@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
2017-11-16 16:30:53 +00:00
..
gl Add method to sk_gpu_test::TestContext to automatically restore the previous context. 2017-11-16 16:30:53 +00:00
mock Add method to sk_gpu_test::TestContext to automatically restore the previous context. 2017-11-16 16:30:53 +00:00
mtl Add method to sk_gpu_test::TestContext to automatically restore the previous context. 2017-11-16 16:30:53 +00:00
vk Add method to sk_gpu_test::TestContext to automatically restore the previous context. 2017-11-16 16:30:53 +00:00
FenceSync.h Add NV_fence support to get better timing from ANGLE ES2 2017-10-10 21:13:03 +00:00
GpuTimer.h skpbench: add option for gpu timing 2016-10-05 08:42:03 -07:00
GrContextFactory.cpp Add method to sk_gpu_test::TestContext to automatically restore the previous context. 2017-11-16 16:30:53 +00:00
GrContextFactory.h Drop support for OSMesa in test tools and remove build bot 2017-11-13 16:20:10 +00:00
GrTest.cpp Add flag on GrBackendTexture to say whether texture is mipped or not 2017-10-12 17:02:41 +00:00
GrTest.h Add flag on GrBackendTexture to say whether texture is mipped or not 2017-10-12 17:02:41 +00:00
TestContext.cpp Add method to sk_gpu_test::TestContext to automatically restore the previous context. 2017-11-16 16:30:53 +00:00
TestContext.h Add method to sk_gpu_test::TestContext to automatically restore the previous context. 2017-11-16 16:30:53 +00:00