/third_party/skia/third_party/externals/dawn/src/common/ |
H A 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() 69 // memory barrier, when an acquire load on mRefCount (using the `ldar` instruction) in Release()
|
H A D | RefCounted.h | 42 std::atomic<uint64_t> mRefCount; member in RefCounted
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
H A D | CLObject.h | 25 cl_uint getRefCount() const noexcept { return mRefCount; } 27 void retain() noexcept { ++mRefCount; } 31 if (mRefCount == 0u) in release() 36 return --mRefCount == 0u; in release() 52 std::atomic<cl_uint> mRefCount; member in cl::Object
|
H A 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; member in angle::RefCountObject
|
H A D | CLObject.cpp | 13 Object::Object() : mRefCount(1u) {} in Object() 17 if (mRefCount != 0u) in ~Object()
|
H A 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()
|
H A 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()
|
H A D | ResourceManager.cpp | 43 ResourceManagerBase::ResourceManagerBase() : mRefCount(1) {} in ResourceManagerBase() 49 mRefCount++; in addRef() 54 if (--mRefCount == 0) in release()
|
H A 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; member in gl::final
|
H A D | Program.h | 669 mRefCount++; in addRef() 675 mRefCount--; in release() 677 if (mRefCount == 0 && mDeleteStatus) in release() 878 unsigned int mRefCount; member in gl::final
|
H A D | Shader.h | 266 unsigned int mRefCount; // Number of program objects this shader is attached to member in gl::final
|
H A D | Surface.h | 225 int mRefCount; member in egl::Surface
|
H A D | ResourceManager.h | 62 size_t mRefCount; member in gl::ResourceManagerBase
|
H A D | Display.h | 103 size_t mRefCount; member in egl::final
|
H A D | Display.cpp | 553 : mRefCount(1), in ShareGroup() 582 mRefCount++; in addRef() 587 if (--mRefCount == 0) in release()
|
H A D | Program.cpp | 1375 mRefCount(0), in Program() 2030 ASSERT(mRefCount == 0 && mDeleteStatus); in deleteSelf() 2036 return mRefCount; in getRefCount()
|
H A D | Context.cpp | 406 mRefCount(0), in Context() 665 ASSERT(mIsDestroyed == true && mRefCount == 0); in onDestroy()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/ |
H A 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()
|
H A D | VertexBuffer.h | 79 unsigned int mRefCount; member in rx::VertexBuffer
|
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/ |
H A 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()
|
H A D | ResourceManager.cpp | 32 mRefCount = 1; in ResourceManager() 75 mRefCount++; in addRef() 80 if(--mRefCount == 0) in release()
|
H A D | ResourceManager.h | 93 std::size_t mRefCount; member in es2::ResourceManager
|
H A D | Shader.h | 89 unsigned int mRefCount; // Number of program objects this shader is attached to member in es2::Shader
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/ |
H A D | vk_utils.h | 564 RefCounted() : mRefCount(0) {} in RefCounted() 565 explicit RefCounted(T &&newObject) : mRefCount(0), mObject(std::move(newObject)) {} in RefCounted() 566 ~RefCounted() { ASSERT(mRefCount == 0 && !mObject.valid()); } in ~RefCounted() 568 RefCounted(RefCounted &©) : mRefCount(copy.mRefCount), mObject(std::move(copy.mObject)) in RefCounted() 571 copy.mRefCount = 0; in RefCounted() 576 std::swap(mRefCount, rhs.mRefCount); in operator =() 583 ASSERT(mRefCount != std::numeric_limits<uint32_t>::max()); in addRef() 584 mRefCount in addRef() 602 uint32_t mRefCount; global() member in rx::vk::RefCounted [all...] |
/third_party/rust/crates/bindgen/bindgen-tests/tests/ |
H A D | stylo.hpp | [all...] |