commit | 9fbcad0f00d7098574cf3394a812c9d845c9cc5b | [log] [tgz] |
---|---|---|
author | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Sun Sep 09 14:44:15 2012 +0000 |
committer | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Sun Sep 09 14:44:15 2012 +0000 |
tree | 7cc1373d7288d7ba373caf108745e9aa311fc838 | |
parent | 3590a248bb110a5346b6e2cbdda5cc3345cbe01b [diff] [blame] |
Removed old resource locking system https://codereview.appspot.com/6488098/ git-svn-id: http://skia.googlecode.com/svn/trunk@5453 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/src/gpu/GrStencilBuffer.cpp b/src/gpu/GrStencilBuffer.cpp index 2b7dfed..da59762 100644 --- a/src/gpu/GrStencilBuffer.cpp +++ b/src/gpu/GrStencilBuffer.cpp
@@ -14,10 +14,10 @@ GR_DEFINE_RESOURCE_CACHE_TYPE(GrStencilBuffer) -void GrStencilBuffer::transferToCacheAndLock() { +void GrStencilBuffer::transferToCache() { GrAssert(NULL == this->getCacheEntry()); - this->getGpu()->getContext()->addAndLockStencilBuffer(this); + this->getGpu()->getContext()->addStencilBuffer(this); } namespace {