mesa/src/glx
Marek Olšák 53d06ecdd0 glx/dri2: use uint64_t instead of double to represent time for FPS calculation
Wine or a windows app changes fpucw to 0x7f, causing doubles to be equivalent
to floats, which broke the calculation of FPS.
We should be very careful about using doubles in Mesa.

Henri Verbeet adds:
  For reference, this is done by for example d3d9 when a D3D device is
  created without D3DCREATE_FPU_PRESERVE set. In the general case
  applications can do all kinds of terrible things to the FPU control
  word of course.
2012-10-03 16:55:48 +02:00
..
apple build: Use AX_PTHREAD's HAVE_PTHREAD preprocessor definition 2012-10-01 15:23:04 -07:00
tests build: Use PTHREAD_LIBS and PTHREAD_CFLAGS 2012-10-01 15:23:04 -07:00
.gitignore mesa: Remove the generated glapi from source control, and just build it. 2012-05-29 11:51:57 -07:00
applegl_glx.c Use calloc instead of malloc/memset-0 2012-09-05 22:28:50 -07:00
clientattrib.c Don't cast the return value of malloc/realloc 2012-09-05 22:28:50 -07:00
clientinfo.c Remove Xcalloc/Xmalloc/Xfree calls 2012-09-05 22:28:49 -07:00
compsize.c Have __glImageSize handle format GL_DEPTH_STENCIL_NV the same way as the server does 2012-02-06 23:00:44 +00:00
create_context.c mesa: Require current libxcb. 2012-07-12 12:29:12 -07:00
dri2.c glx: move 'prime' var into #ifdef'd code block 2012-09-06 18:58:49 -06:00
dri2.h Retire miniglx and move the actual glx code up to src/glx 2010-02-09 09:58:36 -05:00
dri2_glx.c glx/dri2: use uint64_t instead of double to represent time for FPS calculation 2012-10-03 16:55:48 +02:00
dri_common.c Remove Xcalloc/Xmalloc/Xfree calls 2012-09-05 22:28:49 -07:00
dri_common.h glx/dri2: Add support for GLX_ARB_create_context_robustness 2012-07-11 08:54:50 -07:00
dri_glx.c Remove useless memset after calloc 2012-09-05 22:28:50 -07:00
drisw_glx.c Remove useless memset after calloc 2012-09-05 22:28:50 -07:00
eval.c Retire miniglx and move the actual glx code up to src/glx 2010-02-09 09:58:36 -05:00
glx_error.c glx: Deliver an xlib style error to the application from an XCB error 2011-12-23 08:40:30 -08:00
glx_error.h glx: Deliver an xlib style error to the application from an XCB error 2011-12-23 08:40:30 -08:00
glx_pbuffer.c Don't cast the return value of malloc/realloc 2012-09-05 22:28:50 -07:00
glx_query.c Don't cast the return value of malloc/realloc 2012-09-05 22:28:50 -07:00
glxclient.h build: Use AX_PTHREAD's HAVE_PTHREAD preprocessor definition 2012-10-01 15:23:04 -07:00
glxcmds.c Don't cast the return value of malloc/realloc 2012-09-05 22:28:50 -07:00
glxconfig.c Don't cast the return value of malloc/realloc 2012-09-05 22:28:50 -07:00
glxconfig.h glx/dri: add initial dri interface for GLX_EXT_framebuffer_sRGB. 2011-03-06 20:06:42 +10:00
glxcurrent.c build: Use AX_PTHREAD's HAVE_PTHREAD preprocessor definition 2012-10-01 15:23:04 -07:00
glxext.c Remove useless checks for NULL before freeing 2012-09-05 22:28:50 -07:00
glxextensions.c Remove Xcalloc/Xmalloc/Xfree calls 2012-09-05 22:28:49 -07:00
glxextensions.h glx/dri2: Add support for GLX_ARB_create_context_robustness 2012-07-11 08:54:50 -07:00
glxhash.c Retire miniglx and move the actual glx code up to src/glx 2010-02-09 09:58:36 -05:00
glxhash.h Retire miniglx and move the actual glx code up to src/glx 2010-02-09 09:58:36 -05:00
indirect_glx.c Replace another malloc/memset-0 combination with calloc 2012-09-05 22:28:50 -07:00
indirect_init.h glx: Rename __GLXcontext and __GLXdisplayPrivate to struct types. 2010-07-28 16:45:25 -04:00
indirect_texture_compression.c Retire miniglx and move the actual glx code up to src/glx 2010-02-09 09:58:36 -05:00
indirect_transpose_matrix.c Retire miniglx and move the actual glx code up to src/glx 2010-02-09 09:58:36 -05:00
indirect_vertex_array.c Remove useless checks for NULL before freeing 2012-09-05 22:28:50 -07:00
indirect_vertex_array.h Retire miniglx and move the actual glx code up to src/glx 2010-02-09 09:58:36 -05:00
indirect_vertex_array_priv.h Retire miniglx and move the actual glx code up to src/glx 2010-02-09 09:58:36 -05:00
indirect_vertex_program.c glx: Rename __GLXcontext and __GLXdisplayPrivate to struct types. 2010-07-28 16:45:25 -04:00
indirect_window_pos.c Retire miniglx and move the actual glx code up to src/glx 2010-02-09 09:58:36 -05:00
Makefile.am build: Clean glx Makefile.am 2012-08-22 11:08:06 -07:00
packrender.h glx: Rename __GLXcontext and __GLXdisplayPrivate to struct types. 2010-07-28 16:45:25 -04:00
packsingle.h glx: Rename __GLXcontext and __GLXdisplayPrivate to struct types. 2010-07-28 16:45:25 -04:00
pixel.c glx: Rename __GLXcontext and __GLXdisplayPrivate to struct types. 2010-07-28 16:45:25 -04:00
pixelstore.c glx: Rename __GLXcontext and __GLXdisplayPrivate to struct types. 2010-07-28 16:45:25 -04:00
render2.c Don't cast the return value of malloc/realloc 2012-09-05 22:28:50 -07:00
renderpix.c Don't cast the return value of malloc/realloc 2012-09-05 22:28:50 -07:00
SConscript scons: Also require recent XCB. 2012-07-12 21:13:10 +01:00
single2.c Remove Xcalloc/Xmalloc/Xfree calls 2012-09-05 22:28:49 -07:00
singlepix.c Don't cast the return value of malloc/realloc 2012-09-05 22:28:50 -07:00
vertarr.c glx: Rename __GLXcontext and __GLXdisplayPrivate to struct types. 2010-07-28 16:45:25 -04:00
XF86dri.c Don't cast the return value of malloc/realloc 2012-09-05 22:28:50 -07:00
xf86dri.h Retire miniglx and move the actual glx code up to src/glx 2010-02-09 09:58:36 -05:00
xf86dristr.h Retire miniglx and move the actual glx code up to src/glx 2010-02-09 09:58:36 -05:00
xfont.c Don't cast the return value of malloc/realloc 2012-09-05 22:28:50 -07:00