| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2010-06-30 | ir_to_mesa: Fix the indexing of attributes in the program's Attributes. | Eric Anholt | |
| This fixes GetAttribLocation returning VERT_ATTRIB_GENERIC1 instead of 1, caught by glsl-dlist-getattriblocation. | |||
| 2010-06-30 | glsl2: Fix storing of dead memory in the symbol table. | Kenneth Graunke | |
| decl->identifier is part of the AST, so it doesn't live very long. Instead, add var->name which is owned by var. | |||
| 2010-06-30 | glsl2: Preprocessed source doesn't need to live past compile time. | Kenneth Graunke | |
| 2010-06-30 | glsl2: Create new talloc contexts the "right" way. | Kenneth Graunke | |
| 2010-06-30 | glsl2: Use _mesa_glsl_parse_state as the talloc parent, not glsl_shader. | Kenneth Graunke | |
| _mesa_glsl_parse_state should be the parent for all temporary allocation done while compiling a shader. glsl_shader should only be used as the parent for the shader's final IR---the _result_ of compilation. Since many IR instructions may be added or discarded during optimization passes, IR should not ever be allocated to glsl_shader directly. Done via sed -i s/talloc_parent(state)/state/g and s/talloc_parent(st)/st/g. This also removes a ton of talloc_parent calls, which may help performance. | |||
| 2010-06-30 | glsl2: Steal the live IR and free the rest of the junk. | Kenneth Graunke | |
| 2010-06-30 | llvmpipe: another null pointer check | Brian Paul | |
| 2010-06-30 | llvmpipe: use dummy tile when out of memory | Brian Paul | |
| 2010-06-30 | linker: Don't dynamically allocate slots for linked shaders | Ian Romanick | |
| The can be at most one shader per stage. There are currently only two stages. There is zero reason to dynamically size this array. | |||
| 2010-06-30 | ir_to_mesa: Tell Mesa about our choices for vertex attribute locations. | Eric Anholt | |
| 2010-06-30 | linker: Don't automatically allocate VERT_ATTRIB_GENERIC0 | Ian Romanick | |
| 2010-06-30 | glsl2: Use Mesa's gl_shader_program instead of our own struct glsl_program. | Eric Anholt | |
| This avoids more allocation and shuffling of data around. | |||
| 2010-06-30 | glsl2: Make function names and variable names be children of the node. | Eric Anholt | |
| This avoids losing their memory when the parser state is freed. | |||
| 2010-06-30 | glsl2: Move our data from a glsl_shader* on the side to the main gl_shader *. | Eric Anholt | |
| This saves recompiling at link time. gl_shader->ir is made a pointer so that we don't have to bring exec_list into mtypes.h. | |||
| 2010-06-30 | llvmpipe: added new lp_memory.[ch] files | Brian Paul | |
| Functions for using dummy tiles when we detect OOM conditions. | |||
| 2010-06-30 | draw: fix out of memory handling in polygon stipple stage | Brian Paul | |
| 2010-06-30 | glu: Fix some compiler warnings in libtess | Neil Roberts | |
| When compiled with the more aggressive compiler warnings such as -Wshadow and -Wempty-body the libtess code gives a lot more warnings. This fixes the following issues: * The 'Swap' macro tries to combine multiple statements into one and then consume the trailing semicolon by using if(1){/*...*/}else. This gives warnings because the else part ends up with an empty statement. It also seems a bit dangerous because if the semicolon were missed then it would still be valid syntax but it would just ignore the following statement. This patch replaces it with the more common idiom do { /*...*/ } while(0). * 'free' was being used as a local variable name but this shadows the global function. This has been renamed to 'free_handle' * TRUE and FALSE were being unconditionally defined. Although this isn't currently a problem it seems better to guard them with #ifndef because it's quite common for them to be defined in other headers. https://bugs.freedesktop.org/show_bug.cgi?id=28845 Signed-off-by: Brian Paul <brianp@vmware.com> | |||
| 2010-06-30 | egl: Update MaxSize when a dynamic array is grown. | Chia-I Wu | |
| 2010-06-30 | egl: Make _eglUnloadDrivers no-op on Windows. | Chia-I Wu | |
| Windows unloads DLLs before atexit. Make _eglUnloadDrivers no-op on Windows for now. | |||
| 2010-06-30 | st/egl: Manually free configs on terminate. | Chia-I Wu | |
| The configs should be FREE()ed, not free()ed. We cannot rely on _eglCleanupDisplay here. | |||
| 2010-06-30 | egl: Store screens in a dynamic array. | Chia-I Wu | |
| 2010-06-30 | egl: Store configs in a dynamic array. | Chia-I Wu | |
| 2010-06-30 | egl: Add dynamic array. | Chia-I Wu | |
| Dynamic arrays will be used to store configs and screens of a display. | |||
| 2010-06-30 | st/vega: Match MALLOC/FREE for vg_shader. | Chia-I Wu | |
| A vg_shader is destroyed with FREE. | |||
| 2010-06-30 | llvmpipe: Add a new scene state to describe scenes which only have state ↵ | José Fonseca | |
| changes. It's a rare condition, but it may happen if all primitives are clipped/culled. For now we just do a no-op rasterization, but we could bypass it. | |||
| 2010-06-30 | llvmpipe: Don't reset the bin when there's a zsbuf bound. | José Fonseca | |
| The previous rendering may have secondary effects on the zsbuf. Fixes the missing tiles on gearbox. | |||
| 2010-06-30 | st/vega: s/free/FREE for matching MALLOC/CALLOC | nobled | |
| [Manually fix a conflict in vg_context.c by Chia-I Wu] | |||
| 2010-06-30 | st/xorg: s/free/FREE for matching MALLOC/CALLOC | nobled | |
| 2010-06-30 | st/egl: Add egl-gdi target. | Chia-I Wu | |
| The target supports OpenVG on Windows with software rasterizer. The egl_g3d_loader defined by the target supports arbitrary client APIs and window systems. It is the SConscript that limits the support to OpenVG and GDI. This commit also fixes a typo in gdi backend. | |||
| 2010-06-30 | mesa: Use fpclassify for GL_OES_query_matrix on OpenBSD and NetBSD. | Chia-I Wu | |
| Patch from Brad Smith <brad@comstyle.com> The attached patch allows the GL_OES_query_matrix function to use the systems fpclassify() for OpenBSD and NetBSD. | |||
| 2010-06-29 | mesa: make the arguments in the asm statemants optional | Zack Rusin | |
| geometry shaders emit/end functions don't take any arguments | |||
| 2010-06-29 | ir_to_mesa: Add support for ir_unop_abs. | Eric Anholt | |
| 2010-06-29 | ir_to_mesa: Add support for dFdx, dFdy. | Eric Anholt | |
| 2010-06-29 | ir_to_mesa: Start adding support for texture instructions. | Eric Anholt | |
| Fixes: glsl-fs-bug25902 glsl-fs-sampler-numbering glsl-lod-bias | |||
| 2010-06-29 | glsl2: Keep the same number of components in implicit conversions. | Kenneth Graunke | |
| Fixes piglit test glsl-implicit-conversion-01. | |||
| 2010-06-29 | glsl2: Make gl_MaxDrawBuffers available in the vertex shader | Ian Romanick | |
| 2010-06-29 | glsl2: Make gl_MaxDrawBuffers available in the fragment shader | Ian Romanick | |
| 2010-06-29 | glsl2: Make gl_FragData be available in GLSL 1.10 too | Ian Romanick | |
| 2010-06-29 | glsl2: Pass MaxDrawBuffers from core Mesa into the GLSL compiler | Ian Romanick | |
| 2010-06-30 | r300g: add workaround for multiple contexts | Marek Olšák | |
| 2010-06-30 | r300g: move one flush from winsys to the context | Marek Olšák | |
| This flush happens when changing the tiling flags, and it should really be done in the context. I hope this fixes FDO bug #28630. | |||
| 2010-06-29 | llvmpipe: don't crash/assert on out of memory | Brian Paul | |
| Check for null pointers and return early, etc. | |||
| 2010-06-29 | llvmpipe: restore call to lp_setup_update_state() | Brian Paul | |
| This undoes part of commit 8be645d53a0d5d0ca50e4e9597043225e2231b6d and fixes fd.o bug 28822 as well as other regressions. The 'draw' module may issue additional state-change commands while we're inside the draw_arrays/elements() call so it's important to check for updated state at this point. | |||
| 2010-06-29 | glsl_type: Add _mesa_glsl_release_types to release all type related storage | Ian Romanick | |
| 2010-06-29 | glsl_type: All glsl_type objects live in their own talloc context | Ian Romanick | |
| 2010-06-29 | glsl_type: Record type constructors are private | Ian Romanick | |
| 2010-06-29 | glsl_type: Add get_record_instance method | Ian Romanick | |
| 2010-06-29 | glsl_type: Vector, matrix, and sampler type constructors are private | Ian Romanick | |
| 2010-06-29 | glsl_type: Make all static objects be class private | Ian Romanick | |
| 2010-06-29 | glsl2: Use talloc_strdup when generating constructor temporary names | Ian Romanick | |
