MCPcopy Create free account
hub / github.com/apitrace/apitrace / ThreadState

Method ThreadState

wrappers/gltrace_state.cpp:52–55  ·  view source on GitHub ↗

* For cases when there is no current * context, but the app still calls some * GL function that expects one. */

Source from the content-addressed store, hash-verified

50 * GL function that expects one.
51 */
52 ThreadState() : dummy_context(new Context)
53 {
54 current_context = dummy_context;
55 }
56};
57
58static OS_THREAD_LOCAL ThreadState *thread_state;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected