/external/angle/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 | 64 mRefCount(0), in Surface() 246 mRefCount++; in makeCurrent() 258 ASSERT(mRefCount > 0); in releaseRef() 259 mRefCount--; in releaseRef() 260 if (mRefCount == 0 && mDestroyed) in releaseRef() 272 if (mRefCount == 0) in onDestroy() 527 mRefCount++; in bindTexImage()
|
D | Shader.cpp | 146 mRefCount(0), in Shader() 595 mRefCount++; in addRef() 600 mRefCount--; in release() 602 if (mRefCount == 0 && mDeleteStatus) in release() 610 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 | 620 void addRef() const { mRefCount++; } in addRef() 621 void release() const { mRefCount--; } in release() 622 size_t getRefCount() const { return mRefCount; } in getRefCount() 792 mutable size_t mRefCount; variable
|
D | Program.h | 702 mRefCount++; in addRef() 708 mRefCount--; in release() 710 if (mRefCount == 0 && mDeleteStatus) in release() 927 unsigned int mRefCount; variable
|
D | Shader.h | 266 unsigned int mRefCount; // Number of program objects this shader is attached to variable
|
D | Surface.h | 212 int mRefCount; variable
|
D | ResourceManager.h | 62 size_t mRefCount;
|
D | Display.h | 98 size_t mRefCount;
|
D | Display.cpp | 530 : mRefCount(1), in ShareGroup() 543 mRefCount++; in addRef() 548 if (--mRefCount == 0) in release()
|
D | Program.cpp | 1335 mRefCount(0), in Program() 2007 ASSERT(mRefCount == 0 && mDeleteStatus); in deleteSelf() 2013 return mRefCount; in getRefCount()
|
D | Context.cpp | 368 mRefCount(0), in Context()
|
/external/swiftshader/src/OpenGL/libGLES_CM/ |
D | ResourceManager.cpp | 28 mRefCount = 1; in ResourceManager() 51 mRefCount++; in addRef() 56 if(--mRefCount == 0) in release()
|
D | ResourceManager.h | 68 std::size_t mRefCount;
|
/external/angle/src/libANGLE/renderer/vulkan/ |
D | vk_utils.h | 500 RefCounted() : mRefCount(0) {} 501 explicit RefCounted(T &&newObject) : mRefCount(0), mObject(std::move(newObject)) {} 502 ~RefCounted() { ASSERT(mRefCount == 0 && !mObject.valid()); } 504 RefCounted(RefCounted &©) : mRefCount(copy.mRefCount), mObject(std::move(copy.mObject)) 507 copy.mRefCount = 0; 512 std::swap(mRefCount, rhs.mRefCount); 519 ASSERT(mRefCount != std::numeric_limits<uint32_t>::max()); 520 mRefCount++; 526 mRefCount--; 529 bool isReferenced() const { return mRefCount != 0; } [all …]
|
/external/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
|
/external/angle/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
|