summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-01-20windows: new VC8 projects statically linked against libcmtThomas Henn
2009-01-20windows: more VC8 project file updatesKarl Schultz
Make some compiler flags per-file. Remove driverfuncs.c from osmesa project.
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-20Add a comment about _tnl_emit_indexed_vertices_to_buffer.Thomas Hellstrom
2009-01-20tnl: Add a utility to emit indexed vertices to a DMA buffer.Thomas Hellstrom
This utility is useful for hardware that doesn't support HW index buffers. It's a bit inefficient but appears to give a substantial performance gain, as we can emit tri strips that would otherwise be split into triangles.
2009-01-20Fix store texel for argb4444.Thomas Hellstrom
2009-01-20Fix store texel for argb8888_rev.Thomas Hellstrom
2009-01-20Add RGBA4444 and RGBA5551 texture formats.Thomas Hellstrom
2009-01-20dri1: Add a macro to validate two dri drawables in one go.Thomas Hellstrom
Dri drivers often may validate first a write drawable and then a read drawable ("readable"). However, the hardware lock may be unlocked when validating the readable, causing the write drawable status to be stale. Drivers should use this macro instead when validating two drawables.
2009-01-19mesa: fix build of stand-alone glslcompiler driverBrian Paul
2009-01-19xlib: fix dependenciesKeith Whitwell
2009-01-19statetracker: copy back color buffer to front buffer when neededBrian Paul
Fixes front-buffer rendering when following a SwapBuffers. See progs/tests/rubberband.c
2009-01-19gallium: minor reformattingBrian Paul
2009-01-19util: add reduced prim helperKeith Whitwell
2009-01-19tests: test pseudo-XOR blend mode.Brian Paul
GL_XOR logicop mode can be approximated with blending by computing 1 - dst. Here's a couple test programs for that.
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-19dri: add fake front definitionsAlan Hourihane
2009-01-19dri: add fake front definitionsAlan Hourihane
2009-01-19windows: updated VC8 project filesThomas Henn
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-18g3dvl: Follow mesa naming conventions for src dirs.Younes Manton
2009-01-19egl: eglinfo load i915 driverJakob Bornecrantz
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-18glx: gcc 2.95 build fix (move declaration before code)Brian Paul
Adapted from patch by Matthieu Herbb <matthieu.herrb@laas.fr>
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-18egl: Make eglscreen sleep for five secondsJakob Bornecrantz
2009-01-18egl: Add eglscreen to help debug egl mesa screenJakob Bornecrantz
2009-01-17egl: Make eglinfo print screen infoJakob 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-16i965: fix polygon culling bug when rendering to a texture/FBOBrian Paul
Since we use an inverted viewport transformation for render to texture, that inverts front/back polygon orientation. Now glCullFace(GL_FRONT / GL_BACK) works correctly.
2009-01-16intel: added intel_rendering_to_texture() helper function.Brian Paul
When we're rendering to textures we have to invert the viewport transformation. This helper cleans up that test and can be used elsewhere...
2009-01-16mesa: remove GL_DEPTH_TEST + no depth buffer testBrian Paul
One could enable depth testing before binding an FBO that has a depth buffer so this test is no longer useful or correct.
2009-01-16Merge commit 'origin/master' into gallium-0.2Alan Hourihane
Conflicts: src/mesa/shader/slang/slang_compile.c
2009-01-16glsl: fix broken sampler assignmentsBrian Paul
2009-01-16scons: Use -std=gnu99José Fonseca
It a scary world out there: people use all sort of non standard C stuff, and we must enable support for that in here in order to build. -pedantic still warn us when we use that nonstandard though.