summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* nouveau: nv30 does not support separate blend functions for alpha and rgbPatrice Mandin2009-01-211-2/+3
|
* progs: IgnoresJakob Bornecrantz2009-01-211-0/+1
|
* i915: Fix gem backend after surface changesJakob Bornecrantz2009-01-201-3/+1
|
* gallium: Remove the standalone surfaces.José Fonseca2009-01-2025-654/+217
| | | | | | | | | | | | | | | | | | | | | | | | | 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.
* xlib: fix dependenciesKeith Whitwell2009-01-191-2/+2
|
* statetracker: copy back color buffer to front buffer when neededBrian Paul2009-01-191-1/+13
| | | | | Fixes front-buffer rendering when following a SwapBuffers. See progs/tests/rubberband.c
* gallium: minor reformattingBrian Paul2009-01-191-6/+9
|
* util: add reduced prim helperKeith Whitwell2009-01-191-0/+16
|
* gallium: use align() intead of round_up()Brian Paul2009-01-191-12/+2
|
* tgsi: change an if to an else-if, added const qual, added commentsBrian Paul2009-01-191-3/+5
|
* dri: add fake front definitionsAlan Hourihane2009-01-191-0/+2
|
* Merge commit 'origin/gallium-0.2' into gallium-xlib-reworkKeith Whitwell2009-01-192-0/+510
|\ | | | | | | | | | | | | | | Conflicts: src/gallium/state_trackers/glx/xlib/fakeglx.c src/gallium/state_trackers/glx/xlib/xm_api.c src/gallium/winsys/xlib/xmesaP.h
| * xlib: fix compilation after xmesa header movesKeith Whitwell2009-01-195-3/+513
| |
* | Merge commit 'origin/gallium-0.2' into gallium-xlib-reworkKeith Whitwell2009-01-19169-2990/+4038
|\|
| * g3dvl: Some cleanups.Younes Manton2009-01-181-1/+7
| |
| * g3dvl: Ref count everywhere.Younes Manton2009-01-183-46/+52
| |
| * g3dvl: Mark all buffers for incoming frame data as discardable.Younes Manton2009-01-182-10/+10
| |
| * nouveau: Rename buffer on map if discardable, busy, and write-only.Younes Manton2009-01-181-0/+15
| |
| * gallium: Add PIPE_BUFFER_USAGE_DISCARD.Younes Manton2009-01-181-0/+1
| | | | | | | | | | | | 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.
| * g3dvl: Return BadAlloc if we can't create an XvMC surface.Younes Manton2009-01-182-8/+13
| |
| * g3dvl: Follow mesa naming conventions for src dirs.Younes Manton2009-01-1815-0/+0
| |
| * egl: eglinfo load i915 driverJakob Bornecrantz2009-01-191-1/+2
| |
| * i915: Build gem and egl winsys by defaultJakob Bornecrantz2009-01-191-1/+1
| |
| * i915: Make gem submit commandsJakob Bornecrantz2009-01-192-5/+22
| |
| * egl: Fix swap and creation of front bufferJakob Bornecrantz2009-01-192-20/+120
| |
| * i915: Use new egl state_trackerJakob Bornecrantz2009-01-1814-1552/+86
| |
| * egl: Add a egl state_tracker that use GalliumJakob Bornecrantz2009-01-187-0/+1067
| | | | | | | | | | | | | | | | | | | | | | | | 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.
| * i915: Update gem backend a bitJakob Bornecrantz2009-01-183-13/+25
| |
| * egl: Make eglscreen sleep for five secondsJakob Bornecrantz2009-01-181-0/+3
| |
| * egl: Add eglscreen to help debug egl mesa screenJakob Bornecrantz2009-01-183-0/+123
| |
| * egl: Make eglinfo print screen infoJakob Bornecrantz2009-01-171-1/+2
| |
| * Merge commit 'origin/master' into gallium-0.2Alan Hourihane2009-01-1615-22/+102
| |\ | | | | | | | | | | | | Conflicts: src/mesa/shader/slang/slang_compile.c
| | * glsl: fix broken sampler assignmentsBrian Paul2009-01-161-1/+2
| | |
| | * i915: fallback on transfer modeXiang, Haihao2009-01-161-0/+6
| | |
| | * windows: updated VC8 project fileKarl Schultz2009-01-151-1/+18
| | |
| | * windows: updated mesa.def fileKarl Schultz2009-01-151-0/+5
| | |
| | * glsl: use _mesa_sprintf()Brian Paul2009-01-151-2/+2
| | |
| | * glsl: move declaration before codeBrian Paul2009-01-151-1/+1
| | |
| | * mesa: check frambuffer complete status before renderingAlan Hourihane2009-01-151-13/+20
| | |
| | * mesa: bump version to 7.3-rc2mesa_7_3_rc2Brian Paul2009-01-142-5/+5
| | |
| | * glsl: fix commentBrian Paul2009-01-141-1/+1
| | |
| | * glsl: minor clean-up for rect sampler testBrian Paul2009-01-141-5/+18
| | |
| | * r300: work-around FRAG_BIT_FOGC warning/errorBrian Paul2009-01-142-0/+12
| | | | | | | | | | | | | | | | | | | | | See bug 17929. Fog doesn't actually work, but the often complained about warning is silenced.
| | * i965: asst. fixes, work-arounds for FBOs and render to textureBrian Paul2009-01-143-2/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| | * i965: fix incorrect renderbuffer DataType assignmentBrian Paul2009-01-141-2/+6
| | |
| | * i965: fix some FBO depth/stencil assertionsBrian Paul2009-01-141-2/+5
| | |
| * | scons: Use -std=gnu99José Fonseca2009-01-161-1/+1
| | | | | | | | | | | | | | | | | | | | | 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.
| * | stw: Dispatch to our stw_winsys::flush_front_bufferJosé Fonseca2009-01-162-0/+27
| | | | | | | | | | | | | | | pipe_winsys::flush_front_buffer should die someday, but this is good enough for now.
| * | mesa: tweak to formattingAlan Hourihane2009-01-151-2/+2
| | |
| * | mesa: small cleanupAlan Hourihane2009-01-151-6/+5
| | |