Commit graph

21680 commits

Author SHA1 Message Date
Brian Paul
be1a76f88f mesa: if texObj is NULL in fetch_texel_*(), return black. 2009-01-28 09:16:11 -07:00
Keith Whitwell
67b6e5b907 wgl: split device structs, move swapbuffers to shared
Each of icd, shared and wgl now have the opportunity to maintain their
own per-device structs, which should reduce the need for these
modules to be looking into each others structures.
2009-01-28 16:11:46 +00:00
José Fonseca
1be4d4d4c6 pipebuffer: More assertions. 2009-01-28 15:54:13 +00:00
José Fonseca
815de0a5df pipebuffer: Fix alignment assertion. 2009-01-28 15:54:13 +00:00
José Fonseca
665d6d6c1e pipebuffer: Export the pipe buffer winsys hooks. 2009-01-28 15:54:13 +00:00
Keith Whitwell
507498af10 stw: rename stw_wgl_ --> stw_ 2009-01-28 13:45:01 +00:00
Keith Whitwell
c3d744f5bb stw: move pixelformat_get/set to shared 2009-01-28 13:43:10 +00:00
Keith Whitwell
cb70d27dd1 stw: move pixelformat_describe to shared 2009-01-28 13:35:49 +00:00
Keith Whitwell
f17eb0b13c wgl: move context functions to shared 2009-01-28 12:25:25 +00:00
Keith Whitwell
19d06f4e16 wgl: split into shared, (fake)wgl and icd directories 2009-01-28 11:40:54 +00:00
Eric Anholt
0f72de5538 dri2: add complaints for more initialization failures.
Somehow we're running into DRI2Authenticate failing, and silent demotion to
swrast is bad.
2009-01-27 14:34:29 -08:00
Eric Anholt
65d39a9eed intel: clean up more pf mess. 2009-01-27 12:05:47 -08:00
Brian Paul
318e53a4bf mesa: refactor glTexParameter code 2009-01-27 11:07:21 -07:00
Zack Rusin
4f5308bdcb gallium: remove redundant size from the constant buffer
reuse the size of the actual buffer
2009-01-27 12:20:26 -05:00
Zack Rusin
d6888e811d gallium: it's a reference value, not a reference number 2009-01-27 12:20:26 -05:00
Zack Rusin
2299f21f8d gallium: standardize api on the prefix "nr" 2009-01-27 12:20:25 -05:00
Zack Rusin
a7e72231e3 gallium: standardize naming of masks 2009-01-27 12:20:25 -05:00
Zack Rusin
872b515e8f gallium: standardize on stride instead of pitch in the interface 2009-01-27 12:20:25 -05:00
Brian Paul
38768dbc76 mesa: move call to _mesa_update_framebuffer_visual()
Update the visual info in the _mesa_test_framebuffer_completeness()
function when we've determined the FBO to be "complete".

Fixes regression seen in progs/demos/shadowtex.c
2009-01-27 09:49:27 -07:00
Keith Whitwell
0e471ac457 wgl: relocate wgl code to state_trackers/wgl
Similar to the GLX state trackers for DRI and xlib.
2009-01-27 11:28:29 +00:00
Keith Whitwell
4d710dd3cf tgsi: silence some warnings 2009-01-27 11:16:32 +00:00
Keith Whitwell
27e5097e2a draw: silence some warnings 2009-01-27 11:16:32 +00:00
Keith Whitwell
3b853e93b2 i915: queiten compiler warnings 2009-01-27 11:16:32 +00:00
Keith Whitwell
ef9194a4f4 failover: queiten compiler warnings 2009-01-27 11:16:32 +00:00
Keith Whitwell
f675972428 draw: queiten compiler warnings 2009-01-27 11:16:32 +00:00
Keith Whitwell
9a7aeac49c scons: remove pedantic flag 2009-01-27 11:16:32 +00:00
Brian Paul
3cf7f9887a i915: rename some functions 2009-01-26 17:23:59 -07:00
Brian Paul
d0c8ed73cc intel: replace i915/intel_state.c and i965/intel_state.c with shared file 2009-01-26 16:40:08 -07:00
Brian Paul
69fd665b64 intel: whitespace changes 2009-01-26 16:38:01 -07:00
Brian Paul
84c8b5bbf9 intel: move some driver functions around
A step toward consolidating i915/intel_state.c and i965/intel_state.c
2009-01-26 16:33:45 -07:00
Zack Rusin
005a375068 egl: compilation fix 2009-01-26 16:53:33 -05:00
Brian Paul
72ee0e247d intel: check if stencil test is enabled in intel_stencil_drawpixels() 2009-01-26 14:22:30 -07:00
Brian Paul
723648f2ee intel: save/restore GL matrix mode in intel_meta_set_passthrough_transform(), intel_meta_restore_transform() 2009-01-26 14:01:32 -07:00
José Fonseca
3d607ef37f scons: Request the stabs debug info format for Mingw.
Mingw gdb apparently chokes on dwarf debug info.
2009-01-26 20:28:04 +00:00
José Fonseca
f5fad95455 glut: Minor cleanups. 2009-01-26 20:28:04 +00:00
Brian Paul
36daee1c7b intel: asst. casts to silence warnings 2009-01-26 12:44:05 -07:00
Brian Paul
6c244b0f32 intel: #include clean-ups 2009-01-26 12:39:29 -07:00
Brian Paul
d555cdbe3e intel: remove old #includes 2009-01-26 12:39:28 -07:00
Brian Paul
aae2729aeb intel: make intelUpdateScreenFromSAREA() static 2009-01-26 12:39:28 -07:00
Brian Paul
66c7f06413 intel: remove unused var 2009-01-26 12:39:28 -07:00
Brian Paul
4006c5e452 intel: move intelInitExtensions() and related code into new intel_extensions.c 2009-01-26 12:39:28 -07:00
Brian Paul
4451eb2e75 intel: move glClear-related code into new intel_clear.c file 2009-01-26 12:39:28 -07:00
Brian Paul
6fcebbe719 intel: Move swap-related functions from intel_buffers.c to new intel_swapbuffers.c 2009-01-26 12:39:28 -07:00
Brian Paul
3b23a8e07d i965: scissor rect was inverted when rendering to texture 2009-01-26 12:39:28 -07:00
Pekka Paalanen
f25421a59b nv20: rewrite vertex layout
NV20 seems to be very different to NV10. In vertex array, pos is first,
not last. There are maximum 16 attributes and only few are currently
known.

This makes trivial/tri work on NV20.

Signed-off-by: Pekka Paalanen <pq@iki.fi>
2009-01-26 21:34:39 +02:00
Pekka Paalanen
94ff37f0dc nv20: adjust initial hw context
VIEWPORT_SCALE0 seems to do with translation and the sane
value for x and y is zero.
VIEWPORT_SCALE1 is still a mystery.

Signed-off-by: Pekka Paalanen <pq@iki.fi>
2009-01-26 21:34:39 +02:00
Brian Paul
6b1b8e4ca1 gallium: updated comments in st_extensions.c 2009-01-26 12:31:33 -07:00
Robert Ellison
523febe12e mesa: add missing texture_put_row_rgb() function in texrender.c
The wrap_texture() function doesn't set the renderbuffer PutRowRGB() method,
which is used to implement DrawPixels().  This fix adds an implementation
of this method.
2009-01-26 10:23:38 -07:00
Younes Manton
0cd1ee764a g3dvl: Remove dead links to files that are now in libnouveaudrm. 2009-01-24 16:18:20 -05:00
Pekka Paalanen
3af89cd3de nouveau: fix st_get_framebuffer_surface() breakage
Someone changed the st_get_framebuffer_surface() signature, and did not
update the users in Nouveau winsys. Surface is returned via a pointer
now instead of returning it from the function. No semantic changes.

Signed-off-by: Pekka Paalanen <pq@iki.fi>
2009-01-24 19:56:13 +02:00