Age | Commit message (Collapse) | Author | |
---|---|---|---|
2008-06-02 | [texenvprogram] Fix refcounting-related memory leak. | Nicolai Haehnle | |
All newly created programs have RefCount == 1, but the fragment program cache added an additional reference in cache_item, with the result being that none of the programs were ever freed. Solve the problem by not creating the additional reference in cache_item. | |||
2008-05-29 | Use the GLuint64EXT type defined by GL_EXT_timer_query | Brian Paul | |
Removes some compiler #ifdef stuff. | |||
2008-05-27 | set version string to 7.1 rc1 | Brian Paul | |
2008-05-19 | Fix program refcounting assertion failure during context tear-down | Brian Paul | |
When purging the program hash table, the refcount _should_ be one since the program is referenced by the hash table. Need to explicitly set to zero before calling delete(). Also, purge high-level shader hash tables before low-level program hash tables. | |||
2008-05-14 | Updated GLSL uniform/sampler handling from gallium-0.1 branch | Brian Paul | |
Previously, the shader linker combined the uniforms used by the vertex and fragment shaders into a combined set of uniforms. This made the implementation of glUniform*() simple, but was rather inefficient otherwise. Now each shader gets its own set of uniforms (no more modelview matrix showing up in the fragment shader uniforms, for example). cherry-picked by hand from gallium-0.1 branch | |||
2008-05-09 | Revert "mesa/intel: map/unmap texture objects around mipmap generation ↵ | Dave Airlie | |
function." This reverts commit c50ffc4cb89b67ae59208eb72cdb664c846ba987. I'll fix this using the mipmap hooks I just picked from gallium-0.1 | |||
2008-05-09 | Remove unused texunit parameter to ctx->Driver.GenerateMipmap() | Brian | |
(cherry picked from commit c3395f4473c8fdf75d04c0dd72e687bc8d8127a7) | |||
2008-05-09 | Added ctx->Driver.GenerateMipmap() driver hook | Dave Airlie | |
(cherry picked from commit 4c2f3dbca940f289e67248682b84a3516d5a3031) Conflicts: src/mesa/drivers/common/driverfuncs.c | |||
2008-05-09 | mesa/intel: map/unmap texture objects around mipmap generation function. | Dave Airlie | |
This at least stops the compiz brain explosion we were seeing, I do wonder though if we should somehow be calling intel_generate_mipmap somehow. | |||
2008-05-07 | fix refcounting bugs in tnl/tex program caches | Brian Paul | |
2008-05-06 | implement full reference counting for vertex/fragment programs | Brian | |
Use _mesa_reference_vert/fragprog() wherever we assign program pointers. Fixes a memory corruption bug found with glean/api2 test. | |||
2008-05-06 | Add support for ATI_separate_stencil in display lists. | Michal Wajdeczko | |
2008-05-01 | fix conversion of GLfloat display list IDs | Brian Paul | |
Use floor() to convert to int (per Mark Kildard and the SI). Also, change translate_id() to return a signed integer since we may be offsetting from GL_LIST_BASE. | |||
2008-04-30 | Add support for GL_REPLACE_EXT texture env mode. | Brian Paul | |
GL_REPLACE_EXT comes from the ancient GL_EXT_texture extension. Found an old demo that actually uses it. The values of the GL_REPLACE and GL_REPLACE_EXT tokens is different, unfortunately. | |||
2008-04-29 | mesa: adjust glBitmap coords by a small epsilon | Brian Paul | |
Fixes problem with bitmaps jumping around by one pixel depending on window size. The rasterpos is often X.9999 instead of X+1. Run progs/redbook/drawf and resize window to check. Cherry picked from gallium-0.1 branch | |||
2008-04-23 | drop stray includes of glapi | George Sapountzis | |
2008-04-23 | glcore: drop outdated sources files intented for xorg | George Sapountzis | |
2008-04-23 | glcore: build from mesa | George Sapountzis | |
2008-04-14 | only use __x86_64__, not __amd64__ (bug 15503) | Brian Paul | |
2008-04-11 | comments | Brian Paul | |
2008-04-01 | fix mistakenly set ATIFragmentShader._Enabled bit (bug 15269) | Roland Scheidegger | |
2008-03-31 | mesa: Free all shader program data before deleting all | Xiang, Haihao | |
shader/shader program objects to avoid memory access error. | |||
2008-03-31 | Revert "mesa: separate shader program object from shader object." (bug#15244) | Xiang, Haihao | |
This reverts commit 3ffd11f71d021f672b9bc15b3c39c155a0e2fecb. | |||
2008-03-28 | fix texture/renderbuffer mix-up in test_attachment_completeness() | Brian | |
2008-03-25 | implement glGet/BindAttribLocationARB() for display lists | Brian | |
More such shader functions are needed... | |||
2008-03-24 | add GL_READ_FRAMEBUFFER_BINDING_EXT case, regenerate get.c file | Brian | |
2008-03-22 | delete default programs with ctx->Driver.DeleteProgram() | Brian | |
2008-03-21 | [win32] Use native aligned memory allocation functions. | Michal Wajdeczko | |
2008-03-21 | Refactor PBO validate/map code. | Brian | |
We always need to do PBO validation, so do that in core Mesa before calling driver routine. | |||
2008-03-21 | include varray.h to silence warning | Brian | |
2008-03-21 | add a number of PBO validate/map/unmap functions | Brian | |
Helper functions for (some) drivers, including swrast. | |||
2008-03-21 | Fix some PBO breakage. | Brian | |
In _mesa_Bitmap, can't early return if bitmap ptr is NULL, it may be an offset into a PBO. Similarly for _mesa_GetTexImage. | |||
2008-03-19 | fix IEEE_ONE definition for ICC compiler (bug 15134) | Brian | |
2008-03-17 | Fix compat implementation of ffs() to return 1-based bit numbers. | Andrzej Trznadel | |
2008-03-17 | mesa: avoid to unlock an unlocked array in _mesa_PopClientAttrib | Xiang, Haihao | |
2008-03-17 | mesa: Follow GL spec to draw DEPTH_COMPONENT pixels when | Xiang, Haihao | |
there's no depth buffer. Fix bug #11580 | |||
2008-03-09 | Set normalized flag for GLubyte arrays in _mesa_VertexAttribPointerNV() | Markus Amsler | |
2008-03-09 | init vertex weight attrib to (1,0,0,0) | Markus Amsler | |
2008-03-09 | fix __builtin_expect() definition test for IBM XLC (sf bug 1909832) | Brian | |
2008-03-09 | replace // comment with /* */ (bug 14916) | Brian | |
2008-02-29 | i965: use _Current pointer instead of Current pointer. | Xiang, Haihao | |
fix double free issue(bug#14710). It also corrects glsl/bitmap demo behavior. | |||
2008-02-28 | mesa: separate shader program object from shader object. | Xiang, Haihao | |
Currently a callback delete_shader_cb is used for deleting shader and shader program objects. Mesa detaches all attached shaders in _mesa_free_shader_program_data when deleting shader program objects. However it is likely that these shaders have been freed in _mesa_free_shader, which will result in unexpected behaviour. This fix uses a single callback for shader program objects and deletes shader program objects before shader objects. | |||
2008-02-25 | Change GetCompressedTexImage in dd_function_table to not take const pointers. | Kristian Høgsberg | |
They're changed by the intel driver implementation and thus not const. Fixes compilation warning. | |||
2008-02-15 | Fix glBindTexture crash (bug 14514) | Brian | |
2008-02-15 | Trivial SELinux awareness. Enable with --enable-selinux. | Adam Jackson | |
Avoids AVC warnings when allocating executable memory by first checking if the current process has permission to do so. | |||
2008-02-15 | fix bug with generated fragment programs if vertex shader is active | Roland Scheidegger | |
When generating a fragment program from fixed function, checking texUnit->_ReallyEnabled is not sufficient, need texUnit->Enabled too since the former also represents texture enables from an active vertex shader. | |||
2008-02-13 | _mesa_swizzle_ubyt_image: Don't use single swizzle_copy call | Xiang, Haihao | |
if components don't match. fix #13508 | |||
2008-02-04 | Allow first != 0 in mesa CVA handling, and add more error checking. | Eric Anholt | |
2008-02-02 | mesa: re-define NEED_SECONDARY_COLOR. fix #14310. | Xiang, Haihao | |
2008-01-30 | check if fb->Delete is null (bugs 13507,14293) | Brian | |