xserver-multidpi/glx
Daniel Czarnowski ccc8bb1153 glx: Handle float config types in glxConvertConfigs
Replaces old use of floatMode attribute with new, extended range of
values in __DRI_ATTRIB_RENDER_TYPE. Also adds new conditions, where the
float modes support requires it. Enables support for not only float
configs, but packed float configs as well.

v2 (idr): Whitespace and formatting fixes.  Refactor render type
vs. pbuffer checking to a separate function that includes a quote from
the spec.  Re-write commit message.  Fix compiler warnings:

glxdricommon.c: In function 'glxConvertConfigs':
glxdricommon.c:212:35: warning: pointer targets in passing argument 3 of 'core->getConfigAttrib' differ in signedness [-Wpointer-sign]
glxdricommon.c:212:35: note: expected 'unsigned int *' but argument is of type 'int *'
glxdricommon.c:230:35: warning: pointer targets in passing argument 3 of 'core->getConfigAttrib' differ in signedness [-Wpointer-sign]
glxdricommon.c:230:35: note: expected 'unsigned int *' but argument is of type 'int *'

Signed-off-by: Daniel Czarnowski <daniel.czarnowski@intel.com>
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
2013-10-24 11:47:42 -07:00
..
clientinfo.c glx: Implement GLX SetClientInfo2ARB protocol 2012-07-05 11:44:09 -07:00
createcontext.c glx: Allow float renderType in glXCreateContextAttribsARB 2013-10-24 11:16:27 -07:00
dispatch.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
extension_string.c Full support of sRGB capable fbconfigs. 2013-03-18 10:02:00 -07:00
extension_string.h Full support of sRGB capable fbconfigs. 2013-03-18 10:02:00 -07:00
glapi_gentable.c glapi: Correct size of allocated _glapi_table struct 2012-04-23 20:20:42 -07:00
glapi.c Fix formatting of address operators 2012-12-05 18:09:48 -06:00
glapi.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
glapitable.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
glprocs.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
glthread.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
glthread.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
glxbyteorder.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
glxcmds.c glx: Fill in some missing attributes from DoGetFBConfigs 2013-09-11 14:37:33 -04:00
glxcmdsswap.c Remove unneccesary casts from WriteToClient calls 2012-07-09 19:12:56 -07:00
glxcontext.h glx: Remove unused bits from the context struct 2013-09-11 14:37:31 -04:00
glxdrawable.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
glxdri.c os: Use ErrorFSigSafe from FatalError and it's friends 2013-05-07 09:41:14 +10:00
glxdri2.c dri2: Don't bother with xf86LoaderCheckSymbol("DRI2Connect") 2013-09-10 13:28:24 -04:00
glxdricommon.c glx: Handle float config types in glxConvertConfigs 2013-10-24 11:47:42 -07:00
glxdricommon.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
glxdriswrast.c glx: Extend __GLXscreen::createContext to take attributes 2012-05-23 13:07:51 -07:00
glxext.c glx: Remove a dead comment 2013-09-11 14:37:33 -04:00
glxext.h glx: Allow float renderType in glXCreateContextAttribsARB 2013-10-24 11:16:27 -07:00
glxscreens.c glx: Remove support for NV_vertex_program and NV_fragment_program 2013-09-11 14:37:32 -04:00
glxscreens.h glx: Remove screen number from __GLXconfig 2013-09-11 14:37:33 -04:00
glxserver.h Restore extern to the declaration of __glXDRISWRastProvider 2012-07-12 13:25:57 +01:00
glxutil.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
indirect_dispatch_swap.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
indirect_dispatch.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
indirect_dispatch.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
indirect_program.c Fix formatting of address operators 2012-12-05 18:09:48 -06:00
indirect_reqsize.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
indirect_reqsize.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
indirect_size_get.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
indirect_size_get.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
indirect_size.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
indirect_table.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
indirect_table.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
indirect_texture_compression.c Fix formatting of address operators 2012-12-05 18:09:48 -06:00
indirect_util.c Remove unneccesary casts from WriteToClient calls 2012-07-09 19:12:56 -07:00
indirect_util.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
Makefile.am Replace INCLUDES with AM_CPPFLAGS 2013-08-06 13:08:13 +10:00
render2.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
render2swap.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
renderpix.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
renderpixswap.c Fix formatting of address operators 2012-12-05 18:09:48 -06:00
rensize.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
single2.c Use C99 designated initializers in glx Replies 2012-07-09 19:58:30 -07:00
single2swap.c Use C99 designated initializers in glx Replies 2012-07-09 19:58:30 -07:00
singlepix.c Fix formatting of address operators 2012-12-05 18:09:48 -06:00
singlepixswap.c Fix formatting of address operators 2012-12-05 18:09:48 -06:00
singlesize.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
singlesize.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
swap_interval.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
unpack.h Remove unneccesary casts from WriteToClient calls 2012-07-09 19:12:56 -07:00
xfont.c Fix formatting of address operators 2012-12-05 18:09:48 -06:00