skia2/tools/gpu
Robert Phillips 6d36370c06 Add bullet proofing for preAbandonContext
With the more agressive abandonment of the GrContext state in https://skia-review.googlesource.com/c/skia/+/137121 (Fix abandonment of programs) (i.e., nulling out of the interface) it is necessary to add more guards so that we don't try calling GL methods when the context has been abandoned.

Change-Id: Ib2a3c17b9eaebd1eb84eb82a2781cf9d5a6a34a3
Reviewed-on: https://skia-review.googlesource.com/137362
Reviewed-by: Joe Gregorio <jcgregorio@google.com>
Reviewed-by: Greg Daniel <egdaniel@google.com>
Commit-Queue: Robert Phillips <robertphillips@google.com>
2018-06-25 13:52:55 +00:00
..
atlastext Add matrix stack to SkAtlasTextTarget. 2017-12-20 14:00:44 +00:00
gl Fix abandonment of programs 2018-06-25 12:09:55 +00:00
mock Remove legacy GrContext factories function and supporting code/types. 2018-03-23 21:12:50 +00:00
mtl Remove legacy GrContext factories function and supporting code/types. 2018-03-23 21:12:50 +00:00
vk Make GrVkBackendContext no longer derive from SkRefCnt. 2018-06-25 13:37:45 +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 Dest color space no longer impacts mipmaps or texture sampling 2018-06-01 17:00:26 +00:00
GrContextFactory.h Dest color space no longer impacts mipmaps or texture sampling 2018-06-01 17:00:26 +00:00
GrTest.cpp ccpr: Enable ccpr by default 2018-06-25 01:47:14 +00:00
GrTest.h Add SK_SUPPORT_LEGACY_BACKEND_OBJECTS 2018-04-12 14:56:10 +00:00
ProxyUtils.cpp Add bullet proofing for preAbandonContext 2018-06-25 13:52:55 +00:00
ProxyUtils.h Initial texture data is never flipped when uploaded. 2018-03-07 18:22:40 +00:00
TestContext.cpp Revert "Revert "Add method to sk_gpu_test::TestContext to automatically restore the previous context."" 2017-11-17 16:22:56 +00:00
TestContext.h Remove legacy GrContext factories function and supporting code/types. 2018-03-23 21:12:50 +00:00