summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
Commit message (Collapse)AuthorAgeFilesLines
* fix texture/renderbuffer mix-up in test_attachment_completeness()Brian2008-03-281-1/+1
|
* implement glGet/BindAttribLocationARB() for display listsBrian2008-03-251-0/+26
| | | | More such shader functions are needed...
* add GL_READ_FRAMEBUFFER_BINDING_EXT case, regenerate get.c fileBrian2008-03-242-0/+65
|
* delete default programs with ctx->Driver.DeleteProgram()Brian2008-03-221-2/+2
|
* [win32] Use native aligned memory allocation functions.Michal Wajdeczko2008-03-211-0/+18
|
* Refactor PBO validate/map code.Brian2008-03-213-76/+74
| | | | We always need to do PBO validation, so do that in core Mesa before calling driver routine.
* include varray.h to silence warningBrian2008-03-211-1/+1
|
* add a number of PBO validate/map/unmap functionsBrian2008-03-212-4/+222
| | | | Helper functions for (some) drivers, including swrast.
* Fix some PBO breakage.Brian2008-03-212-11/+6
| | | | | In _mesa_Bitmap, can't early return if bitmap ptr is NULL, it may be an offset into a PBO. Similarly for _mesa_GetTexImage.
* fix IEEE_ONE definition for ICC compiler (bug 15134)Brian2008-03-191-3/+3
|
* Fix compat implementation of ffs() to return 1-based bit numbers.Andrzej Trznadel2008-03-171-0/+1
|
* mesa: avoid to unlock an unlocked array in _mesa_PopClientAttribXiang, Haihao2008-03-171-1/+1
|
* mesa: Follow GL spec to draw DEPTH_COMPONENT pixels whenXiang, Haihao2008-03-171-2/+1
| | | | there's no depth buffer. Fix bug #11580
* Set normalized flag for GLubyte arrays in _mesa_VertexAttribPointerNV()Markus Amsler2008-03-091-1/+2
|
* init vertex weight attrib to (1,0,0,0)Markus Amsler2008-03-091-1/+1
|
* fix __builtin_expect() definition test for IBM XLC (sf bug 1909832)Brian2008-03-091-1/+1
|
* replace // comment with /* */ (bug 14916)Brian2008-03-091-1/+1
|
* i965: use _Current pointer instead of Current pointer.Xiang, Haihao2008-02-291-1/+2
| | | | fix double free issue(bug#14710). It also corrects glsl/bitmap demo behavior.
* mesa: separate shader program object from shader object.Xiang, Haihao2008-02-282-9/+17
| | | | | | | | | 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.
* Change GetCompressedTexImage in dd_function_table to not take const pointers.Kristian Høgsberg2008-02-253-6/+6
| | | | | They're changed by the intel driver implementation and thus not const. Fixes compilation warning.
* Fix glBindTexture crash (bug 14514)Brian2008-02-151-1/+3
|
* Trivial SELinux awareness. Enable with --enable-selinux.Adam Jackson2008-02-151-3/+19
| | | | | Avoids AVC warnings when allocating executable memory by first checking if the current process has permission to do so.
* fix bug with generated fragment programs if vertex shader is activeRoland Scheidegger2008-02-151-2/+2
| | | | | | | 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.
* _mesa_swizzle_ubyt_image: Don't use single swizzle_copy callXiang, Haihao2008-02-131-0/+1
| | | | if components don't match. fix #13508
* Allow first != 0 in mesa CVA handling, and add more error checking.Eric Anholt2008-02-043-9/+27
|
* mesa: re-define NEED_SECONDARY_COLOR. fix #14310.Xiang, Haihao2008-02-021-0/+2
|
* check if fb->Delete is null (bugs 13507,14293)Brian2008-01-301-1/+6
|
* Fix some issues with glDrawBuffer(GL_NONE), bug 14198Brian2008-01-221-0/+3
| | | | | Set _ColorDrawBuffers[0] = NULL if no renderbuffers enabled. Check that _ColorDrawBuffers[0] is non-null before dereferencing in a few places.
* fix bug 13978: glDrawBuffersARB() didn't set all necessary stateBrian2008-01-091-0/+2
|
* Replace gl_framebuffer's _ColorDrawBufferMask with _ColorDrawBufferIndexesBrian2008-01-063-82/+60
| | | | | | | 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.
* Simplify ctx->_NumColorDrawBuffers, _ColorDrawBuffers and fix bug 13835.Brian2008-01-063-30/+76
| | | | | | | | | | | 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...
* fix depth/1 typo in glTexImage3D proxy codeBrian2008-01-051-3/+3
|
* additional GL_COLOR_ATTACHMENTx_EXT cases (bug 13767)Brian2008-01-021-0/+8
|
* remove unneeded conditionalBrian2008-01-011-2/+3
|
* additional GL_COLOR_ATTACHMENTx_EXT cases (bug 13767)Brian2008-01-011-0/+8
|
* mesa: fix a bad cast in put_values_z24.Xiang, Haihao2007-12-251-1/+1
| | | | | The values passed to put_values_z24 are GLuint, not GLubyte. fix #13543
* [intel] Fix and reenable (software) SGIS_generate_mipmapEric Anholt2007-12-202-40/+46
| | | | | | | 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.
* fix NEED_SECONDARY_COLOR for vert/frag progsBrian2007-12-181-4/+4
|
* Fix endianness bug in _mesa_texstore_argb8888()Brian2007-12-051-11/+13
| | | | | | | On big-endian, storing in _mesa_texformat_argb8888 format produced wrong res Also, clean-up nearby code to match. picked from gallium-0.1 branch
* fix DD_TRI_LIGHT_TWOSIDE bug (#13368)Brian2007-12-031-4/+4
|
* fix broken two-sided stencilBrian2007-11-302-7/+0
|
* Merge branch 'master' of git+ssh://[email protected]/git/mesa/mesajoukj2007-11-306-157/+110
|\
| * New ctx->Driver.Map/UnmapTexture() functions for accessing textures from ↵Brian2007-11-292-1/+6
| | | | | | | | t_vb_program.c
| * check for texture and renderbuffer in check_end_texture_render()Brian2007-11-091-2/+1
| |
| * alias ProgramEnvParameter4xyARB and ProgramParameter4xyNV (bug #12935)Roland Scheidegger2007-11-093-152/+100
| | | | | | | | these should be the same functions (as per spec).
| * check for count==0 in _mesa_validate_DrawArrays()Brian2007-10-311-2/+3
| |
* | Merge branch 'master' of git+ssh://[email protected]/git/mesa/mesaJouk2007-10-317-764/+789
|\|
| * Alias glStencilOpSeparateATI with glStencilOpSeparate.Brian2007-10-303-76/+29
| |
| * Finish up ATI_separate_stencilBrian2007-10-304-768/+757
| | | | | | | | | | | | Add entrypoints to glapi XML file and regenerate files. Implement glStencilOpSeparateATI(). Consolidate some code in stencil.c
| * add missing _mesa_StencilFuncSeparateATI functionRoland Scheidegger2007-10-302-0/+77
| |