Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-08-13 | tgsi: add tgsi_ureg, a simplified tgsi shader builder | Keith Whitwell | |
This is modelled on the nice & easy-to-use facilities we had for building shaders in mesa, eg. in texenvprogram.c and friends. Key points include pass-by-value register structs that can be manipulated in a functional style, eg: negate(swizzle(reg, X,X,X,X)) and per-opcode instruction functions, eg: emit_MOV( p, writemask(dst, 0x1), negate(src)); and similar. Additionally, the interface allows mixed emit of instructions and decls, which are sorted out internally to obey TGSI ordering. Immediates may be emitted at any time and are scanned against existing immediates to try and reduce redundancy. Not all TGSI functionality is accessible through this interface, but most or all of what mesa uses should be. | |||
2009-08-12 | Merge branch 'new-frag-attribs' | Brian Paul | |
This branch introduces new FRAG_ATTRIB_FACE and FRAG_ATTRIB_PNTC fragment program inputs for GLSL gl_FrontFacing and gl_PointCoord. Before, these attributes were packed with the FOG attribute. That made things complicated elsewhere. | |||
2009-08-12 | st/xorg: Acquire/drop DRM master in order to work with multiple servers. | Michel Dänzer | |
2009-08-12 | gallium/glx/xlib: main/ prefix on Mesa includes, remove -I$(TOP)/src/mesa/main/ | Brian Paul | |
2009-08-12 | gallium/glx/xlib: updated comments | Brian Paul | |
2009-08-12 | gallium/glx/xlib: delete fakeglx.h | Brian Paul | |
2009-08-12 | gallium/glx/xlib: rename fakeglx.c to glx_api.c | Brian Paul | |
2009-08-12 | gallium/glx/xlib: delete glxapi.h | Brian Paul | |
2009-08-12 | gallium/glx/xlib: rename fakeglx_fonts.c to glx_usefont.c | Brian Paul | |
2009-08-12 | gallium/glx/xlib: rename glxapi.c to glx_getproc.c | Brian Paul | |
2009-08-12 | gallium/glx/xlib: don't include fakeglx.h | Brian Paul | |
2009-08-12 | gallium/glx/xlib: overhaul and simplification of the Gallium Xlib-based GLX | Brian Paul | |
The old GLX dispatch table stuff isn't needed (same story for the Mesa/Xlib driver). The intention of that code was being able to switch on the fly between the real GLX library and the fake/Xlib-based emulation. That hasn't been used in a long time. Next up: some file renaming. | |||
2009-08-11 | gallium/trace: remove stray semicolons | Brian Paul | |
2009-08-11 | gallium/xlib: add missing tex_usage parameter | Brian Paul | |
2009-08-11 | gallium/egl: add missing tex_usage parameter | Brian Paul | |
2009-08-11 | gallium/xlib: add missing tex_usage parameter | Brian Paul | |
2009-08-11 | gallium/identity: remove stray semicolons | Brian Paul | |
2009-08-12 | i915g: Reduce max relocs | Jakob Bornecrantz | |
2009-08-12 | i915g: Check relocs as well | Jakob Bornecrantz | |
2009-08-11 | i915g: Implement surface_buffer_create for softpipe | Jakob Bornecrantz | |
In order to run softpipe on st/xorg we need this function | |||
2009-08-11 | gallium: Add texture usage information to surface_buffer_create | Jakob Bornecrantz | |
We need aditional meta data about the usage of the surface in softpipe because we need to be able tell the diffrence between PRIMARY and DISPLAY_TARGET surfaces. | |||
2009-08-11 | gallium: fix debug_printf() format string | Brian Paul | |
2009-08-11 | r300g: Fix up remaining VAP_CNTL_STATUS writes for big endian. | Michel Dänzer | |
2009-08-11 | r300g: Emit relocations for pitch registers. | Michel Dänzer | |
Fixes CS failures with tiling enabled kernels. | |||
2009-08-11 | r300g: a typo of debug message | Cooper Yuan | |
2009-08-07 | r300g: Knock out another fragment of invariant state. | Corbin Simpson | |
Colorbuffer setup will always happen. | |||
2009-08-07 | gallium: Move minify() to u_math. | Corbin Simpson | |
minify() is usually used in mipmap size calculation. Strangely enough, we all defined it as MAX2(1, d >> 1); imagine that. :3 | |||
2009-08-07 | r300g: Remove r300_constant_buffer::user_count. | Corbin Simpson | |
Not needed with new compiler. | |||
2009-08-08 | i915g: Don't forget x/y coords in transfers | Jakob Bornecrantz | |
Fixes demos/ray. | |||
2009-08-08 | i915g: Don't try to free a mapped buffer at shutdown | Jakob Bornecrantz | |
2009-08-07 | util: fix incorrect assertion | Brian Paul | |
Check that the dest surface/format is renderable. | |||
2009-08-07 | util: include u_surface.h, added comment | Brian Paul | |
2009-08-07 | util: use util_same_surface() to compare surface pointers | Brian Paul | |
2009-08-07 | util: added util_same_surface() helper function | Brian Paul | |
2009-08-06 | i915g: Compile with scons | Jakob Bornecrantz | |
2009-08-06 | identity: Use the correct texture | Jakob Bornecrantz | |
2009-08-06 | st/xorg: If we have DRI2 we should also have some sort of hw support | Jakob Bornecrantz | |
2009-08-06 | i915g: Always run in sync with the HW | Jakob Bornecrantz | |
2009-08-06 | i915g: The i915 seems more happier with sampler domain so lets use that | Jakob Bornecrantz | |
2009-08-06 | i915g: Dirty fix for VBO module double flush assert | Jakob Bornecrantz | |
2009-08-06 | i915g: Switch to mapping the batch buffer instead of using subdata | Jakob Bornecrantz | |
2009-08-05 | egl_softpipe: Add support for pbuffer binding. | Chia-I Wu | |
This adds support for eglBindTexImage and eglReleaseTexImage. They rely on the state tracker to do the real work. Signed-off-by: Chia-I Wu <olvaffe@gmail.com> | |||
2009-08-05 | egl_softpipe: Flush when switching current context. | Chia-I Wu | |
Signed-off-by: Chia-I Wu <olvaffe@gmail.com> | |||
2009-08-05 | Merge branch 'mesa_7_5_branch' | Brian Paul | |
Conflicts: src/mesa/main/state.c | |||
2009-08-05 | util: added comment/question about blit clipping | Brian Paul | |
2009-08-05 | util: added util_blit_pixels() overlap test | Brian Paul | |
A comment alluded to this. Now it's checked. | |||
2009-08-05 | util: fix util_blit_pixels() test for surface_copy() path | Brian Paul | |
For the surface_copy() path require same format, no flipping and no stretching. Fixes progs/tests/copypixrate -blit | |||
2009-08-05 | util: reformatting and comments | Brian Paul | |
2009-08-05 | st/xorg: Make it work again | Jakob Bornecrantz | |
2009-08-05 | st/egl: Create primary texture not display target | Jakob Bornecrantz | |