Eric Anholt
01bc4d441f
intel: Don't do the extra MI_FLUSH in flushing except when doing glFlush().
...
Everything other than "make sure the last rendering ends up visible on the
screen" doesn't need that behavior.
2009-02-10 18:45:18 -08:00
Eric Anholt
0b63f6449e
intel: Speed up glDrawPixels(GL_ALPHA) by using an alpha texture format.
2009-02-10 18:45:18 -08:00
Eric Anholt
d11981e0d7
intel: Fix some state leakage of {Client,}ActiveTexture in metaops.
...
Found while debugging cairo-gl.
2009-02-10 18:45:17 -08:00
Eric Anholt
f82f1ffba9
intel: don't crash when dri2 tells us about buffers we don't care about.
2009-02-10 18:45:17 -08:00
Eric Anholt
f967e8b507
dri2: Don't crash if the server returns more buffers than expected.
2009-02-10 18:45:17 -08:00
Eric Anholt
680c708dee
dri2: Initialize variables for the getbuffers round-trip reduction.
...
Missed setting the initial values which usually didn't hurt at runtime.
2009-02-10 18:45:17 -08:00
Brian Paul
36c1e756da
docs: some Cell driver docs updates
2009-02-10 19:36:52 -07:00
Brian Paul
0996a23e3d
cell: asst build fixes in linux-cell config
...
Add -D_SVID_SOURCE to silence warnings when building glx files.
Don't build the non-gallium drivers.
2009-02-10 19:34:08 -07:00
Jakob Bornecrantz
7e54d7d3d6
gallium: Update autoconf to latest gallium build
2009-02-11 02:45:15 +01:00
Jakob Bornecrantz
e94b4dd4f0
gallium: Disable nouveau by default
...
Most piep drivers should be able to build by default, but since
the nouveau ones depend drm they can't be enabled by default.
2009-02-11 02:43:27 +01:00
Brian Paul
9c101c44c4
cell: update Cell driver info (code is on master now)
2009-02-10 16:56:58 -07:00
Brian Paul
5340b6dff7
Merge commit 'origin/gallium-master-merge'
...
This is the big merge of the gallium-0.2 branch into master.
gallium-master-merge was just the staging area for it.
Both gallium-0.2 and gallium-master-merge are considered closed now.
Conflicts:
progs/demos/Makefile
src/mesa/main/state.c
src/mesa/main/texenvprogram.c
2009-02-10 16:44:02 -07:00
Brian Paul
ee4c921b65
Merge commit 'origin/gallium-0.2' into gallium-master-merge
2009-02-10 16:34:51 -07:00
Brian Paul
9fd26daec2
mesa: remove the unused _mesa_UpdateTexEnvProgram() function
2009-02-10 16:30:24 -07:00
Brian Paul
537d3ed6f3
mesa: another fix for program/texture state validation
...
This fixes a regression introduced in 46ae1abbac
Break program validation into two steps, do part before texture state
validation and do the rest after:
1. Determine Vertex/Fragment _Enabled state.
2. Update texture state.
3. Determine pointers to current Vertex/Fragment programs (which may involve
generating new "fixed-function" programs).
See comments in the code for more details of the dependencies.
2009-02-10 16:28:25 -07:00
Brian Paul
c936a6083e
intel: minor reformatting, comments
2009-02-10 15:54:23 -07:00
Brian Paul
1ed5fe5cbf
mesa: s/_IMAGE_NEW_TRANSFER_STATE/_MESA_NEW_TRANSFER_STATE/ to be more consistant with other flags
2009-02-10 15:53:35 -07:00
Brian Paul
46ae1abbac
mesa: fix/change state validation order for program/texture state
...
Program state needs to be updated before texture state since the later depends
on the former.
Fixes piglit texgen failure. The second time through the modes (press 't'
three times) we disable the fragment program and return to conventional texture
mode. State validation failed here because update_texture() saw stale fragment
program state.
2009-02-10 15:53:35 -07:00
Younes Manton
14d808f8fd
nouveau: nv40 swizzled mipmap fixes.
2009-02-10 16:36:33 -05:00
Patrice Mandin
c2be521d24
nouveau: nv30: fix miptree organization to have swizzled texture+mipmap at the right places
2009-02-10 22:22:55 +01:00
Patrice Mandin
24c379badb
nouveau: revert all my changes here, not the right way
2009-02-10 22:22:06 +01:00
Patrice Mandin
7b66b24c2e
nouveau: stop with 0 dimension
2009-02-10 22:04:56 +01:00
Patrice Mandin
53069cbf29
nouveau: we already have the right src offset
2009-02-10 21:58:49 +01:00
José Fonseca
52233f27bb
progs: Build samples dir with scons and glew.
2009-02-10 20:28:08 +00:00
Patrice Mandin
fa9fcf5e8f
nouveau: do not forget to half dimension.
2009-02-10 21:22:29 +01:00
Patrice Mandin
0cd28c4a1b
nouveau: revert most parts of recent mipmap+swizzle stuff. We only need to find right src and dst offset for given mipmap level.
2009-02-10 21:20:24 +01:00
José Fonseca
8b9aa730c6
progs: Build rebook with scons too.
2009-02-10 20:18:52 +00:00
Keith Whitwell
f54149a3a3
wgl: return before locking if stw_icd is NULL
2009-02-10 19:23:06 +00:00
Keith Whitwell
9c9ba66fba
Merge commit 'origin/gallium-0.2' into gallium-0.2
...
Conflicts:
src/gallium/state_trackers/wgl/icd/stw_icd.c
2009-02-10 19:22:57 +00:00
José Fonseca
1e8177ee17
scons: Use parallel builds by default.
2009-02-10 18:13:05 +00:00
Keith Whitwell
ebb864da9e
wgl: mutex-protect the shared stw_icd struct
2009-02-10 18:11:44 +00:00
Patrice Mandin
02401cbaf0
nouveau: dst offset is correct
2009-02-10 18:44:27 +01:00
José Fonseca
00ee308ab3
pipebuffer: Drop reliance on pipe_winsys.
2009-02-10 17:37:53 +00:00
Patrice Mandin
b20a1b28b7
Missing: tgsi: Fix build -- rename Size to NrTokens.
2009-02-10 18:31:41 +01:00
Patrice Mandin
2f0811054f
nouveau: recalc sub width and height for each mipmap level
2009-02-10 18:09:32 +01:00
Jakob Bornecrantz
767b1acbb7
mesa: Build both software rasterizers for debug
...
But put the gallium one in lib/gallium
2009-02-10 17:43:25 +01:00
Jakob Bornecrantz
1789dc8015
gallium: Don't rebuild common drm code
2009-02-10 16:24:06 +01:00
Jakob Bornecrantz
94665aa648
gallium: Install DRI drivers into lib/gallium
2009-02-10 16:23:59 +01:00
Jakob Bornecrantz
43e6272ae5
gallium: Introduce new subdirs build variables
...
(based on gallium-xorg-driver/commit 270ce504052d415870a25ab59818b2309eb8ac13)
2009-02-10 16:23:02 +01:00
Jakob Bornecrantz
7fad277bbb
Revert "cell: update linux-cell config"
...
This reverts commit 22c6c1eaad .
Need to revert this since we reverted commited this depended on.
2009-02-10 16:22:32 +01:00
Jakob Bornecrantz
b96d50da8b
Revert "mesa: added new linux-gallium and linux-gallium-debug configs"
...
This reverts commit abbe96cb6e .
It only reverts parts of the commit the other parts where related to
libmesagallium changes.
2009-02-10 16:22:19 +01:00
Michal Krol
2644985367
nv40: Fix build -- rename Size to NrTokens.
2009-02-10 15:18:32 +01:00
Michal Krol
844034dee5
nv30: Fix build -- rename Size to NrTokens.
2009-02-10 15:18:19 +01:00
Michal Krol
adc6847260
nv20: Fix build -- rename Size to NrTokens.
2009-02-10 15:18:03 +01:00
Michal Krol
276de3ffcf
brw: Fix build -- rename Size to NrTokens.
2009-02-10 15:17:41 +01:00
Michal Krol
0020e1d108
i915: Fix build -- rename Size to NrTokens.
2009-02-10 15:17:17 +01:00
Michal Krol
a872b518c9
gallivm: Fix build -- rename Size to NrTokens.
2009-02-10 15:16:35 +01:00
Michal Krol
e3028baff2
draw: Fix build -- rename Size to NrTokens.
2009-02-10 15:16:00 +01:00
Michal Krol
5ecd0b0890
tgsi: Fix build -- rename Size to NrTokens.
2009-02-10 15:14:31 +01:00
Michal Krol
bf3930453c
gallium: Rename Size member of TGSI token to NrTokens.
...
Driver writers often got confused and assumed Size to be
the number of immediate values in Immediate declaration.
2009-02-10 15:12:34 +01:00