summaryrefslogtreecommitdiff
path: root/src/mesa/main
AgeCommit message (Collapse)Author
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
2009-08-05mesa/main: Add functions to clear and dirty texture objects.Chia-I Wu
This commit adds a function to clear a texture object such that there is no image data associated with it, and a function to dirty it so that it will be re-tested for completeness. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-08-05Merge branch 'mesa_7_5_branch'Brian Paul
Conflicts: src/mesa/main/state.c
2009-08-05mesa: generate GL_INVALID_OPERATION for missing z/stencil when blittingBrian Paul
If glBlitFramebuffer() is called with GL_DEPTH_BUFFER_BIT or GL_STENCIL_BUFFER_BIT and the src/dst depth/stencil buffers are absent, report an error.
2009-08-05mesa: make _mesa_clip_blit() a shared functionBrian Paul
2009-08-04mesa: added gl_shader::SourceChecksum field (for debug purposes)Brian Paul
2009-08-04mesa: added _mesa_str_checksum()Brian Paul
2009-08-04mesa: clean-up error debug/count codeBrian Paul
2009-08-04mesa: reset ErrorDebugCount to zero in glGetString()Brian Paul
2009-08-04mesa: better texture dump/debug codeBrian Paul
2009-08-04mesa: more error message info for vertex pointer functionsBrian Paul