summaryrefslogtreecommitdiffstats
path: root/src/gallium
Commit message (Collapse)AuthorAgeFilesLines
* st/dri: Add support for GLX_EXT_texture_from_pixmap with direct rendering.Michel Dänzer2009-08-133-0/+37
|
* gallium/drm: Handle circular dependencies in the auxiliary libraries with make.Michel Dänzer2009-08-131-1/+3
|
* st/xorg: Fix DRI2 CopyRegion hook.Michel Dänzer2009-08-131-29/+43
| | | | | Use GC CopyArea op for proper translation and clipping, and throttle full buffer swaps / frontbuffer flushes.
* tgsi: add simple facility for releasing and reusing temporariesKeith Whitwell2009-08-132-4/+40
|
* tgsi: rename ureg src/dest convertersKeith Whitwell2009-08-131-3/+3
| | | | Also fix a typo in ureg_src().
* draw: Remove unused variable.José Fonseca2009-08-131-1/+0
|
* Merge branch 'mesa_7_5_branch'Keith Whitwell2009-08-131-22/+55
|\
| * draw: cope with more primitives in draw_pipeline_runKeith Whitwell2009-08-131-22/+55
| | | | | | | | | | | | | | | | This previously was used only for decomposed (POINT/LINE/TRI) primitives, but for some time a full range of primitives could end up in here. Fixes trivial/lineloop-clip on softpipe, among others. (cherry picked from commit 87cd8a3b8a2407b30916be418ff2f95dfea5d2ad)
| * util: fix incorrect assertionBrian Paul2009-08-061-1/+1
| | | | | | | | Check that the dest surface/format is renderable.
| * util: include u_surface.h, added commentBrian Paul2009-08-061-0/+2
| |
| * util: use util_same_surface() to compare surface pointersBrian Paul2009-08-061-3/+3
| |
| * util: added util_same_surface() helper functionBrian Paul2009-08-061-0/+17
| |
* | tgsi: turn off debuggingKeith Whitwell2009-08-131-1/+1
| |
* | tgsi: use REALLOC for growing token poolKeith Whitwell2009-08-131-11/+5
| |
* | util: silence warnings for third REALLOC argumentKeith Whitwell2009-08-131-1/+7
| | | | | | | | | | | | Our fallback realloc path requires an old_size argument, but the posix varient doesn't need this. Add some code to avoid gcc unused variable warnings for this extra argument.
* | util: remove unneeded includesKeith Whitwell2009-08-131-4/+0
| |
* | util: convert u_simple_shaders to use tgsi_uregKeith Whitwell2009-08-131-258/+60
| | | | | | | | Much nicer now.
* | tgsi: add tgsi_ureg, a simplified tgsi shader builderKeith Whitwell2009-08-135-0/+1381
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | Merge branch 'new-frag-attribs'Brian Paul2009-08-121-12/+36
|\ \ | | | | | | | | | | | | | | | | | | 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.
| * | draw: fix-ups for point coord attributeBrian Paul2009-07-311-12/+36
| | | | | | | | | | | | progs/glsl/pointcoord.c works again
* | | st/xorg: Acquire/drop DRM master in order to work with multiple servers.Michel Dänzer2009-08-121-0/+15
| | |
* | | gallium/glx/xlib: main/ prefix on Mesa includes, remove -I$(TOP)/src/mesa/main/Brian Paul2009-08-124-10/+9
| | |
* | | gallium/glx/xlib: updated commentsBrian Paul2009-08-123-4/+2
| | |
* | | gallium/glx/xlib: delete fakeglx.hBrian Paul2009-08-121-41/+0
| | |
* | | gallium/glx/xlib: rename fakeglx.c to glx_api.cBrian Paul2009-08-123-2/+2
| | |
* | | gallium/glx/xlib: delete glxapi.hBrian Paul2009-08-121-36/+0
| | |
* | | gallium/glx/xlib: rename fakeglx_fonts.c to glx_usefont.cBrian Paul2009-08-123-2/+2
| | |
* | | gallium/glx/xlib: rename glxapi.c to glx_getproc.cBrian Paul2009-08-123-2/+3
| | |
* | | gallium/glx/xlib: don't include fakeglx.hBrian Paul2009-08-121-1/+0
| | |
* | | gallium/glx/xlib: overhaul and simplification of the Gallium Xlib-based GLXBrian Paul2009-08-124-1574/+280
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | gallium/trace: remove stray semicolonsBrian Paul2009-08-111-2/+2
| | |
* | | gallium/xlib: add missing tex_usage parameterBrian Paul2009-08-111-0/+1
| | |
* | | gallium/egl: add missing tex_usage parameterBrian Paul2009-08-111-0/+1
| | |
* | | gallium/xlib: add missing tex_usage parameterBrian Paul2009-08-111-0/+1
| | |
* | | gallium/identity: remove stray semicolonsBrian Paul2009-08-111-2/+2
| | |
* | | i915g: Reduce max relocsJakob Bornecrantz2009-08-121-1/+1
| | |
* | | i915g: Check relocs as wellJakob Bornecrantz2009-08-121-2/+2
| | |
* | | i915g: Implement surface_buffer_create for softpipeJakob Bornecrantz2009-08-111-2/+38
| | | | | | | | | | | | In order to run softpipe on st/xorg we need this function
* | | gallium: Add texture usage information to surface_buffer_createJakob Bornecrantz2009-08-117-2/+13
| | | | | | | | | | | | | | | | | | 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.
* | | gallium: fix debug_printf() format stringBrian Paul2009-08-111-1/+1
| | |
* | | r300g: Fix up remaining VAP_CNTL_STATUS writes for big endian.Michel Dänzer2009-08-111-2/+10
| | |
* | | r300g: Emit relocations for pitch registers.Michel Dänzer2009-08-112-7/+12
| | | | | | | | | | | | Fixes CS failures with tiling enabled kernels.
* | | r300g: a typo of debug messageCooper Yuan2009-08-111-1/+1
| | |
* | | r300g: Knock out another fragment of invariant state.Corbin Simpson2009-08-071-8/+3
| | | | | | | | | | | | Colorbuffer setup will always happen.
* | | gallium: Move minify() to u_math.Corbin Simpson2009-08-076-29/+5
| | | | | | | | | | | | | | | minify() is usually used in mipmap size calculation. Strangely enough, we all defined it as MAX2(1, d >> 1); imagine that. :3
* | | r300g: Remove r300_constant_buffer::user_count.Corbin Simpson2009-08-073-6/+3
| | | | | | | | | | | | Not needed with new compiler.
* | | i915g: Don't forget x/y coords in transfersJakob Bornecrantz2009-08-081-0/+2
| | | | | | | | | | | | Fixes demos/ray.
* | | i915g: Don't try to free a mapped buffer at shutdownJakob Bornecrantz2009-08-081-1/+0
| | |
* | | util: fix incorrect assertionBrian Paul2009-08-071-1/+1
| | | | | | | | | | | | Check that the dest surface/format is renderable.
* | | util: include u_surface.h, added commentBrian Paul2009-08-071-0/+2
| | |