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

Unified Diff: src/gpu/GrProcessor.cpp

Issue 2138083002: skip call to clip::apply when clip is wide open Base URL: https://chromium.googlesource.com/skia.git@llist
Patch Set: rm gcmm Created 4 years, 5 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 | « src/gpu/GrDrawTarget.cpp ('k') | src/gpu/GrStencilAttachment.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « src/gpu/GrDrawTarget.cpp ('k') | src/gpu/GrStencilAttachment.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698