summaryrefslogtreecommitdiff
path: root/src/mesa/main
AgeCommit message (Collapse)Author
2009-08-14Regenerate files for GL_ARB_seamless_cube_mapIan Romanick
2009-08-14Infrastructure for GL_ARB_seamless_cube_mapIan Romanick
2009-08-14Regenerate files for GL_APPLE_flush_buffer_rangeIan Romanick
2009-08-14mesa: append uniform values to the log file the first time we use a shaderBrian Paul
This info is essential to using/debugging a shader outside of its normal application.
2009-08-14Merge branch 'mesa_7_5_branch'Brian Paul
2009-08-14mesa: call _mesa_valid_to_render()Brian Paul
2009-08-14mesa: new _mesa_valid_to_render() functionBrian Paul
Tests if the current shader/program is valid and that the framebuffer is complete. To be called by glBegin, glDrawArrays, etc.
2009-08-14mesa: minor error string changesBrian Paul
2009-08-14Allow external settings of MAX_WIDTH/HEIGHT.Brian Paul
Conditionalize MAX_WIDTH / MAX_HEIGHT defines so that users can set them via CFLAGS. (cherry picked from master, commit 66bc17e80e22d8f205cc02171b1c266feab6631f)
2009-08-14mesa: move assertions in test_attachment_completeness()Brian Paul
Put the assertions after the error checks.
2009-08-14Allow external settings of MAX_WIDTH/HEIGHT.Tom Fogal
Conditionalize MAX_WIDTH / MAX_HEIGHT defines so that users can set them via CFLAGS.
2009-08-13mesa: fix some invalid memory readsBrian Paul
We were passing the address of a float to functions that would deref the pointer as an array.
2009-08-13mesa: fix warnings about locals hiding function paramsBrian Paul
2009-08-13mesa: add missing PBO mapping code in unpack_image()Brian Paul
2009-08-13main: fix some potential memory leaksBrian Paul
Allocate dlist images after error checking. Record GL_OUT_OF_MEMORY when we can't make a copy of an image.
2009-08-13mesa: fix some potential uninitialized memory referencesBrian Paul
2009-08-13mesa: s/assert/ASSERT/ in _mesa_reference_texobj()Brian Paul
We want the no-op ASSERT for non-debug builds.
2009-08-13mesa: rework error check in glGetTexLevelParameter(), remove ↵Brian Paul
tex_image_dimensions()
2009-08-13mesa: if maxLevels==0, target is invalidBrian Paul
2009-08-13mesa: add extension checks in _mesa_max_texture_levels()Brian Paul
2009-08-13mesa: minor clean-ups in bumpmap functionsBrian Paul
2009-08-13mesa: use _mesa_get_current_tex_unit() in more placesBrian Paul
2009-08-13mesa: refactor: move _mesa_is_color/depth/stencil_format() helpers to image.cBrian Paul
2009-08-13mesa: move _mesa_Get[Compressed]TexImage() to texgetimage.cBrian Paul
All the glGetTexImage code is in one file now.
2009-08-13mesa: short-circuit no-change in _mesa_DepthRange()Brian Paul
2009-08-12Merge branch 'new-frag-attribs'Brian Paul
This branch introduces new FRAG_ATTRIB_FACE and FRAG_ATTRIB_PNTC fragment program inputs for GLSL gl_FrontFacing and gl_PointCoord. Before, these attributes were packed with the FOG attribute. That made things complicated elsewhere.
2009-08-12mesa: const qualifiersBrian Paul
2009-08-12mesa: use _mesa_is_bufferobj()Brian Paul
2009-08-12mesa: use _mesa_is_bufferobj()Brian Paul
2009-08-12mesa: new _mesa_is_bufferobj() functionBrian Paul
Tests if the given buffer object is a user-created, non-default buffer object. Use this instead of testing bufferobj->Name != 0.
2009-08-11mesa: remove _mesa_set_vp_override() from _mesa_Bitmap()Brian Paul
This reverts part of commit 2c9812e3d346eb07180da520909b142e8afc1c59. The calls to _mesa_set_vp_override() were causing extra state validation and caused the gallium state tracker's bitmap cache to get flushed on every call.
2009-08-10mesa: added GLcontext::Meta field for meta rendering stateBrian Paul
2009-08-08mesa: update framebuffer status as needed in _mesa_source/dest_buffer_exists()Brian Paul
2009-08-08mesa: simplify glPushAttrib() list building codeBrian Paul
2009-08-08mesa: remove old, prototype codeBrian Paul
2009-08-08mesa: use _mesa_bufferobj_mapped()Brian Paul
2009-08-07mesa: use _mesa_set_vp_override() in glDraw/CopyPixels and glBitmapBrian Paul
We don't use the vertex program in these functions and the driver may install its own. This fixes the broken glCopyPixels swrast fallback in i965 and possibly other drivers. In particular, glCopyPixels sometimes didn't work because the fixed-function fragment program was replacing all fragment colors with the current raster color.
2009-08-07mesa: reformat code to allow setting breakpoints on the true-statementBrian Paul
2009-08-07mesa: use _mesa_bufferobj_mapped()Brian Paul
2009-08-07mesa: new _mesa_bufferobj_mapped() helper functionBrian Paul
2009-08-07mesa: use valid_fragment_program() helperBrian Paul
2009-08-07mesa: test DrawBuffer, not ReadBuffer in _mesa_dest_buffer_exists()Brian Paul
Also, update comments.
2009-08-07mesa: fix some incorrect error checks in _mesa_error_check_format_type()Brian Paul
Plus, simplify the code a bit.
2009-08-07mesa: do error checking on glCopyPixels() type parameterBrian Paul
Plus, move some other error checks before state validation and update some comments.
2009-08-07mesa: use a more logical flag in _mesa_set_vp_override()Brian Paul
2009-08-07mesa: new _mesa_copy_client_array() functionBrian Paul
2009-08-07mesa: fix commentBrian Paul
2009-08-06GL_ARB_vertex_array_bgra is (basically) a synonym for the EXT versionIan Romanick
2009-08-06Ensure GL_EXT_blend_equation_separate is enabled when 2.0 is enabled.Alan Hourihane
2009-08-06Ensure GL_EXT_blend_equation_separate is enabled when 2.0 is enabled.Alan Hourihane