summaryrefslogtreecommitdiff
path: root/src/gallium
AgeCommit message (Collapse)Author
2009-08-13tgsi: add tgsi_ureg, a simplified tgsi shader builderKeith 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-12Merge 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-12st/xorg: Acquire/drop DRM master in order to work with multiple servers.Michel Dänzer
2009-08-12gallium/glx/xlib: main/ prefix on Mesa includes, remove -I$(TOP)/src/mesa/main/Brian Paul
2009-08-12gallium/glx/xlib: updated commentsBrian Paul
2009-08-12gallium/glx/xlib: delete fakeglx.hBrian Paul
2009-08-12gallium/glx/xlib: rename fakeglx.c to glx_api.cBrian Paul
2009-08-12gallium/glx/xlib: delete glxapi.hBrian Paul
2009-08-12gallium/glx/xlib: rename fakeglx_fonts.c to glx_usefont.cBrian Paul
2009-08-12gallium/glx/xlib: rename glxapi.c to glx_getproc.cBrian Paul
2009-08-12gallium/glx/xlib: don't include fakeglx.hBrian Paul
2009-08-12gallium/glx/xlib: overhaul and simplification of the Gallium Xlib-based GLXBrian 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-11gallium/trace: remove stray semicolonsBrian Paul
2009-08-11gallium/xlib: add missing tex_usage parameterBrian Paul
2009-08-11gallium/egl: add missing tex_usage parameterBrian Paul
2009-08-11gallium/xlib: add missing tex_usage parameterBrian Paul
2009-08-11gallium/identity: remove stray semicolonsBrian Paul
2009-08-12i915g: Reduce max relocsJakob Bornecrantz
2009-08-12i915g: Check relocs as wellJakob Bornecrantz
2009-08-11i915g: Implement surface_buffer_create for softpipeJakob Bornecrantz
In order to run softpipe on st/xorg we need this function
2009-08-11gallium: Add texture usage information to surface_buffer_createJakob 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-11gallium: fix debug_printf() format stringBrian Paul
2009-08-11r300g: Fix up remaining VAP_CNTL_STATUS writes for big endian.Michel Dänzer
2009-08-11r300g: Emit relocations for pitch registers.Michel Dänzer
Fixes CS failures with tiling enabled kernels.
2009-08-11r300g: a typo of debug messageCooper Yuan
2009-08-07r300g: Knock out another fragment of invariant state.Corbin Simpson
Colorbuffer setup will always happen.
2009-08-07gallium: 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-07r300g: Remove r300_constant_buffer::user_count.Corbin Simpson
Not needed with new compiler.
2009-08-08i915g: Don't forget x/y coords in transfersJakob Bornecrantz
Fixes demos/ray.
2009-08-08i915g: Don't try to free a mapped buffer at shutdownJakob Bornecrantz
2009-08-07util: fix incorrect assertionBrian Paul
Check that the dest surface/format is renderable.
2009-08-07util: include u_surface.h, added commentBrian Paul
2009-08-07util: use util_same_surface() to compare surface pointersBrian Paul
2009-08-07util: added util_same_surface() helper functionBrian Paul
2009-08-06i915g: Compile with sconsJakob Bornecrantz
2009-08-06identity: Use the correct textureJakob Bornecrantz
2009-08-06st/xorg: If we have DRI2 we should also have some sort of hw supportJakob Bornecrantz
2009-08-06i915g: Always run in sync with the HWJakob Bornecrantz
2009-08-06i915g: The i915 seems more happier with sampler domain so lets use thatJakob Bornecrantz
2009-08-06i915g: Dirty fix for VBO module double flush assertJakob Bornecrantz
2009-08-06i915g: Switch to mapping the batch buffer instead of using subdataJakob Bornecrantz
2009-08-05egl_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-05egl_softpipe: Flush when switching current context.Chia-I Wu
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-08-05Merge branch 'mesa_7_5_branch'Brian Paul
Conflicts: src/mesa/main/state.c
2009-08-05util: added comment/question about blit clippingBrian Paul
2009-08-05util: added util_blit_pixels() overlap testBrian Paul
A comment alluded to this. Now it's checked.
2009-08-05util: fix util_blit_pixels() test for surface_copy() pathBrian Paul
For the surface_copy() path require same format, no flipping and no stretching. Fixes progs/tests/copypixrate -blit
2009-08-05util: reformatting and commentsBrian Paul
2009-08-05st/xorg: Make it work againJakob Bornecrantz
2009-08-05st/egl: Create primary texture not display targetJakob Bornecrantz