Brian
4eae65c8e0
gallium: re-org of i965 texture/surface code, functions
17 lat temu
Brian
882a4b5054
gallium: minor re-org of 915 surface/texture code
17 lat temu
Brian
d5640a2dbd
gallium: new pipe->texture_update() function
Called whenever texture data is changed (glTexImage, glTexSubImage,
glCopyTexSubImage, etc).
17 lat temu
Brian
1d45787d4a
gallium: mark texture object data dirty in do_copy_texsubimage()
17 lat temu
Brian
3ccbaa977f
gallium: re-enable GenerateMipmap calls
17 lat temu
Brian
52e4c8d702
Test calling glTexSubImage2D mid-way through a frame.
17 lat temu
Brian
58edb0683d
gallium: state tracker didn't always notify drivers of texobj data changes
Calling glTexSubImage() or glTexImage() to replace texture data didn't
reliably cause pipe->set_sampler_texture() to get called so drivers didn't
always get notified of new texture data.
The st_texture_object->pt pointer doesn't always indicate changed data so
added a dirtyData field.
17 lat temu
Brian
22a0b85eae
gallium: use pipe_texture_reference() in sp_tile_cache_set_texture()
17 lat temu
Brian
49c3f3b537
gallium: general clean-up of xlib winsys Makefile
17 lat temu
Brian
75a4524f2c
gallium: initialize the killmask register to zero before running shader
This fixes mysterious missing fragments when running with SSE.
17 lat temu
Brian
4ec46e4869
gallium: add some casts to prevent likely msvc warnings
17 lat temu
Brian
a2c06c5b5c
gallium: don't hard-code attrib slot=0 in setup_fragcoord_coeff()
17 lat temu
Brian
b1c8fa5b60
gallium: implement correct sampling for RECT targets / unnormalized texcoords
17 lat temu
Brian
3e329ea7e4
gallium: updated cell build
Building on Ian's Cell build fix.
Put libcell.a in the gallium/drivers/cell/ directory.
General Makefile clean-up, simplification, updated comments.
17 lat temu
Ian Romanick
d119931002
Cell: Add missing "gallium/winsys" to SRC_DIRS to fix build.
17 lat temu
Ian Romanick
66be2810c3
Cell: emit vertex shaders and uniforms more intelligently
17 lat temu
Ian Romanick
4362c6e59d
Cell: trivial clean-ups
17 lat temu
José Fonseca
5480a6bc13
Fix windows build.
17 lat temu
José Fonseca
b62f0ddd09
Portability fixes.
Eliminate C99/C++ constructs.
(We should actually disable gcc C99 syntax options if we are serious about
portability.)
17 lat temu
José Fonseca
d710a7cfb2
Windows (DDK) compilation support.
It also works when cross compiling with Wine.
17 lat temu
José Fonseca
b9da3791c9
Remove src/mesa and src/mesa/main from gallium source include paths.
17 lat temu
José Fonseca
5d78212d75
Bring in ppc spe rtasm into gallium's rtasm module.
Moving files since these are not being used outside gallium.
17 lat temu
José Fonseca
b0eef0dc25
Add run-time cpu capabilities detection stubs.
17 lat temu
José Fonseca
90b2beb661
Simplify makefile boilerplate code.
Don't define ASM_SOURCES variable globally -- reserve that variable to be defined
locally by makefiles, together with C_SOURCES and CPP_SOURCES.
17 lat temu
José Fonseca
f430d95a36
Use gallium's rtasm module.
17 lat temu
José Fonseca
17158c2f00
Move mm.c code into util module.
Using the u_ prefix to distingish the c source files that support gallium
interfaces and those that have really no relation with gallium itself.
17 lat temu
José Fonseca
d2f6c9ab10
Add copyright headers to all rtasm source files.
17 lat temu
José Fonseca
39ea030842
Rename rtasm files.
17 lat temu
José Fonseca
df8ab3140c
Bring rtasm from mesa to gallium.
17 lat temu
José Fonseca
e773a813cf
Initial scons support to build gallivm.
Not yet complete.
17 lat temu
José Fonseca
e279b1c57a
More llvm -> gallivm.
Forgot this one on the last commit.
17 lat temu
Brian
6c7f663cb9
gallium: move draw_set_viewport_state() call, plus code clean-up, remove obsolete comments
17 lat temu
Brian
ae9931dad2
gallium: call draw_flush() for scissor/stipple state changes
17 lat temu
Brian
478c14453b
gallium: remove the prototype/unused wide_line_aa() function
17 lat temu
Brian
aceeb80d4f
gallium: antialiased line drawing
New draw/prim stage: draw_aaline. When installed, lines are replaced by
textured quads to do antialiasing. The current user-defined fragment shader
is modified to do a texture fetch and modulate fragment alpha.
17 lat temu
José Fonseca
0448dbd64a
Update for llvm -> gallivm rename.
17 lat temu
José Fonseca
3f3b09d6d8
Rename llvm -> gallivm.
Following the directory == library name policy simplifies the build system.
17 lat temu
José Fonseca
687a8b96ef
Standardize on using the pipe/ include prefix.
17 lat temu
José Fonseca
33ceb6716a
Update scons build for new code layout.
17 lat temu
José Fonseca
9df478d2f8
Add an "all" target alias for "default" target.
"all" is more commonly expected, expecially by many IDEs.
17 lat temu
José Fonseca
1f2d011786
Build glx/x11.
17 lat temu
José Fonseca
8450b14676
Cleanup depend files.
17 lat temu
José Fonseca
39fe5851a5
Actually use GALLIUM_DRIVER_DIRS.
17 lat temu
José Fonseca
bfd5916eaf
Code reorganization: split gallium and mesa makefiles.
In other words, don't build src/gallium source code from within src/mesa/Makefile.
Also, allow to customize which gallium auxiliary dirs, driver driver, winsys
dirs get built from the config/* files.
17 lat temu
José Fonseca
56bf73b1fb
Update doxygen configuration file for new tree layout.
17 lat temu
Zack Rusin
4a79156812
fix the build
17 lat temu
Brian
0c6bbd41bd
gallium: add missing mip level clamp
17 lat temu
Brian
3b2a291888
gallium: tweak texture filter min/mag thresholds
17 lat temu
Brian
08c9534107
gallium: implement min vs. mag filter determination for non-mipmapped textures
Fixes tests/minmag.c
17 lat temu
Brian
f9973b1c3d
Added minmag.c test
Test that different minification and magnification filters are chosen for the
non-mipmapped texture case.
17 lat temu