Commit graph

27505 commits

Author SHA1 Message Date
Eric Anholt
040cf3fcdc i965: Add basic decode of new gen6 packet boundaries. 2010-02-25 10:53:07 -08:00
Eric Anholt
ff3997904a i965: Reconnect the index/vertex setup. 2010-02-25 10:53:07 -08:00
Eric Anholt
c9dc6d425e i965: Set up the SNB URB.
even with vs disabled, still doesn't work.
2010-02-25 10:53:06 -08:00
Eric Anholt
0da50fa670 i965: Try sending prims down the pipeline.
Now things catch on fire.
2010-02-25 10:53:06 -08:00
Eric Anholt
8485e100b8 i965: Try uploading SNB VS constants. 2010-02-25 10:53:06 -08:00
Eric Anholt
eda1b50aa1 i965: Try turning on the VS. 2010-02-25 10:53:06 -08:00
Eric Anholt
98f9666f04 i965: Get vp-tri batchbuffers running (no rendering). 2010-02-25 10:53:06 -08:00
Eric Anholt
f58fbcf761 i965: Add untested REJECT_ALL clip state. 2010-02-25 10:53:06 -08:00
Eric Anholt
520b64ddfb i965: Add untested passthrough GS setup. 2010-02-25 10:53:06 -08:00
Eric Anholt
ba882d7827 i965: Add untested Sandybridge passthrough VS setup. 2010-02-25 10:53:06 -08:00
Eric Anholt
7ee590424c i965: Start adding support for the Sandybridge CC unit. 2010-02-25 10:53:06 -08:00
Eric Anholt
9dce60f35b i965: Set up sandybridge binding table pointers but don't enable it yet.
It hangs the GPU at the clipper stage, presumably because we're lacking
other setup.
2010-02-25 10:53:06 -08:00
Eric Anholt
0b9932ffde i965: Update WM surface state setup for sandybridge's new BLEND_STATE. 2010-02-25 10:53:06 -08:00
Eric Anholt
719f2b1d85 i965: Set up sandybridge depthbuffer. 2010-02-25 10:53:06 -08:00
Eric Anholt
554a8f4026 intel: Start adding defines and some bits for sandybridge bringup. 2010-02-25 10:53:06 -08:00
Francisco Jerez
51e8a66fa1 dri/nouveau: Use the XRGB8888 hardware texture format. 2010-02-25 18:37:39 +01:00
Francisco Jerez
59ddf8ca63 dri/nouveau: Use the hardware I8 format for intensity textures. 2010-02-25 18:37:39 +01:00
Francisco Jerez
4a7e9b5df4 dri/nouveau: Implement EXT_texture_from_pixmap. 2010-02-25 18:37:38 +01:00
Francisco Jerez
a7b8d105a6 dri/nouveau: Support rectangle textures. 2010-02-25 18:37:38 +01:00
Francisco Jerez
7432ffbdfa dri/nouveau: Don't try to map a non-existent teximage. 2010-02-25 18:37:38 +01:00
Francisco Jerez
35041ec151 dri/nouveau: Add some RGB888 span functions. 2010-02-25 18:37:37 +01:00
Francisco Jerez
3ccfce85e2 dri/nouveau: Fake A8 and L8 texture support on nv04. 2010-02-25 18:37:37 +01:00
Francisco Jerez
7269a30b86 dri/nouveau: Restructure the nv[12]0 regcombiner code, and fake A8/L8 support. 2010-02-25 18:37:36 +01:00
Francisco Jerez
323e6bbb05 dri/nouveau: Try to validate textures earlier. 2010-02-25 18:37:36 +01:00
Francisco Jerez
44602bb23c dri/nouveau: Swizzle using the CPU when we hit a limitation of SIFM. 2010-02-25 18:37:35 +01:00
Francisco Jerez
e59e5e3388 dri/nouveau: Clean up the nv04 surface code a bit. 2010-02-25 18:37:35 +01:00
Francisco Jerez
1e4c0618a8 dri/nouveau: Avoid mask overflow on nv04_surface_fill. 2010-02-25 18:37:35 +01:00
Francisco Jerez
9a8e374c46 dri/nouveau: Set _BaseFormat correctly for z24s8 renderbuffers. 2010-02-25 18:37:34 +01:00
Francisco Jerez
91af398b32 dri/nouveau: Fix stencil mask handling on glClear(). 2010-02-25 18:37:34 +01:00
José Fonseca
db2e1518ff scons: Always build trace driver
There are so many state trackers and winsys that rely on it for debug
building, and trace can really build anywhere and is thin so there's no
point is making it an option.

Based on  Xavier Chantry <chantry.xavier@gmail.com>'s patch:

"I also removed the trace check in xlib SConscript which is now useless, and
that script seems to deal with the cell driver, so I added cell in the check
for supported drivers."
2010-02-25 17:02:52 +00:00
Michal Krol
aec4d225b2 python: Fix typo. 2010-02-25 16:16:25 +00:00
George Sapountzis
fec2a67e40 glapi/gen: just copy in glx/glapi 2010-02-25 17:52:05 +02:00
George Sapountzis
f1f33f9293 glapi: EXTRA_DEBUG is never defined, make this explicit 2010-02-25 17:52:05 +02:00
George Sapountzis
ec91810147 glapi: minor ugliness to be able to copy to xorg 2010-02-25 17:52:04 +02:00
Michal Krol
aa799fa2d0 tgsi: Remove dead code. 2010-02-25 15:01:10 +01:00
Chia-I Wu
2cf44390d1 mesa: Move src/mesa/glapi/dispatch.h to mesa.
glapi/dispatch.h is a core Mesa header file.  Move the header file to
main/ to make this clear.  It also becomes clear after this change that
IN_DRI_DRIVER is only used in core Mesa to enable the remap table.
2010-02-25 21:32:58 +08:00
Chia-I Wu
27d260b410 glapi: Move src/mesa/main/dispatch.c to glapi and rename.
main/dispatch.c is a glapi source file.  It is part of GLAPI_SOURCES in
sources.mak and part of glapi_sources in SConscript.  This commit moves
it to glapi/ and renames it to glapi_dispatch.c.
2010-02-25 21:32:58 +08:00
Chia-I Wu
4cb13b433c glapi: Generated GLX sources should use glapidispatch.h.
Fix glX_proto_recv.py and glX_proto_send.py, and regenerate the sources.
2010-02-25 21:32:45 +08:00
Chia-I Wu
2be1fcaafe mesa: Remove unused Makefile.{ugl,win}. 2010-02-25 21:30:51 +08:00
Chia-I Wu
6e28a4e0bc st/egl: Reduce validation round-trips in DRI2 backend.
This is similar to the changes to reduce the round-trips in ximage
backend.

When the server supports DRI_InvalidateBuffers, the event is used to
update the server stamp (this path is not tested).  Otherwise, the
server stamp is updated when flush_frontbuffer or swap_buffers is
called.  This makes sure at least the client APIs get the new buffers
when a new frame is started while skipping all round-trips during the
drawing.
2010-02-25 21:29:37 +08:00
Chia-I Wu
33b92471a7 st/egl: Reduce validation round-trips in ximage backend.
ximage_surface_validate is called several times per frame.  This commit
adds the client and server stamps to reduce the round-trips to the
server.  The idea is to bump the server stamp when flush_frontbuffer or
swap_buffers is called, and to skip the round-trip when the client stamp
is equal to the server stamp.  This makes sure the client APIs get the
new buffers when a new frame is started while skipping all round-trips
during the drawing.  To make this work, egl_g3d_validate_context is no
longer called after swap_buffers.
2010-02-25 21:29:37 +08:00
Chia-I Wu
29ec53d843 st/egl: Refactor dri2_surface_get_buffers.
Add dri2_surface_process_drawable_buffers to process the buffers
returned by the server.
2010-02-25 21:29:37 +08:00
Chia-I Wu
545ac97f9b st/egl: Add dri2InvalidateBuffers.
src/glx/dri2.c will call dri2InvalidateBuffers when
DRI2_InvalidateBuffers event is received.  This fixes a missing symbol
error, and paves the way for event-based validation.
2010-02-25 21:29:36 +08:00
Vinson Lee
cc7904ffa5 util: Assert that pointer is not null before dereferencing. 2010-02-25 02:42:41 -08:00
Vinson Lee
d553479cc4 mesa: Remove dead error condition. 2010-02-25 02:26:18 -08:00
Vinson Lee
9be414f4b9 glu/sgi: Set freed pointer to NULL. 2010-02-25 02:19:00 -08:00
Corbin Simpson
686f69bd13 r300g: Atomize vertex shader. 2010-02-24 20:02:59 -08:00
Corbin Simpson
f05d4526e3 r300g: Move CALLOCs to correct place. 2010-02-24 19:53:47 -08:00
Marek Olšák
e6632b4bf7 r300g: prevent CS overflow when emitting the draw packets
Signed-off-by: Corbin Simpson <MostAwesomeDude@gmail.com>
2010-02-24 17:11:47 -08:00
Brian Paul
bc04ae21c1 llvmpipe: clean up rasterization threads upon context destruction
Fixes glean hang, bug 26536.
2010-02-24 17:30:43 -07:00