Jose Fonseca
9286a14fbe
Fix CRLF line endings.
2008-06-07 12:33:47 +09:00
Nicolai Haehnle
fa1bc0d7d6
r300: Improve texture layout calculations
...
The texture layout calculations for mipmapped cubemaps used to be completely
wrong, since the GPU expects images to be grouped by miplevel instead of by
face number.
This has been fixed now, though the memory layout is still slightly incorrect
for the smaller miplevels. Unfortunately, the docs are lacking in that area.
2008-06-06 23:47:46 +02:00
Nicolai Haehnle
03a1144cd1
r300: Cleanup TX_MIN_FILTER defines
...
This commit should not affect the functionality at all, just cleanup
some of the original texture filter guesswork using information from
the register documentation.
2008-06-06 21:34:34 +02:00
Nicolai Haehnle
665605234d
r300: Remove unused variable r300_tex_obj::dirty_state and related defines
...
This variable was only ever written to, but nobody used its value.
2008-06-06 21:34:34 +02:00
Brian Paul
0b72fada6a
s/subdirs/asm_subdirs/
2008-06-06 12:27:55 -06:00
Brian Paul
1d5b51abc8
move the install rules
2008-06-06 12:27:14 -06:00
Brian Paul
bde6b57e48
remove stray semicolon
2008-06-06 12:25:24 -06:00
Brian Paul
847f54e2fa
move a beos-ism down into drivers/beos/Makefile
2008-06-06 12:24:44 -06:00
Brian Paul
dd750e0763
Remove the old, complicated default build rule; use the new driver_subdirs rule
...
Also, all the old driver-specific rules are now gone.
2008-06-06 12:18:40 -06:00
Brian Paul
358dcd7178
remove more old stuff, insert new driver_subdir build rules (but not enabled yet)
2008-06-06 12:12:59 -06:00
Brian Paul
04c6ca99dd
new drivers/Makefile with simple default/clean/install rules
2008-06-06 12:09:55 -06:00
Brian Paul
c9739b2055
move directfb-libgl into drivers/directfb/Makefile
2008-06-06 12:09:01 -06:00
Brian Paul
f8563ddddb
Move fbdev driver construction into src/mesa/drivers/fbdev/Makefile
2008-06-05 16:44:11 -06:00
Brian Paul
b55694512a
reorder some lines, more make clean cmds
2008-06-05 16:28:00 -06:00
Brian Paul
4a68b62b86
remove X11, Glide, OSMesa sources
2008-06-05 16:27:43 -06:00
Brian Paul
e89e94e01a
added dependencies
2008-06-05 16:26:15 -06:00
Brian Paul
2b84b22bad
Move building of stand-alone Mesa into drivers/x11/Makefile
...
Also, some re-org, renaming, and general clean-up.
We're just a few steps away from removing the all the special case rules
for building drivers.
2008-06-05 16:08:42 -06:00
Brian Paul
ea7eb9a374
new Makefile for building "stand-alone", Xlib-based libGL
2008-06-05 16:06:17 -06:00
Brian Paul
bf5e573926
prefix some includes with mesa/ or glapi/
2008-06-05 16:05:02 -06:00
Brian Paul
f8c6b6628d
minor changes
2008-06-05 15:37:17 -06:00
Brian Paul
18906b7904
Move construction of libOSMesa.so into src/mesa/drivers/osmesa/Makefile
...
This removes some cruft from src/mesa/Makefile.
Something similar could be done for stand-alone / Xlib-Mesa libGL...
2008-06-05 15:36:07 -06:00
Brian Paul
91b491debe
insert mesa/ before include files
2008-06-05 15:26:11 -06:00
Alan Hourihane
b2a9788ec6
Silence warning
2008-06-05 11:47:20 +01:00
Brian Paul
4c7a17c251
fix event handling issues (such as when resizing when not animating)
2008-06-04 16:11:24 -06:00
Brian Paul
6d9c3fa0c2
press 'a' to toggle animation
2008-06-04 16:04:04 -06:00
Brian Paul
c35e021f37
code refactoring (draw_frame(0, handle_event())
2008-06-04 16:01:47 -06:00
Brian Paul
c5342ad0d0
remove references to incorrect -winwidth/-winheight, replace with -geometry
2008-06-04 15:56:30 -06:00
Brian Paul
028fd5594c
Set the attribute as used.
...
cherry-picked from gallium-0.1
2008-06-04 14:41:33 -06:00
Dan Nicholson
871125a68d
autoconf: Collect arch/platform settings in one location
...
The architecture- and platorm-specific settings were scattered
throughout the configure script. This moves them near the beginning
before any of the driver-specific settings.
2008-06-04 13:00:35 -07:00
Brian Paul
0d8676822d
remove old/unused foomesa.h example header
2008-06-04 09:33:02 -06:00
Brian Paul
f34767f04c
call glutDestroyWindow() before exit
2008-06-04 09:30:32 -06:00
Xiang, Haihao
9e95fad02e
i915: Fix GL_DEPTH_TEXTURE_MODE issue. (bug #16221 )
2008-06-04 15:44:38 +08:00
Dave Airlie
0b734bd7cf
mesa/drm/ttm: allow build against non-TTM aware libdrm
...
I'll release a libdrm 2.3.1 without TTM apis included from a special
drm branch that should allow mesa 7.1 to build against it.
I've had to turn off DRI2 stuff.
2008-06-04 14:08:27 +10:00
Ian Romanick
f688827ebd
bug #16503 : use INSTALL macro instead of hard-coding to bin/minstall
...
This is only part of the fix. Someone with more autoconf-fu will have
to fix the rest
2008-06-02 11:19:35 -07:00
Nicolai Haehnle
96adcc2e21
[t_vp_build] Fix refcounting-related memory leak
...
This memory leak is identical to the earlier one in texenvprogram.
Fixed by not creating an additional reference to new programs in cache_item.
On top of that, remove some duplicated state setting.
2008-06-02 18:42:52 +02:00
Nicolai Haehnle
934a53eb44
[texenvprogram] Fix refcounting-related memory leak.
...
All newly created programs have RefCount == 1, but the fragment program cache
added an additional reference in cache_item, with the result being that none
of the programs were ever freed.
Solve the problem by not creating the additional reference in cache_item.
2008-06-02 18:42:49 +02:00
Dave Airlie
7ead1c5d06
r500: add missing brackets around depth testing
2008-06-02 07:18:21 +10:00
Corbin Simpson
915e49e0fd
r5xx: Enable depth write emission.
...
Thanks to nh for the r3xx version.
2008-06-01 11:45:30 -07:00
Nicolai Haehnle
c9ea62444c
r300: Writing to result.depth in fragment programs (R3xx; only stub for R5xx)
...
Setup fg_depth_src for depth writing programs and change early Z (ztop)
semantics.
Piglit's version of glean/fragprog test passes now (unlike Glean, its
dependency on EXT_fog_coord, which we don't support, is optional).
R3xx only at the moment, but should be straightforward to adapt to R5xx
(I don't own an R5xx, and I don't want to break anything.)
2008-06-01 19:59:42 +02:00
Nicolai Haehnle
d9c7c5f071
[r300] Fix KIL instruction and swizzling of texture coordinates
...
The KIL instruction only works if at least one texture unit is enabled
in hardware.
Texture instructions do not support swizzles, negations etc. natively,
so we now emit an explicit swizzling etc. operation when the texture coordinate
requires it.
This fixes the Piglit fp-kil test.
2008-06-01 13:23:53 +02:00
Corbin Simpson
3225e2cdb6
r5xx: Add OPCODE_FLR.
...
Why didn't anybody tell me we were missing this one? I thought I committed it ages ago!
2008-06-01 03:23:00 -07:00
Corbin Simpson
9a34c68faf
r5xx: Last emit_sop() for now.
...
This should also clean up LIT later on.
2008-05-31 22:41:54 -07:00
Corbin Simpson
bffa0909cb
r5xx: More emit_sop(), stage 2.
...
SIN/COS.
2008-05-31 22:23:11 -07:00
Corbin Simpson
ea58dceb1c
r5xx: Cleanup SOP with emit_sop().
...
I wish I had a snarky commit message, but I'll save that for after I get the
trig working with this.
2008-05-31 22:09:38 -07:00
Corbin Simpson
c9679ce1d2
r5xx: Dump shader constants when dumping program assembly.
2008-05-31 20:48:15 -07:00
Dave Airlie
7013eecf28
r300: disable the lowimpact fallbacks by default.
...
because really we should be able to just fix the driver.
2008-06-01 09:32:55 +10:00
Markus Amsler
a947c1a3fe
r500: Use 8bit fog alpha compare value.
...
This fixes transparency issues on r500 by enabling
backwards compatibility with the r300 alpha compare value.
2008-05-31 03:10:21 +02:00
Luc Verhaegen
4a69c4173d
Fix segfault on exit in unichrome driver (bug 16150)
2008-05-29 11:00:06 -06:00
Brian Paul
ef56a563a1
undo prev change to this VC7 project file
...
Meant to update the VC8 project file.
2008-05-29 10:46:39 -06:00
Karl Schultz
1190261c47
added prog_uniform.[ch]
2008-05-29 10:43:48 -06:00