Chia-I Wu
c407c70244
egl_glx: Clean up surface functions.
...
Separete Drawable and GLXDrawable. Add support for pbuffer and pixmap
surfaces on GLX <= 1.3. Remove surface binding code that will never
work.
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-10-22 09:33:27 -06:00
Chia-I Wu
78c3a351bc
egl_glx: Clean up the initialization code.
...
Proper detection of GLX extensions. Convert fbconfigs or visuals in a
more unified way and validate the resulting configs.
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-10-22 09:33:27 -06:00
Chia-I Wu
326baecd75
egl: Correct conversion of native visual type.
...
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-10-22 09:33:27 -06:00
Ben Skeggs
eebf4b5299
nv50: support 3D class 0x8597, remove redundant unknown chipset detection
2009-10-22 21:56:32 +10:00
Corbin Simpson
511bd5f32b
r300g: Check for NULL Draw during flush.
...
Split from the fastpath WIP.
2009-10-22 00:21:08 -07:00
Corbin Simpson
0a8cd4862c
r300g: Update comments, function names in r300_state_inlines.
2009-10-21 23:26:02 -07:00
Corbin Simpson
034db65f08
r300g: Update comments, asserts, indents in r300_texture.
...
I wish I knew enough about textures to really really REALLY fix that file.
2009-10-21 23:23:37 -07:00
Corbin Simpson
5a653ada41
r300g: Remove unused debug flag.
2009-10-21 22:54:52 -07:00
Corbin Simpson
40247d87d2
r300g: Cleanup old static shader state.
2009-10-21 22:53:37 -07:00
Marc Dietrich
b2b239691d
gallium/util: fix cpu detection on ppc
...
As we are compiling with -D_BSD_SOURCE, sigjmp_buf and siglongjmp
should be replaced by the non-sig functions (see man 3 setjmp).
Tested on linux/cell.
2009-10-21 15:15:03 -06:00
Brian Paul
2cc5a0e6bb
mesa: added _mesa_dump_renderbuffers() debug code
2009-10-21 15:14:30 -06:00
Patrice Mandin
d364f662c6
nouveau: nv30: Do not use assert to return NULL
2009-10-21 22:01:03 +02:00
Patrice Mandin
cb351bdd6e
nouveau: nv30: check number of colour buffers to bind
2009-10-21 21:56:09 +02:00
José Fonseca
ce98860012
llvmpipe: Remove extraneous name in lp_type pre-declaration.
2009-10-21 15:53:37 +01:00
Corbin Simpson
3b8dad47f8
r300g: No debug in r300_state.
2009-10-21 06:52:25 -07:00
Corbin Simpson
6a448a525b
r300g: Cleanup header includes.
2009-10-21 06:52:25 -07:00
Corbin Simpson
babadb8bb9
r300g: Don't use getenv; use debug_get_*_option instead.
2009-10-21 06:52:24 -07:00
Corbin Simpson
5a0598f235
r300g: Don't use the hashtable internally.
...
As osiris pointed out, glxgears slowly gets slower for some reason
when it's enabled, and it's not helping at the moment, so just turn
it off.
2009-10-21 06:52:24 -07:00
Corbin Simpson
b589e39809
r300g: Examine vertex attribute type on HW TCL too.
2009-10-21 06:52:23 -07:00
Corbin Simpson
b21df2620e
r300g: Also kill r300_shader_inlines with fire.
2009-10-21 06:52:23 -07:00
Corbin Simpson
58abfebaad
r300g: Kill r300_surface with fire.
...
If you really want to see it again, check the history.
2009-10-21 06:52:22 -07:00
Eric Anholt
d56125a298
intel: Fix flipped condition in ARB_sync GetSYnciv(GL_SYNC_STATUS).
...
Bug #24435
2009-10-20 14:52:58 -07:00
Eric Anholt
cbd20e18a0
meta: Fix the BufferSubData in meta clear to be BufferData.
...
Fixes a 3.4% +/- 1.3% performance regression in my GL demo (n=3). The
other meta code could probably also use the same treatment.
2009-10-20 13:07:49 -07:00
Jakob Bornecrantz
478332b0c1
st/xorg: Move drm init to own function
2009-10-20 18:11:51 +02:00
Jakob Bornecrantz
fc07ca004a
trace: Check for destroy before calling it
2009-10-20 17:19:05 +02:00
Jakob Bornecrantz
a9f71b3bba
st/xorg: Cleanly shutdown
2009-10-20 17:19:04 +02:00
Jakob Bornecrantz
5f8f14e5ca
st/xorg: Remove output functions not used
2009-10-19 07:52:16 +02:00
Zack Rusin
b7fbcfdb3b
st/xorg: makefile garbage
2009-10-19 23:48:38 -04:00
Zack Rusin
a39a3cc14e
st/xorg: implement basic src/mask transformations
...
plus fix filters
2009-10-19 23:45:31 -04:00
Corbin Simpson
e5f1f6a0be
r300g: Demonstratory kludge to unbreak glxgears.
...
We *must* recalculate something in vformat every rebind; let's see
if we can't narrow it down a bit.
2009-10-19 14:43:33 -07:00
Corbin Simpson
973aab1a52
dri-st: Add EXT_provoking_vertex.
...
Hm, I could have sworn I did this before?
2009-10-19 14:43:32 -07:00
Jakob Bornecrantz
e1b39c673d
st/xorg: Switch to set_mode_major
2009-10-18 15:46:25 +02:00
Jakob Bornecrantz
846da0bfda
st/xorg: Massivly redo root pixmap creation
2009-10-18 15:46:25 +02:00
Jakob Bornecrantz
e9e6152cb3
st/xorg: Clean up cursor functions a bit
2009-10-18 15:46:25 +02:00
Jakob Bornecrantz
b8843c6056
st/xorg: Support more then one output of a given type
2009-10-18 15:46:24 +02:00
Jakob Bornecrantz
68b5dc9634
st/xorg: Change how disable accel is handled
2009-10-18 15:46:24 +02:00
Christoph Bumiller
ec5c23551c
nv50: add support for address regs
...
Allow indirect uniform access and increase the
limit on parameters from 128 to 512.
2009-10-19 18:25:09 +02:00
Christoph Bumiller
eb7ea97e7f
nv50: cleanup emit_kil
2009-10-19 18:25:09 +02:00
Christoph Bumiller
2eef2017ac
nv50: implement TGSI_OPCODE_CMP
2009-10-19 18:25:09 +02:00
Christoph Bumiller
f204eb1842
nv50: quick fix for insn src negation
...
We only have a per nv50_reg negation flag, if an
nv50_reg is used more than once in a TGSI op with
different sign modes, we'd generate wrong code.
We probably can't do much better without more
invasive changes.
2009-10-19 18:25:09 +02:00
Christoph Bumiller
1635e8d6f4
nv50: add support for DDX and DDY opcodes
2009-10-19 18:25:09 +02:00
Christoph Bumiller
c0e80cf0e9
nv50: submit user vbo data through the fifo
...
Requesting a new real buffer from the kernel and
copying all the data is wasteful e.g. if only a
few (but widely spread) vertices are accessed.
2009-10-19 18:25:08 +02:00
Christoph Bumiller
fba2eabe13
nv50: use SIFC for TIC, TSC upload
...
Add proper flushes for TIC and TSC and remove
the costly 2D.0110 flush in nv50_flush.
Correct TIC and TSC bo sizes.
2009-10-19 18:25:08 +02:00
Christoph Bumiller
6ab2fcca9d
nv50: nicer texture format switch
...
Similar to nv40.
2009-10-19 18:25:08 +02:00
Alex Deucher
620270c76e
Merge branch 'mesa_7_6_branch' of git+ssh://agd5f@git.freedesktop.org/git/mesa/mesa
...
regenerated lex.yy.c
2009-10-19 12:10:59 -04:00
Mathias Fröhlich
16e21191e2
r300: fix texture size handling with size > 2048
...
The in kernel texture check fails because of both
bit11 flags being set on 16x16 textures. It tuns out
that these bits are still set and not cleared in the
pp_txpitch field of the texture. The attached patch
at least helps for this case on my machine. It clears
the bit 11 from the pitch field if the texture is smaller
and masks out that hight bits on the conventional width
and height field.
Fixes bug 24584
2009-10-19 11:47:21 -04:00
Robert Noland
8123180ea6
r600: Fix size calculation for 24 bit depth
...
size was being calculated based on 3 bytes per pixel with 24 bit depth
instead of 4 bytes. This caused corruption in the bottom 25% of objects.
This finishes fixing the menu/text corruption in compiz/kde4.
Signed-off-by: Robert Noland <rnoland@2hip.net>
2009-10-19 11:09:10 -04:00
Ben Skeggs
35b98e2884
nouveau: implement is_{texture,buffer}_referenced properly
2009-10-19 09:49:02 +10:00
Ben Skeggs
869d3eea37
drm/nv50: write tic/tsc setup to correct slots when skipping units
2009-10-19 09:49:02 +10:00
Corbin Simpson
16a06fea73
r300g: Fix up a bunch of warnings.
2009-10-18 16:09:01 -07:00