Home
last modified time | relevance | path

Searched refs:mSync (Results 1 – 25 of 128) sorted by relevance

123456

/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/angle/src/libANGLE/renderer/gl/egl/
H A DSyncEGL.cpp22 mSync(EGL_NO_SYNC_KHR) in SyncEGL()
27 ASSERT(mSync == EGL_NO_SYNC_KHR); in ~SyncEGL()
32 ASSERT(mSync != EGL_NO_SYNC_KHR); in onDestroy()
33 mEGL->destroySyncKHR(mSync); in onDestroy()
34 mSync = EGL_NO_SYNC_KHR; in onDestroy()
52 if (mSync == EGL_NO_SYNC_KHR) in initialize()
66 ASSERT(mSync != EGL_NO_SYNC_KHR); in clientWait()
82 ASSERT(mSync != EGL_NO_SYNC_KHR); in serverWait()
95 ASSERT(mSync != EGL_NO_SYNC_KHR); in getStatus()
108 ASSERT(mSync != EGL_NO_SYNC_KHR); in dupNativeFenceFD()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/angle/src/libANGLE/renderer/gl/egl/
H A DSyncEGL.cpp22 mSync(EGL_NO_SYNC_KHR) in SyncEGL()
27 ASSERT(mSync == EGL_NO_SYNC_KHR); in ~SyncEGL()
32 ASSERT(mSync != EGL_NO_SYNC_KHR); in onDestroy()
33 mEGL->destroySyncKHR(mSync); in onDestroy()
34 mSync = EGL_NO_SYNC_KHR; in onDestroy()
52 if (mSync == EGL_NO_SYNC_KHR) in initialize()
66 ASSERT(mSync != EGL_NO_SYNC_KHR); in clientWait()
82 ASSERT(mSync != EGL_NO_SYNC_KHR); in serverWait()
95 ASSERT(mSync != EGL_NO_SYNC_KHR); in getStatus()
108 ASSERT(mSync != EGL_NO_SYNC_KHR); in dupNativeFenceFD()
[all …]
/dports/www/firefox-legacy/firefox-52.8.0esr/gfx/gl/
H A DSharedSurfaceEGL.cpp83 , mSync(0) in SharedSurface_EGLImage()
90 if (mSync) { in ~SharedSurface_EGLImage()
93 mEGL->fDestroySync(Display(), mSync); in ~SharedSurface_EGLImage()
94 mSync = 0; in ~SharedSurface_EGLImage()
119 if (mSync) { in ProducerReleaseImpl()
121 MOZ_ALWAYS_TRUE( mEGL->fDestroySync(Display(), mSync) ); in ProducerReleaseImpl()
122 mSync = 0; in ProducerReleaseImpl()
125 mSync = mEGL->fCreateSync(Display(), in ProducerReleaseImpl()
128 if (mSync) { in ProducerReleaseImpl()
134 MOZ_ASSERT(!mSync); in ProducerReleaseImpl()
[all …]
H A DSharedSurfaceGL.cpp146 if (mSync) { in ~SharedSurface_GLTexture()
147 mGL->fDeleteSync(mSync); in ~SharedSurface_GLTexture()
157 if (mSync) { in ProducerReleaseImpl()
158 mGL->fDeleteSync(mSync); in ProducerReleaseImpl()
159 mSync = 0; in ProducerReleaseImpl()
162 mSync = mGL->fFenceSync(LOCAL_GL_SYNC_GPU_COMMANDS_COMPLETE, 0); in ProducerReleaseImpl()
163 if (mSync) { in ProducerReleaseImpl()
168 MOZ_ASSERT(!mSync); in ProducerReleaseImpl()
178 (uintptr_t)mSync, in ToSurfaceDescriptor()
183 mSync = nullptr; in ToSurfaceDescriptor()
H A DEGLUtils.cpp71 MOZ_ASSERT(!mSync); in FenceSync()
74 mSync = mLibrary.fCreateSync(mDisplay, in FenceSync()
83 if (!mSync) { in FenceSync()
94 if (!mSync) { in ClientWaitSync()
104 mSync, in ClientWaitSync()
107 mLibrary.fDestroySync(mDisplay, mSync); in ClientWaitSync()
108 mSync = nullptr; in ClientWaitSync()
/dports/lang/spidermonkey60/firefox-60.9.0/gfx/gl/
H A DSharedSurfaceGL.cpp116 if (mSync) { in ~SharedSurface_GLTexture()
117 mGL->fDeleteSync(mSync); in ~SharedSurface_GLTexture()
125 if (mSync) { in ProducerReleaseImpl()
126 mGL->fDeleteSync(mSync); in ProducerReleaseImpl()
127 mSync = 0; in ProducerReleaseImpl()
130 mSync = mGL->fFenceSync(LOCAL_GL_SYNC_GPU_COMMANDS_COMPLETE, 0); in ProducerReleaseImpl()
131 if (mSync) { in ProducerReleaseImpl()
136 MOZ_ASSERT(!mSync); in ProducerReleaseImpl()
144 ProdTexture(), ProdTextureTarget(), (uintptr_t)mSync, mSize, mHasAlpha); in ToSurfaceDescriptor()
147 mSync = nullptr; in ToSurfaceDescriptor()
H A DEGLUtils.cpp56 MOZ_ASSERT(!mSync); in FenceSync()
59 mSync = mLibrary.fCreateSync(mDisplay, LOCAL_EGL_SYNC_FENCE, nullptr); in FenceSync()
66 if (!mSync) { in FenceSync()
75 if (!mSync) { in ClientWaitSync()
84 EGLint result = mLibrary.fClientWaitSync(mDisplay, mSync, 0, timeout); in ClientWaitSync()
85 mLibrary.fDestroySync(mDisplay, mSync); in ClientWaitSync()
86 mSync = nullptr; in ClientWaitSync()
H A DSharedSurfaceEGL.cpp74 mSync(0) {} in SharedSurface_EGLImage()
79 if (mSync) { in ~SharedSurface_EGLImage()
82 mEGL->fDestroySync(Display(), mSync); in ~SharedSurface_EGLImage()
83 mSync = 0; in ~SharedSurface_EGLImage()
98 if (mSync) { in ProducerReleaseImpl()
100 MOZ_ALWAYS_TRUE(mEGL->fDestroySync(Display(), mSync)); in ProducerReleaseImpl()
101 mSync = 0; in ProducerReleaseImpl()
105 if (mSync) { in ProducerReleaseImpl()
111 MOZ_ASSERT(!mSync); in ProducerReleaseImpl()
118 if (mSync) { in ProducerReadAcquireImpl()
[all …]
/dports/lang/spidermonkey78/firefox-78.9.0/gfx/gl/
H A DSharedSurfaceGL.cpp122 if (mSync) { in ~SharedSurface_GLTexture()
123 mGL->fDeleteSync(mSync); in ~SharedSurface_GLTexture()
131 if (mSync) { in ProducerReleaseImpl()
132 mGL->fDeleteSync(mSync); in ProducerReleaseImpl()
133 mSync = 0; in ProducerReleaseImpl()
136 mSync = mGL->fFenceSync(LOCAL_GL_SYNC_GPU_COMMANDS_COMPLETE, 0); in ProducerReleaseImpl()
137 if (mSync) { in ProducerReleaseImpl()
142 MOZ_ASSERT(!mSync); in ProducerReleaseImpl()
150 ProdTexture(), ProdTextureTarget(), (uintptr_t)mSync, mSize, mHasAlpha); in ToSurfaceDescriptor()
153 mSync = nullptr; in ToSurfaceDescriptor()
H A DSharedSurfaceEGL.cpp79 mSync(0) {} in SharedSurface_EGLImage()
86 if (mSync) { in ~SharedSurface_EGLImage()
89 egl->fDestroySync(egl->Display(), mSync); in ~SharedSurface_EGLImage()
90 mSync = 0; in ~SharedSurface_EGLImage()
108 if (mSync) { in ProducerReleaseImpl()
110 MOZ_ALWAYS_TRUE(egl->fDestroySync(egl->Display(), mSync)); in ProducerReleaseImpl()
111 mSync = 0; in ProducerReleaseImpl()
115 if (mSync) { in ProducerReleaseImpl()
121 MOZ_ASSERT(!mSync); in ProducerReleaseImpl()
130 if (mSync) { in ProducerReadAcquireImpl()
[all …]
/dports/www/firefox-esr/firefox-91.8.0/gfx/gl/
H A DSharedSurfaceEGL.cpp79 if (mSync) { in ~SharedSurface_EGLImage()
82 egl->fDestroySync(mSync); in ~SharedSurface_EGLImage()
83 mSync = 0; in ~SharedSurface_EGLImage()
96 if (mSync) { in ProducerReleaseImpl()
98 MOZ_ALWAYS_TRUE(egl->fDestroySync(mSync)); in ProducerReleaseImpl()
99 mSync = 0; in ProducerReleaseImpl()
102 mSync = egl->fCreateSync(LOCAL_EGL_SYNC_FENCE, nullptr); in ProducerReleaseImpl()
103 if (mSync) { in ProducerReleaseImpl()
109 MOZ_ASSERT(!mSync); in ProducerReleaseImpl()
118 if (mSync) { in ProducerReadAcquireImpl()
[all …]
H A DSharedSurfaceAndroidHardwareBuffer.cpp91 if (mSync) { in ~SharedSurface_AndroidHardwareBuffer()
92 egl->fDestroySync(mSync); in ~SharedSurface_AndroidHardwareBuffer()
93 mSync = 0; in ~SharedSurface_AndroidHardwareBuffer()
105 if (mSync) { in ProducerReleaseImpl()
106 MOZ_ALWAYS_TRUE(egl->fDestroySync(mSync)); in ProducerReleaseImpl()
107 mSync = 0; in ProducerReleaseImpl()
110 mSync = egl->fCreateSync(LOCAL_EGL_SYNC_NATIVE_FENCE_ANDROID, nullptr); in ProducerReleaseImpl()
111 MOZ_ASSERT(mSync); in ProducerReleaseImpl()
112 int rawFd = egl->fDupNativeFenceFDANDROID(mSync); in ProducerReleaseImpl()
/dports/www/firefox/firefox-99.0/gfx/gl/
H A DSharedSurfaceEGL.cpp79 if (mSync) { in ~SharedSurface_EGLImage()
82 egl->fDestroySync(mSync); in ~SharedSurface_EGLImage()
83 mSync = 0; in ~SharedSurface_EGLImage()
96 if (mSync) { in ProducerReleaseImpl()
98 MOZ_ALWAYS_TRUE(egl->fDestroySync(mSync)); in ProducerReleaseImpl()
99 mSync = 0; in ProducerReleaseImpl()
102 mSync = egl->fCreateSync(LOCAL_EGL_SYNC_FENCE, nullptr); in ProducerReleaseImpl()
103 if (mSync) { in ProducerReleaseImpl()
109 MOZ_ASSERT(!mSync); in ProducerReleaseImpl()
118 if (mSync) { in ProducerReadAcquireImpl()
[all …]
H A DSharedSurfaceAndroidHardwareBuffer.cpp91 if (mSync) { in ~SharedSurface_AndroidHardwareBuffer()
92 egl->fDestroySync(mSync); in ~SharedSurface_AndroidHardwareBuffer()
93 mSync = 0; in ~SharedSurface_AndroidHardwareBuffer()
105 if (mSync) { in ProducerReleaseImpl()
106 MOZ_ALWAYS_TRUE(egl->fDestroySync(mSync)); in ProducerReleaseImpl()
107 mSync = 0; in ProducerReleaseImpl()
110 mSync = egl->fCreateSync(LOCAL_EGL_SYNC_NATIVE_FENCE_ANDROID, nullptr); in ProducerReleaseImpl()
111 MOZ_ASSERT(mSync); in ProducerReleaseImpl()
112 int rawFd = egl->fDupNativeFenceFDANDROID(mSync); in ProducerReleaseImpl()
/dports/mail/thunderbird/thunderbird-91.8.0/gfx/gl/
H A DSharedSurfaceEGL.cpp79 if (mSync) { in ~SharedSurface_EGLImage()
82 egl->fDestroySync(mSync); in ~SharedSurface_EGLImage()
83 mSync = 0; in ~SharedSurface_EGLImage()
96 if (mSync) { in ProducerReleaseImpl()
98 MOZ_ALWAYS_TRUE(egl->fDestroySync(mSync)); in ProducerReleaseImpl()
99 mSync = 0; in ProducerReleaseImpl()
102 mSync = egl->fCreateSync(LOCAL_EGL_SYNC_FENCE, nullptr); in ProducerReleaseImpl()
103 if (mSync) { in ProducerReleaseImpl()
109 MOZ_ASSERT(!mSync); in ProducerReleaseImpl()
118 if (mSync) { in ProducerReadAcquireImpl()
[all …]
H A DSharedSurfaceAndroidHardwareBuffer.cpp91 if (mSync) { in ~SharedSurface_AndroidHardwareBuffer()
92 egl->fDestroySync(mSync); in ~SharedSurface_AndroidHardwareBuffer()
93 mSync = 0; in ~SharedSurface_AndroidHardwareBuffer()
105 if (mSync) { in ProducerReleaseImpl()
106 MOZ_ALWAYS_TRUE(egl->fDestroySync(mSync)); in ProducerReleaseImpl()
107 mSync = 0; in ProducerReleaseImpl()
110 mSync = egl->fCreateSync(LOCAL_EGL_SYNC_NATIVE_FENCE_ANDROID, nullptr); in ProducerReleaseImpl()
111 MOZ_ASSERT(mSync); in ProducerReleaseImpl()
112 int rawFd = egl->fDupNativeFenceFDANDROID(mSync); in ProducerReleaseImpl()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/angle/src/libANGLE/renderer/metal/
H A DSyncMtl.mm131 mSync.onDestroy();
138 return mSync.set(contextMtl, GL_SYNC_GPU_COMMANDS_COMPLETE, 0);
144 ANGLE_TRY(mSync.getStatus(&signaled));
176 mSync.onDestroy();
182 return mSync.set(contextMtl, condition, flags);
196 return mSync.clientWait(contextMtl, flush, timeout, outResult);
205 mSync.serverWait(contextMtl);
212 ANGLE_TRY(mSync.getStatus(&signaled));
228 mSync.onDestroy();
294 mSync.serverWait(contextMtl);
[all …]
/dports/games/stuntrally/stuntrally-2.6.1/source/shiny/Editor/
H A DEditor.cpp57 mMainWindow->mSync = &mSync; in runThread()
74 boost::mutex::scoped_lock lock(mSync.mActionMutex); in update()
86 boost::mutex::scoped_lock lock(mSync.mQueryMutex); in update()
97 boost::mutex::scoped_lock lock2(mSync.mUpdateMutex); in update()
/dports/lang/spidermonkey78/firefox-78.9.0/gfx/layers/opengl/
H A DTextureHostOGL.cpp340 mSync(0) { in DirectMapTextureSource()
352 mSync = 0; in ~DirectMapTextureSource()
370 if (mSync) { in MaybeFenceTexture()
385 if (!mSync) { in Sync()
435 if (mSync) { in UpdateInternal()
437 mSync = 0; in UpdateInternal()
786 mSync(aSync), in EGLImageTextureHost()
805 if (mSync) { in Lock()
903 mSync(aSync), in GLTextureHost()
919 if (mSync) { in Lock()
[all …]
/dports/www/firefox-esr/firefox-91.8.0/gfx/webrender_bindings/
H A DRenderEGLImageTextureHost.cpp20 mSync(aSync), in RenderEGLImageTextureHost()
51 if (mSync) { in Lock()
55 status = egl->fClientWaitSync(mSync, 0, LOCAL_EGL_FOREVER); in Lock()
58 mSync = 0; in Lock()
/dports/www/firefox/firefox-99.0/gfx/webrender_bindings/
H A DRenderEGLImageTextureHost.cpp20 mSync(aSync), in RenderEGLImageTextureHost()
51 if (mSync) { in Lock()
55 status = egl->fClientWaitSync(mSync, 0, LOCAL_EGL_FOREVER); in Lock()
58 mSync = 0; in Lock()
/dports/mail/thunderbird/thunderbird-91.8.0/gfx/webrender_bindings/
H A DRenderEGLImageTextureHost.cpp20 mSync(aSync), in RenderEGLImageTextureHost()
51 if (mSync) { in Lock()
55 status = egl->fClientWaitSync(mSync, 0, LOCAL_EGL_FOREVER); in Lock()
58 mSync = 0; in Lock()
/dports/lang/spidermonkey78/firefox-78.9.0/gfx/webrender_bindings/
H A DRenderEGLImageTextureHost.cpp20 mSync(aSync), in RenderEGLImageTextureHost()
59 if (mSync) { in Lock()
63 status = egl->fClientWaitSync(egl->Display(), mSync, 0, LOCAL_EGL_FOREVER); in Lock()
66 mSync = 0; in Lock()
/dports/www/firefox-legacy/firefox-52.8.0esr/gfx/layers/
H A DGLImages.cpp24 mSync(aSync),
42 if (mSync) {
43 sEGLLibrary.fDestroySync(EGL_DISPLAY(), mSync);
44 mSync = nullptr;
/dports/lang/spidermonkey78/firefox-78.9.0/widget/gtk/
H A DWaylandDMABufSurface.cpp125 mSync(0), in WaylandDMABufSurface()
164 if (mSync) { in FenceDelete()
168 mSync = nullptr; in FenceDelete()
180 if (mSync) { in FenceSet()
182 mSync = nullptr; in FenceSet()
185 mSync = egl->fCreateSync(egl->Display(), in FenceSet()
187 if (mSync) { in FenceSet()
203 if (mSync) { in FenceWait()
216 if (!mSync) { in FenceCreate()
430 if (mSync) { in Serialize()
[all …]

123456