Index: src/gpu/GrProcessor.cpp |
diff --git a/src/gpu/GrProcessor.cpp b/src/gpu/GrProcessor.cpp |
index 29482ccc63f90a154cd5bc5bc025c34721e82e22..7c8331862a174a7fc71fba303c20af10bbabb26b 100644 |
--- a/src/gpu/GrProcessor.cpp |
+++ b/src/gpu/GrProcessor.cpp |
@@ -81,12 +81,12 @@ void GrProcessorTestFactory<GrXPFactory>::VerifyFactoryCount() { |
// memory barrier between accesses of a context on different threads. Also, there may be multiple |
// GrContexts and those contexts may be in use concurrently on different threads. |
namespace { |
-static SkSpinlock gProcessorSpinlock; |
+//static SkSpinlock gProcessorSpinlock; |
class MemoryPoolAccessor { |
public: |
- MemoryPoolAccessor() { gProcessorSpinlock.acquire(); } |
+ MemoryPoolAccessor() { /*gProcessorSpinlock.acquire();*/ } |
- ~MemoryPoolAccessor() { gProcessorSpinlock.release(); } |
+ ~MemoryPoolAccessor() { /*gProcessorSpinlock.release();*/ } |
GrMemoryPool* pool() const { |
static GrMemoryPool gPool(4096, 4096); |