Brian
3b63bc8ac6
gallium: implement TGSI_OPCODE_EXP
17 vuotta sitten
Brian
7a4313b63b
gallium: implement TGSI_OPCODE_LOG
17 vuotta sitten
Brian Paul
bc49529874
added cast for MSVC
17 vuotta sitten
Brian Paul
c1abd758c5
gallium: remove the unused softpipe_winsys code
The struct is still there though until all winsys layers are updated
17 vuotta sitten
Keith Whitwell
f067c6c452
tgsi: remove some bogus win vs. linux crud
Pass arguments properly in linux now. Still need to change this to use
a single calling convention on both platforms.
17 vuotta sitten
Keith Whitwell
2c89b75e36
rtasm: learn another version of push
17 vuotta sitten
Keith Whitwell
2004b8a769
draw: label fn args -- shouldn't this be defined where the fn is created?
17 vuotta sitten
Keith Whitwell
fb3623b235
rtasm: fix labels after (not so) recent change to allow dynamic fn growth
Using char * for labels doesn't work if you realloc the function
during assembly and free the old storage...
17 vuotta sitten
Keith Whitwell
b8936ca1c2
i915: avoid crashing on bad parameter
17 vuotta sitten
Keith Whitwell
26bcef898a
i915: fix warning
17 vuotta sitten
Keith Whitwell
f30285e99c
softpipe: fix warning
17 vuotta sitten
Keith Whitwell
0000792a20
sct: fix bug in remove_context_from_surface
17 vuotta sitten
Michel Dänzer
de7277f81a
gallium: Set sampler->min_lod instead of always reallocating pipe_textures.
17 vuotta sitten
Michel Dänzer
f1f52a8be9
gallium: Notify driver of texture updates in util_blit_pixels().
17 vuotta sitten
Keith Whitwell
419f3c4475
tgsi: restore HIGH_PRECISION setting
17 vuotta sitten
Keith Whitwell
afe67db803
tgsi: add some const qualifiers to immediate pointers
17 vuotta sitten
Keith Whitwell
bf1e120b31
mesa: squash harmless warning
17 vuotta sitten
Keith Whitwell
727257f320
rtasm: assert stack is fully popped in return
17 vuotta sitten
Keith Whitwell
6980823da9
draw: avoid aliasing warning
17 vuotta sitten
Keith Whitwell
47aa416821
tgsi: use EBX everywhere, be sure to push/pop it
17 vuotta sitten
Keith Whitwell
7810e7f623
tgsi: use x86_fn_arg instead of get_argument() -- it knows about push/pops to the stack
17 vuotta sitten
Keith Whitwell
1e4217e1b8
tgsi: use ESI instead of EBX on non-win32 platforms
17 vuotta sitten
Keith Whitwell
35b0efb8c6
gallium: do something sensible on the error path to try to avoid crashing in release builds
17 vuotta sitten
Alan Hourihane
e97bedb302
Fix build problem with MSVC
17 vuotta sitten
José Fonseca
073bb94a41
Add Brian's explanation for inheritance in C.
17 vuotta sitten
José Fonseca
c6fadd9fad
gallium: Add newline to eof.
17 vuotta sitten
Keith Whitwell
be7e1297f4
draw: squash warnings
17 vuotta sitten
Keith Whitwell
4584c0efbd
draw: turn on SSE swizzle code
17 vuotta sitten
Brian Paul
7584bcf3f7
gallium: remove old files
17 vuotta sitten
Brian Paul
21989edd55
gallium: fix texture border removal bug
17 vuotta sitten
Brian Paul
54f94a790e
gallium: use the newer PIPE_FORMAT_x_UNORM format names
17 vuotta sitten
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.
17 vuotta sitten
Brian Paul
18f4d96265
gallium: replace old PIPE_FORMAT_U_S8 with PIPE_FORMAT_S8_UNORM
17 vuotta sitten
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.
17 vuotta sitten
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.
17 vuotta sitten
Brian Paul
bd5b99d389
gallium: fix typo: s/custam/custom/
17 vuotta sitten
Zack Rusin
653da2d069
plug a memleak, destroy setup context
17 vuotta sitten
Zack Rusin
026e31a068
try to fix the deleting of the bound cso during cleanup of the hash
17 vuotta sitten
José Fonseca
dadb11f5d9
gallium: Fix release build.
17 vuotta sitten
José Fonseca
cafb545721
d3d: Windows miniport driver portability fixes.
17 vuotta sitten
José Fonseca
c9acd439b1
scons: Try to cope with scons 0.98+.
17 vuotta sitten
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.
17 vuotta sitten
Brian Paul
15318c8d8e
gallium: new pipe_buffer alloc/map/unmap/ref wrappers
17 vuotta sitten
Brian Paul
7146a1a29d
gallium: consolidate the bitmap->texel conversion code
17 vuotta sitten
Brian Paul
d3b98330d8
gallium: create a new texture each time we init/flush the bitmap cache
17 vuotta sitten
Brian Paul
eefb9d3b51
gallium: simplify texture format selection
17 vuotta sitten
Brian Paul
42fb48492e
gallium: init hw_key with memset() to silence valgrind warnings
We shouldn't be hashing with keys that have uninitialized memory.
17 vuotta sitten
Brian Paul
d0b2561c57
gallium: updated comment in xm_flush_frontbuffer()
17 vuotta sitten
Brian Paul
62a29412b9
gallium: test for new PIPE_ARCH_X86
17 vuotta sitten
Brian Paul
6fb4009226
gallium: flush pipe before updating bitmap texture
Fixes duplicated text bug in progs/tests/texwrap.c
17 vuotta sitten