summaryrefslogtreecommitdiff
path: root/src
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-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-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-18g3dvl: Follow mesa naming conventions for src dirs.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-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-16stw: Dispatch to our stw_winsys::flush_front_bufferJosé Fonseca
pipe_winsys::flush_front_buffer should die someday, but this is good enough for now.
2009-01-16i915: fallback on transfer modeXiang, Haihao
2009-01-15windows: updated mesa.def fileKarl Schultz
2009-01-15glsl: use _mesa_sprintf()Brian Paul
2009-01-15glsl: move declaration before codeBrian Paul
2009-01-15mesa: tweak to formattingAlan Hourihane
2009-01-15mesa: check frambuffer complete status before renderingAlan Hourihane
2009-01-15mesa: small cleanupAlan Hourihane
2009-01-15mesa: revert partial commit for 0x0 render targetsAlan Hourihane
2009-01-15mesa: check frambuffer complete status before renderingAlan Hourihane
2009-01-15mesa: Fix merge conflictsJakob Bornecrantz
2009-01-14mesa: bump version to 7.3-rc2Brian Paul
2009-01-14glsl: fix commentBrian Paul
2009-01-14glsl: minor clean-up for rect sampler testBrian Paul
2009-01-14r300: work-around FRAG_BIT_FOGC warning/errorBrian Paul
See bug 17929. Fog doesn't actually work, but the often complained about warning is silenced.
2009-01-14i965: asst. fixes, work-arounds for FBOs and render to textureBrian Paul
OpenGL allows mixing and matching depth and stencil renderbuffers in framebuffer objects while the hardware really only supports interleaved depth/stencil buffers. This makes for some tricky buffer management. An extra wrinkle is the situation where the user allocates a 16bpp depth texture or renderbuffer then tries to render to it along with a stencil buffer. We'd have to promote the 16bpp Z values to 24-bit Z values and mix in the stencil values to setup the depth/stencil renderbuffer. There's no support for that now, so always allocate 32bpp depth textures/ renderbuffers for now.
2009-01-14i965: fix incorrect renderbuffer DataType assignmentBrian Paul
2009-01-14i965: fix some FBO depth/stencil assertionsBrian Paul
2009-01-14Merge commit 'origin/master' into gallium-0.2Alan Hourihane
Conflicts: docs/install.html docs/relnotes-7.3.html src/mesa/shader/slang/slang_codegen.c src/mesa/shader/slang/slang_compile.c src/mesa/shader/slang/slang_emit.c src/mesa/shader/slang/slang_preprocess.c src/mesa/shader/slang/slang_preprocess.h
2009-01-14intel: SW fallback maps texture images, not texture coordinatesIan Romanick
2009-01-14glsl: propagate pragma info down into compiler from preprocessorBrian Paul
2009-01-14glsl: simplify IR storage for samplersBrian Paul
Don't overload the Size field with the texture target, to avoid confusion.