Brian
19d9c81b8c
glx: re-add glapi/ path
2008-09-18 21:22:08 -06:00
Brian
cfc4b4c989
mesa: remove unneeded s_drawpix.h header
2008-09-18 20:31:05 -06:00
Brian
4eb95ce807
glx: added "glapi/" prefix to include
2008-09-18 20:27:16 -06:00
Chris Rankin
8d41e4536d
mesa: fix asst path/include mistakes in prev commits
2008-09-18 16:48:11 -06:00
Brian Paul
58dce864e6
mesa: fix null ptr deref bug in _tnl_InvalidateState(), bug 15834
2008-09-18 15:29:57 -06:00
Brian Paul
ecadb51bbc
mesa: added "main/" prefix to includes, remove some -I paths from Makefile.template
2008-09-18 15:17:05 -06:00
Brian Paul
374e7fd6cc
mesa: prefix more #includes with "main/"
2008-09-18 13:46:47 -06:00
Brian Paul
06370a91b3
mesa: remove a bunch of -I paths from INCLUDE_DIRS
2008-09-18 13:34:57 -06:00
Brian Paul
a25e1aa0aa
glx: remove #include "glheader.h" lines
...
Was only used to get the PUBLIC/USED macros.
Also, replace "GL_FALSE" with "False" in a couple places.
2008-09-18 13:26:30 -06:00
Brian Paul
3537da87de
glx: remove depency on glheader.h and GLboolean type in XF86DRI code
...
Return Bool instead of GLboolean to match other functions.
Define PUBLIC/USED macros locally.
2008-09-18 13:23:06 -06:00
Brian Paul
bbd287103d
mesa: prefix a bunch of #include lines with "main/".
...
This is another step toward removing a whole bunch of -I flags from
the cc commands. Still need to address driver code...
2008-09-18 12:26:54 -06:00
Brian Paul
5e530d8384
mesa: fix bug in previous changes to _slang_resolve_attributes()
2008-09-17 09:13:55 -06:00
Eric Anholt
904f31a624
intel: Destroy bufmgr in screen destroy, not context.
...
Caused server crashes on second context creation since
7e0bbdcf03
.
Bug #17600 .
2008-09-16 17:02:41 -07:00
Brian Paul
27341a97a1
mesa: rework GLSL vertex attribute binding
...
Calls to glBindAttribLocation() should not take effect until the next time
that glLinkProgram() is called.
gl_shader_program::Attributes now just contains user-defined bindings.
gl_shader_program::VertexProgram->Attributes contains the actual/final bindings.
2008-09-16 16:28:36 -06:00
Brian Paul
d43951192b
mesa: fix display list regression (check if save->prim_count > 0 in vbo_save_EndList())
2008-09-16 13:23:01 -06:00
Brian Paul
9d48a7832b
mesa: fix MSAA enable state in update_multisample()
2008-09-15 17:14:53 -06:00
Brian Paul
d36f4ef16b
mesa: remove some assertions that are invalid during context tear-down
2008-09-15 09:07:32 -06:00
Keith Whitwell
bd953e872f
mesa: get another class of degenerate dlists working
...
Primitive begin in one dlist, end in another.
2008-09-15 13:49:04 +01:00
Keith Whitwell
a30d2c5727
add dlist-degenerate test case
2008-09-15 13:49:04 +01:00
Shane Blackett
641b80275b
glut: s/glut_fbc.c/glut_fcb.c/
2008-09-14 17:51:01 -06:00
Jakub Bogusz
68a19e353e
tdfx: fix crash and lack of visuals bug
2008-09-13 14:35:02 -06:00
Guillaume Melquiond
87ccb9504d
i915: fix himask constant init for 64-bit build
2008-09-13 14:25:02 -06:00
Guillaume Melquiond
811d8b86eb
glx: fix 64-bit datatype issue
2008-09-13 14:24:31 -06:00
Guillaume Melquiond
11a889db8f
mesa: return after _mesa_problem() calls
2008-09-13 14:23:39 -06:00
Guillaume Melquiond
d2e0504d4e
mesa: #include <stdio.h>
2008-09-13 14:23:14 -06:00
Guillaume Melquiond
5d4c8ec5e0
remove invalid XDestroyWindow() call
2008-09-13 14:22:15 -06:00
Guillaume Melquiond
ee2c8d6d3e
silence warning
2008-09-13 14:21:50 -06:00
Guillaume Melquiond
6e51febc6b
GLU: fix asst warnings
2008-09-13 14:20:14 -06:00
Eric Anholt
8db761409d
intel: Add a width field to regions, and use it for making miptrees in TFP.
...
Otherwise, we would use the pitch as width of the texture, and compiz would
render the pitch padding on the right hand side.
2008-09-12 15:48:13 -07:00
Eric Anholt
bdc8ac4ae2
Finish off the previous fix for TFP.
...
A couple of those lines of debug printfs I deleted weren't actually debug
printfs.
2008-09-12 15:09:43 -07:00
Eric Anholt
34bba445a1
intel: Don't segfault on TFP from a bad drawable.
2008-09-12 13:49:23 -07:00
Eric Anholt
201d3419a6
intel: Remove dead allow_batchbuffer param.
2008-09-12 13:49:23 -07:00
George Sapountzis
d3dc95e26a
dri/swrast: fix swapBuffers after dri2
2008-09-12 12:43:10 +03:00
Xiang, Haihao
b2e083eba2
i965: Add support for G41 chipset which is another 4 series.
2008-09-12 09:25:34 +08:00
Shane Blackett
4d42c5bebf
added 24bpp support
2008-09-11 08:36:03 -06:00
Shane Blackett
bc3b2a5d7a
Fixes for Mingw
2008-09-11 08:36:03 -06:00
Eric Anholt
35fd72756a
intel: track move of bo_exec from drivers to bufmgr.
2008-09-10 13:59:45 -07:00
Eric Anholt
3628185f56
intel: track bufmgr move to libdrm_intel and bufmgr_fake irq emit/wait change.
2008-09-10 13:59:45 -07:00
Eric Anholt
7e0bbdcf03
intel: Move the bufmgr back to the screen.
...
Mesa requires that we be able to share objects between contexts, which means
that the objects need to be created by the same bufmgr, and the bufmgr
internally requires pthread protection for thread safety.
Rely on the bufmgr having appropriate locking.
2008-09-10 13:59:45 -07:00
Brian Paul
11d694b1bb
mesa: replace MALLOC w/ CALLOC to fix memory error in glPushClientAttrib()
2008-09-05 08:06:59 -06:00
Brian Paul
9246c2fad4
mesa: replace MALLOC w/ CALLOC to fix valgrind warning
2008-09-05 08:06:24 -06:00
Dave Airlie
06537296f1
intel: only enable occlusion query if the drm has defines.
...
This interface has to be re-written to not be dumb and to work
for multiple apps.
2008-09-05 13:48:51 +10:00
Brian Paul
37c74af01c
mesa: improved gl_buffer_object reference counting
...
Use new _mesa_reference_buffer_object() function wherever possible.
Fixes buffer object/display list crash reported in ParaView.
2008-09-04 14:59:40 -06:00
Kristian Høgsberg
4a32f0c638
configure.ac: bump dri2proto requirement, drop TTM_API define.
2008-09-04 06:23:14 -04:00
Xiang, Haihao
0adfd10210
intel: Fix depth_stencil texture.
2008-09-04 11:36:04 +08:00
Xiang, Haihao
218df7f9c5
mesa: merge stencil values into depth values for MESA_FORMAT_S8_Z24
2008-09-04 11:32:52 +08:00
Jakob Bornecrantz
dc44bb8e92
mesa: Support for MESA_FORMAT_S8_Z24 texture
...
cherry-picked from gallium-0.1
2008-09-04 10:35:01 +08:00
Eric Anholt
a04aeea5c0
intel: Fix prototype warning.
2008-09-03 16:13:18 +01:00
Eric Anholt
e32721c46a
intel: Fix refcounting on depth buffer initialization in DRI2.
...
(Reverts a change to work around the problem on 965).
2008-09-03 13:31:44 +01:00
Xiang, Haihao
3bb2a24921
intel: Fix a crash if dri2 is disabled.
2008-09-03 14:47:36 +08:00