summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-02-12u_vbuf_mgr: fix segfaultMarek Olšák
max_index could have been less than min_index, which later caused integer underflow followed by a segfault in memcpy.
2011-02-11ir_to_mesa: Don't dereference a NULL pointer during copy propagationIan Romanick
The ACP may already be NULL, so don't try to make it NULL again. This should fix bugzilla #34119.
2011-02-11glcpp: regerated filesIan Romanick
These should have been committed right after fd1252ab, but they were missed. Soon, we'll never have to do this again...
2011-02-11glsl: Regenerate files modified by previous commitsIan Romanick
2011-02-11glsl: Finish out the reduce/reduce error fixesIan Romanick
Track variables, functions, and types during parsing. Use this information in the lexer to return the currect "type" for identifiers. Change the handling of structure constructors. They will now show up in the AST as constructors (instead of plain function calls). Fixes piglit tests constructor-18.vert, constructor-19.vert, and constructor-20.vert. Also fixes bugzilla #29926. NOTE: This is a candidate for the 7.9 and 7.10 branches.
2011-02-11glsl: Eliminate reduce/reduce conflicts in glsl grammarKeith Packard
This requires lexical disambiguation between variable and type identifiers (as most C compilers do). Signed-off-by: Keith Packard <keithp@keithp.com> NOTE: This is a candidate for the 7.9 and 7.10 branches.
2011-02-11st/mesa: Fix surfaceless opengl with non-dummy contextsBenjamin Franzke
main/context.c:check_complatible() detecs an incomplete framebuffer using its pointer, so do not copy it. This should fix https://bugs.freedesktop.org/show_bug.cgi?id=34042
2011-02-11svga: disable a debug_printf() callBrian Paul
2011-02-11svga: comments and debug codeBrian Paul
2011-02-11svga: more comments for need_pipeline fieldBrian Paul
2011-02-11scons: Need c99 also when cross compiling.José Fonseca
2011-02-11scons: builtin_glsl_function on windows needs bundled getopt.José Fonseca
2011-02-11scons: Try to support building 64bit binaries on 32bit windows.José Fonseca
2011-02-11scons: Fix MSVC 64bit build.José Fonseca
2011-02-11mesa: remove some unused gl_shader fieldsBrian Paul
2011-02-11draw: tweak AA line texture minimum alphaBrian Paul
AA lines drawn as textured quads look a little better with this change. Conformance/piglit tests still pass.
2011-02-11svga: add max DMA size check in svga_winsys_buffer_create()Brian Paul
This fixes a problem when trying to use large (2K x 2K) texture images. We'll DMA the image in chunks. Patch written by Jose.
2011-02-11svga: remove old comment, remove extra whitespaceBrian Paul
2011-02-11glsl: Fix parallel build.Tobias Jakobi
Broken since e0c1fc32832b66b52e6352ba563288ee48a1face. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
2011-02-11svga: Enable the draw pipeline for smooth lines.José Fonseca
Spotted by Brian Paul.
2011-02-11svga: Don't use the draw pipeline for non-AA lines with a fractional width.José Fonseca
Spotted by Jakob Bornecrantz.
2011-02-11draw: Don't use the pipeline when drawing lines with fractional widths.José Fonseca
Spotted by Jakob Bornecrantz.
2011-02-11llvmpipe: Use u_math's round.José Fonseca
2011-02-11util: Define round and roundf on MSVC.José Fonseca
2011-02-11svga: Stippled lines can also be drawn with triangles.José Fonseca
2011-02-11r300g: remove unused function prototypes, update copyrightMarek Olšák
2011-02-10egl_dri2: rename loader_extension to dri2_loader_extensionHaitao Feng
Signed-off-by: Haitao Feng <haitao.feng@intel.com>
2011-02-10st/egl wayland: Sync front buffer releaseBenjamin Franzke
2011-02-10egl_dri2 wayland: Sync front buffer releaseBenjamin Franzke
2011-02-10egl_dri2: Always unbind old contextsBenjamin Franzke
This fixes __DRIdrawable refcounting. Binding a context increases their refcount, so we need to decrease it.
2011-02-10egl_dri2: Use double buffering for window surfacesBenjamin Franzke
2011-02-10st/dri: Set render_buffer in dri_fill_st_visualBenjamin Franzke
st/mesa/st_managaer.c needs render_buffer in order to determinde which buffer should be rendered to.
2011-02-10st/dri: img_from_renderbuf: Fix incorrect usage of dri_context()Benjamin Franzke
2011-02-10st/dri: Fix surfaceless gl using contexts with previous bound surfacesBenjamin Franzke
ctx->dPriv might be != NULL then draw which is NULL is accessed: struct dri_drawable *draw = dri_drawable(driDrawPriv); [..] if (ctx->dPriv != driDrawPriv) { ctx->dPriv = driDrawPriv; draw->texture_stamp = driDrawPriv->lastStamp - 1; }
2011-02-10st/egl wayland: Set color_format according to wl_visualBenjamin Franzke
2011-02-11r600g: get correct height alignmentDave Airlie
useful for s3tc
2011-02-11r600g: drop two unused | 0 that are actually in word4 anyways.Dave Airlie
these were NOPs anyways. Signed-off-by: Dave Airlie <airlied@redhat.com>
2011-02-11r600g: handle 16/32 u/s norm formats properlyDave Airlie
add support for the 32-bit types, also fixup the export setting to handle types with channels > 11 bits properly Signed-off-by: Dave Airlie <airlied@redhat.com>
2011-02-11r300g: prevent NULL pointer dereference in r300_buffer_createMarek Olšák
Should fix: https://bugs.freedesktop.org/show_bug.cgi?id=33185
2011-02-10mesa: Remove empty header file s_trispan.h.Kenneth Graunke
2011-02-10glsl/Makefile: glcpp doesn't need libglsl.a.Kenneth Graunke
Also, add a 'glcpp' target so you can type 'make glcpp' instead of 'make glcpp/glcpp'.
2011-02-11r300g: plug a memory leak in winsysMarek Olšák
2011-02-11r300g: remove unneeded code in winsysMarek Olšák
We don't need the read/write flags.
2011-02-11r300g: fix warningMarek Olšák
2011-02-11configure.ac: remove libdrm_radeon dependency for r300g and r600gMarek Olšák
2011-02-11r300g: import the last bits of libdrm and cleanup the whole thingMarek Olšák
Based on Dave's branch. The majority of this commit is a cleanup, mainly renaming things. There wasn't much code to import, just ioctl calls. Also done: - implemented unsynchronized bo_map (important optimization!) - radeon_bo_is_referenced_by_cs is no longer a refcount hack - dropped the libdrm_radeon dependency I'm surprised that this has resulted in less code in the end.
2011-02-11st/mesa: allow rendering to sRGB textures if EXT_fb_srgb is unsupportedMarek Olšák
In this case, we always use the corresponding linear format in create_surface, therefore we should check for linear format support as well.
2011-02-10i915: Force lowering of all types of indirect array accesses in the FSIan Romanick
NOTE: This is a candidate for the 7.9 and 7.10 branches.
2011-02-10i915: Calculate partial result to temp register firstIan Romanick
Previously the SNE and SEQ instructions would calculate the partial result to the destination register. This would cause problems if the destination register was also one of the source registers. Fixes piglit tests glsl-fs-any, glsl-fs-struct-equal, glsl-fs-struct-notequal, glsl-fs-vec4-operator-equal, glsl-fs-vec4-operator-notequal. NOTE: This is a candidate for the 7.9 and 7.10 branches.
2011-02-10u_upload_mgr: Use PIPE_TRANSFER_FLUSH_EXPLICIT.José Fonseca
This can avoid DMAing the whole buffer when just a fraction was changed.