Brian Paul
c4a4864210
compile fix from Dan Schikore
pirms 19 gadiem
Aapo Tahkola
c82eadd157
GLboolean cannot hold GLuint! usage of tmus >= 4 no longer lock r300.
pirms 19 gadiem
Brian Paul
68ad7ca3ba
allow rotation w/ mouse
pirms 19 gadiem
Brian Paul
da21ca988a
add missing 'union' keyword
pirms 19 gadiem
David Reveman
ba23f699f0
FBConfig support for EXT_tfp
pirms 19 gadiem
David Reveman
ea2b711061
Add attrib_list to glXBindTexImageEXT
pirms 19 gadiem
David Reveman
c6f8ae1085
Add attrib_list to glXBindTexImageEXT
pirms 19 gadiem
David Reveman
342d1de38c
Fix CreateDrawable
pirms 19 gadiem
Michal Krol
bb38cadb1c
More GLSL code:
- use macros to access and modify render inputs bit-field;
- un-alias generic vertex attributes for ARB vertex calls;
- use MAX_VERTEX_PROGRAM_ATTRIBS (NV code) or MAX_VERTEX_ATTRIBS
(ARB code) in place of VERT_ATTRIB_MAX;
- define VERT_ATTRIB_GENERIC0..15 for un-aliased vertex
attributes for ARB_vertex_shader;
- fix generic attribute index range check in arbprogparse.c;
- interface GLSL varyings between vertex and fragment shader;
- use 64-bit optimised bitset (bitset.h) for render inputs;
pirms 19 gadiem
Aapo Tahkola
d90ad3fd87
get fog going(for real)
pirms 19 gadiem
Aapo Tahkola
3ed16bd9cc
rectangular fp16 fixes (Ewald Snel)
pirms 19 gadiem
Aapo Tahkola
6c419be402
Fog support (Ewald Snel)
pirms 19 gadiem
Brian Paul
3a5ec72125
use _mesa_debug() instead of message() - fixes poor formatting of output
pirms 19 gadiem
Eric Anholt
8c3d15ce28
Destroy the GL context after driDestroyTextureHeap, because the driver's
DestroyTexObj has a dependence on the glCtx and may segfault otherwise.
pirms 19 gadiem
Aapo Tahkola
83a43aca23
fix some conflict happenings at context destroy by freeing buffers immediately. array locking can be done with vbos for vtxfmt_a so we dont really need to try to reuse them.
pirms 19 gadiem
Brian Paul
ff2b910dd1
regenerate SPARC assembly dispatch (bug 6484)
pirms 19 gadiem
Brian Paul
9073c40c7e
added sunos5-64-gcc (bug 6484)
pirms 19 gadiem
Brian Paul
1936019cd1
replace >&/dev/null with >/dev/null so it works with all shells
pirms 19 gadiem
Brian Paul
9f3bcd87db
bump version to 6.5.1
pirms 19 gadiem
Alan Hourihane
e2af1da1d3
Fix some warnings on x86_64
pirms 19 gadiem
Dave Airlie
9d3de643d1
make miniglx use libdrm properly
pirms 19 gadiem
Adam Jackson
d25ad506f2
Coverity #943: Avoid a NULL chase.
pirms 19 gadiem
Adam Jackson
03593f53e7
Coverity #1083: Fix a use after free case.
pirms 19 gadiem
Brian Paul
0a605f93db
fixed line clipping bug 6512
pirms 19 gadiem
Brian Paul
51faca1270
Rename CLIP_ALL_BITS to CLIP_FRUSTUM_BITS to reflect the fact that the value
only includes the 6 frustum bits, not the user-clip plane bit, nor the vertex
cull bit.
pirms 19 gadiem
Brian Paul
f51a32e82a
Fix line clipping bug 6512.
This fix is to discard the line if both dot products are negative.
pirms 19 gadiem
Brian Paul
05529fefa4
minor CFLAGS clean-up
pirms 19 gadiem
Brian Paul
f4d5b1da7b
Set DRIVER_DEFINES instead of DEFINES to fix duplicate flags problem
pirms 19 gadiem
Brian Paul
0dcab2a86a
Replace DEFINES with DRIVER_DEFINES. If a driver needs to set extra flags,
do so with DRIVER_DEFINES.
This eliminates the duplicated flags we were passing to each cc command.
pirms 19 gadiem
Brian Paul
789eb27870
minor CFLAGS reordering
pirms 19 gadiem
Brian Paul
c1c954e81b
remove unused var
pirms 19 gadiem
Brian Paul
a1a9858ca3
update a couple MESA_FORMAT_Zxxx occurances
pirms 19 gadiem
Brian Paul
e099ce85ca
re-enable animation
pirms 19 gadiem
Brian Paul
dc32eb8f93
fix render to depth texture bugs
pirms 19 gadiem
Brian Paul
a9bcf75103
Replace MESA_FORMAT_DEPTH_COMPONENT_FLOAT32 with 32-bit integer format.
This allows render to depth texture (we don't support floating pt. Z buffers).
Rename MESA_FORMAT_DEPTH_COMPONENT16/32 as MESA_FORMAT_Z16/32.
Software fallback for glCopyTexImage now uses integer temporary image instead
of float, eliminates a lot of float/int conversions.
pirms 19 gadiem
Brian Paul
762c3618f5
Added render to depth texture support with GL_EXT_framebuffer_object.
Only render the shadow/depth texture when really needed, not every frame.
Remove support for old SGIX shadow extensions.
pirms 19 gadiem
Brian Paul
5722338ea5
do additional checking for setting up depth/stencil wrappers
pirms 19 gadiem
Brian Paul
32cd166971
remove duplicated framebuffer attachment test
pirms 19 gadiem
Brian Paul
f08f233d6f
Remove the code that checks for duplicated framebuffer attachments (which
generated the error GL_FRAMEBUFFER_INCOMPLETE_DUPLICATE_ATTACHMENT_EXT).
This was removed in version 117 of the GL_EXT_framebuffer_object spec.
pirms 19 gadiem
Brian Paul
59ebe1ff77
pass -m32 or -m64 to linker for SunOS as needed (bug 6484)
pirms 19 gadiem
Dave Airlie
e80b9c24f4
add tiling/fence support for the miniglx driver
pirms 19 gadiem
Dave Airlie
2e7af79f48
don't waste the reserved memory, take an approximation of the pool
allocator from the X.org driver - not as complicated
pirms 19 gadiem
Brian Paul
c87809c9ed
just some comments/docs
pirms 19 gadiem
Brian Paul
1979b6b2de
set the texture border color for the depth texture
pirms 19 gadiem
Brian Paul
900da88dae
first 6.5.1 bug fix - bug 6498
pirms 19 gadiem
Brian Paul
9ebe3b6d36
Check/use texture border color when sampling depth textures. (bug 6498)
Silence some warnings.
pirms 19 gadiem
Brian Paul
28b014ee25
Silence minor compiler warnings (-Wextra).
pirms 19 gadiem
Alan Hourihane
027bb77e02
We always have a back buffer. Fixes visual problems.
pirms 19 gadiem
Dave Airlie
f8ca99d697
use gart base from drm not try to work it out ourselves.. bump radeon client
to need 1.6 drm where this first appeared.. this fixes r300 on PCIE
pirms 19 gadiem
Dave Airlie
6a9f0a27c3
switch to card_type rather than IsPCI, doesn't change any functionality yet
pirms 19 gadiem