Home
last modified time | relevance | path

Searched refs:mSyncObject (Results 1 – 4 of 4) sorted by relevance

/external/angle/src/libANGLE/renderer/gl/
DSyncGL.cpp19 SyncGL::SyncGL(const FunctionsGL *functions) : SyncImpl(), mFunctions(functions), mSyncObject(0) in SyncGL()
26 ASSERT(mSyncObject == 0); in ~SyncGL()
31 ASSERT(mSyncObject != 0); in onDestroy()
32 mFunctions->deleteSync(mSyncObject); in onDestroy()
33 mSyncObject = 0; in onDestroy()
40 mSyncObject = mFunctions->fenceSync(condition, flags); in set()
41 ANGLE_CHECK(contextGL, mSyncObject != 0, "glFenceSync failed to create a GLsync object.", in set()
52 ASSERT(mSyncObject != 0); in clientWait()
53 *outResult = mFunctions->clientWaitSync(mSyncObject, flags, timeout); in clientWait()
59 ASSERT(mSyncObject != 0); in serverWait()
[all …]
DFenceNVGL.cpp59 : FenceNVImpl(), mSyncObject(0), mFunctions(functions) in FenceNVSyncGL()
64 if (mSyncObject != 0) in ~FenceNVSyncGL()
66 mFunctions->deleteSync(mSyncObject); in ~FenceNVSyncGL()
67 mSyncObject = 0; in ~FenceNVSyncGL()
75 mSyncObject = mFunctions->fenceSync(GL_SYNC_GPU_COMMANDS_COMPLETE, 0); in set()
76 ANGLE_CHECK(contextGL, mSyncObject != 0, "glFenceSync failed to create a GLsync object.", in set()
84 ASSERT(mFunctions->isSync(mSyncObject)); in test()
86 mFunctions->getSynciv(mSyncObject, GL_SYNC_STATUS, 1, nullptr, &result); in test()
93 ASSERT(mFunctions->isSync(mSyncObject)); in finish()
95 mFunctions->clientWaitSync(mSyncObject, GL_SYNC_FLUSH_COMMANDS_BIT, GL_TIMEOUT_IGNORED); in finish()
DSyncGL.h38 GLsync mSyncObject; variable
DFenceNVGL.h53 GLsync mSyncObject;