libgpac
Documentation of the core library of GPAC
|
Macros | |
#define | DDCONTEXT DDContext *dd = (DDContext *)dr->opaque; |
#define | WGL_DRAW_TO_WINDOW_ARB 0x2001 |
#define | WGL_PIXEL_TYPE_ARB 0x2013 |
#define | WGL_RED_BITS_ARB 0x2015 |
#define | WGL_GREEN_BITS_ARB 0x2017 |
#define | WGL_BLUE_BITS_ARB 0x2019 |
#define | WGL_ALPHA_BITS_ARB 0x201B |
#define | WGL_TEXTURE_FORMAT_ARB 0x2072 |
#define | WGL_TEXTURE_TARGET_ARB 0x2073 |
#define | WGL_TEXTURE_RGB_ARB 0x2075 |
#define | WGL_TEXTURE_RGBA_ARB 0x2076 |
#define | WGL_NO_TEXTURE_ARB 0x2077 |
#define | WGL_TEXTURE_2D_ARB 0x207A |
#define | WGL_SUPPORT_OPENGL_ARB 0x2010 |
#define | WGL_DOUBLE_BUFFER_ARB 0x2011 |
#define | WGL_DRAW_TO_PBUFFER_ARB 0x202D |
#define | WGL_BIND_TO_TEXTURE_RGBA_ARB 0x2071 |
#define | WGL_COLOR_BITS_ARB 0x2014 |
#define | WGL_DEPTH_BITS_ARB 0x2022 |
#define | WGL_STENCIL_BITS_ARB 0x2023 |
#define | WGL_ACCELERATION_ARB 0x2003 |
#define | WGL_GENERIC_ACCELERATION_ARB 0x2026 |
#define | WGL_FULL_ACCELERATION_ARB 0x2027 |
#define | WGL_TYPE_RGBA_ARB 0x202B |
Typedefs | |
typedef Bool(APIENTRY * | CHOOSEPFFORMATARB) (HDC hdc, const int *piAttribIList, const FLOAT *pfAttribFList, UINT nMaxFormats, int *piFormats, UINT *nNumFormats) |
typedef Bool(APIENTRY * | GETPIXELFORMATATTRIBIV) (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, const int *piAttributes, int *piValues) |
typedef BOOL(APIENTRY * | PFNWGLSWAPINTERVALFARPROC) (int) |
Functions | |
static void | RestoreWindow (DDContext *dd) |
void | DestroyObjectsEx (DDContext *dd, Bool only_3d) |
void | DestroyObjects (DDContext *dd) |
GF_Err | DD_SetupOpenGL (GF_VideoOutput *dr, u32 offscreen_width, u32 offscreen_height) |
GF_Err | DD_Setup (GF_VideoOutput *dr, void *os_handle, void *os_display, u32 init_flags) |
static void | DD_Shutdown (GF_VideoOutput *dr) |
void | DD_ShowTaskbar (Bool show) |
static GF_Err | DD_SetFullScreen (GF_VideoOutput *dr, Bool bOn, u32 *outWidth, u32 *outHeight) |
GF_Err | DD_Flush (GF_VideoOutput *dr, GF_Window *dest) |
HRESULT WINAPI | EnumDisplayModes (LPDDSURFDESC lpDDDesc, LPVOID lpContext) |
GF_Err | GetDisplayMode (DDContext *dd) |
static void * | NewDXVideoOutput () |
static void | DeleteVideoOutput (void *ifce) |
GPAC_MODULE_EXPORT const u32 * | QueryInterfaces () |
GPAC_MODULE_EXPORT GF_BaseInterface * | LoadInterface (u32 InterfaceType) |
GPAC_MODULE_EXPORT void | ShutdownInterface (GF_BaseInterface *ifce) |
Variables | |
static CHOOSEPFFORMATARB | wglChoosePixelFormatARB = NULL |
static GETPIXELFORMATATTRIBIV | wglGetPixelFormatAttribivARB = NULL |
PFNWGLSWAPINTERVALFARPROC | wglSwapIntervalEXT = NULL |
#define WGL_DRAW_TO_WINDOW_ARB 0x2001 |
#define WGL_PIXEL_TYPE_ARB 0x2013 |
#define WGL_RED_BITS_ARB 0x2015 |
#define WGL_GREEN_BITS_ARB 0x2017 |
#define WGL_BLUE_BITS_ARB 0x2019 |
#define WGL_ALPHA_BITS_ARB 0x201B |
#define WGL_TEXTURE_FORMAT_ARB 0x2072 |
#define WGL_TEXTURE_TARGET_ARB 0x2073 |
#define WGL_TEXTURE_RGB_ARB 0x2075 |
#define WGL_TEXTURE_RGBA_ARB 0x2076 |
#define WGL_NO_TEXTURE_ARB 0x2077 |
#define WGL_TEXTURE_2D_ARB 0x207A |
#define WGL_SUPPORT_OPENGL_ARB 0x2010 |
#define WGL_DOUBLE_BUFFER_ARB 0x2011 |
#define WGL_DRAW_TO_PBUFFER_ARB 0x202D |
#define WGL_BIND_TO_TEXTURE_RGBA_ARB 0x2071 |
#define WGL_COLOR_BITS_ARB 0x2014 |
#define WGL_DEPTH_BITS_ARB 0x2022 |
#define WGL_STENCIL_BITS_ARB 0x2023 |
#define WGL_ACCELERATION_ARB 0x2003 |
#define WGL_GENERIC_ACCELERATION_ARB 0x2026 |
#define WGL_FULL_ACCELERATION_ARB 0x2027 |
#define WGL_TYPE_RGBA_ARB 0x202B |
typedef Bool(APIENTRY * CHOOSEPFFORMATARB) (HDC hdc, const int *piAttribIList, const FLOAT *pfAttribFList, UINT nMaxFormats, int *piFormats, UINT *nNumFormats) |
typedef Bool(APIENTRY * GETPIXELFORMATATTRIBIV) (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, const int *piAttributes, int *piValues) |
typedef BOOL(APIENTRY * PFNWGLSWAPINTERVALFARPROC) (int) |
|
static |
void DestroyObjects | ( | DDContext * | dd | ) |
GF_Err DD_SetupOpenGL | ( | GF_VideoOutput * | dr, |
u32 | offscreen_width, | ||
u32 | offscreen_height | ||
) |
GF_Err DD_Setup | ( | GF_VideoOutput * | dr, |
void * | os_handle, | ||
void * | os_display, | ||
u32 | init_flags | ||
) |
|
static |
void DD_ShowTaskbar | ( | Bool | show | ) |
|
static |
GF_Err DD_Flush | ( | GF_VideoOutput * | dr, |
GF_Window * | dest | ||
) |
HRESULT WINAPI EnumDisplayModes | ( | LPDDSURFDESC | lpDDDesc, |
LPVOID | lpContext | ||
) |
|
static |
|
static |
GPAC_MODULE_EXPORT const u32* QueryInterfaces | ( | ) |
GPAC_MODULE_EXPORT GF_BaseInterface* LoadInterface | ( | u32 | InterfaceType | ) |
GPAC_MODULE_EXPORT void ShutdownInterface | ( | GF_BaseInterface * | ifce | ) |
|
static |
|
static |
PFNWGLSWAPINTERVALFARPROC wglSwapIntervalEXT = NULL |