Commit Graph

22337 Commits

Author SHA1 Message Date
José Fonseca
b4b4986f1f python: Make get/put_tile_raw more user friendlier. 2009-03-31 12:29:13 +01:00
José Fonseca
e848a86dba python: Add nblocksx/y members to surfaces. 2009-03-31 12:29:13 +01:00
José Fonseca
382306c573 gallium: Move pf_is_depth_stencil to p_format.h. 2009-03-31 12:29:13 +01:00
Roland Scheidegger
4d89eff0b6 fix ugly copy/paste error in mipmap generation code 2009-03-31 03:19:29 +02:00
Corbin Simpson
3eeeaf04e3 r300-gallium: RGBA, not ARGB, after all.
Clearly, something else is wrong.
2009-03-30 17:31:58 -07:00
Corbin Simpson
aafbbf7744 r300-gallium: r500-fs: If recompiling a shader, overwrite old insts. 2009-03-30 17:20:12 -07:00
Corbin Simpson
70de577b14 r300-gallium: Properly redo shaders when constant buffer changes size. 2009-03-30 16:58:20 -07:00
Corbin Simpson
70d39c7053 r300-gallium: Allow surface_fill to clear depth/stencil buffers too. 2009-03-30 16:51:01 -07:00
Corbin Simpson
4bfe784dca r300-gallium: Emit the "right" sequence of colors.
ARGB, not RGBA.
2009-03-30 16:15:04 -07:00
Corbin Simpson
a56020fe17 r300-gallium: Fix hardlock when no colors or textures are present. 2009-03-30 15:50:09 -07:00
Corbin Simpson
7620b3943b r300-gallium: Fix strange build error.
Why didn't this come up before?
2009-03-30 15:47:00 -07:00
Corbin Simpson
458bfe7e8d r300-gallium: Handful of small leftovers. 2009-03-30 13:55:46 -07:00
Adam Jackson
37fb2d9b23 intel: Avoid mapping the texture image for CopyTex{,Sub}Image
We don't upload the pixels with the CPU in that case, so the map will
only serve as a way of triggering cache flushes over a bunch of data we
don't touch.
2009-03-30 16:32:11 -04:00
José Fonseca
f24ce49969 python: Use depth buffer in the triangle example. 2009-03-30 19:49:11 +01:00
José Fonseca
b4de7c4c5f python: Read rgba8 with a single transfer. 2009-03-30 19:48:30 +01:00
José Fonseca
ffaff2736f python: Cleanup. 2009-03-30 18:29:35 +01:00
José Fonseca
76d43ed4c9 python: Don't use deprecated clear_value field. 2009-03-30 18:26:40 +01:00
José Fonseca
5e815cf26f python/test: Move the test description logic to the base class. 2009-03-30 18:18:15 +01:00
José Fonseca
a8251d041a python/test: Move the image comparison logic to the base test class. 2009-03-30 17:51:55 +01:00
José Fonseca
af25470a54 python: Force unsigned comparison. 2009-03-30 17:19:11 +01:00
José Fonseca
844868048f python: Set correct transfer mode. 2009-03-30 17:19:10 +01:00
José Fonseca
28de69d681 python: Set the surface GPU access flags.
Make python surface just a dumb (texture, face, level, zslice) tuple.
2009-03-30 17:19:10 +01:00
José Fonseca
68342f9036 python: Hide away the surface usage flags.
Surfaces are now by definition GPU views. So CPU access flags don't make
any sense when creating a surface.

For now we are forcing surfaces to be GPU read/write, but that will go away
soon.
2009-03-30 17:19:10 +01:00
Michal Krol
e08a0f4790 tgsi: Condition codes are implied in KILP. 2009-03-30 17:13:52 +02:00
Michal Krol
bd4c1c133b tgsi: Explain symbols used in instruction set documentation. 2009-03-30 17:12:58 +02:00
Michal Krol
25e491e68c tgsi: Document BRA opcode. 2009-03-30 15:39:29 +02:00
José Fonseca
1c989c24ae python: Dont touch old pipe_winsys. 2009-03-30 14:24:20 +01:00
José Fonseca
29933fc6fe python: Update instructions for windows. 2009-03-30 14:11:03 +01:00
José Fonseca
a20bae3d17 scons: Get python extensions building correctly on windows. 2009-03-30 14:11:03 +01:00
Roland Scheidegger
a693a2998c i965: srgb texture fixes
i965 can either do SRGBA8_REV format or SARGB8 format, but not SRGBA8.
Could add SRGBA8_REV support to mesa, but simply use SARGB8 for now.
While here, also add true srgb luminance / luminance_alpha support -
unfortunately the published docs fail to mention which asics support
this, tested on g43 so assume this works on any g4x.
2009-03-28 02:06:49 +01:00
Roland Scheidegger
02a579f2e7 mesa: fix a glGetTexImage issue with base-converted texture formats
need to respect the user-supplied base format, not the one derived from
the texture format actually used.
2009-03-28 02:06:40 +01:00
Roland Scheidegger
79e2df63af i965: add support for signed rgba texture format 2009-03-28 02:06:18 +01:00
Roland Scheidegger
bb386a1eca mesa: add _rev signed rgba texture format 2009-03-28 02:03:45 +01:00
Roland Scheidegger
7d00ba195c glapi regenerate 2009-03-28 02:03:35 +01:00
Roland Scheidegger
05330b9cf3 glapi: remove a couple accidental GL_ prefixes 2009-03-28 02:02:49 +01:00
Roland Scheidegger
c6a6cc1918 mesa: add new signed rgba texture format
This is a (partial) backport of the signed texture format support in OGL 3.1.
Since it wasn't promoted from an existing extension roll our own.
2009-03-28 02:02:42 +01:00
Roland Scheidegger
a9bf5b5cca gl: add new OGL 3.1 enums to glext.h
This is just temporary until the upstream source is updated.
2009-03-28 02:02:35 +01:00
Roland Scheidegger
0d9a715cea gl: update glext.h to version 48 2009-03-28 02:02:28 +01:00
Roland Scheidegger
fd83289dbf fix various small intel blitter issues
use color format constants instead of magic numbers
remove handling of cpp 0 or 3 (neither is possible) in various places
don't misconfigure 8 bit surface blits as rgb565
2009-03-28 01:53:59 +01:00
José Fonseca
aa011836c2 wgl: Don't flush surface if it is NULL.
Just a quick fix to prevent segfaults with glean.
2009-03-27 21:43:24 +00:00
José Fonseca
c03000b73e wgl: Remove unused cruft. 2009-03-27 21:38:54 +00:00
José Fonseca
a790074810 util: Support Z24S8/Z24X8. 2009-03-27 20:23:16 +00:00
José Fonseca
e0a55dc9da mesa: Support Z24S8 wherever S8Z24 is supported. 2009-03-27 19:51:33 +00:00
Corbin Simpson
2431a027c1 r300-gallium: Add some surface_copy. 2009-03-27 12:41:51 -07:00
Corbin Simpson
aa91f05f9d r300-gallium: Use CMP for MOV on r300.
Doesn't quite fix problems, though. :c
2009-03-27 12:41:50 -07:00
José Fonseca
ec30d1b2e5 mesa: Use the python executable from sys.executable.
From Ramesh Dharan <rrdharan@vmware.com>
2009-03-27 19:13:21 +00:00
Carl-Johan Kjellander
c97e5e1fc1 egl: Fix newline typo in Makefiles 2009-03-26 19:20:11 +00:00
Brian Paul
2002e03a52 st: init the default texture to (0,0,0,1)
The default texture is used when a sampler uses an incomplete texture.
This change fixes the piglit fp-incomplete test.
2009-03-26 08:52:56 -06:00
Brian Paul
3673189326 tgsi: pass zero vector to texture sampler for 1D case instead of NULL
Fixes segfault when sampling 1D textures.
2009-03-26 08:40:07 -06:00
José Fonseca
a2f52f500c python: Don't bypass vs/clip/viewport by default. 2009-03-26 12:11:27 +00:00