• Home
  • Raw
  • Download

Lines Matching full:thread

15 #include "libANGLE/Thread.h"
25 EGLint ClientWaitSyncKHR(Thread *thread, in ClientWaitSyncKHR() argument
31 ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglClientWaitSync", in ClientWaitSyncKHR()
33 gl::Context *currentContext = thread->getContext(); in ClientWaitSyncKHR()
36 ANGLE_EGL_TRY_RETURN(thread, in ClientWaitSyncKHR()
40 thread->setSuccess(); in ClientWaitSyncKHR()
44 EGLImageKHR CreateImageKHR(Thread *thread, in CreateImageKHR() argument
53 ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglCreateImageKHR", in CreateImageKHR()
57 ANGLE_EGL_TRY_RETURN(thread, display->createImage(context, target, buffer, attributes, &image), in CreateImageKHR()
60 thread->setSuccess(); in CreateImageKHR()
64 EGLClientBuffer CreateNativeClientBufferANDROID(Thread *thread, const AttributeMap &attribMap) in CreateNativeClientBufferANDROID() argument
67 ANGLE_EGL_TRY_RETURN(thread, in CreateNativeClientBufferANDROID()
71 thread->setSuccess(); in CreateNativeClientBufferANDROID()
75 EGLSurface CreatePlatformPixmapSurfaceEXT(Thread *thread, in CreatePlatformPixmapSurfaceEXT() argument
81 ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglCreatePlatformPixmapSurfaceEXT", in CreatePlatformPixmapSurfaceEXT()
83 thread->setError(EGL_BAD_DISPLAY, "eglCreatePlatformPixmapSurfaceEXT", in CreatePlatformPixmapSurfaceEXT()
88 EGLSurface CreatePlatformWindowSurfaceEXT(Thread *thread, in CreatePlatformWindowSurfaceEXT() argument
94 ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglCreatePlatformWindowSurfaceEXT", in CreatePlatformWindowSurfaceEXT()
107 thread, display->createWindowSurface(configPacked, nativeWindow, attributes, &surface), in CreatePlatformWindowSurfaceEXT()
113 EGLStreamKHR CreateStreamKHR(Thread *thread, Display *display, const AttributeMap &attributes) in CreateStreamKHR() argument
115 ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglCreateStreamKHR", in CreateStreamKHR()
118 ANGLE_EGL_TRY_RETURN(thread, display->createStream(attributes, &stream), "eglCreateStreamKHR", in CreateStreamKHR()
121 thread->setSuccess(); in CreateStreamKHR()
125 EGLSyncKHR CreateSyncKHR(Thread *thread, in CreateSyncKHR() argument
130 ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglCreateSyncKHR", in CreateSyncKHR()
133 ANGLE_EGL_TRY_RETURN(thread, in CreateSyncKHR()
134 display->createSync(thread->getContext(), type, attributes, &syncObject), in CreateSyncKHR()
137 thread->setSuccess(); in CreateSyncKHR()
141 EGLint DebugMessageControlKHR(Thread *thread, in DebugMessageControlKHR() argument
148 thread->setSuccess(); in DebugMessageControlKHR()
152 EGLBoolean DestroyImageKHR(Thread *thread, Display *display, egl::ImageID imageID) in DestroyImageKHR() argument
156 ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglDestroyImageKHR", in DestroyImageKHR()
160 thread->setSuccess(); in DestroyImageKHR()
164 EGLBoolean DestroyStreamKHR(Thread *thread, Display *display, Stream *streamObject) in DestroyStreamKHR() argument
166 ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglDestroyStreamKHR", in DestroyStreamKHR()
170 thread->setSuccess(); in DestroyStreamKHR()
174 EGLBoolean DestroySyncKHR(Thread *thread, Display *display, SyncID syncID) in DestroySyncKHR() argument
177 ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglDestroySync", in DestroySyncKHR()
181 thread->setSuccess(); in DestroySyncKHR()
185 EGLint DupNativeFenceFDANDROID(Thread *thread, Display *display, SyncID syncID) in DupNativeFenceFDANDROID() argument
187 ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglDupNativeFenceFDANDROID", in DupNativeFenceFDANDROID()
191 ANGLE_EGL_TRY_RETURN(thread, syncObject->dupNativeFenceFD(display, &result), in DupNativeFenceFDANDROID()
195 thread->setSuccess(); in DupNativeFenceFDANDROID()
199 EGLClientBuffer GetNativeClientBufferANDROID(Thread *thread, const struct AHardwareBuffer *buffer) in GetNativeClientBufferANDROID() argument
201 thread->setSuccess(); in GetNativeClientBufferANDROID()
205 EGLDisplay GetPlatformDisplayEXT(Thread *thread, in GetPlatformDisplayEXT() argument
232 EGLBoolean GetSyncAttribKHR(Thread *thread, in GetSyncAttribKHR() argument
238 ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglGetSyncAttrib", in GetSyncAttribKHR()
240 ANGLE_EGL_TRY_RETURN(thread, GetSyncAttrib(display, syncObject, attribute, value), in GetSyncAttribKHR()
243 thread->setSuccess(); in GetSyncAttribKHR()
247 EGLint LabelObjectKHR(Thread *thread, in LabelObjectKHR() argument
254 GetLabeledObjectIfValid(thread, display, objectTypePacked, object); in LabelObjectKHR()
258 thread->setSuccess(); in LabelObjectKHR()
262 EGLBoolean PostSubBufferNV(Thread *thread, in PostSubBufferNV() argument
272 ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglPostSubBufferNV", in PostSubBufferNV()
274 Error error = eglSurface->postSubBuffer(thread->getContext(), x, y, width, height); in PostSubBufferNV()
277 thread->setError(error, "eglPostSubBufferNV", GetSurfaceIfValid(display, surfaceID)); in PostSubBufferNV()
281 thread->setSuccess(); in PostSubBufferNV()
285 EGLBoolean PresentationTimeANDROID(Thread *thread, in PresentationTimeANDROID() argument
292 ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglPresentationTimeANDROID", in PresentationTimeANDROID()
294 ANGLE_EGL_TRY_RETURN(thread, eglSurface->setPresentationTime(time), in PresentationTimeANDROID()
301 EGLBoolean GetCompositorTimingSupportedANDROID(Thread *thread, in GetCompositorTimingSupportedANDROID() argument
308 thread->setSuccess(); in GetCompositorTimingSupportedANDROID()
312 EGLBoolean GetCompositorTimingANDROID(Thread *thread, in GetCompositorTimingANDROID() argument
321 ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglGetCompositorTimingANDROIDD", in GetCompositorTimingANDROID()
323 ANGLE_EGL_TRY_RETURN(thread, eglSurface->getCompositorTiming(numTimestamps, names, values), in GetCompositorTimingANDROID()
327 thread->setSuccess(); in GetCompositorTimingANDROID()
331 EGLBoolean GetNextFrameIdANDROID(Thread *thread, in GetNextFrameIdANDROID() argument
338 ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglGetNextFrameIdANDROID", in GetNextFrameIdANDROID()
340 ANGLE_EGL_TRY_RETURN(thread, eglSurface->getNextFrameId(frameId), "eglGetNextFrameIdANDROID", in GetNextFrameIdANDROID()
343 thread->setSuccess(); in GetNextFrameIdANDROID()
347 EGLBoolean GetFrameTimestampSupportedANDROID(Thread *thread, in GetFrameTimestampSupportedANDROID() argument
354 ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglQueryTimestampSupportedANDROID", in GetFrameTimestampSupportedANDROID()
356 thread->setSuccess(); in GetFrameTimestampSupportedANDROID()
360 EGLBoolean GetFrameTimestampsANDROID(Thread *thread, in GetFrameTimestampsANDROID() argument
370 ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglGetFrameTimestampsANDROID", in GetFrameTimestampsANDROID()
373 thread, eglSurface->getFrameTimestamps(frameId, numTimestamps, timestamps, values), in GetFrameTimestampsANDROID()
376 thread->setSuccess(); in GetFrameTimestampsANDROID()
380 EGLBoolean QueryDebugKHR(Thread *thread, EGLint attribute, EGLAttrib *value) in QueryDebugKHR() argument
400 thread->setSuccess(); in QueryDebugKHR()
404 EGLBoolean QueryDeviceAttribEXT(Thread *thread, Device *dev, EGLint attribute, EGLAttrib *value) in QueryDeviceAttribEXT() argument
406 ANGLE_EGL_TRY_RETURN(thread, dev->getAttribute(attribute, value), "eglQueryDeviceAttribEXT", in QueryDeviceAttribEXT()
409 thread->setSuccess(); in QueryDeviceAttribEXT()
413 const char *QueryDeviceStringEXT(Thread *thread, Device *dev, EGLint name) in QueryDeviceStringEXT() argument
416 ANGLE_EGL_TRY_RETURN(thread, owningDisplay->prepareForCall(), "eglQueryDeviceStringEXT", in QueryDeviceStringEXT()
429 thread->setError(EglBadDevice(), "eglQueryDeviceStringEXT", GetDeviceIfValid(dev)); in QueryDeviceStringEXT()
433 thread->setSuccess(); in QueryDeviceStringEXT()
437 EGLBoolean QueryDisplayAttribEXT(Thread *thread, in QueryDisplayAttribEXT() argument
442 ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglQueryDisplayAttribEXT", in QueryDisplayAttribEXT()
445 thread->setSuccess(); in QueryDisplayAttribEXT()
449 EGLBoolean QueryStreamKHR(Thread *thread, in QueryStreamKHR() argument
455 ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglQueryStreamKHR", in QueryStreamKHR()
472 thread->setSuccess(); in QueryStreamKHR()
476 EGLBoolean QueryStreamu64KHR(Thread *thread, in QueryStreamu64KHR() argument
482 ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglQueryStreamu64KHR", in QueryStreamu64KHR()
496 thread->setSuccess(); in QueryStreamu64KHR()
500 EGLBoolean QuerySurfacePointerANGLE(Thread *thread, in QuerySurfacePointerANGLE() argument
508 ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglQuerySurfacePointerANGLE", in QuerySurfacePointerANGLE()
513 thread->setError(error, "eglQuerySurfacePointerANGLE", in QuerySurfacePointerANGLE()
518 thread->setSuccess(); in QuerySurfacePointerANGLE()
522 void SetBlobCacheFuncsANDROID(Thread *thread, in SetBlobCacheFuncsANDROID() argument
527 ANGLE_EGL_TRY(thread, display->prepareForCall(), "eglSetBlobCacheFuncsANDROID", in SetBlobCacheFuncsANDROID()
529 thread->setSuccess(); in SetBlobCacheFuncsANDROID()
533 EGLBoolean SignalSyncKHR(Thread *thread, Display *display, SyncID syncID, EGLenum mode) in SignalSyncKHR() argument
535 gl::Context *currentContext = thread->getContext(); in SignalSyncKHR()
537 ANGLE_EGL_TRY_RETURN(thread, syncObject->signal(display, currentContext, mode), in SignalSyncKHR()
540 thread->setSuccess(); in SignalSyncKHR()
544 EGLBoolean StreamAttribKHR(Thread *thread, in StreamAttribKHR() argument
550 ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglStreamAttribKHR", in StreamAttribKHR()
564 thread->setSuccess(); in StreamAttribKHR()
568 EGLBoolean StreamConsumerAcquireKHR(Thread *thread, Display *display, Stream *streamObject) in StreamConsumerAcquireKHR() argument
570 ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglStreamConsumerAcquireKHR", in StreamConsumerAcquireKHR()
572 ANGLE_EGL_TRY_RETURN(thread, streamObject->consumerAcquire(thread->getContext()), in StreamConsumerAcquireKHR()
575 thread->setSuccess(); in StreamConsumerAcquireKHR()
579 EGLBoolean StreamConsumerGLTextureExternalKHR(Thread *thread, in StreamConsumerGLTextureExternalKHR() argument
583 ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglStreamConsumerGLTextureExternalKHR", in StreamConsumerGLTextureExternalKHR()
586 thread, streamObject->createConsumerGLTextureExternal(AttributeMap(), thread->getContext()), in StreamConsumerGLTextureExternalKHR()
589 thread->setSuccess(); in StreamConsumerGLTextureExternalKHR()
593 EGLBoolean StreamConsumerGLTextureExternalAttribsNV(Thread *thread, in StreamConsumerGLTextureExternalAttribsNV() argument
598 ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), in StreamConsumerGLTextureExternalAttribsNV()
603 ANGLE_EGL_TRY_RETURN(thread, streamObject->createConsumerGLTextureExternal(attributes, context), in StreamConsumerGLTextureExternalAttribsNV()
606 thread->setSuccess(); in StreamConsumerGLTextureExternalAttribsNV()
610 EGLBoolean StreamConsumerReleaseKHR(Thread *thread, Display *display, Stream *streamObject) in StreamConsumerReleaseKHR() argument
612 ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglStreamConsumerReleaseKHR", in StreamConsumerReleaseKHR()
616 ANGLE_EGL_TRY_RETURN(thread, streamObject->consumerRelease(context), in StreamConsumerReleaseKHR()
619 thread->setSuccess(); in StreamConsumerReleaseKHR()
623 EGLBoolean SwapBuffersWithDamageKHR(Thread *thread, in SwapBuffersWithDamageKHR() argument
631 ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglSwapBuffersWithDamageKHR", in SwapBuffersWithDamageKHR()
633 ANGLE_EGL_TRY_RETURN(thread, eglSurface->swapWithDamage(thread->getContext(), rects, n_rects), in SwapBuffersWithDamageKHR()
637 thread->setSuccess(); in SwapBuffersWithDamageKHR()
641 EGLBoolean PrepareSwapBuffersANGLE(Thread *thread, Display *display, SurfaceID surfaceID) in PrepareSwapBuffersANGLE() argument
645 ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglPrepareSwapBuffersANGLE", in PrepareSwapBuffersANGLE()
647 ANGLE_EGL_TRY_RETURN(thread, eglSurface->prepareSwap(thread->getContext()), in PrepareSwapBuffersANGLE()
650 thread->setSuccess(); in PrepareSwapBuffersANGLE()
654 EGLint WaitSyncKHR(Thread *thread, Display *display, SyncID syncID, EGLint flags) in WaitSyncKHR() argument
656 ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglWaitSync", in WaitSyncKHR()
658 gl::Context *currentContext = thread->getContext(); in WaitSyncKHR()
660 ANGLE_EGL_TRY_RETURN(thread, syncObject->serverWait(display, currentContext, flags), in WaitSyncKHR()
663 thread->setSuccess(); in WaitSyncKHR()
667 EGLDeviceEXT CreateDeviceANGLE(Thread *thread, in CreateDeviceANGLE() argument
673 ANGLE_EGL_TRY_RETURN(thread, Device::CreateDevice(device_type, native_device, &device), in CreateDeviceANGLE()
674 "eglCreateDeviceANGLE", GetThreadIfValid(thread), EGL_NO_DEVICE_EXT); in CreateDeviceANGLE()
676 thread->setSuccess(); in CreateDeviceANGLE()
680 EGLBoolean ReleaseDeviceANGLE(Thread *thread, Device *dev) in ReleaseDeviceANGLE() argument
684 thread->setSuccess(); in ReleaseDeviceANGLE()
688 EGLBoolean CreateStreamProducerD3DTextureANGLE(Thread *thread, in CreateStreamProducerD3DTextureANGLE() argument
693 ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), in CreateStreamProducerD3DTextureANGLE()
696 ANGLE_EGL_TRY_RETURN(thread, streamObject->createProducerD3D11Texture(attributes), in CreateStreamProducerD3DTextureANGLE()
699 thread->setSuccess(); in CreateStreamProducerD3DTextureANGLE()
703 EGLBoolean StreamPostD3DTextureANGLE(Thread *thread, in StreamPostD3DTextureANGLE() argument
709 ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglStreamPostD3DTextureANGLE", in StreamPostD3DTextureANGLE()
711 ANGLE_EGL_TRY_RETURN(thread, streamObject->postD3D11Texture(texture, attributes), in StreamPostD3DTextureANGLE()
714 thread->setSuccess(); in StreamPostD3DTextureANGLE()
718 EGLBoolean GetMscRateANGLE(Thread *thread, in GetMscRateANGLE() argument
726 ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglGetMscRateANGLE", in GetMscRateANGLE()
728 ANGLE_EGL_TRY_RETURN(thread, eglSurface->getMscRate(numerator, denominator), in GetMscRateANGLE()
731 thread->setSuccess(); in GetMscRateANGLE()
735 EGLBoolean GetSyncValuesCHROMIUM(Thread *thread, in GetSyncValuesCHROMIUM() argument
744 ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglGetSyncValuesCHROMIUM", in GetSyncValuesCHROMIUM()
746 ANGLE_EGL_TRY_RETURN(thread, eglSurface->getSyncValues(ust, msc, sbc), in GetSyncValuesCHROMIUM()
750 thread->setSuccess(); in GetSyncValuesCHROMIUM()
754 EGLint ProgramCacheGetAttribANGLE(Thread *thread, Display *display, EGLenum attrib) in ProgramCacheGetAttribANGLE() argument
756 ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglProgramCacheGetAttribANGLE", in ProgramCacheGetAttribANGLE()
758 thread->setSuccess(); in ProgramCacheGetAttribANGLE()
762 void ProgramCacheQueryANGLE(Thread *thread, in ProgramCacheQueryANGLE() argument
770 ANGLE_EGL_TRY(thread, display->prepareForCall(), "eglProgramCacheQueryANGLE", in ProgramCacheQueryANGLE()
772 ANGLE_EGL_TRY(thread, display->programCacheQuery(index, key, keysize, binary, binarysize), in ProgramCacheQueryANGLE()
775 thread->setSuccess(); in ProgramCacheQueryANGLE()
778 void ProgramCachePopulateANGLE(Thread *thread, in ProgramCachePopulateANGLE() argument
785 ANGLE_EGL_TRY(thread, display->prepareForCall(), "eglProgramCachePopulateANGLE", in ProgramCachePopulateANGLE()
787 ANGLE_EGL_TRY(thread, display->programCachePopulate(key, keysize, binary, binarysize), in ProgramCachePopulateANGLE()
790 thread->setSuccess(); in ProgramCachePopulateANGLE()
793 EGLint ProgramCacheResizeANGLE(Thread *thread, Display *display, EGLint limit, EGLint mode) in ProgramCacheResizeANGLE() argument
795 ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglProgramCacheResizeANGLE", in ProgramCacheResizeANGLE()
797 thread->setSuccess(); in ProgramCacheResizeANGLE()
801 const char *QueryStringiANGLE(Thread *thread, Display *display, EGLint name, EGLint index) in QueryStringiANGLE() argument
803 ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglQueryStringiANGLE", in QueryStringiANGLE()
805 thread->setSuccess(); in QueryStringiANGLE()
809 EGLBoolean SwapBuffersWithFrameTokenANGLE(Thread *thread, in SwapBuffersWithFrameTokenANGLE() argument
816 ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglSwapBuffersWithFrameTokenANGLE", in SwapBuffersWithFrameTokenANGLE()
818 ANGLE_EGL_TRY_RETURN(thread, eglSurface->swapWithFrameToken(thread->getContext(), frametoken), in SwapBuffersWithFrameTokenANGLE()
822 thread->setSuccess(); in SwapBuffersWithFrameTokenANGLE()
826 void ReleaseHighPowerGPUANGLE(Thread *thread, Display *display, gl::ContextID contextID) in ReleaseHighPowerGPUANGLE() argument
829 ANGLE_EGL_TRY(thread, display->prepareForCall(), "eglReleaseHighPowerGPUANGLE", in ReleaseHighPowerGPUANGLE()
831 ANGLE_EGL_TRY(thread, context->releaseHighPowerGPU(), "eglReleaseHighPowerGPUANGLE", in ReleaseHighPowerGPUANGLE()
834 thread->setSuccess(); in ReleaseHighPowerGPUANGLE()
837 void ReacquireHighPowerGPUANGLE(Thread *thread, Display *display, gl::ContextID contextID) in ReacquireHighPowerGPUANGLE() argument
840 ANGLE_EGL_TRY(thread, display->prepareForCall(), "eglReacquireHighPowerGPUANGLE", in ReacquireHighPowerGPUANGLE()
842 ANGLE_EGL_TRY(thread, context->reacquireHighPowerGPU(), "eglReacquireHighPowerGPUANGLE", in ReacquireHighPowerGPUANGLE()
845 thread->setSuccess(); in ReacquireHighPowerGPUANGLE()
848 void HandleGPUSwitchANGLE(Thread *thread, Display *display) in HandleGPUSwitchANGLE() argument
850 ANGLE_EGL_TRY(thread, display->prepareForCall(), "eglHandleGPUSwitchANGLE", in HandleGPUSwitchANGLE()
852 ANGLE_EGL_TRY(thread, display->handleGPUSwitch(), "eglHandleGPUSwitchANGLE", in HandleGPUSwitchANGLE()
855 thread->setSuccess(); in HandleGPUSwitchANGLE()
858 void ForceGPUSwitchANGLE(Thread *thread, Display *display, EGLint gpuIDHigh, EGLint gpuIDLow) in ForceGPUSwitchANGLE() argument
860 ANGLE_EGL_TRY(thread, display->prepareForCall(), "eglForceGPUSwitchANGLE", in ForceGPUSwitchANGLE()
862 ANGLE_EGL_TRY(thread, display->forceGPUSwitch(gpuIDHigh, gpuIDLow), "eglForceGPUSwitchANGLE", in ForceGPUSwitchANGLE()
865 thread->setSuccess(); in ForceGPUSwitchANGLE()
868 void WaitUntilWorkScheduledANGLE(Thread *thread, Display *display) in WaitUntilWorkScheduledANGLE() argument
870 ANGLE_EGL_TRY(thread, display->prepareForCall(), "eglWaitUntilWorkScheduledANGLE", in WaitUntilWorkScheduledANGLE()
872 ANGLE_EGL_TRY(thread, display->waitUntilWorkScheduled(), "eglWaitUntilWorkScheduledANGLE", in WaitUntilWorkScheduledANGLE()
875 thread->setSuccess(); in WaitUntilWorkScheduledANGLE()
878 EGLBoolean QueryDisplayAttribANGLE(Thread *thread, in QueryDisplayAttribANGLE() argument
883 ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglQueryDisplayAttribEXT", in QueryDisplayAttribANGLE()
886 thread->setSuccess(); in QueryDisplayAttribANGLE()
890 EGLBoolean LockSurfaceKHR(Thread *thread, in LockSurfaceKHR() argument
897 ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglLockSurfaceKHR", in LockSurfaceKHR()
899 ANGLE_EGL_TRY_RETURN(thread, surface->lockSurfaceKHR(display, attributes), "eglLockSurfaceKHR", in LockSurfaceKHR()
901 thread->setSuccess(); in LockSurfaceKHR()
905 EGLBoolean UnlockSurfaceKHR(Thread *thread, egl::Display *display, SurfaceID surfaceID) in UnlockSurfaceKHR() argument
909 ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglUnlockSurfaceKHR", in UnlockSurfaceKHR()
911 ANGLE_EGL_TRY_RETURN(thread, surface->unlockSurfaceKHR(display), "eglQuerySurface64KHR", in UnlockSurfaceKHR()
913 thread->setSuccess(); in UnlockSurfaceKHR()
917 EGLBoolean QuerySurface64KHR(Thread *thread, in QuerySurface64KHR() argument
925 ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglQuerySurface64KHR", in QuerySurface64KHR()
928 thread, QuerySurfaceAttrib64KHR(display, thread->getContext(), surface, attribute, value), in QuerySurface64KHR()
930 thread->setSuccess(); in QuerySurface64KHR()
934 EGLBoolean ExportVkImageANGLE(Thread *thread, in ExportVkImageANGLE() argument
942 ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglExportVkImageANGLE", in ExportVkImageANGLE()
944 ANGLE_EGL_TRY_RETURN(thread, image->exportVkImage(vk_image, vk_image_create_info), in ExportVkImageANGLE()
947 thread->setSuccess(); in ExportVkImageANGLE()
951 EGLBoolean SetDamageRegionKHR(Thread *thread, in SetDamageRegionKHR() argument
959 ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglSetDamageRegionKHR", in SetDamageRegionKHR()
963 thread->setSuccess(); in SetDamageRegionKHR()
967 EGLBoolean QueryDmaBufFormatsEXT(Thread *thread, in QueryDmaBufFormatsEXT() argument
973 ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglQueryDmaBufFormatsEXT", in QueryDmaBufFormatsEXT()
975 ANGLE_EGL_TRY_RETURN(thread, display->queryDmaBufFormats(max_formats, formats, num_formats), in QueryDmaBufFormatsEXT()
977 thread->setSuccess(); in QueryDmaBufFormatsEXT()
981 EGLBoolean QueryDmaBufModifiersEXT(Thread *thread, in QueryDmaBufModifiersEXT() argument
989 ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglQueryDmaBufModifiersEXT", in QueryDmaBufModifiersEXT()
991 ANGLE_EGL_TRY_RETURN(thread, in QueryDmaBufModifiersEXT()
995 thread->setSuccess(); in QueryDmaBufModifiersEXT()
999 void *CopyMetalSharedEventANGLE(Thread *thread, Display *display, SyncID syncID) in CopyMetalSharedEventANGLE() argument
1001 ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglCopyMetalSharedEventANGLE", in CopyMetalSharedEventANGLE()
1005 ANGLE_EGL_TRY_RETURN(thread, syncObject->copyMetalSharedEventANGLE(display, &result), in CopyMetalSharedEventANGLE()
1008 thread->setSuccess(); in CopyMetalSharedEventANGLE()
1012 void AcquireExternalContextANGLE(Thread *thread, egl::Display *display, SurfaceID drawAndReadPacked) in AcquireExternalContextANGLE() argument
1016 ANGLE_EGL_TRY(thread, display->prepareForCall(), "eglAcquireExternalContextANGLE", in AcquireExternalContextANGLE()
1018 ANGLE_EGL_TRY(thread, thread->getContext()->acquireExternalContext(eglSurface), in AcquireExternalContextANGLE()
1021 thread->setSuccess(); in AcquireExternalContextANGLE()
1024 void ReleaseExternalContextANGLE(Thread *thread, egl::Display *display) in ReleaseExternalContextANGLE() argument
1026 ANGLE_EGL_TRY(thread, display->prepareForCall(), "eglReleaseExternalContextANGLE", in ReleaseExternalContextANGLE()
1028 ANGLE_EGL_TRY(thread, thread->getContext()->releaseExternalContext(), in ReleaseExternalContextANGLE()
1031 thread->setSuccess(); in ReleaseExternalContextANGLE()