forked from i-rinat/libvdpau-va-gl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ctx-stack.h
24 lines (19 loc) · 665 Bytes
/
ctx-stack.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/*
* Copyright 2013 Rinat Ibragimov
*
* This file is part of libvdpau-va-gl
*
* libvdpau-va-gl is distributed under the terms of the LGPLv3. See COPYING for details.
*/
#ifndef __CTX_STACK_H
#define __CTX_STACK_H
#include "vdpau-soft.h"
void glx_context_push_global(Display *dpy, Drawable wnd, GLXContext glc);
void glx_context_push_thread_local(VdpDeviceData *deviceData);
void glx_context_pop(void);
void glx_context_ref_glc_hash_table(Display *dpy, int screen);
void glx_context_unref_glc_hash_table(Display *dpy);
GLXContext glx_context_get_root_context(void);
void glx_context_lock(void);
void glx_context_unlock(void);
#endif /* __CTX_STACK_H */