Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | glsl: Finish out the reduce/reduce error fixes | Ian Romanick | 2011-02-11 | 3 | -59/+109 |
| | | | | | | | | | | | | | 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. | ||||
* | glsl: Eliminate reduce/reduce conflicts in glsl grammar | Keith Packard | 2011-02-11 | 1 | -21/+71 |
| | | | | | | | | | This requires lexical disambiguation between variable and type identifiers (as most C compilers do). Signed-off-by: Keith Packard <[email protected]> NOTE: This is a candidate for the 7.9 and 7.10 branches. | ||||
* | st/mesa: Fix surfaceless opengl with non-dummy contexts | Benjamin Franzke | 2011-02-11 | 1 | -10/+5 |
| | | | | | | | 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 | ||||
* | svga: disable a debug_printf() call | Brian Paul | 2011-02-11 | 1 | -5/+9 |
| | |||||
* | svga: comments and debug code | Brian Paul | 2011-02-11 | 1 | -0/+10 |
| | |||||
* | svga: more comments for need_pipeline field | Brian Paul | 2011-02-11 | 1 | -1/+4 |
| | |||||
* | scons: Need c99 also when cross compiling. | José Fonseca | 2011-02-11 | 1 | -0/+3 |
| | |||||
* | scons: builtin_glsl_function on windows needs bundled getopt. | José Fonseca | 2011-02-11 | 4 | -5/+23 |
| | |||||
* | scons: Try to support building 64bit binaries on 32bit windows. | José Fonseca | 2011-02-11 | 4 | -15/+22 |
| | |||||
* | scons: Fix MSVC 64bit build. | José Fonseca | 2011-02-11 | 1 | -0/+8 |
| | |||||
* | mesa: remove some unused gl_shader fields | Brian Paul | 2011-02-11 | 1 | -2/+0 |
| | |||||
* | draw: tweak AA line texture minimum alpha | Brian Paul | 2011-02-11 | 1 | -1/+1 |
| | | | | | AA lines drawn as textured quads look a little better with this change. Conformance/piglit tests still pass. | ||||
* | svga: add max DMA size check in svga_winsys_buffer_create() | Brian Paul | 2011-02-11 | 1 | -0/+10 |
| | | | | | | | 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. | ||||
* | svga: remove old comment, remove extra whitespace | Brian Paul | 2011-02-11 | 1 | -4/+0 |
| | |||||
* | glsl: Fix parallel build. | Tobias Jakobi | 2011-02-11 | 1 | -1/+2 |
| | | | | | | Broken since e0c1fc32832b66b52e6352ba563288ee48a1face. Signed-off-by: Kenneth Graunke <[email protected]> | ||||
* | svga: Enable the draw pipeline for smooth lines. | José Fonseca | 2011-02-11 | 1 | -0/+5 |
| | | | | Spotted by Brian Paul. | ||||
* | svga: Don't use the draw pipeline for non-AA lines with a fractional width. | José Fonseca | 2011-02-11 | 1 | -2/+1 |
| | | | | Spotted by Jakob Bornecrantz. | ||||
* | draw: Don't use the pipeline when drawing lines with fractional widths. | José Fonseca | 2011-02-11 | 3 | -5/+6 |
| | | | | Spotted by Jakob Bornecrantz. | ||||
* | llvmpipe: Use u_math's round. | José Fonseca | 2011-02-11 | 1 | -12/+1 |
| | |||||
* | util: Define round and roundf on MSVC. | José Fonseca | 2011-02-11 | 1 | -1/+13 |
| | |||||
* | svga: Stippled lines can also be drawn with triangles. | José Fonseca | 2011-02-11 | 2 | -2/+3 |
| | |||||
* | r300g: remove unused function prototypes, update copyright | Marek Olšák | 2011-02-11 | 4 | -4/+56 |
| | |||||
* | egl_dri2: rename loader_extension to dri2_loader_extension | Haitao Feng | 2011-02-10 | 3 | -18/+18 |
| | | | | Signed-off-by: Haitao Feng <[email protected]> | ||||
* | st/egl wayland: Sync front buffer release | Benjamin Franzke | 2011-02-10 | 2 | -1/+33 |
| | |||||
* | egl_dri2 wayland: Sync front buffer release | Benjamin Franzke | 2011-02-10 | 2 | -26/+67 |
| | |||||
* | egl_dri2: Always unbind old contexts | Benjamin Franzke | 2011-02-10 | 1 | -10/+11 |
| | | | | | | This fixes __DRIdrawable refcounting. Binding a context increases their refcount, so we need to decrease it. | ||||
* | egl_dri2: Use double buffering for window surfaces | Benjamin Franzke | 2011-02-10 | 5 | -40/+110 |
| | |||||
* | st/dri: Set render_buffer in dri_fill_st_visual | Benjamin Franzke | 2011-02-10 | 1 | -2/+4 |
| | | | | | st/mesa/st_managaer.c needs render_buffer in order to determinde which buffer should be rendered to. | ||||
* | st/dri: img_from_renderbuf: Fix incorrect usage of dri_context() | Benjamin Franzke | 2011-02-10 | 1 | -1/+1 |
| | |||||
* | st/dri: Fix surfaceless gl using contexts with previous bound surfaces | Benjamin Franzke | 2011-02-10 | 1 | -2/+6 |
| | | | | | | | | | | | 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; } | ||||
* | st/egl wayland: Set color_format according to wl_visual | Benjamin Franzke | 2011-02-10 | 1 | -5/+6 |
| | |||||
* | r600g: get correct height alignment | Dave Airlie | 2011-02-11 | 1 | -3/+2 |
| | | | | useful for s3tc | ||||
* | r600g: drop two unused | 0 that are actually in word4 anyways. | Dave Airlie | 2011-02-11 | 2 | -2/+2 |
| | | | | | | these were NOPs anyways. Signed-off-by: Dave Airlie <[email protected]> | ||||
* | r600g: handle 16/32 u/s norm formats properly | Dave Airlie | 2011-02-11 | 7 | -12/+57 |
| | | | | | | | 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 <[email protected]> | ||||
* | r300g: prevent NULL pointer dereference in r300_buffer_create | Marek Olšák | 2011-02-11 | 1 | -3/+3 |
| | | | | | Should fix: https://bugs.freedesktop.org/show_bug.cgi?id=33185 | ||||
* | mesa: Remove empty header file s_trispan.h. | Kenneth Graunke | 2011-02-10 | 6 | -36/+0 |
| | |||||
* | glsl/Makefile: glcpp doesn't need libglsl.a. | Kenneth Graunke | 2011-02-10 | 1 | -1/+2 |
| | | | | | Also, add a 'glcpp' target so you can type 'make glcpp' instead of 'make glcpp/glcpp'. | ||||
* | r300g: plug a memory leak in winsys | Marek Olšák | 2011-02-11 | 1 | -0/+1 |
| | |||||
* | r300g: remove unneeded code in winsys | Marek Olšák | 2011-02-11 | 1 | -6/+0 |
| | | | | We don't need the read/write flags. | ||||
* | r300g: fix warning | Marek Olšák | 2011-02-11 | 1 | -1/+1 |
| | |||||
* | configure.ac: remove libdrm_radeon dependency for r300g and r600g | Marek Olšák | 2011-02-11 | 1 | -18/+6 |
| | |||||
* | r300g: import the last bits of libdrm and cleanup the whole thing | Marek Olšák | 2011-02-11 | 27 | -900/+737 |
| | | | | | | | | | | | | | | 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. | ||||
* | st/mesa: allow rendering to sRGB textures if EXT_fb_srgb is unsupported | Marek Olšák | 2011-02-11 | 1 | -5/+24 |
| | | | | | In this case, we always use the corresponding linear format in create_surface, therefore we should check for linear format support as well. | ||||
* | i915: Force lowering of all types of indirect array accesses in the FS | Ian Romanick | 2011-02-10 | 1 | -3/+11 |
| | | | | NOTE: This is a candidate for the 7.9 and 7.10 branches. | ||||
* | i915: Calculate partial result to temp register first | Ian Romanick | 2011-02-10 | 1 | -8/+8 |
| | | | | | | | | | | | | 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. | ||||
* | u_upload_mgr: Use PIPE_TRANSFER_FLUSH_EXPLICIT. | José Fonseca | 2011-02-10 | 1 | -2/+9 |
| | | | | This can avoid DMAing the whole buffer when just a fraction was changed. | ||||
* | scons: Disable -mstackrealign on MinGW again. | José Fonseca | 2011-02-10 | 1 | -1/+4 |
| | | | | It's still broken, however it doesn't show up on debug builds. | ||||
* | configure.ac: Fix typo | Kristian Høgsberg | 2011-02-10 | 1 | -1/+1 |
| | |||||
* | r300g: implement accelerated copy_region for compressed formats | Marek Olšák | 2011-02-10 | 1 | -0/+29 |
| | |||||
* | r300g: add a way to change texture properties arbitrarily | Marek Olšák | 2011-02-10 | 9 | -76/+104 |
| | | | | So that we can implement resource_copy on arbitrary data. |