Younes Manton
c064d5a1ba
g3dvl: Use texture instead of surface for backbuffer.
2008-12-02 16:15:12 -05:00
Younes Manton
bacacd5ada
g3dvl: Move MC shaders to a seperate file, #included in the original.
2008-12-02 16:15:12 -05:00
Kristian Høgsberg
154a9e5317
Bump dri2proto requirement to 1.99.3, drop CopyRegion bitmask from protocol.
2008-12-01 21:44:03 -05:00
Dave Airlie
cd031749a7
intel: restore old vertex submit paths for i8xx hardware.
...
Intel docs state that only 830/845 have VBOs, 855/865 don't. So
lets just not use them on i8xx at all.
This restores the old pre-vbo code and uses it on all 8xx hw.
2008-12-02 20:31:14 +10:00
Brian
36b941cdbf
softpipe: minor tweaks, clean-ups
2008-12-01 18:36:56 -07:00
Brian
38bee46e83
softpipe: compute nearest/linear texcoords four at a time.
...
A small step toward SIMD-izing the code.
2008-12-01 18:36:56 -07:00
Brian
dd55083ac1
gallium: minor texture-related clean-ups, comments, etc
2008-12-01 18:36:56 -07:00
Brian
1e2f574251
mesa: fix conditional in save_Lightfv(), bug 18838
2008-12-01 18:32:47 -07:00
Pekka Paalanen
dbcfc0dcde
Nouveau: minor winsys API fix
...
Signed-off-by: Pekka Paalanen <pq@iki.fi>
2008-11-30 20:54:02 +02:00
Pekka Paalanen
bb29d066dc
Nouveau: nv{10,20} set_primitive API fix
...
Also changes nvgl_primitive() to return zero, i.e. error, on unknown
primitive.
Signed-off-by: Pekka Paalanen <pq@iki.fi>
2008-11-30 20:40:55 +02:00
Pekka Paalanen
830e4a6ec3
Nouveau: nv20 build fix: forgotten include
...
Signed-off-by: Pekka Paalanen <pq@iki.fi>
2008-11-30 20:35:29 +02:00
Pekka Paalanen
fd645c7f8a
Nouveau: fix minor API change in surface_copy
...
Signed-off-by: Pekka Paalanen <pq@iki.fi>
2008-11-30 20:32:14 +02:00
Pekka Paalanen
578af7d6f6
Nouveau: update nouveau_class.h
...
Fresh from renouveau.
Signed-off-by: Pekka Paalanen <pq@iki.fi>
2008-11-30 20:04:28 +02:00
Pekka Paalanen
988ece3b42
Nouveau: nv20 (nv10) immediate vertex submission
...
This is nv10 commands, but is in nv20 source files.
Signed-off-by: Pekka Paalanen <pq@iki.fi>
2008-11-30 12:16:45 +02:00
Pekka Paalanen
3cb0858510
Nouveau: properly redo nv20_vertex_layout.
...
This is still for NV10 hardware.
Signed-off-by: Pekka Paalanen <pq@iki.fi>
2008-11-30 12:07:49 +02:00
Eric Anholt
e476acb105
i965: Add a new state flag BRW_NEW_NR_SURFACES instead of CACHE_NEW_SURFACE
...
The CACHE_NEW_SURFACE bit always gets spammed since we get many different
surface BOs per state emit, but the only consumer of it wanted to just know
how many surfaces were enabled.
2008-11-28 17:09:46 -08:00
Eric Anholt
8e5639577c
i965: Fix clashing enums for BRW_NEW_INDICES/VERTICES versus BATCH/DEPTH_BUFFER.
...
Fixes upload of large amounts of state for every new primitive emit.
2008-11-28 17:09:46 -08:00
Eric Anholt
287d719a93
i965: Remove BRW_WM_LOCK dirty bit, introduced to work around lack of relocs.
...
This was causing a prepare of wm state at every primitive emit.
2008-11-28 17:09:46 -08:00
Eric Anholt
3f973de07c
i965: Add debug code for dumping how frequently different dirty bits are set.
2008-11-28 17:09:46 -08:00
Eric Anholt
8e76ac070d
i915: Remove dead early z enable bit which was always on.
2008-11-28 17:09:46 -08:00
Eric Anholt
7855b2aef6
i965: Reduce fast-pathiness of brw_try_draw_prims, bringing in important checks.
...
Later primitives, even if they caused a full state validate, wouldn't check
that there was enough space in the batchbuffer, occasionally triggering the
sanity check. We also skipped the aperture space check, even if it would
mean bringing in new programs and associated state.
2008-11-28 17:09:45 -08:00
Brian Paul
baaf9779f1
mesa: add missing break statements
2008-11-28 16:17:57 -07:00
Brian Paul
166d5ac170
mesa: enable texture compression extensions for software drivers when possible
2008-11-28 14:08:04 -07:00
Phillip Klaus Krause
3b5cd7d74a
mesa: remove unneeded compressed texure size checks
2008-11-28 13:54:08 -07:00
Brian Paul
ec17001cd4
mesa: fix default switch case in append_token(), see bug 18734
2008-11-28 13:50:41 -07:00
Alan Hourihane
c4c86bbd16
Merge commit 'origin/master' into gallium-0.2
2008-11-28 16:19:10 +00:00
Alan Hourihane
5b71472389
Merge commit 'origin/gallium-0.1' into gallium-0.2
...
Conflicts:
src/gallium/auxiliary/tgsi/tgsi_sse2.c
2008-11-28 16:18:36 +00:00
Brian Paul
c303e7299b
mesa: remove an assertion (see bug 18734)
2008-11-27 11:01:30 -07:00
RALOVICH, Kristóf
8c2b4b33c5
Revert "glx: xcbified visual and FBConfig choosing"
...
This reverts commit 62688f1135 .
2008-11-27 07:20:38 -07:00
RALOVICH, Kristóf
80d1531ebe
Revert "glx: revert using nonexsisten XCB version of glXGetFBConfigsSGIX"
...
This reverts commit 5369876501 .
2008-11-27 07:20:35 -07:00
Michal Krol
158a5f75d8
tgsi: Reenable OPCODE_ARR.
2008-11-26 22:29:49 +01:00
RALOVICH, Kristóf
5369876501
glx: revert using nonexsisten XCB version of glXGetFBConfigsSGIX
...
This uses a GLX VendorPrivate request. VendorPrivates are real GLX API
calls but use the same protocol request. XCB does not currently
support specific VendorPrivetes directly. See eg.:
http://lists.freedesktop.org/archives/xcb/2008-November/004036.html
for more information.
2008-11-26 10:02:11 -07:00
RALOVICH, Kristóf
1e167f6b5c
glx: remove XCB debug leftover
2008-11-26 10:02:11 -07:00
RALOVICH, Kristóf
ff3fa92eaa
glx: xcbified glXSwapBuffers
2008-11-26 10:02:11 -07:00
RALOVICH, Kristóf
62688f1135
glx: xcbified visual and FBConfig choosing
2008-11-26 10:02:11 -07:00
RALOVICH, Kristóf
66db1b64e8
glx: xcbified __glXClientInfo
2008-11-26 10:02:11 -07:00
RALOVICH, Kristóf
6d1d157606
glx: no graphics context during initialization
2008-11-26 10:02:11 -07:00
RALOVICH, Kristóf
9c7aaa7afb
glx: xcbified __glXIsDirect
2008-11-26 10:02:10 -07:00
RALOVICH, Kristóf
00f22f972f
glx: missing static on local function
2008-11-26 10:02:10 -07:00
RALOVICH, Kristóf
f0d015cccb
glx: use __glXGetString
2008-11-26 10:00:58 -07:00
RALOVICH, Kristóf
9c98e35ff6
glx: use __glXQueryServerString
2008-11-26 10:00:58 -07:00
RALOVICH, Kristóf
24b8a8cfe8
glx: implement __glXGetString, hide __glXGetStringFromServer
2008-11-26 10:00:58 -07:00
RALOVICH, Kristóf
fd52001c5c
glx: implement QueryVersion using XCB
2008-11-26 10:00:58 -07:00
RALOVICH, Kristóf
5444424562
glx: implement __glXQueryServerString using XCB
2008-11-26 10:00:58 -07:00
Thomas Henn
55aeeef547
windows: fix visual object memleak
2008-11-26 09:51:29 -07:00
Thomas Henn
279343059f
windows: fix _mesa_unreference_framebuffer() to pass ** type.
2008-11-26 09:49:32 -07:00
Brian Paul
001b1cbb0d
mesa: add missing type check for function calls
2008-11-26 09:35:26 -07:00
Brian Paul
aa40de5c6f
mesa: add missing size check for assignment optimization
2008-11-26 09:35:08 -07:00
Michal Krol
527e76a7ec
tgsi: Fix build.
2008-11-26 17:20:07 +01:00
Michal Krol
972922b1bf
tgsi: Implement OPCODE_ROUND for SSE2 backend.
2008-11-26 17:15:36 +01:00