diff options
author | 2015-01-21 15:50:13 -0800 | |
---|---|---|
committer | 2015-01-21 15:50:13 -0800 | |
commit | 55e88b226ccb85d2c712a9e3e9e1f5bdcaac05ac (patch) | |
tree | f711be035e9d1adb60baa3de80227ffacabb2de2 /dm/DMGpuSupport.h | |
parent | aa7079b4a19e6d53040c4fb5cd62f2dd39c2595e (diff) |
More natural way to serialize GPU tasks and tests.
This basically takes out the Windows-only hacks and promotes them to
cross-platform behavior driven by --gpu_threading.
- When --gpu_threading is false (the default), this puts GPU tasks and tests
together in the same GPU enclave. They all run serially.
- When --gpu_threading is true, both the tests and the tasks run totally
independently, just like the thread-safe CPU-bound work.
BUG=skia:3255
Review URL: https://codereview.chromium.org/847273005
Diffstat (limited to 'dm/DMGpuSupport.h')
-rw-r--r-- | dm/DMGpuSupport.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/dm/DMGpuSupport.h b/dm/DMGpuSupport.h index 335da08619..032151f49a 100644 --- a/dm/DMGpuSupport.h +++ b/dm/DMGpuSupport.h @@ -75,6 +75,4 @@ static inline SkSurface* NewGpuSurface(GrContextFactory*, #endif//SK_SUPPORT_GPU -GrContextFactory* GetThreadLocalGrContextFactory(); - #endif//DMGpuSupport_DEFINED |