summaryrefslogtreecommitdiff
path: root/src/gallium
AgeCommit message (Collapse)Author
2009-01-27gallium: standardize naming of masksZack Rusin
2009-01-27gallium: standardize on stride instead of pitch in the interfaceZack Rusin
2009-01-27tgsi: silence some warningsKeith Whitwell
2009-01-27draw: silence some warningsKeith Whitwell
2009-01-27i915: queiten compiler warningsKeith Whitwell
2009-01-27failover: queiten compiler warningsKeith Whitwell
2009-01-27draw: queiten compiler warningsKeith Whitwell
2009-01-26egl: compilation fixZack Rusin
2009-01-26nv20: rewrite vertex layoutPekka Paalanen
NV20 seems to be very different to NV10. In vertex array, pos is first, not last. There are maximum 16 attributes and only few are currently known. This makes trivial/tri work on NV20. Signed-off-by: Pekka Paalanen <pq@iki.fi>
2009-01-26nv20: adjust initial hw contextPekka Paalanen
VIEWPORT_SCALE0 seems to do with translation and the sane value for x and y is zero. VIEWPORT_SCALE1 is still a mystery. Signed-off-by: Pekka Paalanen <pq@iki.fi>
2009-01-24g3dvl: Remove dead links to files that are now in libnouveaudrm.Younes Manton
2009-01-24nouveau: fix st_get_framebuffer_surface() breakagePekka Paalanen
Someone changed the st_get_framebuffer_surface() signature, and did not update the users in Nouveau winsys. Surface is returned via a pointer now instead of returning it from the function. No semantic changes. Signed-off-by: Pekka Paalanen <pq@iki.fi>
2009-01-23gallium: change the st_get_framebuffer_surface/texture functionsAlan Hourihane
to return TRUE/FALSE if the st_framebuffer is valid, and if it is return the surface/texture in the passed pointer.
2009-01-21nouveau: Map correct mip level when using the shadow (nv30, nv40).Younes Manton
2009-01-21nouveau: nv30 does not support separate blend functions for alpha and rgbPatrice Mandin
2009-01-20i915: Fix gem backend after surface changesJakob Bornecrantz
2009-01-20gallium: Remove the standalone surfaces.José Fonseca
This commit is mostly just a cosmetic change that cleans-up the interfaces, replacing pipe_winsys::surface_* calls by /** * Allocate storage for a display target surface. * * Often surfaces which are meant to be blitted to the front screen (i.e., * display targets) must be allocated with special characteristics, memory * pools, or obtained directly from the windowing system. * * This callback is invoked by the pipe_screenwhen creating a texture marked * with the PIPE_TEXTURE_USAGE_DISPLAY_TARGET flag to get the underlying * buffer storage. */ struct pipe_buffer *(*surface_buffer_create)(struct pipe_winsys *ws, unsigned width, unsigned height, enum pipe_format format, unsigned usage, unsigned *stride); Most drivers were updated but not all were tested. Use the softpipe pipe driver and the xlib winsys changes as a reference when fixing other drivers.
2009-01-19xlib: fix dependenciesKeith Whitwell
2009-01-19gallium: minor reformattingBrian Paul
2009-01-19util: add reduced prim helperKeith Whitwell
2009-01-19gallium: use align() intead of round_up()Brian Paul
2009-01-19tgsi: change an if to an else-if, added const qual, added commentsBrian Paul
2009-01-19Merge commit 'origin/gallium-0.2' into gallium-xlib-reworkKeith Whitwell
Conflicts: src/gallium/state_trackers/glx/xlib/fakeglx.c src/gallium/state_trackers/glx/xlib/xm_api.c src/gallium/winsys/xlib/xmesaP.h
2009-01-19xlib: fix compilation after xmesa header movesKeith Whitwell
2009-01-19Merge commit 'origin/gallium-0.2' into gallium-xlib-reworkKeith Whitwell
2009-01-18g3dvl: Some cleanups.Younes Manton
2009-01-18g3dvl: Ref count everywhere.Younes Manton
2009-01-18g3dvl: Mark all buffers for incoming frame data as discardable.Younes Manton
2009-01-18nouveau: Rename buffer on map if discardable, busy, and write-only.Younes Manton
2009-01-18gallium: Add PIPE_BUFFER_USAGE_DISCARD.Younes Manton
When passed to map() signals that the buffer's previous contents are not required, allowing the driver to allocate a new buffer if the current buffer can not be mapped immediately.
2009-01-18g3dvl: Return BadAlloc if we can't create an XvMC surface.Younes Manton
2009-01-19i915: Build gem and egl winsys by defaultJakob Bornecrantz
2009-01-19i915: Make gem submit commandsJakob Bornecrantz
2009-01-19egl: Fix swap and creation of front bufferJakob Bornecrantz
2009-01-18i915: Use new egl state_trackerJakob Bornecrantz
2009-01-18egl: Add a egl state_tracker that use GalliumJakob Bornecrantz
This works on top Gallium and KMS. The only thing that does not work currently is swap buffers for shown mesa screens. So the only fun thing this will produce is a white screen. The driver wishing to us the state_tracker needs to implement the intrace as define in drm_api.h located in gallium/include/state_tracker. And also have a working KMS implementation.
2009-01-18i915: Update gem backend a bitJakob Bornecrantz
2009-01-17debug: add noprefix version of debug_dump_enumKeith Whitwell
2009-01-17xlib: don't explicitly create the pipe_winsys structKeith Whitwell
2009-01-17xlib: don't explicitly create the pipe_winsys structKeith Whitwell
2009-01-14gallium: Disable memory debugging for Windows OGL.José Fonseca
Unfortunately both Mesa and Gallium use the same defines for memory allocation (MALLOC, FREE, etc), and worse, some times memory is allocated with one set and freed with the other set, causing the homegrown memory debugger to trip on itself. In the future mesa and gallium should use different names, but for now, memory debugging on Windows will have to be carried with different tools..
2009-01-14intel: Add a none working GEM backend for intelJakob Bornecrantz
2009-01-14cell: Specify constant as float for CEILF().Jonathan Adamczewski
Without the f, the constant is treated as a double, resulting in slower arithmetic and libgcc conversion calls each time CEILF() is used.
2009-01-13xlib: split off cell to its own backendKeith Whitwell
Also remove compile-time USE_XSHM flag. Still check for XSHM at runtime though.
2009-01-13xlib: allow winsys's to register themselves with glx/xlib state trackerKeith Whitwell
2009-01-13nv50: fix progs/tests/manytexBen Skeggs
Previously all squares were textured with the same texture.. not quite what the demo was supposed to look like!
2009-01-13nv50: get glxgears showing all 3 gears instead of 1!!Ben Skeggs
This fixes a lot of other things where not all the geometry got drawn also.
2009-01-13nv50: change some magic reg, makes more things workBen Skeggs
No real idea what this does.. but a lot of things that misrendered and made the GPU throw a DATA_ERROR now work.. I'm wondering what side-effects we'll see from this :)
2009-01-13nv50: add DXTn formatsBen Skeggs
2009-01-13nv50: shadow mappingBen Skeggs