summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2010-01-22Merge branch 'mesa_7_7_branch'Brian Paul
Conflicts: src/mesa/shader/prog_execute.c
2010-01-22mesa: re-implement _mesa_ProgramEnvParameter4fvARB() with memcpy()Brian Paul
This is faster and ensures that NaN floats get stored properly. Before, NaN values (which might be used with UP2H, UP2US, UP4B and UP4UB) weren't getting stored properly with gcc -O3. This is the second part of the fix for the piglit fp-unpack-01 failure (bug 25973).
2010-01-22mesa: use new fetch_vector1ui() function for 'unpack' GPU instructionsBrian Paul
The UP2H, UP2US, UP4B and UP4UB instructions interpret the float registers as integers. With gcc -O3 some bits were getting mixed up somewhere. This is part of the fix for the piglit fp-unpack-01 test failure (bug 25973).
2010-01-22xlib/softpipe: more buffer free fixesBrian Paul
The previous memory leak fix didn't always work properly. Now check the xm_buffer::smh field (now documented!) to see if the buffer points to shared memory.
2010-01-22Remove obsolete fileAlan Hourihane
2010-01-22gallium/aux: re-add pb_buffer_fenced.[ch] accidentally remove during mergeBrian Paul
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-22gallium/draw: apply DRAW_PIPE_FLAG_MASK to all vertex elementsBrian Paul
Depending on first/last provoking vertex either the first or last element/index may have the extra DRAW_PIPE_x flags. Mask off those bits for all vertex elements to be safe (esp. for the quad case). This may be overly cautious, but it's a cheap operation. Fixes a segfault caused by large/bogus vertex indexes otherwise.
2010-01-22gallium/draw: added comments, whitespace fixesBrian Paul
2010-01-22mesa: Add "shader/" path to #include statements in shader parser/lexer sourcesAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> Note sure why the compiler's -I paths aren't doing the job, but this is OK. Signed-off-by: Brian Paul <brianp@vmware.com>
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-22glapi: split the no-op dispatch code into new glapi_nop.c fileBrian Paul
This unclutters the glapi.c file a bit.
2010-01-22glapi: fix int->pointer conversions warnings in no-op functionsBrian Paul
2010-01-22gallium/draw: fix-up comments, whitespaceBrian Paul
2010-01-22gallium/draw: replace int with booleanBrian Paul
2010-01-22Fix PowerPC related typo in spantmp2.hRuediger Oertel
Signed-off-by: Matthias Hopf <mhopf@suse.de> Signed-off-by: Brian Paul <brianp@vmware.com>
2010-01-22r600: enable sampler lod* bitsAndre Maasikas
bits, settings derived from testing, might contain some errors...
2010-01-22r600: update vport z & clipping when depth_clamp is changedAndre Maasikas
fixes piglit depth_clamp
2010-01-22r600: fix brownbag, only align if we are dealing with cubemapAndre Maasikas
2010-01-22r600: cubemap levels seem to be aligned to 8 imagesAndre Maasikas
2010-01-22radeon/fbo: flush rendering before generating mipmapsAndre Maasikas
or maybe should flush(also) in finish_render_texture...
2010-01-22radeon/fbo: use correct depth texture offset for depth texturesAndre Maasikas
2010-01-22r600: enable draw_offsetAndre Maasikas
fixes some fbo cases (mipmaps, cube textures ..)
2010-01-22st/egl_g3d: Rename to st/egl.Chia-I Wu
Simply the name to egl.
2010-01-22winsys/drm: Update the options of mklib in Makefile.egl_g3d.Chia-I Wu
Pass -linker, -ldflags, and $(MKLIB_OPTIONS) to mklib.
2010-01-22egl: Remove egl_softpipe.Chia-I Wu
With the addition egl_x11_swrast, egl_softpipe is sort of deprecated. The new driver serves the same purpose as egl_softpipe does. It is based on egl_g3d and provides more features.
2010-01-22winsys/drm: Add swrast.Chia-I Wu
The swrast winsys always returns NULL when drm_api_create is called.
2010-01-22vmware/core: Update for pipebuffer changes.José Fonseca
In particular, delay patching GMR relocations until the buffers are validated, since the buffers relative offset can only be established then.
2010-01-21st/mesa: Remove unnecessary header from st_cb_viewport.c.Vinson Lee
2010-01-22st/egl: Remove the egl state tracker.Chia-I Wu
The egl_g3d state tracker has support for KMS, and the support is based on the egl state tracker. As egl_g3d provides more features, it should be better to keep only egl_g3d to unify the efforts.
2010-01-22egl: Remove USING_EGL and the related drivers.Chia-I Wu
They do not build for a long while and there seems to be no active users. It might be better for them to live in the git histroy.
2010-01-22egl: Remove the demo driver.Chia-I Wu
The demo driver has outdated. It is suggested to look at any of the drivers that is functioning.
2010-01-21i915g: Remove unnecessary header.Vinson Lee
2010-01-21pipebuffer: Remove unnecessary header.Vinson Lee
2010-01-22st/egl_g3d: Use glxinit.c from egl_xdri.Chia-I Wu
It is used to fetch the GLX visuals/fbconfigs. Use egl_xdri's version to avoid duplication. It might be better to rewrite that part though.
2010-01-22egl_xdri: Add support for DRISW.Chia-I Wu
Try DRISW if both DRI2 and DRI fail. It can also be forced by setting EGL_SOFTWARE. When DRISW is used, single-buffered modes are ignored.
2010-01-21draw: Remove unnecessary headers.Vinson Lee
2010-01-22egl_xdri: Flush commands on context switch and buffer swap.Chia-I Wu
The corresponding DRI functions does not flush for us.
2010-01-22egl_xdri: Report only OpenGL support.Chia-I Wu
It reported OpenGL ES support because some demos did not set EGL_RENDERABLE_TYPE correctly. The demos are fixed.
2010-01-22egl_xdri: Do not reinitialize in __glXInitialize.Chia-I Wu
__glXInitialize should return the same GLX display for the same X display. This issue is triggered by a35f6bb207efe3c959bbd16a37f2049e5aceeea9.
2010-01-22egl_glx: Report only OpenGL support.Chia-I Wu
It reported OpenGL ES support because some demos did not set EGL_RENDERABLE_TYPE correctly. The demos are fixed.
2010-01-22egl: Update driver Makefiles.Chia-I Wu
Update to use the new Makefile.template.
2010-01-22egl: Add Makefile.template for EGL drivers.Chia-I Wu
2010-01-22winsys/drm: Update Makefile.template.Chia-I Wu
Mainly to respect LDFLAGS and remove unused target $(LIBNAME_EGL). This is based on the patch by Tomáš Chvátal <scarabeus@gentoo.org>.
2010-01-21svga: Remove unused variable.Vinson Lee
2010-01-21vmware/core: Flush preemptively the FIFO commands to keep the GMR working ↵José Fonseca
set within reasonable bounds.
2010-01-21vmware/core: Put GMR pool size in a define.José Fonseca
2010-01-21vmw/wgl: Update for pipebuffer changes.José Fonseca
This is a minimum change to keep things building and running minimally -- it might cause applications to fail to allocate buffers due to out of GMR memory. A proper update will be commited later.
2010-01-21svga: Remove duplicate code.José Fonseca
2010-01-21svga: Remove unused code.José Fonseca