Keith Whitwell
1a03812fb5
draw: mimize cost of translate key compares, use cache universally
18 years ago
Keith Whitwell
80474d576c
translate: helper functions for mimizing cost of key compares
18 years ago
Keith Whitwell
b514f5f3ba
draw: only fill in / compare the part of the translate key we're using.
It's quite a big struct & we examine it a lot (too much). Reduce
the impact of this by just looking at the active part where possible.
18 years ago
Keith Whitwell
fec1d215f6
xlib: more SP_NO_RAST support
For some resaon normal (non-display-buffer) buffers are being allocated
through Xshm... Bypass at least for SP_NO_RAST
18 years ago
Keith Whitwell
9002cdb48e
softpipe: don't calc det if NO_RAST set
18 years ago
Michel Dänzer
1dfb3d4729
cso_cache: Fix test for currently bound blend state.
18 years ago
Brian Paul
deceeca18d
mesa: update/add newer GL ES headers
18 years ago
Brian
05370685fe
mesa: free shader program data before deleting shader objects.
Picked from master.
Fixes mem corruption seen when glean/api2 test exits.
18 years ago
Brian
103ae5d16f
gallium: implement full reference counting for vertex/fragment programs
Use _mesa_reference_vert/fragprog() wherever we assign program pointers.
Fixes a memory corruption bug found with glean/api2 test.
Another memory bug involving shaders yet to be fixed...
18 years ago
Brian
10f6ae0355
mesa: comments, whitespace
18 years ago
Brian Paul
66f703dca9
gallium: change calculate_first_last_level() to match gallium-tex-surfaces branch
18 years ago
Alan Hourihane
f77442fbd3
fix _mesa_ffs for alternative compilers
18 years ago
Alan Hourihane
736374c105
declare atoms as extern
18 years ago
Brian Paul
736f535b4f
gallium: fix warnings
18 years ago
Brian Paul
bc57a7c9f7
Press <space> to reset limit/bias values, clean-up limit/bias printf
18 years ago
Brian Paul
3837d401cc
gallium: fix sampler->max_lod computation
18 years ago
Brian Paul
3668d20a9f
gallium: fix computation of sampler->min_lod
The texture BaseLevel is accounted for in texture layout so it doesn't factor
in here. May also need to adjust max_lod...
18 years ago
Brian Paul
6e004e973b
gallium: remove 0.5 vertex biases in set_vertex_data()
These should not be needed and were causing garbage to appear along the
edges of the mipmap images.
18 years ago
Brian Paul
07aaf3a7a7
gallium: remove obsolete PIPE_CAP_BITMAP_TEXCOORD_BIAS
18 years ago
Brian Paul
ce50940173
gallium: minor code, comments clean-up
18 years ago
Brian Paul
479d19f5a2
gallium: in st_finalize_texture() check texture dimensions
Check dimensions in addition to target, format, etc.
Fixes a bug where we failed to detect a change in texture image sizes and
wound up using the old texture data.
18 years ago
Brian Paul
3d53d38d5e
gallium: new debug code (disabled)
18 years ago
Brian Paul
cc2af38f2a
gallium: fix typos, comments, whitespace
18 years ago
Brian Paul
cff8d3bdcb
gallium: remove ^M (CR) chars
18 years ago
Brian Paul
e9513bd403
gallium: code movement (XSHM code)
18 years ago
Brian Paul
522f11b632
set TextureID = NULL after deleting the array
18 years ago
Brian Paul
8a5bf456dc
gallium: comments, clean-ups
18 years ago
Michel Dänzer
d4074c509b
gallium: Reallocate pipe_texture in st_TexImage if the texture object was used.
Fixes problems with interleaved glTexImage and rendering calls.
18 years ago
Alan Hourihane
be8a42b4fc
snprintf -> util_snprintf
18 years ago
Michal Krol
6c15a70b75
tgsi: Enable fast high precision rsqrt.
18 years ago
Keith Whitwell
17058e0746
tgsi: Implement fast rsqrtf. Not tested, inactive.
18 years ago
Alan Hourihane
5e49037caa
revert mode change back to 644
18 years ago
Alan Hourihane
7e4bc84dfc
inline -> INLINE
18 years ago
Alan Hourihane
54507125e7
Some changed for non-C99 compilers
18 years ago
Michal Krol
a1cb0c2b91
tgsi: Do not assume IN and OUT registers are declared sequentially.
18 years ago
Michal Krol
36f93c5e51
tgsi: Fix build on Win32.
18 years ago
Michal Krol
9d151a2517
tgsi: Dump destination register modulate modifier.
18 years ago
Brian
869b0836c1
gallium: temporarily disable broken SSE2 code for ARL opcode
18 years ago
Brian
3b63bc8ac6
gallium: implement TGSI_OPCODE_EXP
18 years ago
Brian
7a4313b63b
gallium: implement TGSI_OPCODE_LOG
18 years ago
Brian Paul
bc49529874
added cast for MSVC
18 years ago
Brian Paul
c1abd758c5
gallium: remove the unused softpipe_winsys code
The struct is still there though until all winsys layers are updated
18 years ago
Keith Whitwell
f067c6c452
tgsi: remove some bogus win vs. linux crud
Pass arguments properly in linux now. Still need to change this to use
a single calling convention on both platforms.
18 years ago
Keith Whitwell
2c89b75e36
rtasm: learn another version of push
18 years ago
Keith Whitwell
2004b8a769
draw: label fn args -- shouldn't this be defined where the fn is created?
18 years ago
Keith Whitwell
fb3623b235
rtasm: fix labels after (not so) recent change to allow dynamic fn growth
Using char * for labels doesn't work if you realloc the function
during assembly and free the old storage...
18 years ago
Keith Whitwell
b8936ca1c2
i915: avoid crashing on bad parameter
18 years ago
Keith Whitwell
26bcef898a
i915: fix warning
18 years ago
Keith Whitwell
f30285e99c
softpipe: fix warning
18 years ago
Keith Whitwell
0000792a20
sct: fix bug in remove_context_from_surface
18 years ago