Keith Whitwell
bbafa8aa2f
gallium: fix pack for A1R5B5G5
17 years ago
Keith Whitwell
fbddc8097c
gallium: add pack for A4R4G4B4
17 years ago
Keith Whitwell
7441f2e3ea
gallium: add pack for A1R5B5G5
17 years ago
Keith Whitwell
9bfe1a3d50
gallium: add debug_print_format() make it easier to print format error messages
17 years ago
Brian Paul
733bc4df1a
gallium: added some assertions to be sure the blit's surface formats are suitable
17 years ago
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.
17 years ago
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().
17 years ago
Brian Paul
5fb774ab31
mesa: added _mesa_scale_and_bias_depth_uint()
17 years ago
Brian Paul
1cff4992b3
gallium: add \n to error strings
17 years ago
Brian Paul
5e8d7899a8
gallium: fix error msg typo
17 years ago
Roland Scheidegger
216603348c
gallium: set border color
17 years ago
Brian Paul
059ab50c60
mesa: explicitly delete textures before creating new ones
Also, call glutDestroyWindow() upon exit.
17 years ago
Brian Paul
c2497879f1
gallium: fix incorrect level param in copy_image_data_to_texture()
This fixes a weird conform test failure that depended on something that
happened several tests earlier. This took waaaaaay too long to find/fix.
17 years ago
Keith Whitwell
c4917c6231
tgsi: make loop structure clearer, use x86_lea for increments
17 years ago
Keith Whitwell
9fb444f191
tsgi: add a makefile
17 years ago
Keith Whitwell
546ab045d8
translate: squash warnings
17 years ago
Keith Whitwell
a41b78d107
pb: remove unused variable, squash warning
17 years ago
Michal Krol
b6d9666a42
gallium: Set SSE_SWIZZLES to 0 by default.
17 years ago
Michal Krol
58d3dff0d3
gallium: Generate SSE code to swizzle and unswizzle vs inputs and outputs.
Change SSE_SWIZZLES #define to 0 to disable it.
17 years ago
Brian Paul
7f5e9d3f07
gallium: check for PIPE_FORMAT_X8Z24_UNORM format
17 years ago
Brian Paul
44c79f88b8
gallium: replace some code with a call to st_choose_format()
17 years ago
Brian Paul
ee4434121c
gallium: return enum pipe_format, not uint, for a few functions
17 years ago
Brian Paul
0d179ffe97
gallium: add cases for PIPE_FORMAT_X8Z24_UNORM
17 years ago
José Fonseca
083008d808
pipebuffer: Be extra cautious with the incoming buffers.
A common mistake is trying to fence user or malloc buffers. So don't let
the crash happen inside pipebuffer lib.
17 years ago
José Fonseca
e3c4159957
rtasm: Implement x86_retw.
17 years ago
Brian
a8e39b6f5a
gallium: fix broken SGT, SLE
17 years ago
Brian
a94aad297d
use PIPE_ARCH_X86
17 years ago
Brian Paul
aad9dd14d8
gallium: tweak comments, minor var renaming
17 years ago
Brian Paul
5e3b0d227c
gallium: tweak comments, minor var renaming
17 years ago
Brian Paul
1cf1641427
gallium: remove unneeded st->bitmap_texcoord_bias
17 years ago
Brian Paul
332b77b852
gallium: use simple color pass-through fragment shader if textures don't exist
If we run out of texture memory we may not have the texture needed by the
fragment shader. If this happens, plug in a color passthrough shader.
So instead of crashing, we just don't see the texture.
GL_OUT_OF_MEMORY is raised, of course.
17 years ago
Brian Paul
4c50969334
gallium: added null ptr check
17 years ago
Brian Paul
9b44f5a755
gallium: added a null ptr check
17 years ago
Brian Paul
1437b41d90
gallium: fix typo s/_mesa_unmap_drapix_pbo/_mesa_unmap_drawpix_pbo/
17 years ago
Brian Paul
149a4175fa
gallium: consolidate quad drawing code
17 years ago
Brian Paul
b6d8b21cc8
gallium: remove unused st_draw_vertices()
17 years ago
Brian Paul
7dcbbdf353
gallium: use util_draw_vertex_buffer() instead of st_draw_vertices()
17 years ago
José Fonseca
1e71283cce
scons: Silent MSVC CRT security warnings.
17 years ago
Brian Paul
3faea292e5
gallium: fix the compressed texture hack in st_texture_image_copy()
Actually, the hack is still there and needs to be revisited, but I get a bit
further with compressed textures now.
17 years ago
José Fonseca
658f5e7213
scons: A few fixes for building mesa on windows.
17 years ago
Keith Whitwell
1aedbf9efe
draw: emit extra flags whenever pipeline is active
The assert was in fact over-sensitive, but emitting the extra flags
is pretty trivial & we may as well just do it whenever we know the
pipeline is running.
17 years ago
Michel Dänzer
3c0dc8242b
gallium: Use util_blit_pixels() for glCopyTexSubImage when appropriate.
17 years ago
Michel Dänzer
96cfd804f6
gallium: Add draw_pt_varray.c to scons build.
17 years ago
Keith Whitwell
2325d19597
tgsi: fix compile when HIGH_PRECISION not defined
17 years ago
Keith Whitwell
14cfcb1820
draw: no need to special-case elts/get_elts for varray frontend
17 years ago
Keith Whitwell
4e46e6f52b
draw: remove unused vars
17 years ago
Zack Rusin
992d0b997f
frontend for rendering without elts
17 years ago
José Fonseca
a7ce6d3992
scons: More windows userspace fixes.
17 years ago
Michel Dänzer
d7b523b46b
gallium: Tell the driver the texture is updated when we finish rendering to it.
17 years ago
José Fonseca
b06cd4debf
gallium: Windows user mode portability fixes.
17 years ago