Commit graph

32828 commits

Author SHA1 Message Date
Roland Scheidegger
9de2ee646a gallium: fix bogus depth/stencil format names (and channel descriptions)
only the depth part is normalized, stencil part isn't.
2010-03-29 20:00:41 +02:00
Roland Scheidegger
d9eae63792 gallium: add new texture formats
These are needed for DX10 and/or OGL3.3.

This just adds the formats nothing handles them yet.
PIPE_FORMAT_R1_UNORM can't be used currently as it requires special filter.
Need to reclassify compressed formats at some point.
2010-03-29 19:52:29 +02:00
Roland Scheidegger
e96147e744 gallium/docs: minor fixes 2010-03-29 19:12:14 +02:00
Michal Krol
37877b192e softpipe: Map GS constants, too. 2010-03-29 16:06:10 +02:00
Marek Olšák
1c2912ee7a r300g: print configurable debugging info on non-debug builds 2010-03-29 03:33:28 +02:00
Vinson Lee
5f1699e9d5 swrast: Remove unnecessary header. 2010-03-28 15:57:23 -07:00
Vinson Lee
21a96a55d6 progs: Comment out gallium/raw/SConscript from progs/SConscript.
Commit db5c2235d1 broke the default SCons
build.
NameError: name 'graw' is not defined:

This patch allows the default SCons build to work again until a proper
fix is available.
2010-03-28 13:52:11 -07:00
Keith Whitwell
1cf669db59 progs/raw: add note about accessing utility functions 2010-03-28 10:42:38 -07:00
Keith Whitwell
d0d73a38da ws/xlib: Call XFlush after PutImage
Want to see the results.
2010-03-28 10:42:38 -07:00
Keith Whitwell
db5c2235d1 gallium: new raw gallium interface to support standalone tests
Provides basic window system integration behind a simple interface,
allowing tests to be written without dependency on either the driver
or window system.

With a lot of work, could turn into something like glut for gallium.
2010-03-28 10:42:38 -07:00
Keith Whitwell
f97f46f269 aux/tgsi: fix some minor glitches in string routines
Not sure why we are open-coding these rather than using standard
library functions.
2010-03-28 10:42:38 -07:00
Keith Whitwell
42ab3f6fd2 st/python: updates for recent interface changes
Still problems at runtime with vertex elements, etc.

Building still disabled.
2010-03-28 10:42:38 -07:00
George Sapountzis
a24fc90703 drisw: probably better hack for stride and some comments 2010-03-28 19:30:54 +03:00
José Fonseca
c42fe8cd27 util: Update MSDN links. 2010-03-28 17:16:34 +01:00
Luca Barbieri
add226ea44 gallium/docs: fix formatting mistakes in d3d11ddi.txt 2010-03-28 16:41:54 +02:00
Luca Barbieri
d142e8f9d3 gallium/docs: add comparison between Gallium and Direct3D 11 DDI interfaces
Feel free to check it and improve it if necessary.
2010-03-28 01:28:24 +01:00
Marek Olšák
4a16d325eb r300g: handle TGSI_OPCODE_RET as END 2010-03-28 00:07:45 +01:00
Marek Olšák
feb8d99593 r300g: disable cliprects
Thanks to Nicolai Hähnle for explaining this register!
2010-03-27 22:41:42 +01:00
George Sapountzis
a7109625aa drisw: update comment 2010-03-27 23:36:18 +02:00
Marek Olšák
4b8d348076 r300g: print errors even on non-debug builds
We really need to get these into bug reports.
2010-03-27 22:28:25 +01:00
Chia-I Wu
0a82fadcdd egl: Make _eglBindContextToSurfaces more readable.
There is no effective changes given how the function is called.  It is
still not trivial, but it should be more readable and resemble
_eglBindContextToThread a lot.
2010-03-28 03:37:28 +08:00
Chia-I Wu
551bfe7a09 egl: Always return the previously bound context.
When a newly bound context is the same as the previously bound one,
_eglBindContextToThread should still return the context instead of NULL.
This gives the driver a chance to flush the context.
2010-03-28 03:37:28 +08:00
George Sapountzis
3bfa23317c drisw: add comment to libGL about stride 2010-03-27 21:35:25 +02:00
George Sapountzis
f4e561ce12 drisw: make stride issue profound 2010-03-27 20:56:36 +02:00
Vinson Lee
02ee7c2950 identity: Add id_drm.c to SCons build.
This was missed in commit f7cbaae13d.
2010-03-27 10:08:54 -07:00
Chia-I Wu
077570c12b st/egl: Fix missing symbols.
ximage backend calls gallium_wrap_screen, which requires libidentity.a
and libtrace.a.  There are also some missing symbols in i965 due to the
use of sw wrapper.
2010-03-27 23:54:24 +08:00
Mathias Fröhlich
a43618fdc4 r300g: fix macrotiling for non-square textures
FDO bug #27338.

Signed-off-by: Marek Olšák <maraeo@gmail.com>
2010-03-27 14:06:41 +01:00
George Sapountzis
29ec84b0a8 glx: try swrastg_dri, if swrast_dri fails
This needs a patch for xserver/glx also. An enviroment variable will be added
at some point, it chould be for swrastg only or all gallium drivers.
2010-03-27 14:06:05 +02:00
Corbin Simpson
c8844c5549 r300g: Make SWTCL clear work again.
Kind of surprised that this was as little as it took. Worrying.
2010-03-27 01:13:48 -07:00
Vinson Lee
42f14a76a6 r300g: Remove unnecessary header. 2010-03-26 23:54:16 -07:00
Vinson Lee
9503006285 gallium: Fix Windows SCons build. 2010-03-26 18:58:44 -07:00
Vinson Lee
0383288132 st/dri: Fix SCons build.
This was missed in commit 4b722bf9fd.
dri_extensions.c was removed from Makefile but not from SConscript.
2010-03-26 17:56:13 -07:00
Chris Li
8260e9a821 gallium/llvmpipe: add PROGS target/rule to Makefile.template
So other directory can share it.
Also remove the libllvmpipe.a dependency from test
programs. It is not needed any more.

Signed-Off-By: Christopher Li <chrisl@vmware.com>
2010-03-26 15:56:02 -07:00
Chris Li
d4b103e031 auto detect llvm version 2010-03-26 15:56:02 -07:00
Vinson Lee
e9a25089f9 rtasm: Silence gnu_printf format warnings. 2010-03-26 14:59:06 -07:00
Michel Dänzer
feb619b770 Merge branch '7.8'
Conflicts:
	src/mesa/drivers/dri/intel/intel_mipmap_tree.c - left what was in master
2010-03-26 18:42:16 +01:00
Michel Dänzer
7996f0fc2c dri/swrast: Fix frontbuffer rendering.
Was broken since the endianness fixes.
(cherry picked from commit 4cf14fa80b)
2010-03-26 18:30:56 +01:00
Michel Dänzer
b005e75177 dri/swrast: Fix missed conversion of one pixel pointer increment.
This probably broke the swrast DRI driver when running X in depth 16.
(cherry picked from commit 6ec259eb17)
2010-03-26 18:30:49 +01:00
George Sapountzis
3ae082f00c swrastg: allow for any of the software rasterizers.
This function should be put in targets/common or winsys/sw/common and shared
with targers/libgl-xlib and winsys/sw/drm.

For targets/common, you get layering violations in the build system unless
all of drm_api's are moved under targets.
2010-03-26 18:44:40 +02:00
George Sapountzis
d9b6552d85 dri/common: add comment about DRISW wrt DRI1 / DRI2 2010-03-26 18:44:40 +02:00
George Sapountzis
fc35d203c7 st/dri: add comment about the ifdef in dri_screen.c 2010-03-26 18:44:39 +02:00
George Sapountzis
5b07257fdb st/dri: factor out common init_screen code 2010-03-26 18:44:39 +02:00
George Sapountzis
1fbfc22d85 st/dri mv __driDriverExtensions to drisw.c and dri2.c 2010-03-26 18:44:39 +02:00
George Sapountzis
4b722bf9fd st/dri: fold dri_extensions.c into dri_context.c 2010-03-26 18:44:39 +02:00
Brian Paul
22cd6f2cb4 mesa: only call _mesa_update_state() when necessary in glGet functions
Only a few state vars require state validation before querying them.
This potentially speeds up state queries.
Encode that info into the state tuple table.

Also, use the new tuple field to indicate when FLUSH_CURRENT() must
be called to validate other state vars.

Based on a patch submitted by Robert Bragg on Feb 12, 2010.
2010-03-26 10:14:00 -06:00
Jakob Bornecrantz
e57405e8d5 swrastg: Use llvmpipe if built but only on scons 2010-03-26 14:56:26 +01:00
Jakob Bornecrantz
7f91f2efb5 swrastg: Build with scons 2010-03-26 14:48:36 +01:00
Jakob Bornecrantz
711529153c gallium: Fix DRI driver build warnings under scons
When building more then one dri driver we would get warnings because
we where defining the same build target multiple times.

Also move all the dri scons targets related code into its own file.
2010-03-26 14:48:35 +01:00
Jakob Bornecrantz
fb70f456fc svga/drm: Fix build under scons 2010-03-26 14:48:35 +01:00
Xavier Chantry
ff0987a15d svga: Fix typo in configure script
Introduced in a82e37b9e9
2010-03-26 13:28:29 +01:00