/third_party/skia/third_party/externals/dawn/src/common/ |
D | RefCounted.cpp | 25 RefCounted::RefCounted(uint64_t payload) : mRefCount(kRefCountIncrement + payload) { in RefCounted() 30 return mRefCount >> kPayloadBits; in GetRefCountForTesting() 38 return kPayloadMask & mRefCount.load(std::memory_order_relaxed); in GetRefCountPayload() 42 ASSERT((mRefCount & ~kPayloadMask) != 0); in Reference() 49 mRefCount.fetch_add(kRefCountIncrement, std::memory_order_relaxed); in Reference() 53 ASSERT((mRefCount & ~kPayloadMask) != 0); in Release() 64 uint64_t previousRefCount = mRefCount.fetch_sub(kRefCountIncrement, std::memory_order_release); in Release()
|
D | RefCounted.h | 42 std::atomic<uint64_t> mRefCount;
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
D | CLObject.h | 25 cl_uint getRefCount() const noexcept { return mRefCount; } in getRefCount() 27 void retain() noexcept { ++mRefCount; } in retain() 31 if (mRefCount == 0u) in release() 36 return --mRefCount == 0u; in release() 52 std::atomic<cl_uint> mRefCount;
|
D | RefCountObject.h | 34 RefCountObject() : mRefCount(0) {} in RefCountObject() 38 void addRef() const { ++mRefCount; } in addRef() 42 ASSERT(mRefCount > 0); in release() 43 if (--mRefCount == 0) in release() 50 size_t getRefCount() const { return mRefCount; } in getRefCount() 53 virtual ~RefCountObject() { ASSERT(mRefCount == 0); } in ~RefCountObject() 55 mutable size_t mRefCount; variable
|
D | CLObject.cpp | 13 Object::Object() : mRefCount(1u) {} in Object() 17 if (mRefCount != 0u) in ~Object()
|
D | Surface.cpp | 69 mRefCount(0), in Surface() 256 mRefCount++; in makeCurrent() 269 ASSERT(mRefCount > 0); in releaseRef() 270 mRefCount--; in releaseRef() 271 if (mRefCount == 0 && mDestroyed) in releaseRef() 283 if (mRefCount == 0) in onDestroy() 538 mRefCount++; in bindTexImage()
|
D | Shader.cpp | 146 mRefCount(0), in Shader() 606 mRefCount++; in addRef() 611 mRefCount--; in release() 613 if (mRefCount == 0 && mDeleteStatus) in release() 621 return mRefCount; in getRefCount()
|
D | ResourceManager.cpp | 43 ResourceManagerBase::ResourceManagerBase() : mRefCount(1) {} in ResourceManagerBase() 49 mRefCount++; in addRef() 54 if (--mRefCount == 0) in release()
|
D | Context.h | 619 void addRef() const { mRefCount++; } in addRef() 620 void release() const { mRefCount--; } in release() 621 size_t getRefCount() const { return mRefCount; } in getRefCount() 799 mutable size_t mRefCount; variable
|
D | Program.h | 669 mRefCount++; in addRef() 675 mRefCount--; in release() 677 if (mRefCount == 0 && mDeleteStatus) in release() 878 unsigned int mRefCount; variable
|
D | Shader.h | 266 unsigned int mRefCount; // Number of program objects this shader is attached to variable
|
D | ResourceManager.h | 62 size_t mRefCount;
|
D | Surface.h | 225 int mRefCount; variable
|
D | Display.h | 103 size_t mRefCount;
|
D | Display.cpp | 553 : mRefCount(1), in ShareGroup() 582 mRefCount++; in addRef() 587 if (--mRefCount == 0) in release()
|
D | Program.cpp | 1375 mRefCount(0), in Program() 2030 ASSERT(mRefCount == 0 && mDeleteStatus); in deleteSelf() 2036 return mRefCount; in getRefCount()
|
D | Context.cpp | 406 mRefCount(0), in Context() 665 ASSERT(mIsDestroyed == true && mRefCount == 0); in onDestroy()
|
/third_party/openh264/module/ |
D | RefCounted.h | 89 ++mRefCount; in AddRef() 93 uint32_t newCount = --mRefCount; in Release() 102 : mRefCount(0) in RefCounted() 107 assert(!mRefCount); in ~RefCounted() 109 AtomicRefCount mRefCount; variable
|
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/ |
D | Shader.cpp | 38 mRefCount = 0; in Shader() 272 mRefCount++; in addRef() 277 mRefCount--; in release() 279 if(mRefCount == 0 && mDeleteStatus) in release() 287 return mRefCount; in getRefCount()
|
D | ResourceManager.cpp | 32 mRefCount = 1; in ResourceManager() 75 mRefCount++; in addRef() 80 if(--mRefCount == 0) in release()
|
D | ResourceManager.h | 93 std::size_t mRefCount;
|
D | Shader.h | 89 unsigned int mRefCount; // Number of program objects this shader is attached to variable
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/ |
D | VertexBuffer.cpp | 24 VertexBuffer::VertexBuffer() : mRefCount(1) in VertexBuffer() 43 mRefCount++; in addRef() 48 ASSERT(mRefCount > 0); in release() 49 mRefCount--; in release() 51 if (mRefCount == 0) in release()
|
D | VertexBuffer.h | 79 unsigned int mRefCount; variable
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/ |
D | vk_utils.h | 564 RefCounted() : mRefCount(0) {} 565 explicit RefCounted(T &&newObject) : mRefCount(0), mObject(std::move(newObject)) {} 566 ~RefCounted() { ASSERT(mRefCount == 0 && !mObject.valid()); } 568 RefCounted(RefCounted &©) : mRefCount(copy.mRefCount), mObject(std::move(copy.mObject)) 571 copy.mRefCount = 0; 576 std::swap(mRefCount, rhs.mRefCount); 583 ASSERT(mRefCount != std::numeric_limits<uint32_t>::max()); 584 mRefCount++; 590 mRefCount--; 593 bool isReferenced() const { return mRefCount != 0; } [all …]
|