projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'llvm-cliptest-viewport'
[mesa.git]
/
include
/
GL
/
wmesa.h
diff --git
a/include/GL/wmesa.h
b/include/GL/wmesa.h
index 0a6e8b64246a1aff1104677e6f548a33028fbd59..f5f4f273ba9483c42ec7942b414e8e095e619189 100644
(file)
--- a/
include/GL/wmesa.h
+++ b/
include/GL/wmesa.h
@@
-78,7
+78,7
@@
typedef struct wmesa_context *WMesaContext;
* appropriate colormap.
*
* Input:
* appropriate colormap.
*
* Input:
- * h
Wnd - Window handle
+ * h
DC - Windows device or memory context
* Pal - Palette to use
* rgb_flag - GL_TRUE = RGB mode,
* GL_FALSE = color index mode
* Pal - Palette to use
* rgb_flag - GL_TRUE = RGB mode,
* GL_FALSE = color index mode
@@
-91,7
+91,7
@@
typedef struct wmesa_context *WMesaContext;
*
* Return: a WMesa_context or NULL if error.
*/
*
* Return: a WMesa_context or NULL if error.
*/
-extern WMesaContext WMesaCreateContext(H
WND hWnd
,HPALETTE* pPal,
+extern WMesaContext WMesaCreateContext(H
DC hDC
,HPALETTE* pPal,
GLboolean rgb_flag,
GLboolean db_flag,
GLboolean alpha_flag);
GLboolean rgb_flag,
GLboolean db_flag,
GLboolean alpha_flag);
@@
-100,15
+100,14
@@
extern WMesaContext WMesaCreateContext(HWND hWnd,HPALETTE* pPal,
/*
* Destroy a rendering context as returned by WMesaCreateContext()
*/
/*
* Destroy a rendering context as returned by WMesaCreateContext()
*/
-/*extern void WMesaDestroyContext( WMesaContext ctx );*/
-extern void WMesaDestroyContext( void );
+extern void WMesaDestroyContext( WMesaContext ctx );
/*
* Make the specified context the current one.
*/
/*
* Make the specified context the current one.
*/
-extern void WMesaMakeCurrent( WMesaContext ctx );
+extern void WMesaMakeCurrent( WMesaContext ctx
, HDC hdc
);
/*
/*
@@
-121,7
+120,7
@@
extern WMesaContext WMesaGetCurrentContext( void );
* Swap the front and back buffers for the current context. No action
* taken if the context is not double buffered.
*/
* Swap the front and back buffers for the current context. No action
* taken if the context is not double buffered.
*/
-extern void WMesaSwapBuffers(
void
);
+extern void WMesaSwapBuffers(
HDC hdc
);
/*
/*
@@
-131,7
+130,7
@@
extern void WMesaPaletteChange(HPALETTE Pal);
extern void WMesaMove(void);
extern void WMesaMove(void);
-
+void WMesaShareLists(WMesaContext ctx_to_share, WMesaContext ctx);
#ifdef __cplusplus
}
#ifdef __cplusplus
}