Commit graph

30931 commits

Author SHA1 Message Date
Kristian Høgsberg
c19dab7c59 egl_dri2: Only allocate config if we're going to keep it
Small optimization.
2010-02-09 21:24:15 -05:00
Kristian Høgsberg
c3c1a7e1d9 egl_dri2: Initialize config attributes with visual id and class from X 2010-02-09 21:24:15 -05:00
Kristian Høgsberg
368bb3dc2b eglinfo: Also print visual type, assuming X visual types
This may not make a lot of sense for non-X EGL, but for EGL under X
it's very useful.
2010-02-09 21:24:14 -05:00
Kristian Høgsberg
360faf80ca egl_dri2: Allow pbuffer and pixmap surfaces for all configs 2010-02-09 21:24:14 -05:00
Pauli Nieminen
77e6fb17d9 radeon: Fix printf formatings to match te values. 2010-02-10 03:20:11 +02:00
Pauli Nieminen
42026a8ccf radeon: Define EXT_framebuffer_object constants to match hw.
This hides the assertion failure in glean/fbo test. Underlying
problem when same texture is set twice to different attachments
will cause assertion.
2010-02-10 03:20:11 +02:00
Brian Paul
4bce2fb30e mesa: move all limit/constant assertions into check_context_limits() 2010-02-09 18:08:04 -07:00
Francisco Jerez
96100f39be Drop incorrectly revived files during the 'gallium-nopointsizeminmax' merge. 2010-02-10 00:43:43 +01:00
Corbin Simpson
dbc1340191 r300g: One less assert.
This entire codepath needs to be cleaned to be more pliant towards
shader failure.
2010-02-09 13:58:53 -08:00
Corbin Simpson
8c85002951 r300g: Don't write non-existent bit on non-r500.
Might help with compiz being funky with MRTs.
2010-02-09 13:53:30 -08:00
Corbin Simpson
67b60b9934 r300g: Correct colorbuffer measurements.
Also clarify changes from pointminmax.
2010-02-09 13:50:54 -08:00
Corbin Simpson
5a27a77d00 r300g: Be ever-so-slightly more useful on bad shaders. 2010-02-09 13:50:38 -08:00
Kristian Høgsberg
1ebc568154 configure.ac: Enable egl demos when --enable-egl is passed 2010-02-09 15:55:25 -05:00
Kristian Høgsberg
ab487f7ffa xeglgears: Add test case for eglBindTexImage() 2010-02-09 15:55:25 -05:00
Kristian Høgsberg
bba5a98dfd egl_dri2: Implement eglBindTexImage() 2010-02-09 15:55:25 -05:00
Kristian Høgsberg
debf00e5fc dri_interface: Introduce DRI tokens for the texBuffer texture formats
This used to take GLX tokens, but the DRI interface can't depend on GLX
defines.  We fix this by introducing DRI tokens that have the same value
as the GLX texture format tokens.
2010-02-09 15:55:25 -05:00
Kristian Høgsberg
8c593d3ea9 egl_dri2: Use a helper function for looking up and binding extensions 2010-02-09 15:55:24 -05:00
Brian Paul
ed46e90f05 gallium/auxiliary: add -D__STDC_CONSTANT_MACROS
Not sure why this is needed now, after the gallivm re-org.
2010-02-09 13:10:07 -07:00
Brian Paul
822d951b5d llvmpipe: remove .s rule (already in Makefile.template) 2010-02-09 13:08:23 -07:00
Brian Paul
aa4ed6a0e6 llvmpipe: lp_tile_surface.c isn't committed yet 2010-02-09 13:07:58 -07:00
Pauli Nieminen
4767d27ee3 radeon: Add some debug output for fbo support 2010-02-09 21:38:47 +02:00
Pauli Nieminen
9e587dbd78 r200: Fix UMS notto emit stp.
Polgon stipples are handled by kernel in UMS. Mark the
state as never to be emited for UMS.
2010-02-09 21:38:47 +02:00
Roland Scheidegger
653a83445f Merge branch 'gallium-nopointsizeminmax'
Conflicts:
	src/gallium/drivers/nv10/nv10_state.c
	src/gallium/drivers/nv20/nv20_state.c
	src/gallium/drivers/nv50/nv50_program.c
2010-02-09 19:32:21 +01:00
Brian Paul
b0613d8767 docs: fix typo: s/osdemo/osdemos/
(cherry picked from commit 0371956d66)
2010-02-09 11:21:41 -07:00
Chris Li
a8f4904fb3 gallium: Adding the %.s rule to generate asm code
Signed-off-by: José Fonseca <jfonseca@vmware.com>
2010-02-09 17:19:30 +00:00
Chris Li
62d1e40e0d gallium: Using the proper pattern rules for Makefile template.
The .o.c rule is consider obsolete.

Signed-off-by: José Fonseca <jfonseca@vmware.com>
2010-02-09 17:19:30 +00:00
Chris Li
8b6ec94aec llvmpipe: Make llvm unit test depend on libllvmpipe.a
Signed-off-by: José Fonseca <jfonseca@vmware.com>
2010-02-09 17:19:29 +00:00
Roland Scheidegger
dd7be07c96 st/mesa: fix wrong initialization of MaxPointSize 2010-02-08 18:48:08 +01:00
Jakob Bornecrantz
6ef1d60407 vmware/core: Support drm interface version 1.0.0 2010-02-06 03:36:47 +01:00
Jakob Bornecrantz
6a4cd124af vmware/core: Use correct flags in scanout code 2010-02-06 03:36:47 +01:00
Jakob Bornecrantz
6ffb6318a0 vmware/core: Handle new scanout field 2010-02-06 03:36:47 +01:00
Jakob Bornecrantz
a9d61c286d vmware/core: Update header to latest version 2010-02-06 03:36:46 +01:00
Jakob Bornecrantz
7afcfa0683 vmware/core: Remove old ioctl structs not used
Leftover that was never used in this driver
2010-02-06 03:36:46 +01:00
Michal Krol
72fa4ef649 llvmpipe: Remove reference to prefilter field. 2010-02-09 16:27:16 +01:00
Kristian Høgsberg
2ecbe4e208 glx: Fix TOP setting in src/glx Makefile
Argh, forgot to commit this fix before pushing.
2010-02-09 10:21:45 -05:00
Kristian Høgsberg
6e8897ff9f Retire miniglx and move the actual glx code up to src/glx 2010-02-09 09:58:36 -05:00
Kristian Høgsberg
538539d879 egl_dri2: Fix initialization with EGL_DEFAULT_DISPLAY 2010-02-09 09:51:05 -05:00
Brian Paul
a1a441179b fix bug in perspective corrected interpolants for lines 2010-02-09 15:33:06 +01:00
Brian Paul
fd6701029b progs/tests: add line drawing option to cylwrap.c 2010-02-09 15:33:03 +01:00
Brian Paul
22a3a817aa progs/tests: add x/y rotation to cylwrap.c 2010-02-09 15:33:00 +01:00
Brian Paul
dd98a979b6 st/mesa: remove special-case cyl-wrap code
Cylinder wrap mode works with perspective interpolation now.
2010-02-09 15:32:56 +01:00
Michal Krol
5fbb62f761 softpipe: Properly implement cylindrical wrapping. 2010-02-09 15:32:53 +01:00
Michal Krol
00bd85e574 Revert "softpipe: Implement cylindrical wrapping for linear interpolator."
This reverts commit 444cd62ca33a45bd39e8408979a0a01c246c6381.
2010-02-09 15:32:50 +01:00
Brian Paul
86921aaf3f progs/tests: new test program for exercising cylindrical tex wrap mode 2010-02-09 15:32:47 +01:00
Brian Paul
ae4dde6598 st/mesa: check for PROG_PARAM_BIT_CYL_WRAP flag 2010-02-09 15:32:43 +01:00
Brian Paul
4a9f1eed2b mesa: add back-door support for cylindrical texture wrap mode
If the texture priority field is 0.125 set the PROG_PARAM_BIT_CYL_WRAP
flag.  The gallium state tracker will look for this flag.

This feature is only for testing purposes and may be remove at some
point.  But if it's useful we could write a GL/Mesa extension to
expose it properly.
2010-02-09 15:32:40 +01:00
Michal Krol
9a8473da83 gallium: Remove prefilter member from pipe_sampler_state struct. 2010-02-09 15:32:36 +01:00
Michal Krol
63d6097910 docs: Document TGSI Declaration token. 2010-02-09 15:29:52 +01:00
Michal Krol
e04c8ecc61 softpipe: Implement cylindrical wrapping for linear interpolator. 2010-02-09 15:29:49 +01:00
Michal Krol
607a830fe2 tgsi: Gather cylindrical wrap info in tgsi_shader_info struct. 2010-02-09 15:29:46 +01:00