Chris Rankin
8d41e4536d
mesa: fix asst path/include mistakes in prev commits
před 17 roky
Brian Paul
58dce864e6
mesa: fix null ptr deref bug in _tnl_InvalidateState(), bug 15834
před 17 roky
Brian Paul
ecadb51bbc
mesa: added "main/" prefix to includes, remove some -I paths from Makefile.template
před 17 roky
Brian Paul
374e7fd6cc
mesa: prefix more #includes with "main/"
před 17 roky
Brian Paul
06370a91b3
mesa: remove a bunch of -I paths from INCLUDE_DIRS
před 17 roky
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.
před 17 roky
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.
před 17 roky
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...
před 17 roky
Brian Paul
5e530d8384
mesa: fix bug in previous changes to _slang_resolve_attributes()
před 17 roky
Eric Anholt
904f31a624
intel: Destroy bufmgr in screen destroy, not context.
Caused server crashes on second context creation since
7e0bbdcf03 .
Bug #17600 .
před 17 roky
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.
před 17 roky
Brian Paul
d43951192b
mesa: fix display list regression (check if save->prim_count > 0 in vbo_save_EndList())
před 17 roky
Brian Paul
9d48a7832b
mesa: fix MSAA enable state in update_multisample()
před 17 roky
Brian Paul
d36f4ef16b
mesa: remove some assertions that are invalid during context tear-down
před 17 roky
Keith Whitwell
bd953e872f
mesa: get another class of degenerate dlists working
Primitive begin in one dlist, end in another.
před 17 roky
Keith Whitwell
a30d2c5727
add dlist-degenerate test case
před 17 roky
Shane Blackett
641b80275b
glut: s/glut_fbc.c/glut_fcb.c/
před 17 roky
Jakub Bogusz
68a19e353e
tdfx: fix crash and lack of visuals bug
před 17 roky
Guillaume Melquiond
87ccb9504d
i915: fix himask constant init for 64-bit build
před 17 roky
Guillaume Melquiond
811d8b86eb
glx: fix 64-bit datatype issue
před 17 roky
Guillaume Melquiond
11a889db8f
mesa: return after _mesa_problem() calls
před 17 roky
Guillaume Melquiond
d2e0504d4e
mesa: #include <stdio.h>
před 17 roky
Guillaume Melquiond
5d4c8ec5e0
remove invalid XDestroyWindow() call
před 17 roky
Guillaume Melquiond
ee2c8d6d3e
silence warning
před 17 roky
Guillaume Melquiond
6e51febc6b
GLU: fix asst warnings
před 17 roky
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.
před 17 roky
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.
před 17 roky
Eric Anholt
34bba445a1
intel: Don't segfault on TFP from a bad drawable.
před 17 roky
Eric Anholt
201d3419a6
intel: Remove dead allow_batchbuffer param.
před 17 roky
George Sapountzis
d3dc95e26a
dri/swrast: fix swapBuffers after dri2
před 17 roky
Xiang, Haihao
b2e083eba2
i965: Add support for G41 chipset which is another 4 series.
před 17 roky
Shane Blackett
4d42c5bebf
added 24bpp support
před 17 roky
Shane Blackett
bc3b2a5d7a
Fixes for Mingw
před 17 roky
Eric Anholt
35fd72756a
intel: track move of bo_exec from drivers to bufmgr.
před 17 roky
Eric Anholt
3628185f56
intel: track bufmgr move to libdrm_intel and bufmgr_fake irq emit/wait change.
před 17 roky
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.
před 17 roky
Brian Paul
11d694b1bb
mesa: replace MALLOC w/ CALLOC to fix memory error in glPushClientAttrib()
před 17 roky
Brian Paul
9246c2fad4
mesa: replace MALLOC w/ CALLOC to fix valgrind warning
před 17 roky
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.
před 17 roky
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.
před 17 roky
Kristian Høgsberg
4a32f0c638
configure.ac: bump dri2proto requirement, drop TTM_API define.
před 17 roky
Xiang, Haihao
0adfd10210
intel: Fix depth_stencil texture.
před 17 roky
Xiang, Haihao
218df7f9c5
mesa: merge stencil values into depth values for MESA_FORMAT_S8_Z24
před 17 roky
Jakob Bornecrantz
dc44bb8e92
mesa: Support for MESA_FORMAT_S8_Z24 texture
cherry-picked from gallium-0.1
před 17 roky
Eric Anholt
a04aeea5c0
intel: Fix prototype warning.
před 17 roky
Eric Anholt
e32721c46a
intel: Fix refcounting on depth buffer initialization in DRI2.
(Reverts a change to work around the problem on 965).
před 17 roky
Xiang, Haihao
3bb2a24921
intel: Fix a crash if dri2 is disabled.
před 17 roky
Brian Paul
0fd1a8c4a1
fix BUFFER_DEPTH/BUFFER_ACCUM mix-up
před 17 roky
Roland Scheidegger
418b603513
fix no error generated when calling glLight{if}[v] inside begin/end (bug 17408)
před 17 roky
Michel Dänzer
55270310c5
Fix build by removing #include of removed dri_sarea.h.
Thanks to JohnFlux on IRC for pointing out the problem.
před 17 roky