[Xquartz-changes] [188] AppleSGLX/trunk/apple_glx_pbuffer.h

source_changes at macosforge.org source_changes at macosforge.org
Thu Feb 19 19:37:10 PST 2009


Revision: 188
          http://trac.macosforge.org/projects/xquartz/changeset/188
Author:   gstaplin at apple.com
Date:     2009-02-19 19:37:08 -0800 (Thu, 19 Feb 2009)
Log Message:
-----------
Add functions for getting and setting the event mask for use
by glXSelectEvent and glXGetSelectedEvent.

Also remove some old declarations for functions that were 
removed previously during the update to apple_glx_pbuffer_query.

Modified Paths:
--------------
    AppleSGLX/trunk/apple_glx_pbuffer.h

Modified: AppleSGLX/trunk/apple_glx_pbuffer.h
===================================================================
--- AppleSGLX/trunk/apple_glx_pbuffer.h	2009-02-20 03:15:10 UTC (rev 187)
+++ AppleSGLX/trunk/apple_glx_pbuffer.h	2009-02-20 03:37:08 UTC (rev 188)
@@ -46,12 +46,10 @@
 bool apple_glx_pbuffer_query(GLXDrawable d, int attribute, 
 			      unsigned int *value);
 
-/* These return true if the drawable is a valid Pbuffer: */
-bool apple_glx_pbuffer_get_width(GLXDrawable d, int *width);
-bool apple_glx_pbuffer_get_height(GLXDrawable d, int *height);
-bool apple_glx_pbuffer_get_fbconfig_id(GLXDrawable d, XID *id);
+/* Returns true if the GLXDrawable is a valid GLXPbuffer, and the mask is set. */
+bool apple_glx_pbuffer_set_event_mask(GLXDrawable d, unsigned long mask);
 
-/* Returns true if an error occurred. */
-bool apple_glx_pbuffer_get_max_size(int *widthresult, int *heightresult);
+/* Returns true if the GLXDrawable is a valid GLXPbuffer, and the *mask is set. */
+bool apple_glx_pbuffer_get_event_mask(GLXDrawable d, unsigned long *mask);
 
 #endif
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/xquartz-changes/attachments/20090219/f918b9c0/attachment.html>


More information about the Xquartz-changes mailing list