summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-04-14DRI2: Don't fault on NULL DrawBufferIan Romanick
It is possible for ctx->DrawBuffer to be NULL, so don't fault when that happens. This change is not being committed to master because it doesn't appear to be necessary there. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Cherry picked from mesa_7_4_branch, commit 49e0c74ddd91900fc4effb6d305d56e0563b456d
2009-04-14i965: checkpoint commit: VS constant buffersBrian Paul
Hook up a constant buffer, binding table, etc for the VS unit. This will allow using large constant buffers with vertex shaders. The new code is disabled at this time (use_const_buffer=FALSE).
2009-04-13dri glx: Swap before checking for cliprects.Younes Manton
We don't update drawables anymore unless they are completely uninitialized, so we need to swap even if we don't have cliprects yet, otherwise we never end up calling the driver's SwapBuffers(). The driver should update the drawable in its SwapBuffers() anyway. See 8e753d04045a82062ac34d3b2622eb9dba8af374, "dri glx: Fix dri_util::driBindContext" for the change that exposed it.
2009-04-13nv50: fix mrt clearBen Skeggs
2009-04-10r300-gallium: Split up vertex format tallying for HW and SW TCL.Corbin Simpson
This makes things draw (again) with HW TCL. Yay?
2009-04-10r300-gallium: Finish up cleanup of vertex format state.Corbin Simpson
This makes texcoords route properly, and also fixes a few asserts.
2009-04-10r300-gallium: Clean up vertex format setup.Corbin Simpson
2009-04-10i965: remove unused varBrian Paul
2009-04-10i965: clean-up in prepare_wm_surfaces()Brian Paul
2009-04-10mesa: reduce makefile outputBrian Paul
2009-04-10wgl: Protect the framebuffer with a lock.José Fonseca
Unfortunately this doesn't catch all the cases, as the mesa state tracker can still use the framebuffer without giving the wgl state tracker the chance to lock it.
2009-04-10wgl: Note down the gallium pixel formats, instead of re-guessing them.José Fonseca
2009-04-10wgl: Query the screen for supported formats.José Fonseca
2009-04-10wgl: Walk through the pixel formats combinations.José Fonseca
2009-04-10wgl: Keep copies of the PIXELFORMATDESCRIPTOR structures.José Fonseca
2009-04-10Build dri drivers for powerpc and sparc on FreeBSD.Robert Noland
2009-04-10mesa: asst. progs/test/Makefile filesBrian Paul
2009-04-10i965: added null const_buffer pointer check in update_constant_buffer()Brian Paul
2009-04-10intel: added screen->dri2.loader null pointer check in intel_flush()Brian Paul
Fixes segfaults when rendering to front buffer.
2009-04-10gallium: remove pipe_texture::compressed fieldBrian Paul
The format field encodes compressed vs. uncompressed already. We can easily check if a texture is compressed with pf_is_compressed(texture->format).
2009-04-10wgl: Slightly simplify pixelformat creation.José Fonseca
2009-04-10progs: Port glxinfo to wgl.José Fonseca
2009-04-10mesa: Don't define WGL_ARB_extensions_string in mesa_wgl.h.José Fonseca
It breaks wglext.h as it doesn't define PFNWGLGETEXTENSIONSSTRINGARBPROC.
2009-04-10wgl: Move pixel format information into device structure.José Fonseca
2009-04-10wgl: Combine alpha pixelformat info in color.José Fonseca
2009-04-10stw: Reorder the pixelformats, so that no alpha pixelformats get chosen ↵José Fonseca
before alpha. Some applications might not handle a alpha visual when when they did not request for one.
2009-04-10stw: Don't make assumptions about integer size.José Fonseca
2009-04-10stw: Free the mesa framebuffer.José Fonseca
2009-04-10tgsi/sse2: Cleanup NRM/NRM4 implementation.Michal Krol
Fix comments. Make sure .w is set to 1.0 for NRM. Optimise for non-.xyzw writemasks.
2009-04-10rtasm: Silence `static function not used' warning.Michal Krol
2009-04-10draw: Silence pointer-to-integer cast warning.Michal Krol
2009-04-10draw: Fix vertex_header initialisation.Michal Krol
2009-04-09swrast: remove some unneeded CHAN_TYPE!=GL_FLOAT codeBrian Paul
2009-04-09gallium: comments for surface_copy(), surface_fill() in p_context.hBrian Paul
2009-04-09i965: re-org of some of the new constant buffer codeBrian Paul
Plus, begin the new code for vertex shader const buffers.
2009-04-09demos: fix aspect ratio in Reshape()Brian Paul
2009-04-09i965: new SURF_INDEX_ macrosBrian Paul
Used to map drawables, textures and constant buffers to surface binding table indexes.
2009-04-09gallium: change // comment to /* */ styleBrian Paul
2009-04-09gallium: updated comments in p_screen.hBrian Paul
2009-04-09i965simple: remove pipe_texture::compressed referenceBrian Paul
2009-04-09tgsi/sse2: Fix build.Michal Krol
2009-04-09draw: Fix LIT instruction.Michal Krol
2009-04-09intel / DRI2: Accept fake front-buffer from loaderIan Romanick
Handle the loader returning a fake front-buffer. Since the driver never specifically requests a fake front-buffer, the driver assumes that it will never receive both a fake and a real front-buffer. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kristian Høgsberg <krh@redhat.com>
2009-04-09DRI2: Assume that there is always a front bufferIan Romanick
Assume that the front-buffer exists even if the server didn't tell the client that it exists. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kristian Høgsberg <krh@redhat.com>
2009-04-09intel / DRI2: Track and flush front-buffer renderingIan Romanick
Track two flags: whether or not front-buffer rendering is currently enabled and whether or not front-buffer rendering has been enabled since the last glFlush. If the second flag is set, the front-buffer is flushed via a loader call back. If the first flag is cleared, the second flag is cleared at this time. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kristian Høgsberg <krh@redhat.com>
2009-04-09DRI2: Provide an interface for drivers to flush front-buffer renderingIan Romanick
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kristian Høgsberg <krh@redhat.com>
2009-04-09python: Fix bad pointer.José Fonseca
2009-04-09st: remove another unneeded 'is compressed' comparisonBrian Paul
2009-04-09st: remove unneeded "is compressed" checkBrian Paul
The format indicates compressed vs. uncompressed.
2009-04-09st: rearrange some code to be a little more clearBrian Paul