Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(45)

Unified Diff: dm/DMGpuSupport.cpp

Issue 847273005: More natural way to serialize GPU tasks and tests. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: always stack-scope GrContextFactories Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « dm/DMGpuSupport.h ('k') | dm/DMSrcSink.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dm/DMGpuSupport.cpp
diff --git a/dm/DMGpuSupport.cpp b/dm/DMGpuSupport.cpp
deleted file mode 100644
index 87a406b4846f110267ca41f7618b75fbfddbb804..0000000000000000000000000000000000000000
--- a/dm/DMGpuSupport.cpp
+++ /dev/null
@@ -1,9 +0,0 @@
-#include "DMGpuSupport.h"
-#include "SkTLS.h"
-
-static void* create_gr_factory() { return new GrContextFactory; }
-static void delete_gr_factory(void* p) { delete (GrContextFactory*)p; }
-
-GrContextFactory* GetThreadLocalGrContextFactory() {
- return (GrContextFactory*)SkTLS::Get(create_gr_factory, delete_gr_factory);
-}
« no previous file with comments | « dm/DMGpuSupport.h ('k') | dm/DMSrcSink.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698