diff options
Diffstat (limited to 'src/VBox/Additions/common/crOpenGL/stub.h')
-rw-r--r-- | src/VBox/Additions/common/crOpenGL/stub.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/VBox/Additions/common/crOpenGL/stub.h b/src/VBox/Additions/common/crOpenGL/stub.h index 61ca2b92..f398e134 100644 --- a/src/VBox/Additions/common/crOpenGL/stub.h +++ b/src/VBox/Additions/common/crOpenGL/stub.h @@ -146,8 +146,7 @@ struct context_info_t Bool direct; GLXContext glxContext; CRHashTable *pGLXPixmapsHash; - Bool damageInitFailed; - Display *damageDpy; /* second display connection to read xdamage extension data */ + Bool damageQueryFailed; int damageEventsBase; #endif }; @@ -222,7 +221,6 @@ typedef struct { int trackWindowVisibleRgn; char *spu_dir; int force_pbuffers; - int viewportHack; /* thread safety stuff */ GLboolean threadSafe; @@ -343,6 +341,9 @@ extern ContextInfo *stubNewContext( const char *dpyName, GLint visBits, ContextT , struct VBOXUHGSMI *pHgsmi #endif ); +extern void stubConChromiumParameteriCR(GLint con, GLenum param, GLint value); +extern GLboolean stubCtxCreate(ContextInfo *context); +extern GLboolean stubCtxCheckCreate(ContextInfo *context); extern void stubDestroyContext( unsigned long contextId ); extern GLboolean stubMakeCurrent( WindowInfo *window, ContextInfo *context ); extern GLint stubNewWindow( const char *dpyName, GLint visBits ); @@ -354,6 +355,7 @@ extern GLboolean stubIsWindowVisible(WindowInfo *win); extern bool stubInit(void); extern void stubForcedFlush(GLint con); +extern void stubConFlush(GLint con); extern void APIENTRY stub_GetChromiumParametervCR( GLenum target, GLuint index, GLenum type, GLsizei count, GLvoid *values ); extern void APIENTRY glBoundsInfoCR(const CRrecti *, const GLbyte *, GLint, GLint); |