/third_party/skia/third_party/externals/angle2/src/libGLESv2/ |
H A D | egl_ext_stubs.cpp | 22 EGLint ClientWaitSyncKHR(Thread *thread, in ClientWaitSyncKHR() argument 28 ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglClientWaitSync", in ClientWaitSyncKHR() 30 gl::Context *currentContext = thread->getContext(); in ClientWaitSyncKHR() 33 thread, syncObject->clientWait(display, currentContext, flags, timeout, &syncStatus), in ClientWaitSyncKHR() 36 thread->setSuccess(); in ClientWaitSyncKHR() 40 EGLImageKHR CreateImageKHR(Thread *thread, in CreateImageKHR() argument 47 ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglCreateImageKHR", in CreateImageKHR() 50 ANGLE_EGL_TRY_RETURN(thread, display->createImage(context, target, buffer, attributes, &image), in CreateImageKHR() 53 thread->setSuccess(); in CreateImageKHR() 57 EGLClientBuffer CreateNativeClientBufferANDROID(Thread *thread, cons argument 68 CreatePlatformPixmapSurfaceEXT(Thread *thread, Display *display, Config *configPacked, void *native_pixmap, const AttributeMap &attributes) CreatePlatformPixmapSurfaceEXT() argument 81 CreatePlatformWindowSurfaceEXT(Thread *thread, Display *display, Config *configPacked, void *native_window, const AttributeMap &attributes) CreatePlatformWindowSurfaceEXT() argument 94 CreateStreamKHR(Thread *thread, Display *display, const AttributeMap &attributes) CreateStreamKHR() argument 106 CreateSyncKHR(Thread *thread, Display *display, EGLenum type, const AttributeMap &attributes) CreateSyncKHR() argument 122 DebugMessageControlKHR(Thread *thread, EGLDEBUGPROCKHR callback, const AttributeMap &attributes) DebugMessageControlKHR() argument 133 DestroyImageKHR(Thread *thread, Display *display, Image *img) DestroyImageKHR() argument 143 DestroyStreamKHR(Thread *thread, Display *display, Stream *streamObject) DestroyStreamKHR() argument 153 DestroySyncKHR(Thread *thread, Display *display, Sync *syncObject) DestroySyncKHR() argument 163 DupNativeFenceFDANDROID(Thread *thread, Display *display, Sync *syncObject) DupNativeFenceFDANDROID() argument 176 GetNativeClientBufferANDROID(Thread *thread, const struct AHardwareBuffer *buffer) GetNativeClientBufferANDROID() argument 182 GetPlatformDisplayEXT(Thread *thread, EGLenum platform, void *native_display, const AttributeMap &attribMap) GetPlatformDisplayEXT() argument 204 GetSyncAttribKHR(Thread *thread, Display *display, Sync *syncObject, EGLint attribute, EGLint *value) GetSyncAttribKHR() argument 219 LabelObjectKHR(Thread *thread, Display *display, ObjectType objectTypePacked, EGLObjectKHR object, EGLLabelKHR label) LabelObjectKHR() argument 234 PostSubBufferNV(Thread *thread, Display *display, Surface *eglSurface, EGLint x, EGLint y, EGLint width, EGLint height) PostSubBufferNV() argument 255 PresentationTimeANDROID(Thread *thread, Display *display, Surface *eglSurface, EGLnsecsANDROID time) PresentationTimeANDROID() argument 269 GetCompositorTimingSupportedANDROID(Thread *thread, Display *display, Surface *eglSurface, CompositorTiming nameInternal) GetCompositorTimingSupportedANDROID() argument 278 GetCompositorTimingANDROID(Thread *thread, Display *display, Surface *eglSurface, EGLint numTimestamps, const EGLint *names, EGLnsecsANDROID *values) GetCompositorTimingANDROID() argument 295 GetNextFrameIdANDROID(Thread *thread, Display *display, Surface *eglSurface, EGLuint64KHR *frameId) GetNextFrameIdANDROID() argument 309 GetFrameTimestampSupportedANDROID(Thread *thread, Display *display, Surface *eglSurface, Timestamp timestampInternal) GetFrameTimestampSupportedANDROID() argument 320 GetFrameTimestampsANDROID(Thread *thread, Display *display, Surface *eglSurface, EGLuint64KHR frameId, EGLint numTimestamps, const EGLint *timestamps, EGLnsecsANDROID *values) GetFrameTimestampsANDROID() argument 338 QueryDebugKHR(Thread *thread, EGLint attribute, EGLAttrib *value) QueryDebugKHR() argument 362 QueryDeviceAttribEXT(Thread *thread, Device *dev, EGLint attribute, EGLAttrib *value) QueryDeviceAttribEXT() argument 371 QueryDeviceStringEXT(Thread *thread, Device *dev, EGLint name) QueryDeviceStringEXT() argument 391 QueryDisplayAttribEXT(Thread *thread, Display *display, EGLint attribute, EGLAttrib *value) QueryDisplayAttribEXT() argument 403 QueryStreamKHR(Thread *thread, Display *display, Stream *streamObject, EGLenum attribute, EGLint *value) QueryStreamKHR() argument 430 QueryStreamu64KHR(Thread *thread, Display *display, Stream *streamObject, EGLenum attribute, EGLuint64KHR *value) QueryStreamu64KHR() argument 454 QuerySurfacePointerANGLE(Thread *thread, Display *display, Surface *eglSurface, EGLint attribute, void **value) QuerySurfacePointerANGLE() argument 474 SetBlobCacheFuncsANDROID(Thread *thread, Display *display, EGLSetBlobFuncANDROID set, EGLGetBlobFuncANDROID get) SetBlobCacheFuncsANDROID() argument 485 SignalSyncKHR(Thread *thread, Display *display, Sync *syncObject, EGLenum mode) SignalSyncKHR() argument 495 StreamAttribKHR(Thread *thread, Display *display, Stream *streamObject, EGLenum attribute, EGLint value) StreamAttribKHR() argument 519 StreamConsumerAcquireKHR(Thread *thread, Display *display, Stream *streamObject) StreamConsumerAcquireKHR() argument 530 StreamConsumerGLTextureExternalKHR(Thread *thread, Display *display, Stream *streamObject) StreamConsumerGLTextureExternalKHR() argument 544 StreamConsumerGLTextureExternalAttribsNV(Thread *thread, Display *display, Stream *streamObject, const AttributeMap &attributes) StreamConsumerGLTextureExternalAttribsNV() argument 561 StreamConsumerReleaseKHR(Thread *thread, Display *display, Stream *streamObject) StreamConsumerReleaseKHR() argument 574 SwapBuffersWithDamageKHR(Thread *thread, Display *display, Surface *eglSurface, const EGLint *rects, EGLint n_rects) SwapBuffersWithDamageKHR() argument 590 WaitSyncKHR(Thread *thread, Display *display, Sync *syncObject, EGLint flags) WaitSyncKHR() argument 602 CreateDeviceANGLE(Thread *thread, EGLint device_type, void *native_device, const EGLAttrib *attrib_list) CreateDeviceANGLE() argument 615 ReleaseDeviceANGLE(Thread *thread, Device *dev) ReleaseDeviceANGLE() argument 623 CreateStreamProducerD3DTextureANGLE(Thread *thread, Display *display, Stream *streamObject, const AttributeMap &attributes) CreateStreamProducerD3DTextureANGLE() argument 638 StreamPostD3DTextureANGLE(Thread *thread, Display *display, Stream *streamObject, void *texture, const AttributeMap &attributes) StreamPostD3DTextureANGLE() argument 653 GetMscRateANGLE(Thread *thread, Display *display, Surface *eglSurface, EGLint *numerator, EGLint *denominator) GetMscRateANGLE() argument 668 GetSyncValuesCHROMIUM(Thread *thread, Display *display, Surface *eglSurface, EGLuint64KHR *ust, EGLuint64KHR *msc, EGLuint64KHR *sbc) GetSyncValuesCHROMIUM() argument 685 ProgramCacheGetAttribANGLE(Thread *thread, Display *display, EGLenum attrib) ProgramCacheGetAttribANGLE() argument 693 ProgramCacheQueryANGLE(Thread *thread, Display *display, EGLint index, void *key, EGLint *keysize, void *binary, EGLint *binarysize) ProgramCacheQueryANGLE() argument 709 ProgramCachePopulateANGLE(Thread *thread, Display *display, const void *key, EGLint keysize, const void *binary, EGLint binarysize) ProgramCachePopulateANGLE() argument 724 ProgramCacheResizeANGLE(Thread *thread, Display *display, EGLint limit, EGLint mode) ProgramCacheResizeANGLE() argument 732 QueryStringiANGLE(Thread *thread, Display *display, EGLint name, EGLint index) QueryStringiANGLE() argument 740 SwapBuffersWithFrameTokenANGLE(Thread *thread, Display *display, Surface *eglSurface, EGLFrameTokenANGLE frametoken) SwapBuffersWithFrameTokenANGLE() argument 755 ReleaseHighPowerGPUANGLE(Thread *thread, Display *display, gl::Context *context) ReleaseHighPowerGPUANGLE() argument 765 ReacquireHighPowerGPUANGLE(Thread *thread, Display *display, gl::Context *context) ReacquireHighPowerGPUANGLE() argument 775 HandleGPUSwitchANGLE(Thread *thread, Display *display) HandleGPUSwitchANGLE() argument 785 QueryDisplayAttribANGLE(Thread *thread, Display *display, EGLint attribute, EGLAttrib *value) QueryDisplayAttribANGLE() argument 797 LockSurfaceKHR(Thread *thread, egl::Display *display, Surface *surface, const AttributeMap &attributes) LockSurfaceKHR() argument 810 UnlockSurfaceKHR(Thread *thread, egl::Display *display, Surface *surface) UnlockSurfaceKHR() argument 820 QuerySurface64KHR(Thread *thread, egl::Display *display, Surface *surface, EGLint attribute, EGLAttribKHR *value) QuerySurface64KHR() argument 835 ExportVkImageANGLE(Thread *thread, egl::Display *display, Image *image, void *vk_image, void *vk_image_create_info) ExportVkImageANGLE() argument [all...] |
H A D | egl_stubs.cpp | 50 EGLBoolean BindAPI(Thread *thread, EGLenum api) in BindAPI() argument 52 thread->setAPI(api); in BindAPI() 54 thread->setSuccess(); in BindAPI() 58 EGLBoolean BindTexImage(Thread *thread, Display *display, Surface *eglSurface, EGLint buffer) in BindTexImage() argument 60 ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglBindTexImage", in BindTexImage() 63 gl::Context *context = thread->getContext(); in BindTexImage() 69 ANGLE_EGL_TRY_RETURN(thread, eglSurface->bindTexImage(context, textureObject, buffer), in BindTexImage() 73 thread->setSuccess(); in BindTexImage() 77 EGLBoolean ChooseConfig(Thread *thread, in ChooseConfig() argument 86 thread in ChooseConfig() 90 ClientWaitSync(Thread *thread, Display *display, Sync *syncObject, EGLint flags, EGLTime timeout) ClientWaitSync() argument 108 CopyBuffers(Thread *thread, Display *display, Surface *eglSurface, EGLNativePixmapType target) CopyBuffers() argument 121 CreateContext(Thread *thread, Display *display, Config *configuration, gl::Context *sharedGLContext, const AttributeMap &attributes) CreateContext() argument 139 CreateImage(Thread *thread, Display *display, gl::Context *context, EGLenum target, EGLClientBuffer buffer, const AttributeMap &attributes) CreateImage() argument 161 CreatePbufferFromClientBuffer(Thread *thread, Display *display, EGLenum buftype, EGLClientBuffer buffer, Config *configuration, const AttributeMap &attributes) CreatePbufferFromClientBuffer() argument 180 CreatePbufferSurface(Thread *thread, Display *display, Config *configuration, const AttributeMap &attributes) CreatePbufferSurface() argument 194 CreatePixmapSurface(Thread *thread, Display *display, Config *configuration, EGLNativePixmapType pixmap, const AttributeMap &attributes) CreatePixmapSurface() argument 211 CreatePlatformPixmapSurface(Thread *thread, Display *display, Config *configuration, void *pixmap, const AttributeMap &attributes) CreatePlatformPixmapSurface() argument 229 CreatePlatformWindowSurface(Thread *thread, Display *display, Config *configuration, void *win, const AttributeMap &attributes) CreatePlatformWindowSurface() argument 246 CreateSync(Thread *thread, Display *display, EGLenum type, const AttributeMap &attributes) CreateSync() argument 260 CreateWindowSurface(Thread *thread, Display *display, Config *configuration, EGLNativeWindowType win, const AttributeMap &attributes) CreateWindowSurface() argument 277 DestroyContext(Thread *thread, Display *display, gl::Context *context) DestroyContext() argument 290 DestroyImage(Thread *thread, Display *display, Image *img) DestroyImage() argument 300 DestroySurface(Thread *thread, Display *display, Surface *eglSurface) DestroySurface() argument 311 DestroySync(Thread *thread, Display *display, Sync *syncObject) DestroySync() argument 321 GetConfigAttrib(Thread *thread, Display *display, Config *configuration, EGLint attribute, EGLint *value) GetConfigAttrib() argument 333 GetConfigs(Thread *thread, Display *display, EGLConfig *configs, EGLint config_size, EGLint *num_config) GetConfigs() argument 345 GetCurrentContext(Thread *thread) GetCurrentContext() argument 353 GetCurrentDisplay(Thread *thread) GetCurrentDisplay() argument 363 GetCurrentSurface(Thread *thread, EGLint readdraw) GetCurrentSurface() argument 382 GetDisplay(Thread *thread, EGLNativeDisplayType display_id) GetDisplay() argument 387 GetError(Thread *thread) GetError() argument 394 GetPlatformDisplay(Thread *thread, EGLenum platform, void *native_display, const AttributeMap &attribMap) GetPlatformDisplay() argument 416 GetProcAddress(Thread *thread, const char *procname) GetProcAddress() argument 431 GetSyncAttrib(Thread *thread, Display *display, Sync *syncObject, EGLint attribute, EGLAttrib *value) GetSyncAttrib() argument 446 Initialize(Thread *thread, Display *display, EGLint *major, EGLint *minor) Initialize() argument 460 MakeCurrent(Thread *thread, Display *display, Surface *drawSurface, Surface *readSurface, gl::Context *context) MakeCurrent() argument 487 QueryAPI(Thread *thread) QueryAPI() argument 495 QueryContext(Thread *thread, Display *display, gl::Context *context, EGLint attribute, EGLint *value) QueryContext() argument 509 QueryString(Thread *thread, Display *display, EGLint name) QueryString() argument 552 QuerySurface(Thread *thread, Display *display, Surface *eglSurface, EGLint attribute, EGLint *value) QuerySurface() argument 568 ReleaseTexImage(Thread *thread, Display *display, Surface *eglSurface, EGLint buffer) ReleaseTexImage() argument 585 ReleaseThread(Thread *thread) ReleaseThread() argument 615 SurfaceAttrib(Thread *thread, Display *display, Surface *eglSurface, EGLint attribute, EGLint value) SurfaceAttrib() argument 631 SwapBuffers(Thread *thread, Display *display, Surface *eglSurface) SwapBuffers() argument 643 SwapInterval(Thread *thread, Display *display, EGLint interval) SwapInterval() argument 659 Terminate(Thread *thread, Display *display) Terminate() argument 673 WaitClient(Thread *thread) WaitClient() argument 695 WaitGL(Thread *thread) WaitGL() argument 717 WaitNative(Thread *thread, EGLint engine) WaitNative() argument 736 WaitSync(Thread *thread, Display *display, Sync *syncObject, EGLint flags) WaitSync() argument [all...] |
H A D | egl_stubs_autogen.h | 35 EGLBoolean BindAPI(Thread *thread, EGLenum api); 36 EGLBoolean BindTexImage(Thread *thread, 40 EGLBoolean ChooseConfig(Thread *thread, 46 EGLint ClientWaitSync(Thread *thread, 51 EGLBoolean CopyBuffers(Thread *thread, 55 EGLContext CreateContext(Thread *thread, 60 EGLImage CreateImage(Thread *thread, 66 EGLSurface CreatePbufferFromClientBuffer(Thread *thread, 72 EGLSurface CreatePbufferSurface(Thread *thread, 76 EGLSurface CreatePixmapSurface(Thread *thread, [all...] |
H A D | entry_points_egl_autogen.cpp | 36 Thread *thread = egl::GetCurrentThread(); in EGL_ChooseConfig() local 41 ANGLE_EGL_VALIDATE(thread, ChooseConfig, GetDisplayIfValid(dpyPacked), EGLBoolean, dpyPacked, in EGL_ChooseConfig() 44 return ChooseConfig(thread, dpyPacked, attrib_listPacked, configs, config_size, num_config); in EGL_ChooseConfig() 56 Thread *thread = egl::GetCurrentThread(); in EGL_CopyBuffers() local 61 ANGLE_EGL_VALIDATE(thread, CopyBuffers, GetDisplayIfValid(dpyPacked), EGLBoolean, dpyPacked, in EGL_CopyBuffers() 64 return CopyBuffers(thread, dpyPacked, surfacePacked, target); in EGL_CopyBuffers() 78 Thread *thread = egl::GetCurrentThread(); in EGL_CreateContext() local 85 ANGLE_EGL_VALIDATE(thread, CreateContext, GetDisplayIfValid(dpyPacked), EGLContext, dpyPacked, in EGL_CreateContext() 88 return CreateContext(thread, dpyPacked, configPacked, share_contextPacked, attrib_listPacked); in EGL_CreateContext() 101 Thread *thread in EGL_CreatePbufferSurface() local 124 Thread *thread = egl::GetCurrentThread(); EGL_CreatePixmapSurface() local 147 Thread *thread = egl::GetCurrentThread(); EGL_CreateWindowSurface() local 165 Thread *thread = egl::GetCurrentThread(); EGL_DestroyContext() local 182 Thread *thread = egl::GetCurrentThread(); EGL_DestroySurface() local 204 Thread *thread = egl::GetCurrentThread(); EGL_GetConfigAttrib() local 226 Thread *thread = egl::GetCurrentThread(); EGL_GetConfigs() local 241 Thread *thread = egl::GetCurrentThread(); EGL_GetCurrentDisplay() local 253 Thread *thread = egl::GetCurrentThread(); EGL_GetCurrentSurface() local 265 Thread *thread = egl::GetCurrentThread(); EGL_GetDisplay() local 277 Thread *thread = egl::GetCurrentThread(); EGL_GetError() local 289 Thread *thread = egl::GetCurrentThread(); EGL_GetProcAddress() local 304 Thread *thread = egl::GetCurrentThread(); EGL_Initialize() local 325 Thread *thread = egl::GetCurrentThread(); EGL_MakeCurrent() local 349 Thread *thread = egl::GetCurrentThread(); EGL_QueryContext() local 365 Thread *thread = egl::GetCurrentThread(); EGL_QueryString() local 386 Thread *thread = egl::GetCurrentThread(); EGL_QuerySurface() local 403 Thread *thread = egl::GetCurrentThread(); EGL_SwapBuffers() local 419 Thread *thread = egl::GetCurrentThread(); EGL_Terminate() local 433 Thread *thread = egl::GetCurrentThread(); EGL_WaitGL() local 445 Thread *thread = egl::GetCurrentThread(); EGL_WaitNative() local 459 Thread *thread = egl::GetCurrentThread(); EGL_BindTexImage() local 476 Thread *thread = egl::GetCurrentThread(); EGL_ReleaseTexImage() local 497 Thread *thread = egl::GetCurrentThread(); EGL_SurfaceAttrib() local 513 Thread *thread = egl::GetCurrentThread(); EGL_SwapInterval() local 529 Thread *thread = egl::GetCurrentThread(); EGL_BindAPI() local 549 Thread *thread = egl::GetCurrentThread(); EGL_CreatePbufferFromClientBuffer() local 567 Thread *thread = egl::GetCurrentThread(); EGL_QueryAPI() local 579 Thread *thread = egl::GetCurrentThread(); EGL_ReleaseThread() local 591 Thread *thread = egl::GetCurrentThread(); EGL_WaitClient() local 604 Thread *thread = egl::GetCurrentThread(); EGL_GetCurrentContext() local 619 Thread *thread = egl::GetCurrentThread(); EGL_ClientWaitSync() local 642 Thread *thread = egl::GetCurrentThread(); EGL_CreateImage() local 665 Thread *thread = egl::GetCurrentThread(); EGL_CreatePlatformPixmapSurface() local 689 Thread *thread = egl::GetCurrentThread(); EGL_CreatePlatformWindowSurface() local 708 Thread *thread = egl::GetCurrentThread(); EGL_CreateSync() local 725 Thread *thread = egl::GetCurrentThread(); EGL_DestroyImage() local 742 Thread *thread = egl::GetCurrentThread(); EGL_DestroySync() local 763 Thread *thread = egl::GetCurrentThread(); EGL_GetPlatformDisplay() local 784 Thread *thread = egl::GetCurrentThread(); EGL_GetSyncAttrib() local 801 Thread *thread = egl::GetCurrentThread(); EGL_WaitSync() local [all...] |
H A D | egl_ext_stubs_autogen.h | 35 EGLint ClientWaitSyncKHR(Thread *thread, 40 EGLImageKHR CreateImageKHR(Thread *thread, 46 EGLClientBuffer CreateNativeClientBufferANDROID(Thread *thread, 48 EGLSurface CreatePlatformPixmapSurfaceEXT(Thread *thread, 53 EGLSurface CreatePlatformWindowSurfaceEXT(Thread *thread, 58 EGLStreamKHR CreateStreamKHR(Thread *thread, 61 EGLSyncKHR CreateSyncKHR(Thread *thread, 65 EGLint DebugMessageControlKHR(Thread *thread, 68 EGLBoolean DestroyImageKHR(Thread *thread, egl::Display *dpyPacked, Image *imagePacked); 69 EGLBoolean DestroyStreamKHR(Thread *thread, eg [all...] |
H A D | entry_points_egl_ext_autogen.cpp | 32 Thread *thread = egl::GetCurrentThread(); in EGL_SetBlobCacheFuncsANDROID() local 36 ANGLE_EGL_VALIDATE_VOID(thread, SetBlobCacheFuncsANDROID, GetDisplayIfValid(dpyPacked), in EGL_SetBlobCacheFuncsANDROID() 39 SetBlobCacheFuncsANDROID(thread, dpyPacked, set, get); in EGL_SetBlobCacheFuncsANDROID() 49 Thread *thread = egl::GetCurrentThread(); in EGL_CreateNativeClientBufferANDROID() local 53 ANGLE_EGL_VALIDATE(thread, CreateNativeClientBufferANDROID, nullptr, EGLClientBuffer, in EGL_CreateNativeClientBufferANDROID() 56 return CreateNativeClientBufferANDROID(thread, attrib_listPacked); in EGL_CreateNativeClientBufferANDROID() 69 Thread *thread = egl::GetCurrentThread(); in EGL_GetCompositorTimingSupportedANDROID() local 75 ANGLE_EGL_VALIDATE(thread, GetCompositorTimingSupportedANDROID, GetDisplayIfValid(dpyPacked), in EGL_GetCompositorTimingSupportedANDROID() 78 return GetCompositorTimingSupportedANDROID(thread, dpyPacked, surfacePacked, namePacked); in EGL_GetCompositorTimingSupportedANDROID() 94 Thread *thread in EGL_GetCompositorTimingANDROID() local 115 Thread *thread = egl::GetCurrentThread(); EGL_GetNextFrameIdANDROID() local 135 Thread *thread = egl::GetCurrentThread(); EGL_GetFrameTimestampSupportedANDROID() local 162 Thread *thread = egl::GetCurrentThread(); EGL_GetFrameTimestampsANDROID() local 180 Thread *thread = egl::GetCurrentThread(); EGL_GetNativeClientBufferANDROID() local 194 Thread *thread = egl::GetCurrentThread(); EGL_DupNativeFenceFDANDROID() local 215 Thread *thread = egl::GetCurrentThread(); EGL_PresentationTimeANDROID() local 237 Thread *thread = egl::GetCurrentThread(); EGL_CreateDeviceANGLE() local 250 Thread *thread = egl::GetCurrentThread(); EGL_ReleaseDeviceANGLE() local 266 Thread *thread = egl::GetCurrentThread(); EGL_QueryStringiANGLE() local 285 Thread *thread = egl::GetCurrentThread(); EGL_QueryDisplayAttribANGLE() local 302 Thread *thread = egl::GetCurrentThread(); EGL_ReleaseHighPowerGPUANGLE() local 319 Thread *thread = egl::GetCurrentThread(); EGL_ReacquireHighPowerGPUANGLE() local 335 Thread *thread = egl::GetCurrentThread(); EGL_HandleGPUSwitchANGLE() local 351 Thread *thread = egl::GetCurrentThread(); EGL_ProgramCacheGetAttribANGLE() local 376 Thread *thread = egl::GetCurrentThread(); EGL_ProgramCacheQueryANGLE() local 398 Thread *thread = egl::GetCurrentThread(); EGL_ProgramCachePopulateANGLE() local 414 Thread *thread = egl::GetCurrentThread(); EGL_ProgramCacheResizeANGLE() local 436 Thread *thread = egl::GetCurrentThread(); EGL_QuerySurfacePointerANGLE() local 458 Thread *thread = egl::GetCurrentThread(); EGL_CreateStreamProducerD3DTextureANGLE() local 481 Thread *thread = egl::GetCurrentThread(); EGL_StreamPostD3DTextureANGLE() local 503 Thread *thread = egl::GetCurrentThread(); EGL_SwapBuffersWithFrameTokenANGLE() local 526 Thread *thread = egl::GetCurrentThread(); EGL_GetMscRateANGLE() local 550 Thread *thread = egl::GetCurrentThread(); EGL_ExportVkImageANGLE() local 574 Thread *thread = egl::GetCurrentThread(); EGL_GetSyncValuesCHROMIUM() local 595 Thread *thread = egl::GetCurrentThread(); EGL_QueryDeviceAttribEXT() local 611 Thread *thread = egl::GetCurrentThread(); EGL_QueryDeviceStringEXT() local 627 Thread *thread = egl::GetCurrentThread(); EGL_QueryDisplayAttribEXT() local 649 Thread *thread = egl::GetCurrentThread(); EGL_CreatePlatformPixmapSurfaceEXT() local 673 Thread *thread = egl::GetCurrentThread(); EGL_CreatePlatformWindowSurfaceEXT() local 696 Thread *thread = egl::GetCurrentThread(); EGL_GetPlatformDisplayEXT() local 715 Thread *thread = egl::GetCurrentThread(); EGL_DebugMessageControlKHR() local 736 Thread *thread = egl::GetCurrentThread(); EGL_LabelObjectKHR() local 753 Thread *thread = egl::GetCurrentThread(); EGL_QueryDebugKHR() local 771 Thread *thread = egl::GetCurrentThread(); EGL_ClientWaitSyncKHR() local 789 Thread *thread = egl::GetCurrentThread(); EGL_CreateSyncKHR() local 806 Thread *thread = egl::GetCurrentThread(); EGL_DestroySyncKHR() local 828 Thread *thread = egl::GetCurrentThread(); EGL_GetSyncAttribKHR() local 852 Thread *thread = egl::GetCurrentThread(); EGL_CreateImageKHR() local 870 Thread *thread = egl::GetCurrentThread(); EGL_DestroyImageKHR() local 892 Thread *thread = egl::GetCurrentThread(); EGL_LockSurfaceKHR() local 915 Thread *thread = egl::GetCurrentThread(); EGL_QuerySurface64KHR() local 932 Thread *thread = egl::GetCurrentThread(); EGL_UnlockSurfaceKHR() local 950 Thread *thread = egl::GetCurrentThread(); EGL_SignalSyncKHR() local 976 Thread *thread = egl::GetCurrentThread(); EGL_CreateStreamKHR() local 993 Thread *thread = egl::GetCurrentThread(); EGL_DestroyStreamKHR() local 1015 Thread *thread = egl::GetCurrentThread(); EGL_QueryStreamKHR() local 1037 Thread *thread = egl::GetCurrentThread(); EGL_QueryStreamu64KHR() local 1058 Thread *thread = egl::GetCurrentThread(); EGL_StreamAttribKHR() local 1076 Thread *thread = egl::GetCurrentThread(); EGL_StreamConsumerAcquireKHR() local 1094 Thread *thread = egl::GetCurrentThread(); EGL_StreamConsumerGLTextureExternalKHR() local 1111 Thread *thread = egl::GetCurrentThread(); EGL_StreamConsumerReleaseKHR() local 1134 Thread *thread = egl::GetCurrentThread(); EGL_SwapBuffersWithDamageKHR() local 1152 Thread *thread = egl::GetCurrentThread(); EGL_WaitSyncKHR() local 1177 Thread *thread = egl::GetCurrentThread(); EGL_PostSubBufferNV() local 1199 Thread *thread = egl::GetCurrentThread(); EGL_StreamConsumerGLTextureExternalAttribsNV() local [all...] |
/third_party/vk-gl-cts/framework/delibs/dethread/unix/ |
H A D | deThreadUnix.c | 21 * \brief Unix implementation of thread management. 53 pthread_t thread; member 62 Thread* thread = (Thread*)entryPtr; in startThread() local 63 deThreadFunc func = thread->func; in startThread() 64 void* arg = thread->arg; in startThread() 66 /* Start actual thread. */ in startThread() 75 Thread* thread = (Thread*)deCalloc(sizeof(Thread)); in deThread_create() local 77 if (!thread) in deThread_create() 80 thread->func = func; in deThread_create() 81 thread in deThread_create() 114 Thread* thread = (Thread*)threadptr; deThread_join() local 132 Thread* thread = (Thread*)threadptr; deThread_destroy() local [all...] |
/third_party/vk-gl-cts/framework/delibs/destream/ |
H A D | deStreamCpyThread.c | 21 * \brief Stream copying thread 30 deStreamCpyThread* thread = (deStreamCpyThread*)arg; in cpyStream() local 31 deUint8* buffer = malloc(sizeof(deUint8) * (size_t)thread->bufferSize); in cpyStream() 39 readResult = deInStream_read(thread->input, buffer, thread->bufferSize, &read); in cpyStream() 44 deOutStream_write(thread->output, buffer, read - written, &wrote); in cpyStream() 56 deOutStream_flush(thread->output); in cpyStream() 62 deStreamCpyThread* thread = malloc(sizeof(deStreamCpyThread)); in deStreamCpyThread_create() local 64 DE_ASSERT(thread); in deStreamCpyThread_create() 68 thread in deStreamCpyThread_create() 76 deStreamCpyThread_destroy(deStreamCpyThread* thread) deStreamCpyThread_destroy() argument 83 deStreamCpyThread_join(deStreamCpyThread* thread) deStreamCpyThread_join() argument [all...] |
/third_party/ltp/testcases/realtime/func/async_handler/ |
H A D | async_handler_jk.c | 24 * An async event server thread is created that goes to sleep waiting 27 * A user thread is created that simulates the firing of an event by 28 * signalling the async handler thread to do some work. 82 struct thread *thread = ((struct thread *)arg); in async_event_server() local 84 thread->func = NULL; // entrypoint in async_event_server() 85 thread->flags |= THREAD_FLAG_SUSPENDED; in async_event_server() 88 if ((err = pthread_mutex_lock(&thread->mutex))) in async_event_server() 92 while (thread in async_event_server() 112 struct thread *thread = ((struct thread *)arg); user_thread() local [all...] |
/third_party/lzma/CPP/Windows/ |
H A D | Thread.h | 14 ::CThread thread;
member in NWindows::MY_UNCOPYABLE 16 CThread() { Thread_CONSTRUCT(&thread) }
in CThread() 18 bool IsCreated() { return Thread_WasCreated(&thread) != 0; }
in IsCreated() 19 WRes Close() { return Thread_Close(&thread); }
in Close() 20 // WRes Wait() { return Thread_Wait(&thread); }
21 WRes Wait_Close() { return Thread_Wait_Close(&thread); }
in Wait_Close() 24 { return Thread_Create(&thread, startAddress, param); }
in Create() 26 { return Thread_Create_With_Affinity(&thread, startAddress, param, affinity); }
in Create_With_Affinity() 28 { return Thread_Create_With_CpuSet(&thread, startAddress, param, cpuSet); }
in Create_With_CpuSet() 31 operator HANDLE() { return thread; }
in operator HANDLE() [all...] |
/third_party/elfutils/libdwfl/ |
H A D | dwfl_frame.c | 50 Ebl *ebl = state->thread->process->ebl; in state_fetch_pc() 86 state_alloc (Dwfl_Thread *thread) in state_alloc() argument 88 assert (thread->unwound == NULL); in state_alloc() 89 Ebl *ebl = thread->process->ebl; in state_alloc() 97 state->thread = thread; in state_alloc() 102 thread->unwound = state; in state_alloc() 231 dwfl_thread_dwfl (Dwfl_Thread *thread) in INTDEF() 233 return thread->process->dwfl; in INTDEF() 238 dwfl_thread_tid (Dwfl_Thread *thread) in INTDEF() 268 Dwfl_Thread thread; INTDEF() local 303 get_one_thread_cb(Dwfl_Thread *thread, void *arg) get_one_thread_cb() argument 319 getthread(Dwfl *dwfl, pid_t tid, int (*callback) (Dwfl_Thread *thread, void *arg), void *arg) getthread() argument 338 Dwfl_Thread thread; getthread() local 377 get_one_thread_frames_cb(Dwfl_Thread *thread, void *arg) get_one_thread_frames_cb() argument [all...] |
/third_party/skia/platform_tools/android/apps/skottie/ |
H A D | skottie_metric.sql | 21 thread.upid as process_upid 24 INNER JOIN thread ON (thread.utid = thread_track.utid) 38 INNER JOIN thread ON (thread.utid = thread_track.utid) 39 INNER JOIN test_start_ts ON (test_start_ts.process_upid = thread.upid) 52 INNER JOIN thread ON (thread.utid = thread_track.utid) 64 thread.upid as process_upid 67 INNER JOIN thread O [all...] |
/third_party/pulseaudio/src/pulse/ |
H A D | thread-mainloop.c | 37 #include <pulsecore/thread.h> 42 #include "thread-mainloop.h" 49 pa_thread* thread; member 57 return pa_thread_self() == m->thread; in in_worker() 67 * avahi_simple_poll_quit() can succeed from another thread. */ in poll_func() 76 static void thread(void *userdata) { in thread() function 85 // Once thread OS_RendererML and OS_AudioML is created, it will not exit. in thread() 90 // Handle unexpected thread termination: kill the process to ensure continued service in user ver. in thread() 122 /* Make sure that this function is not called from the helper thread */ in pa_threaded_mainloop_free() 123 pa_assert((m->thread in pa_threaded_mainloop_free() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/ |
H A D | thread.h | 1 //===-- llvm/Support/thread.h - Wrapper for <thread> ------------*- C++ -*-===// 9 // This header is a wrapper for <thread> that works around problems with the 10 // MSVC headers when exceptions are disabled. It also provides llvm::thread, 11 // which is either a typedef of std::thread or a replacement that calls the 23 #include <thread> 26 typedef std::thread thread; typedef 35 struct thread { 36 thread() {} [all...] |
/third_party/ffmpeg/libavfilter/ |
H A D | pthread.c | 33 #include "thread.h" 37 AVSliceThread *thread; member 56 avpriv_slicethread_free(&c->thread); in slice_thread_uninit() 62 ThreadContext *c = ctx->graph->internal->thread; in thread_execute() 71 avpriv_slicethread_execute(c->thread, nb_jobs, 0); in thread_execute() 77 nb_threads = avpriv_slicethread_create(&c->thread, c, worker_func, NULL, nb_threads); in thread_init_internal() 79 avpriv_slicethread_free(&c->thread); in thread_init_internal() 92 graph->internal->thread = av_mallocz(sizeof(ThreadContext)); in ff_graph_thread_init() 93 if (!graph->internal->thread) in ff_graph_thread_init() 96 ret = thread_init_internal(graph->internal->thread, grap in ff_graph_thread_init() [all...] |
/third_party/vk-gl-cts/framework/delibs/dethread/ |
H A D | deThreadTest.c | 96 deThread thread = deThread_create(threadTestThr1, &val, DE_NULL); in deThread_selfTest() local 97 DE_TEST_ASSERT(thread); in deThread_selfTest() 99 ret = deThread_join(thread); in deThread_selfTest() 102 deThread_destroy(thread); in deThread_selfTest() 107 deThread thread = deThread_create(threadTestThr2, DE_NULL, DE_NULL); in deThread_selfTest() local 109 DE_TEST_ASSERT(thread); in deThread_selfTest() 111 ret = deThread_join(thread); in deThread_selfTest() 114 deThread_destroy(thread); in deThread_selfTest() 120 deThread thread; in deThread_selfTest() local 126 thread in deThread_selfTest() 141 deThread thread; deThread_selfTest() local 158 deThread thread; deThread_selfTest() local 277 deThread thread; deMutex_selfTest() local 337 deThread thread; deMutex_selfTest() local 637 deThread thread = deThread_create(singletonTestThread, &initTimeMs, DE_NULL); runSingletonThreadedTest() local 649 deThread thread = deThreadArray_get(threads, threadNdx); runSingletonThreadedTest() local [all...] |
/third_party/python/Lib/test/ |
H A D | test_thread.py | 6 import _thread as thread namespace 18 _print_mutex = thread.allocate_lock() 30 self.done_mutex = thread.allocate_lock() 32 self.running_mutex = thread.allocate_lock() 33 self.random_mutex = thread.allocate_lock() 48 thread.start_new_thread(self.task, (self.next_ident,)) 65 # Basic test for thread creation. 74 self.assertEqual(thread.stack_size(), 0, "initial stack size is not 0") 76 thread.stack_size(0) 77 self.assertEqual(thread [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
H A D | thread.h | 1 //===-- llvm/Support/thread.h - Wrapper for <thread> ------------*- C++ -*-===// 10 // This header is a wrapper for <thread> that works around problems with the 11 // MSVC headers when exceptions are disabled. It also provides llvm::thread, 12 // which is either a typedef of std::thread or a replacement that calls the 34 #include <thread> 41 typedef std::thread thread; typedef 50 struct thread { 51 thread() {} [all...] |
/third_party/libuv/test/ |
H A D | test-thread.c | 116 struct test_thread* thread = arg; in do_work() local 136 thread->thread_called = 1; in do_work() 162 /* Hilariously bad test name. Run a lot of tasks in the thread pool and verify 163 * that each "finished" callback is run in its originating thread. 221 /* 512 kB is the default stack size of threads other than the main thread in thread_check_stack() 246 uv_thread_t thread; in TEST_IMPL() local 247 ASSERT_OK(uv_thread_create(&thread, thread_check_stack, NULL)); in TEST_IMPL() 248 ASSERT_OK(uv_thread_join(&thread)); in TEST_IMPL() 253 uv_thread_t thread; in TEST_IMPL() local 258 ASSERT_OK(uv_thread_create_ex(&thread, in TEST_IMPL() [all...] |
/third_party/python/Modules/ |
H A D | faulthandler.c | 96 /* The main thread always holds this lock. It is only released when 97 faulthandler_thread() is interrupted before this thread exits, or at 100 /* released by child thread when joined */ 102 } thread; variable 214 /* Get the state of the current thread: only call this function if the current 215 thread holds the GIL. Raise an exception on error. */ 223 "unable to get the current thread state"); in get_thread_state() 242 are thus delivered to the thread that caused the fault. Get the Python in faulthandler_dump_traceback() 243 thread state of the current thread in faulthandler_dump_traceback() 1098 long thread; faulthandler_fatal_error_c_thread() local [all...] |
/third_party/skia/third_party/externals/abseil-cpp/absl/base/internal/ |
H A D | thread_identity_test.cc | 17 #include <thread> // NOLINT(build/c++11) 66 // This tests for the main() thread. in TEST() 75 // - If a thread implementation chooses to recycle threads, that in TEST() 80 std::vector<std::thread> threads; in TEST() 83 std::thread(TestThreadIdentityCurrent, kCheckNoIdentity)); in TEST() 85 for (auto& thread : threads) { in TEST() 86 thread.join(); in TEST() 110 std::vector<std::thread> threads; in TEST() 111 for (int thread = 0; thread < kNumThread in TEST() [all...] |
/third_party/mbedtls/tests/src/ |
H A D | threading_helpers.c | 18 static int threading_thread_create_pthread(mbedtls_test_thread_t *thread, void *(*thread_func)( in threading_thread_create_pthread() argument 21 if (thread == NULL || thread_func == NULL) { in threading_thread_create_pthread() 25 if (pthread_create(&thread->thread, NULL, thread_func, thread_data)) { in threading_thread_create_pthread() 32 static int threading_thread_join_pthread(mbedtls_test_thread_t *thread) in threading_thread_join_pthread() argument 34 if (thread == NULL) { in threading_thread_join_pthread() 38 if (pthread_join(thread->thread, NULL) != 0) { in threading_thread_join_pthread() 45 int (*mbedtls_test_thread_create)(mbedtls_test_thread_t *thread, void *(*thread_func)(void *), 47 int (*mbedtls_test_thread_join)(mbedtls_test_thread_t *thread) 53 threading_thread_create_fail(mbedtls_test_thread_t *thread, void *(*thread_func)(void *), void *thread_data) threading_thread_create_fail() argument 64 threading_thread_join_fail(mbedtls_test_thread_t *thread) threading_thread_join_fail() argument [all...] |
/third_party/node/deps/cares/src/lib/ |
H A D | ares__threads.c | 138 HANDLE thread; member 149 ares__thread_t *thread = lpParameter; in ares__thread_func() local 151 thread->rv = thread->func(thread->arg); in ares__thread_func() 155 ares_status_t ares__thread_create(ares__thread_t **thread, in ares__thread_create() argument 160 if (func == NULL || thread == NULL) { in ares__thread_create() 171 thr->thread = CreateThread(NULL, 0, ares__thread_func, thr, 0, &thr->id); in ares__thread_create() 172 if (thr->thread == NULL) { in ares__thread_create() 177 *thread in ares__thread_create() 181 ares__thread_join(ares__thread_t *thread, void **rv) ares__thread_join() argument 368 pthread_t thread; global() member 371 ares__thread_create(ares__thread_t **thread, ares__thread_func_t func, void *arg) ares__thread_create() argument 393 ares__thread_join(ares__thread_t *thread, void **rv) ares__thread_join() argument 481 ares__thread_create(ares__thread_t **thread, ares__thread_func_t func, void *arg) ares__thread_create() argument 490 ares__thread_join(ares__thread_t *thread, void **rv) ares__thread_join() argument [all...] |
/third_party/node/src/inspector/ |
H A D | main_thread_interface.cc | 24 static T* get(MainThreadInterface* thread, int id) { in get() argument 26 static_cast<DeletableWrapper<T>*>(thread->GetObject(id))->object_.get(); in get() 45 void Call(MainThreadInterface* thread) override { 46 thread->AddObject(object_id_, WrapInDeletable(factory_(thread))); 64 void Call(MainThreadInterface* thread) override { 65 thread->RemoveObject(object_id_); 77 void Call(MainThreadInterface* thread) override { 78 fn_(DeletableWrapper<Target>::get(thread, id_)); 90 std::shared_ptr<MainThreadHandle> thread, in in AnotherThreadObjectReference() 89 AnotherThreadObjectReference( std::shared_ptr<MainThreadHandle> thread, int object_id) AnotherThreadObjectReference() argument 94 AnotherThreadObjectReference( std::shared_ptr<MainThreadHandle> thread, Factory factory) AnotherThreadObjectReference() argument 133 MainThreadSessionState(MainThreadInterface* thread, bool prevent_shutdown) MainThreadSessionState() argument 137 Create( MainThreadInterface* thread, bool prevent_shutdown) Create() argument 160 CrossThreadInspectorSession( int id, std::shared_ptr<MainThreadHandle> thread, std::unique_ptr<InspectorSessionDelegate> delegate, bool prevent_shutdown) CrossThreadInspectorSession() argument 182 ThreadSafeDelegate(std::shared_ptr<MainThreadHandle> thread, int object_id) ThreadSafeDelegate() argument [all...] |
/third_party/ltp/testcases/realtime/lib/ |
H A D | librttest.c | 34 * 2006-May-08: Added atomic_{inc,set,get}, thread struct, debug function, 39 * 2008-Jan-10: Added RR thread support to tests -- Chirag Jog 292 struct thread *thread; in create_thread() local 296 thread = malloc(sizeof(struct thread)); in create_thread() 297 if (!thread) in create_thread() 300 list_add_tail(&thread->_threads, &_threads); in create_thread() 301 pthread_cond_init(&thread->cond, NULL); // Accept the defaults in create_thread() 302 init_pi_mutex(&thread in create_thread() [all...] |