Home
last modified time | relevance | path

Searched refs:currentContext (Results 1 – 18 of 18) sorted by relevance

/third_party/node/deps/v8/src/d8/
Dasync-hooks-wrapper.cc125 Local<Context> currentContext = isolate->GetCurrentContext(); in CreateHook() local
139 fn_obj->Get(currentContext, String::NewFromUtf8Literal(isolate, #name)) \ in CreateHook()
152 ->NewInstance(currentContext) in CreateHook()
184 Local<Context> currentContext = isolate->GetCurrentContext(); in ShellPromiseHook() local
185 DCHECK(!currentContext.IsEmpty()); in ShellPromiseHook()
191 !promise->HasPrivate(currentContext, hooks->async_id_smb.Get(isolate)) in ShellPromiseHook()
193 promise->SetPrivate(currentContext, hooks->async_id_smb.Get(isolate), in ShellPromiseHook()
200 ->GetPrivate(currentContext, hooks->async_id_smb.Get(isolate)) in ShellPromiseHook()
202 promise->SetPrivate(currentContext, hooks->trigger_id_smb.Get(isolate), in ShellPromiseHook()
206 promise->SetPrivate(currentContext, hooks->trigger_id_smb.Get(isolate), in ShellPromiseHook()
[all …]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/egl/
DDisplayEGL.cpp723 CurrentNativeContext &currentContext = mCurrentNativeContexts[std::this_thread::get_id()]; in makeCurrent() local
739 if (currentContext.isExternalContext || (context && context->isExternal())) in makeCurrent()
741 ASSERT(currentContext.surface == EGL_NO_SURFACE); in makeCurrent()
742 if (!currentContext.isExternalContext) in makeCurrent()
746 ASSERT(currentContext.context == EGL_NO_CONTEXT); in makeCurrent()
747 currentContext.context = newContext; in makeCurrent()
748 currentContext.isExternalContext = true; in makeCurrent()
757 ASSERT(currentContext.context == newContext); in makeCurrent()
769 ASSERT(currentContext.context != EGL_NO_CONTEXT); in makeCurrent()
770 currentContext.context = EGL_NO_CONTEXT; in makeCurrent()
[all …]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/wgl/
DDisplayWGL.cpp675 CurrentNativeContext &currentContext = mCurrentNativeContexts[std::this_thread::get_id()]; in makeCurrent() local
684 HGLRC newContext = currentContext.glrc; in makeCurrent()
695 if (newDC != currentContext.dc || newContext != currentContext.glrc) in makeCurrent()
704 currentContext.dc = newDC; in makeCurrent()
705 currentContext.glrc = newContext; in makeCurrent()
904 CurrentNativeContext &currentContext = mCurrentNativeContexts[std::this_thread::get_id()]; in createRenderer() local
905 currentContext.dc = mDeviceContext; in createRenderer()
906 currentContext.glrc = context; in createRenderer()
/third_party/skia/tools/gpu/gl/iOS/
DCreatePlatformGLTestContext_iOS.mm20 EAGLContext* context = [EAGLContext currentContext];
87 if ([EAGLContext currentContext] == fEAGLContext.get()) {
111 if ([EAGLContext currentContext] == fEAGLContext.get()) {
/third_party/skia/experimental/wasm-skp-debugger/
Dcpu.js79 DebuggerView.currentContext = DebuggerView.currentContext || function() {
/third_party/skia/experimental/skottiekit/
Dcpu.js78 SkottieKit.currentContext = SkottieKit.currentContext || function() {
Dexterns.js38 currentContext: function() {}, method
/third_party/skia/modules/canvaskit/
Dgpu.js206 var glCtx = GL.currentContext.GLctx;
209 if (GL.currentContext.version === 2) {
240 var ctx = GL.currentContext;
DCHANGELOG.md38 - `CanvasKit.setCurrentContext` and `CanvasKit.currentContext`. Existing calls can be deleted.
/third_party/skia/third_party/externals/angle2/src/libGLESv2/
Degl_stubs.cpp98 gl::Context *currentContext = thread->getContext(); in ClientWaitSync() local
101 thread, syncObject->clientWait(display, currentContext, flags, timeout, &syncStatus), in ClientWaitSync()
248 gl::Context *currentContext = thread->getContext(); in CreateSync() local
253 ANGLE_EGL_TRY_RETURN(thread, display->createSync(currentContext, type, attributes, &syncObject), in CreateSync()
740 gl::Context *currentContext = thread->getContext(); in WaitSync() local
741 ANGLE_EGL_TRY_RETURN(thread, syncObject->serverWait(display, currentContext, flags), in WaitSync()
Degl_ext_stubs.cpp30 gl::Context *currentContext = thread->getContext(); in ClientWaitSyncKHR() local
33 thread, syncObject->clientWait(display, currentContext, flags, timeout, &syncStatus), in ClientWaitSyncKHR()
487 gl::Context *currentContext = thread->getContext(); in SignalSyncKHR() local
488 ANGLE_EGL_TRY_RETURN(thread, syncObject->signal(display, currentContext, mode), in SignalSyncKHR()
594 gl::Context *currentContext = thread->getContext(); in WaitSyncKHR() local
595 ANGLE_EGL_TRY_RETURN(thread, syncObject->serverWait(display, currentContext, flags), in WaitSyncKHR()
/third_party/vk-gl-cts/framework/platform/ios/
DtcuIOSPlatform.mm142 if ([EAGLContext currentContext] == m_context)
152 if ([EAGLContext currentContext] == m_context)
/third_party/skia/third_party/externals/angle2/src/libANGLE/
DDisplay.cpp1394 Error Display::createSync(const gl::Context *currentContext, in createSync() argument
1409 ANGLE_TRY(syncPtr->initialize(this, currentContext)); in createSync()
1582 auto *currentContext = thread->getContext(); in destroyContext() local
1604 gl::ScopedContextRef scopedContextRef(currentContext); in destroyContext()
1610 ANGLE_TRY(makeCurrent(thread, currentContext, nullptr, nullptr, context)); in destroyContext()
1612 makeCurrent(thread, context, currentDrawSurface, currentReadSurface, currentContext)); in destroyContext()
DDisplay.h195 Error createSync(const gl::Context *currentContext,
DvalidationEGL.cpp1232 gl::Context *currentContext = val->eglThread->getContext(); in ValidateCreateSyncBase() local
1233 egl::Display *currentDisplay = currentContext ? currentContext->getDisplay() : nullptr; in ValidateCreateSyncBase()
1257 ANGLE_VALIDATION_TRY(ValidateContext(val, currentDisplay, currentContext)); in ValidateCreateSyncBase()
1259 if (!currentContext->getExtensions().EGLSyncOES) in ValidateCreateSyncBase()
1289 ANGLE_VALIDATION_TRY(ValidateContext(val, currentDisplay, currentContext)); in ValidateCreateSyncBase()
1291 if (!currentContext->getExtensions().EGLSyncOES) in ValidateCreateSyncBase()
/third_party/skia/tools/skottie_ios_app/
DSkiaGLContext.mm123 EAGLContext* oldContext = [EAGLContext currentContext];
/third_party/skia/third_party/externals/swiftshader/tests/GLESUnitTests/
Dunittests.cpp184 EGLContext currentContext = eglGetCurrentContext(); in Initialize() local
186 EXPECT_EQ(context, currentContext); in Initialize()
212 EGLContext currentContext = eglGetCurrentContext(); in Uninitialize() local
214 EXPECT_EQ(EGL_NO_CONTEXT, currentContext); in Uninitialize()
/third_party/libabigail/tests/lib/
Dcatch.hpp4376 static IMutableContext *currentContext; member
4384 if( !IMutableContext::currentContext ) in getCurrentMutableContext()
4387 return *IMutableContext::currentContext; in getCurrentMutableContext()
10337 IMutableContext *IMutableContext::currentContext = nullptr; member in Catch::IMutableContext
10341 currentContext = new Context(); in createContext()
10345 delete IMutableContext::currentContext; in cleanUpContext()
10346 IMutableContext::currentContext = nullptr; in cleanUpContext()