summaryrefslogtreecommitdiff
path: root/src/mesa/main
AgeCommit message (Collapse)Author
2010-02-03mesa: add out of bounds assertions for accessing texture matrix stackBrian Paul
2010-02-03mesa: Factor out the fb initialization details from _mesa_new_framebuffer.Francisco Jerez
This should make things easier for drivers wanting to work with a "subclass" of gl_framebuffer. The complementary "_mesa_initialize_framebuffer" function is now called "_mesa_initialize_window_framebuffer" for the sake of symmetry. Signed-off-by: Brian Paul <brianp@vmware.com>
2010-02-02mesa: Add a BITSET_FFS function.Francisco Jerez
It will be useful for the nouveau DRI driver and IMHO there's no reason to keep it private. Signed-off-by: Brian Paul <brianp@vmware.com>
2010-02-01mesa: Remove unnecessary headers.Vinson Lee
2010-01-31mesa: Remove unnecessary headers.Vinson Lee
2010-01-29Merge commit 'lb2/arb_fragment_coord_conventions'Keith Whitwell
2010-01-29mesa: do state validation in _mesa_valid_to_render()Brian Paul
...rather than checking/validating before all the calls to _mesa_valid_to_render() and valid_to_render(). The next patch will actually fix some bugs... (cherry picked from commit 23eda89ec89e2bd5bc26077bd56e8d6b5d4040d4)
2010-01-29mesa: don't expose GL_ARB_fragment_coord_conventions until the GLSL part is doneLuca Barbieri
Exposing it was incorrect, as the GLSL part of the extension is missing. We still keep the ARB_fragment_coord_conventions field, so that the ARBfp parser can know whether to accept or reject the keywords.
2010-01-27mesa: fix double->float assignment warningsBrian Paul
Reported by Karl Schultz.
2010-01-27mesa: fix int/uint comparison warningsBrian Paul
Reported by Karl Schultz.
2010-01-27mesa: more info in glActiveTexture error msgBrian Paul
2010-01-26Merge branch 'mesa_7_7_branch'Brian Paul
Merging was easier than cherry picking in this instance.
2010-01-26mesa: Don't bind DRAW/READ_FRAMEBUFFER separately without FBO blit supportErik Wien
If GL_EXT_framebuffer_blit was not supported _mesa_DeleteFramebuffersEXT would raise an error when deleting the currently bound framebuffer. This because it tried to bind the default DRAW- and READ_FRAMEBUFFER separately. This patch binds the default FRAMEBUFFER instead in that case. Encountered in the fbo/fbo-copyteximage piglit test on R600. Patch cleaned up a bit by Brian Paul.
2010-01-26mesa: remove redundant _MaxElement computationBrian Paul
Eric added some new code to check if offset < obj_size before computing _MaxElement but my original code was still present afterward and it clobbered the _MaxElement value. Not sure if this came from a bad merge or what.
2010-01-25Merge branch 'mesa_7_7_branch'Brian Paul
Conflicts: src/mesa/drivers/dri/intel/intel_screen.c src/mesa/drivers/dri/intel/intel_swapbuffers.c src/mesa/drivers/dri/r300/r300_emit.c src/mesa/drivers/dri/r300/r300_ioctl.c src/mesa/drivers/dri/r300/r300_tex.c src/mesa/drivers/dri/r300/r300_texstate.c
2010-01-24mesa: move _mesa_debug() call earlier in _mesa_ScissorBrian Paul
Part of a patch from Xavier Chantry <chantry.xavier@gmail.com>
2010-01-23Merge branch 'arb_half_float_vertex'Dave Airlie
2010-01-23mesa: add core support for ARB_half_float_vertex.Dave Airlie
Adds the extension to the list + support to the APIs. also add t_draw.c support to convert for sw rast. Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-01-23glapi: add GL_HALF_FLOAT enum support.Dave Airlie
Regenerate enums files and GLX indirect. Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-01-22Merge branch 'mesa_7_7_branch'Brian Paul
Conflicts: src/gallium/auxiliary/draw/draw_context.c src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline.c src/gallium/auxiliary/pipebuffer/Makefile src/gallium/auxiliary/pipebuffer/SConscript src/gallium/auxiliary/pipebuffer/pb_buffer_fenced.c src/gallium/auxiliary/tgsi/tgsi_scan.c src/gallium/drivers/i915/i915_surface.c src/gallium/drivers/i915/i915_texture.c src/gallium/drivers/llvmpipe/lp_setup.c src/gallium/drivers/llvmpipe/lp_tex_sample_c.c src/gallium/drivers/llvmpipe/lp_texture.c src/gallium/drivers/softpipe/sp_prim_vbuf.c src/gallium/state_trackers/xorg/xorg_dri2.c src/gallium/winsys/drm/intel/gem/intel_drm_api.c src/gallium/winsys/drm/nouveau/drm/nouveau_drm_api.c src/gallium/winsys/drm/radeon/core/radeon_drm.c src/gallium/winsys/drm/vmware/core/vmw_screen_dri.c src/mesa/state_tracker/st_cb_clear.c
2010-01-22glapi: clean-up and simplify glapi_nop.c codeBrian Paul
Removed _glapi_noop_enable_warnings() and _glapi_set_warning_func(). Just check the DEBUG env vars and call fprintf(stderr) with a warning message instead.
2010-01-21mesa: minor whitespace fixBrian Paul
2010-01-21mesa: support for GL_ARB_fragment_coord_conventionsLuca Barbieri
Signed-off-by: Brian Paul <brianp@vmware.com>
2010-01-20mesa: replace questionable CPU_TO_LE32 macro with functionBrian Paul
2010-01-20Merge remote branch 'origin/opengl-es-v2'Chia-I Wu
2010-01-19mesa: added comment about future FBO formatsBrian Paul
2010-01-19Sun compilers now support some gcc __attribute__ valuesAlan Coopersmith
Sun cc 5.9 and later (__SUNPRO_C >= 0x590) support __attribute__ calls for aligned, always_inline, noinline, pure, const, and malloc. This commit includes updates to files that were regenerated by gl_XML.py after adding the __SUNPRO_C checks to it Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> Signed-off-by: Brian Paul <brianp@vmware.com>
2010-01-18mesa: Remove unnecessary header from attrib.c.Vinson Lee
2010-01-18mesa: Remove unnecessary header from blend.c.Vinson Lee
2010-01-18mesa: Remove unnecessary headers from buffers.c.Vinson Lee
2010-01-18mesa: Remove unnecessary header from convolve.c.Vinson Lee
2010-01-18mesa: Fix typo of 'unknown' in debug.c.Vinson Lee
2010-01-18mesa: Remove unnecessary headers from debug.c.Vinson Lee
2010-01-18mesa: Remove unnecessary header from depthstencil.c.Vinson Lee
2010-01-18mesa: Remove unnecessary headers from dlist.c.Vinson Lee
2010-01-18mesa: Remove unnecessary header from drawpix.c.Vinson Lee
2010-01-18mesa: Remove unnecessary header from enable.c.Vinson Lee
2010-01-18mesa: Remove unnecessary headers from fbobject.c.Vinson Lee
2010-01-18mesa: Remove unnecessary header from formats.c.Vinson Lee
2010-01-18mesa: Remove unnecessary header from image.c.Vinson Lee
2010-01-18mesa: Remove unnecessary headers from lines.c.Vinson Lee
2010-01-18mesa: Remove unnecessary header from mipmap.c.Vinson Lee
2010-01-18mesa: Remove unnecessary header from pixel.c.Vinson Lee
2010-01-18mesa: Remove unnecessary headers from pixelstore.c.Vinson Lee
2010-01-18mesa: Remove unnecessary header from points.c.Vinson Lee
2010-01-18mesa: Remove unnecessary header from polygon.c.Vinson Lee
2010-01-18mesa: Remove unnecessary header from state.c.Vinson Lee
2010-01-18mesa: Remove unnecessary headers from texcompress.c.Vinson Lee
2010-01-18mesa: Remove unnecessary headers from texformat.c.Vinson Lee
2010-01-18mesa: Remove unnecessary headers from texgetimage.c.Vinson Lee