summaryrefslogtreecommitdiff
path: root/src/gallium
AgeCommit message (Collapse)Author
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
2009-01-13nv50: anisoBen Skeggs
2009-01-13nv50: occlusion queriesBen Skeggs
Not quite working, but the general idea is right I think.
2009-01-13nv50: implement KIL enough for progs/fp/kil to workBen Skeggs
2009-01-13cell: Add missing suffix to SHUFFLE macroJonathan Adamczewski
2009-01-12cell: allocate batch buffers w/ 16-byte alignmentJonathan Adamczewski
Replace cell_batch{align,alloc)*() with cell_batch_alloc16(), allocating multiples of 16 bytes that are 16 byte aligned. Opcodes are stored in preferred slot of SPU machine word. Various structures are explicitly padded to 16 byte multiples. Added STATIC_ASSERT().
2009-01-12dri: make dri_display_surface staticKeith Whitwell
2009-01-12dri: pull dri_swapbuffers.c into dri_drawable.cKeith Whitwell
2009-01-12gallivm: Make sure the bitcode buffer is followed by a 0 byte.Michel Dänzer
May fail to parse otherwise.
2009-01-12dri: rename dri1 directoryKeith Whitwell
2009-01-12dri: sketch of new device-independent glx/dri state trackerKeith Whitwell
2009-01-12gallivm: Print error message from ParseBitcodeFile() in case it fails.Michel Dänzer
2009-01-12gallivm: Adapt to header file move in LLVM 2.4.Michel Dänzer
2009-01-12nv50: make rtt work againBen Skeggs
2009-01-12nv50: fix handling of depth texturesBen Skeggs
2009-01-12nv50: another typo..Ben Skeggs
2009-01-12nouveau: fix warningBen Skeggs