MCPcopy Create free account
hub / github.com/emscripten-core/emscripten / GetCurrentTargetThread

Function GetCurrentTargetThread

system/lib/gl/webgl1.c:65–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

63}
64
65static inline pthread_t GetCurrentTargetThread() {
66 return GetOwningThread(emscripten_webgl_get_current_context());
67}
68
69EMSCRIPTEN_WEBGL_CONTEXT_HANDLE emscripten_webgl_create_context(const char *target, const EmscriptenWebGLContextAttributes *attributes) {
70 GL_FUNCTION_TRACE();

Callers 15

glBufferDataFunction · 0.85
glBufferSubDataFunction · 0.85
glTexImage2DFunction · 0.85
glTexSubImage2DFunction · 0.85
glUniform1fvFunction · 0.85
glUniform1ivFunction · 0.85
glUniform2fvFunction · 0.85
glUniform2ivFunction · 0.85
glUniform3fvFunction · 0.85
glUniform3ivFunction · 0.85
glUniform4fvFunction · 0.85
glUniform4ivFunction · 0.85

Calls 2

GetOwningThreadFunction · 0.85

Tested by

no test coverage detected