summaryrefslogtreecommitdiff
path: root/src/mesa/main
AgeCommit message (Collapse)Author
2008-05-06implement full reference counting for vertex/fragment programsBrian
Use _mesa_reference_vert/fragprog() wherever we assign program pointers. Fixes a memory corruption bug found with glean/api2 test.
2008-05-06Add support for ATI_separate_stencil in display lists.Michal Wajdeczko
2008-05-01fix conversion of GLfloat display list IDsBrian 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-30Add 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-29mesa: adjust glBitmap coords by a small epsilonBrian 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-23drop stray includes of glapiGeorge Sapountzis
2008-04-23glcore: drop outdated sources files intented for xorgGeorge Sapountzis
2008-04-23glcore: build from mesaGeorge Sapountzis
2008-04-14only use __x86_64__, not __amd64__ (bug 15503)Brian Paul
2008-04-11commentsBrian Paul
2008-04-01fix mistakenly set ATIFragmentShader._Enabled bit (bug 15269)Roland Scheidegger
2008-03-31mesa: Free all shader program data before deleting allXiang, Haihao
shader/shader program objects to avoid memory access error.
2008-03-31Revert "mesa: separate shader program object from shader object." (bug#15244)Xiang, Haihao
This reverts commit 3ffd11f71d021f672b9bc15b3c39c155a0e2fecb.
2008-03-28fix texture/renderbuffer mix-up in test_attachment_completeness()Brian
2008-03-25implement glGet/BindAttribLocationARB() for display listsBrian
More such shader functions are needed...
2008-03-24add GL_READ_FRAMEBUFFER_BINDING_EXT case, regenerate get.c fileBrian
2008-03-22delete default programs with ctx->Driver.DeleteProgram()Brian
2008-03-21[win32] Use native aligned memory allocation functions.Michal Wajdeczko
2008-03-21Refactor PBO validate/map code.Brian
We always need to do PBO validation, so do that in core Mesa before calling driver routine.
2008-03-21include varray.h to silence warningBrian
2008-03-21add a number of PBO validate/map/unmap functionsBrian
Helper functions for (some) drivers, including swrast.
2008-03-21Fix 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-19fix IEEE_ONE definition for ICC compiler (bug 15134)Brian
2008-03-17Fix compat implementation of ffs() to return 1-based bit numbers.Andrzej Trznadel
2008-03-17mesa: avoid to unlock an unlocked array in _mesa_PopClientAttribXiang, Haihao
2008-03-17mesa: Follow GL spec to draw DEPTH_COMPONENT pixels whenXiang, Haihao
there's no depth buffer. Fix bug #11580
2008-03-09Set normalized flag for GLubyte arrays in _mesa_VertexAttribPointerNV()Markus Amsler
2008-03-09init vertex weight attrib to (1,0,0,0)Markus Amsler
2008-03-09fix __builtin_expect() definition test for IBM XLC (sf bug 1909832)Brian
2008-03-09replace // comment with /* */ (bug 14916)Brian
2008-02-29i965: use _Current pointer instead of Current pointer.Xiang, Haihao
fix double free issue(bug#14710). It also corrects glsl/bitmap demo behavior.
2008-02-28mesa: 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-25Change 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-15Fix glBindTexture crash (bug 14514)Brian
2008-02-15Trivial 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-15fix bug with generated fragment programs if vertex shader is activeRoland 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 callXiang, Haihao
if components don't match. fix #13508
2008-02-04Allow first != 0 in mesa CVA handling, and add more error checking.Eric Anholt
2008-02-02mesa: re-define NEED_SECONDARY_COLOR. fix #14310.Xiang, Haihao
2008-01-30check if fb->Delete is null (bugs 13507,14293)Brian
2008-01-22Fix some issues with glDrawBuffer(GL_NONE), bug 14198Brian
Set _ColorDrawBuffers[0] = NULL if no renderbuffers enabled. Check that _ColorDrawBuffers[0] is non-null before dereferencing in a few places.
2008-01-09fix bug 13978: glDrawBuffersARB() didn't set all necessary stateBrian
2008-01-06Replace gl_framebuffer's _ColorDrawBufferMask with _ColorDrawBufferIndexesBrian
Each array element is now a BUFFER_x token rather than a BUFFER_BIT_x bitmask. The number of active color buffers is specified by _NumColorDrawBuffers. This builds on the previous DrawBuffer changes and will help with drivers implementing GL_ARB_draw_buffers.
2008-01-06Simplify ctx->_NumColorDrawBuffers, _ColorDrawBuffers and fix bug 13835.Brian
These fields are no longer indexed by shader output. Now, we just have a simple array of renderbuffer pointers. If the shader writes to gl_FragData[i], send those colors to the N _ColorDrawBuffers. Otherwise, replicate the single gl_FragColor (or the fixed-function color) to the N _ColorDrawBuffers. A few more changes and simplifications can follow from this...
2008-01-05fix depth/1 typo in glTexImage3D proxy codeBrian
2008-01-02additional GL_COLOR_ATTACHMENTx_EXT cases (bug 13767)Brian
2008-01-01remove unneeded conditionalBrian
2008-01-01additional GL_COLOR_ATTACHMENTx_EXT cases (bug 13767)Brian
2007-12-25mesa: fix a bad cast in put_values_z24.Xiang, Haihao
The values passed to put_values_z24 are GLuint, not GLubyte. fix #13543
2007-12-20[intel] Fix and reenable (software) SGIS_generate_mipmapEric Anholt
The core problem was that _mesa_generate_mipmap was not respecting RowStride of the source image. Additionally, the intel private data associated with the images (level and face) was not being initialized for the _mesa_generate_mipmap-generated images.