summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-11-08radeon: Implement EGL_MESA_no_surface_extensionJohann Rudloff
2010-11-08ir_dead_functions: Actually free dead functions and signatures.Kenneth Graunke
This makes linked shaders use around 36k less memory since the built-in prototypes are now freed.
2010-11-08graw: Add struct pipe_surface forward declaration.Vinson Lee
Fixes this GCC warning. graw.h:93: warning: 'struct pipe_surface' declared inside parameter list graw.h:93: warning: its scope is only this definition or declaration, which is probably not what you want
2010-11-08mesa/r300classic: Fix dri2Invalidate/radeon_prepare_render for page flipping.Mario Kleiner
A call to radeon_prepare_render() at the beginning of draw operations was placed too deep in the call chain, inside r300RunRenderPrimitive(), instead of r300DrawPrims() where it belongs. This leads to emission of stale target color renderbuffer into the cs if bufferswaps via page-flipping are used, and thereby causes massive rendering corruption due to unsynchronized rendering into the active frontbuffer. This patch fixes such problems for use with the upcoming radeon page-flipping patches. Signed-off-by: Mario Kleiner <mario.kleiner@tuebingen.mpg.de>
2010-11-08r600g: implement texture_get_handle (needed for eglExportDRMImageMESA)Benjamin Franzke
2010-11-08intel: Fix emit_linear_blit to use DWORD aligned width blitsPeter Clifton
The width of the 2D blits used to copy the data is defined as a 16-bit signed integer, but the pitch must be DWORD aligned. Limit to an integral number of DWORDs, (1 << 15 - 4) rather than (1 << 15 -1). Fixes corruption to data uploaded with glBufferSubData. Signed-off-by: Peter Clifton <pcjc2@cam.ac.uk>
2010-11-08r600c: properly align mipmaps to group sizeAlex Deucher
fixes: https://bugs.freedesktop.org/show_bug.cgi?id=31400
2010-11-08graw: Export graw_save_surface_to_file().Michal Krol
Allows applications to dump surfaces to file without referencing gallium/auxiliary entry points statically. Existing test apps have been modified such that they save the contents of the fronbuffer only when the `-o' option's specified.
2010-11-08os: Open file streams in binary mode.Michal Krol
Otherwise we'll get garbled data on Windows.
2010-11-07mesa: Clean up header file inclusion in extensions.h.Vinson Lee
2010-11-07mesa: Clean up header file inclusion in enable.h.Vinson Lee
2010-11-07mesa: Clean up header file inclusion in drawtex.h.Vinson Lee
2010-11-07mesa: Clean up header file inclusion in drawpix.h.Vinson Lee
2010-11-07mesa: Clean up header file inclusion in depthstencil.h.Vinson Lee
2010-11-07mesa: Clean up header file inclusion in depth.h.Vinson Lee
2010-11-07mesa: Clean up header file inclusion in debug.h.Vinson Lee
2010-11-07mesa: Clean up header file inclusion in convolve.h.Vinson Lee
2010-11-07mesa: Clean up header file inclusion in colortab.h.Vinson Lee
2010-11-07mesa: Clean up header file inclusion in buffers.h.Vinson Lee
2010-11-07mesa: Clean up header file inclusion in blend.h.Vinson Lee
2010-11-07mesa: Clean up header file inclusion in attrib.h.Vinson Lee
2010-11-07mesa: Clean up header file inclusion in atifragshader.h.Vinson Lee
2010-11-07mesa: make fixed-pt and byte-valued arrays a runtime featureBrian Paul
These ES1 features were only tested for in the vertex array code. Checking the ctx->API field at runtime is cleaner than the #ifdef stuff and supports choosing the API at runtime.
2010-11-07mesa: remove stray GL_FLOAT case in _mesa_is_legal_format_and_type()Brian Paul
2010-11-07mesa: implement uint texstore codeBrian Paul
We used float temporary images before which could lose precision for uint-valued texture images.
2010-11-07mesa: rename vars in pixel pack/unpack codeBrian Paul
2010-11-07mesa: consolidate pixel packing/unpacking codeBrian Paul
2010-11-07mesa: Clean up header file inclusion in arrayobj.h.Vinson Lee
2010-11-07r600g: Mention AMD in the renderer string.Henri Verbeet
2010-11-06mesa: Include mfeatures.h in api_validate.c for FEATURE_* symbols.Vinson Lee
2010-11-06mesa: Include mfeatures.h in api_loopback for FEATURE_beginend.Vinson Lee
2010-11-06mesa: Clean up header file inclusion in api_validate.h.Vinson Lee
2010-11-06mesa: Clean up header file inclusion in api_loopback.h.Vinson Lee
2010-11-06mesa: Clean up header file inclusion in version.h.Vinson Lee
2010-11-06mesa: Clean up header file inclusion in accum.h.Vinson Lee
2010-11-06mesa: Fix delayed state flagging for EXT_sso-related program changes.Eric Anholt
Flushing the vertices after having already updated the state doesn't do any good. Fixes useshaderprogram-flushverts-1. As a side effect, by moving it to the right place we end up skipping no-op state changes for traditional glUseProgram.
2010-11-06meta: Don't try to disable cube maps if the driver doesn't expose the extension.Francisco Jerez
Signed-off-by: Brian Paul <brianp@vmware.com>
2010-11-06vbo: Avoid unnecessary copy to/from current in vertex format upgrade.Francisco Jerez
Rebuilding the vertex format from scratch every time we see a new vertex attribute is rather costly, new attributes can be appended at the end avoiding a copy to current and then back again, and the full attr pointer recalculation. In the not so likely case of an already existing attribute having its size increased the old behavior is preserved, this could be optimized more, not sure if it's worth it. It's a modest improvement in FlightGear (that game punishes the VBO module pretty hard in general, framerate goes from some 46 FPS to 50 FPS with the nouveau classic driver). Signed-off-by: Brian Paul <brianp@vmware.com>
2010-11-05scons: Unify state tracker SConscriptsJakob Bornecrantz
2010-11-05scons: Move dependancy checks to the main gallium scons fileJakob Bornecrantz
2010-11-05scons: Check for libdrm_[intel|radeon] as wellJakob Bornecrantz
And run SConscripts if they are present. Also make dri depend on both drm and x11.
2010-11-05scons: Check for pkg-config before trying to use itJakob Bornecrantz
Silences warning about missing packages
2010-11-05scons: DetabifyJakob Bornecrantz
Drivers scons files for a later time
2010-11-05scons: Remove old pipebuffer SConscriptJakob Bornecrantz
2010-11-05softpipe: disable vertex texturing with draw/llvmBrian Paul
This is a temporary work around to prevent crashes with glean/glsl1 (for example) which try to do vertex shader texturing.
2010-11-05gallivm: add const qualifiers, fix comment stringBrian Paul
2010-11-05gallivm: alloca() was called too often for temporary arraysBrian Paul
Need to increment the array index to point to the last value. Before, we were calling lp_build_array_alloca() over and over for no reason.
2010-11-04i965: Silence uninitialized variable warning.Vinson Lee
Silences this GCC warning. brw_wm_fp.c: In function 'brw_wm_pass_fp': brw_wm_fp.c:966: warning: 'last_inst' may be used uninitialized in this function brw_wm_fp.c:966: note: 'last_inst' was declared here
2010-11-04i965: Silence uninitialized variable warning.Vinson Lee
Silences this GCC warning. brw_wm_fp.c: In function 'precalc_tex': brw_wm_fp.c:666: warning: 'tmpcoord.Index' may be used uninitialized in this function
2010-11-04r300/compiler: Move declaration before code.Vinson Lee
Fixes this GCC warning with linux-x86 build. radeon_dataflow.c: In function 'get_readers_normal_read_callback': radeon_dataflow.c:472: warning: ISO C90 forbids mixed declarations and code