Commit graph

14382 commits

Author SHA1 Message Date
Keith Whitwell
0000792a20 sct: fix bug in remove_context_from_surface 2008-05-01 20:49:44 +01:00
Michel Dänzer
de7277f81a gallium: Set sampler->min_lod instead of always reallocating pipe_textures. 2008-05-01 17:39:33 +01:00
Michel Dänzer
f1f52a8be9 gallium: Notify driver of texture updates in util_blit_pixels(). 2008-05-01 17:30:17 +01:00
Keith Whitwell
419f3c4475 tgsi: restore HIGH_PRECISION setting 2008-05-01 15:45:51 +01:00
Keith Whitwell
afe67db803 tgsi: add some const qualifiers to immediate pointers 2008-05-01 15:37:30 +01:00
Keith Whitwell
bf1e120b31 mesa: squash harmless warning 2008-05-01 15:37:30 +01:00
Keith Whitwell
727257f320 rtasm: assert stack is fully popped in return 2008-05-01 15:37:30 +01:00
Keith Whitwell
6980823da9 draw: avoid aliasing warning 2008-05-01 15:37:30 +01:00
Keith Whitwell
47aa416821 tgsi: use EBX everywhere, be sure to push/pop it 2008-05-01 15:37:30 +01:00
Keith Whitwell
7810e7f623 tgsi: use x86_fn_arg instead of get_argument() -- it knows about push/pops to the stack 2008-05-01 15:37:30 +01:00
Keith Whitwell
1e4217e1b8 tgsi: use ESI instead of EBX on non-win32 platforms 2008-05-01 15:37:30 +01:00
Keith Whitwell
35b0efb8c6 gallium: do something sensible on the error path to try to avoid crashing in release builds 2008-05-01 15:37:30 +01:00
Alan Hourihane
e97bedb302 Fix build problem with MSVC 2008-05-01 14:56:11 +01:00
José Fonseca
073bb94a41 Add Brian's explanation for inheritance in C. 2008-05-01 22:32:49 +09:00
José Fonseca
c6fadd9fad gallium: Add newline to eof. 2008-05-01 22:32:49 +09:00
Keith Whitwell
be7e1297f4 draw: squash warnings 2008-05-01 13:47:27 +01:00
Keith Whitwell
4584c0efbd draw: turn on SSE swizzle code 2008-05-01 13:47:09 +01:00
Brian Paul
7584bcf3f7 gallium: remove old files 2008-04-30 18:23:17 -06:00
Brian Paul
21989edd55 gallium: fix texture border removal bug 2008-04-30 18:21:10 -06:00
Brian Paul
54f94a790e gallium: use the newer PIPE_FORMAT_x_UNORM format names 2008-04-30 16:51:53 -06:00
Brian Paul
8d45576ec5 gallium: rename old PIPE_FORMAT_U_I8 with PIPE_FORMAT_I8_UNORM, etc.
Now all the packed color types are consistantly named.
Added temporary #defines for the old names until all drivers are updated.
2008-04-30 16:51:52 -06:00
Brian Paul
18f4d96265 gallium: replace old PIPE_FORMAT_U_S8 with PIPE_FORMAT_S8_UNORM 2008-04-30 16:51:52 -06:00
Brian Paul
c32477742f Add support for GL_REPLACE_EXT texture env mode.
GL_REPLACE_EXT comes from the ancient GL_EXT_texture extension.  Found an old demo that
actually uses it.
The values of the GL_REPLACE and GL_REPLACE_EXT tokens is different, unfortunately.
2008-04-30 16:08:19 -06:00
Brian Paul
07b551f7cf added xdemos/sharedtex.c test
Test that modifications to a texture object in one rendering context are seen
in a second rendering context.
Press 't' to change the texture's image/colors.
2008-04-30 15:30:29 -06:00
Brian Paul
bd5b99d389 gallium: fix typo: s/custam/custom/ 2008-04-30 15:29:32 -06:00
Zack Rusin
653da2d069 plug a memleak, destroy setup context 2008-04-30 15:04:58 -04:00
Zack Rusin
026e31a068 try to fix the deleting of the bound cso during cleanup of the hash 2008-04-30 15:04:58 -04:00
José Fonseca
dadb11f5d9 gallium: Fix release build. 2008-05-01 03:43:19 +09:00
José Fonseca
cafb545721 d3d: Windows miniport driver portability fixes. 2008-05-01 02:25:23 +09:00
José Fonseca
c9acd439b1 scons: Try to cope with scons 0.98+. 2008-05-01 02:25:23 +09:00
Brian Paul
99fba5466b gallium: use new buffer wrapper functions in p_inlines.h
This allows us to remove most of the direct references to winsys in the state tracker.
2008-04-30 10:43:59 -06:00
Brian Paul
15318c8d8e gallium: new pipe_buffer alloc/map/unmap/ref wrappers 2008-04-30 10:43:09 -06:00
Brian Paul
7146a1a29d gallium: consolidate the bitmap->texel conversion code 2008-04-30 10:10:44 -06:00
Brian Paul
d3b98330d8 gallium: create a new texture each time we init/flush the bitmap cache 2008-04-30 10:00:44 -06:00
Brian Paul
eefb9d3b51 gallium: simplify texture format selection 2008-04-30 09:41:55 -06:00
Brian Paul
42fb48492e gallium: init hw_key with memset() to silence valgrind warnings
We shouldn't be hashing with keys that have uninitialized memory.
2008-04-29 18:35:30 -06:00
Brian Paul
d0b2561c57 gallium: updated comment in xm_flush_frontbuffer() 2008-04-29 18:35:30 -06:00
Brian Paul
62a29412b9 gallium: test for new PIPE_ARCH_X86 2008-04-29 18:35:30 -06:00
Brian Paul
6fb4009226 gallium: flush pipe before updating bitmap texture
Fixes duplicated text bug in progs/tests/texwrap.c
2008-04-29 17:30:21 -06:00
Zack Rusin
0d80f407f1 silence p_debug.h:63: warning: ISO C forbids forward references to ‘enum’ types 2008-04-29 17:21:10 -04:00
Brian Paul
5692e09be8 disable GL_TEXTURE_1D at end of frame to fix failed assertion 2008-04-29 15:03:06 -06:00
Brian Paul
fce5951b56 gallium: declare pipe_format enum to silence warnings 2008-04-29 14:39:42 -06:00
Keith Whitwell
1e97ab6856 gallium: add pack for _FLOAT formats to pack_ub 2008-04-29 21:30:31 +01:00
Keith Whitwell
bbafa8aa2f gallium: fix pack for A1R5B5G5 2008-04-29 21:30:04 +01:00
Keith Whitwell
fbddc8097c gallium: add pack for A4R4G4B4 2008-04-29 21:05:48 +01:00
Keith Whitwell
7441f2e3ea gallium: add pack for A1R5B5G5 2008-04-29 20:48:15 +01:00
Keith Whitwell
9bfe1a3d50 gallium: add debug_print_format() make it easier to print format error messages 2008-04-29 20:48:14 +01:00
Brian Paul
733bc4df1a gallium: added some assertions to be sure the blit's surface formats are suitable 2008-04-29 12:55:41 -06:00
Brian Paul
dd9dc7df80 gallium: added some assertions to st_render_texture() to check surface format
Make sure we can really render to the texture surface given its format.
2008-04-29 12:54:52 -06:00
Brian Paul
cc94863429 gallium: fix broken GL_DEPTH_COMPONENT case in fallback_copy_texsubimage()
Also, make sure surfaces are suitable for blitting before calling util_blit_pixels().
2008-04-29 12:53:37 -06:00