mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-09 00:11:24 +12:00
gl: Refactor image and command-context handling
- Move texture object code out of the monolithic header - All texture binds go through the shared state - Transient texture binds use a dedicated temp image slot shared with native UI
This commit is contained in:
parent
0e5514003a
commit
d577cebd89
12 changed files with 1256 additions and 1202 deletions
|
@ -14,18 +14,6 @@ namespace gl
|
|||
capabilities g_driver_caps;
|
||||
const fbo screen{};
|
||||
|
||||
static thread_local bool s_tls_primary_context_thread = false;
|
||||
|
||||
void set_primary_context_thread(bool value)
|
||||
{
|
||||
s_tls_primary_context_thread = value;
|
||||
}
|
||||
|
||||
bool is_primary_context_thread()
|
||||
{
|
||||
return s_tls_primary_context_thread;
|
||||
}
|
||||
|
||||
void flush_command_queue(fence& fence_obj)
|
||||
{
|
||||
fence_obj.check_signaled();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue