mesa.git
14 years agonouveau/winsys: be nice and close the device on destroy
Marcin Slusarz [Sun, 17 Jan 2010 22:51:22 +0000 (23:51 +0100)]
nouveau/winsys: be nice and close the device on destroy

14 years agonouveau: fix winsys object leak
Marcin Slusarz [Sun, 17 Jan 2010 22:50:50 +0000 (23:50 +0100)]
nouveau: fix winsys object leak

14 years agonv50: fix handling of FragCoord input
Christoph Bumiller [Sun, 24 Jan 2010 13:22:41 +0000 (14:22 +0100)]
nv50: fix handling of FragCoord input

14 years agonv50: only flush texture caches on st request
Christoph Bumiller [Sat, 23 Jan 2010 17:35:27 +0000 (18:35 +0100)]
nv50: only flush texture caches on st request

14 years agonv50: implement render_condition
Christoph Bumiller [Sun, 24 Jan 2010 14:13:17 +0000 (15:13 +0100)]
nv50: implement render_condition

Still not handling queries on multiple contexts though.

14 years agoegl: Add and use make_library_path.
Chia-I Wu [Sun, 24 Jan 2010 13:04:35 +0000 (21:04 +0800)]
egl: Add and use make_library_path.

Add a platform specific function to turn a library name to a library
path.  It is used to convert EGL_DRIVER or the default driver to a
library path that can be loaded.

14 years agoegl: Remove _eglFindAPIs.
Chia-I Wu [Sun, 24 Jan 2010 12:53:41 +0000 (20:53 +0800)]
egl: Remove _eglFindAPIs.

This function is not used and should have been removed by last commit.
My mistake.

14 years agoegl: Remove unused helper functions.
Chia-I Wu [Sun, 24 Jan 2010 12:44:39 +0000 (20:44 +0800)]
egl: Remove unused helper functions.

_eglFillInConfigs and _eglFindAPIs have no user in Mesa and are unlikely
to find one soon.  It should be fine to remove them.

14 years agoegl: Remove unused casting functions.
Chia-I Wu [Sun, 24 Jan 2010 12:21:23 +0000 (20:21 +0800)]
egl: Remove unused casting functions.

_eglUIntToPointer and _eglPointerToUInt are no longer used.

14 years agoegl: Make surfaces and contexts resources.
Chia-I Wu [Sun, 24 Jan 2010 12:32:34 +0000 (20:32 +0800)]
egl: Make surfaces and contexts resources.

Turn _EGLSurface and _EGLContext into _EGLResource so that they can be
managed uniformly.

14 years agoegl: Add _EGLResource and _EGLResourceType.
Chia-I Wu [Sun, 24 Jan 2010 12:30:04 +0000 (20:30 +0800)]
egl: Add _EGLResource and _EGLResourceType.

Resources are objects managed by a display.  They can be linked to or
unlinked from a display.  It is also possible to check if a resource is
valid.

14 years agoegl: Move surface functions in egldisplay.[ch] to eglsurface.[ch]
Chia-I Wu [Sat, 23 Jan 2010 14:57:23 +0000 (22:57 +0800)]
egl: Move surface functions in egldisplay.[ch] to eglsurface.[ch]

Move functions to where they should be.  There should be no real change
here.

14 years agoegl: Move context functions in egldisplay.[ch] to eglcontext.[ch].
Chia-I Wu [Sat, 23 Jan 2010 14:53:59 +0000 (22:53 +0800)]
egl: Move context functions in egldisplay.[ch] to eglcontext.[ch].

Move functions to where they should be.  There should be no real change
here.

14 years agomesa/es: Improve Makefile rules.
Chia-I Wu [Sun, 24 Jan 2010 03:03:20 +0000 (11:03 +0800)]
mesa/es: Improve Makefile rules.

Make sure glapi headers are cleaned when "make clean".  Make sure all
sources depend on subdirs-stamp-tmp so that sources/headers are
generated first.

subdirs-stamp-tmp will be removed after a successful build.  It might be
a problem when a build fails.  But it is much better than where we
currently are: glapi headers are never cleaned or re-generated.

14 years agor300g: avoid the use of goto
Dave Airlie [Sun, 24 Jan 2010 05:37:23 +0000 (15:37 +1000)]
r300g: avoid the use of goto

I was being lazy on Sunday morning, Droste on irc called me on it ;-)

14 years agor300g: fix flushing harder.
Dave Airlie [Sun, 24 Jan 2010 04:58:45 +0000 (14:58 +1000)]
r300g: fix flushing harder.

I swear ipers runs here after this commit.

After we flush we need to redo the space check

14 years agoegl: Install drivers to ${libdir}/egl.
Chia-I Wu [Sat, 23 Jan 2010 12:18:43 +0000 (20:18 +0800)]
egl: Install drivers to ${libdir}/egl.

Install EGL drivers to EGL_DRIVER_INSTALL_DIR, which is default to
${libdir}/egl.

14 years agost/vega: Clean up Makefile.
Chia-I Wu [Sat, 23 Jan 2010 12:09:20 +0000 (20:09 +0800)]
st/vega: Clean up Makefile.

14 years agost/es: Pass -linker and -ldflags to mklib.
Chia-I Wu [Sat, 23 Jan 2010 12:08:02 +0000 (20:08 +0800)]
st/es: Pass -linker and -ldflags to mklib.

14 years agor300: fix wrong call in last commit
Dave Airlie [Sat, 23 Jan 2010 10:07:08 +0000 (20:07 +1000)]
r300: fix wrong call in last commit

14 years agor300g: fix up buffer emission ordering.
Dave Airlie [Sat, 23 Jan 2010 09:35:42 +0000 (19:35 +1000)]
r300g: fix up buffer emission ordering.

This fixes the code space checking VBOs, then resetting the space list
and space checking other buffers. it fixes demos/ipers

Signed-off-by: Dave Airlie <airlied@redhat.com>
14 years agor300: only enable half floats on r500s.
Dave Airlie [Sat, 23 Jan 2010 02:57:51 +0000 (12:57 +1000)]
r300: only enable half floats on r500s.

Thank to MAD for point it out.

14 years agoMerge branch 'arb_half_float_vertex'
Dave Airlie [Sat, 23 Jan 2010 02:29:33 +0000 (12:29 +1000)]
Merge branch 'arb_half_float_vertex'

14 years agoRevert "add segl"
Chia-I Wu [Sat, 23 Jan 2010 02:31:21 +0000 (10:31 +0800)]
Revert "add segl"

This reverts commit fe33b7083b0081b91ee338acbe966400c6b9a7b9.  It was
not supposed to be pushed yet.

14 years agor300: half float support
Dave Airlie [Fri, 22 Jan 2010 21:38:06 +0000 (07:38 +1000)]
r300: half float support

Signed-off-by: Dave Airlie <airlied@redhat.com>
14 years agoi965: add support for ARB_half_float_vertex
Dave Airlie [Mon, 18 Jan 2010 06:30:56 +0000 (16:30 +1000)]
i965: add support for ARB_half_float_vertex

enables the extension on i965 and adds support to the draw upload for
the vertex format.

Signed-off-by: Dave Airlie <airlied@redhat.com>
14 years agomesa: add core support for ARB_half_float_vertex.
Dave Airlie [Mon, 18 Jan 2010 06:29:31 +0000 (16:29 +1000)]
mesa: add core support for ARB_half_float_vertex.

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>
14 years agoglapi: add GL_HALF_FLOAT enum support.
Dave Airlie [Mon, 18 Jan 2010 06:27:27 +0000 (16:27 +1000)]
glapi: add GL_HALF_FLOAT enum support.

Regenerate enums files and GLX indirect.

Signed-off-by: Dave Airlie <airlied@redhat.com>
14 years agoprogs: add trivial ARB_half_float_vertex support.
Dave Airlie [Mon, 18 Jan 2010 06:25:30 +0000 (16:25 +1000)]
progs: add trivial ARB_half_float_vertex support.

This is just a trivial port of vp-array.c

Signed-off-by: Dave Airlie <airlied@redhat.com>
14 years agoglapi: Include glheader.h in glapi_nop.c.
Chia-I Wu [Sat, 23 Jan 2010 02:23:37 +0000 (10:23 +0800)]
glapi: Include glheader.h in glapi_nop.c.

In addition to OpenGL headers, glheader.h also defines OpenGL ES types
that are used in core Mesa or ES overlay.

14 years agoadd segl
Chia-I Wu [Fri, 22 Jan 2010 16:11:48 +0000 (00:11 +0800)]
add segl

14 years agoglapi: define GLfixed, GLclampx types for ES 1
Brian Paul [Sat, 23 Jan 2010 01:47:23 +0000 (18:47 -0700)]
glapi: define GLfixed, GLclampx types for ES 1

I'm not 100% sure this is the best fix, but it seems OK.

14 years agosvga: fix up breakage from earlier 7.7 merge
Brian Paul [Sat, 23 Jan 2010 01:35:36 +0000 (18:35 -0700)]
svga: fix up breakage from earlier 7.7 merge

14 years agost/mesa: fix incorrect freeing of drawpixels vertex shaders
Brian Paul [Sat, 23 Jan 2010 00:56:35 +0000 (17:56 -0700)]
st/mesa: fix incorrect freeing of drawpixels vertex shaders

These shaders are not st_vertex_shaders, but tgsi ureg shaders.
Fixes fd.o bug 25959.

14 years agogallium/util: add missing util/u_bitmask.c to Makefile
Brian Paul [Sat, 23 Jan 2010 00:20:37 +0000 (17:20 -0700)]
gallium/util: add missing util/u_bitmask.c to Makefile

14 years agomesa: use memcpy() in _mesa_ProgramEnv/LocalParameters4fvEXT()
Brian Paul [Fri, 22 Jan 2010 23:23:50 +0000 (16:23 -0700)]
mesa: use memcpy() in _mesa_ProgramEnv/LocalParameters4fvEXT()

14 years agomesa: use switch in _mesa_DeletePrograms()
Brian Paul [Fri, 22 Jan 2010 23:18:56 +0000 (16:18 -0700)]
mesa: use switch in _mesa_DeletePrograms()

14 years agoMerge branch 'mesa_7_7_branch'
Brian Paul [Fri, 22 Jan 2010 23:09:03 +0000 (16:09 -0700)]
Merge branch 'mesa_7_7_branch'

Conflicts:

src/mesa/shader/prog_execute.c

14 years agomesa: re-implement _mesa_ProgramEnvParameter4fvARB() with memcpy()
Brian Paul [Fri, 22 Jan 2010 22:41:08 +0000 (15:41 -0700)]
mesa: re-implement _mesa_ProgramEnvParameter4fvARB() with memcpy()

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).

14 years agomesa: use new fetch_vector1ui() function for 'unpack' GPU instructions
Brian Paul [Fri, 22 Jan 2010 22:36:28 +0000 (15:36 -0700)]
mesa: use new fetch_vector1ui() function for 'unpack' GPU instructions

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).

14 years agoxlib/softpipe: more buffer free fixes
Brian Paul [Fri, 22 Jan 2010 20:07:04 +0000 (13:07 -0700)]
xlib/softpipe: more buffer free fixes

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.

14 years agoRemove obsolete file
Alan Hourihane [Fri, 22 Jan 2010 19:32:12 +0000 (19:32 +0000)]
Remove obsolete file

14 years agogallium/aux: re-add pb_buffer_fenced.[ch] accidentally remove during merge
Brian Paul [Fri, 22 Jan 2010 19:27:25 +0000 (12:27 -0700)]
gallium/aux: re-add pb_buffer_fenced.[ch] accidentally remove during merge

14 years agoMerge branch 'mesa_7_7_branch'
Brian Paul [Fri, 22 Jan 2010 19:17:02 +0000 (12:17 -0700)]
Merge branch 'mesa_7_7_branch'

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

14 years agogallium/draw: apply DRAW_PIPE_FLAG_MASK to all vertex elements
Brian Paul [Fri, 22 Jan 2010 18:45:40 +0000 (11:45 -0700)]
gallium/draw: apply DRAW_PIPE_FLAG_MASK to all vertex elements

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.

14 years agogallium/draw: added comments, whitespace fixes
Brian Paul [Fri, 22 Jan 2010 18:39:19 +0000 (11:39 -0700)]
gallium/draw: added comments, whitespace fixes

14 years agomesa: Add "shader/" path to #include statements in shader parser/lexer sources
Alan Coopersmith [Fri, 22 Jan 2010 17:38:06 +0000 (10:38 -0700)]
mesa: Add "shader/" path to #include statements in shader parser/lexer sources

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>
14 years agoglapi: clean-up and simplify glapi_nop.c code
Brian Paul [Fri, 22 Jan 2010 16:35:12 +0000 (09:35 -0700)]
glapi: clean-up and simplify glapi_nop.c code

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.

14 years agoglapi: split the no-op dispatch code into new glapi_nop.c file
Brian Paul [Fri, 22 Jan 2010 16:32:12 +0000 (09:32 -0700)]
glapi: split the no-op dispatch code into new glapi_nop.c file

This unclutters the glapi.c file a bit.

14 years agoglapi: fix int->pointer conversions warnings in no-op functions
Brian Paul [Fri, 22 Jan 2010 15:15:14 +0000 (08:15 -0700)]
glapi: fix int->pointer conversions warnings in no-op functions

14 years agoprogs/xdemos: add z/Z keys for scaling the rendering
Brian Paul [Thu, 21 Jan 2010 20:46:53 +0000 (13:46 -0700)]
progs/xdemos: add z/Z keys for scaling the rendering

14 years agogallium/draw: fix-up comments, whitespace
Brian Paul [Thu, 21 Jan 2010 20:08:21 +0000 (13:08 -0700)]
gallium/draw: fix-up comments, whitespace

14 years agogallium/draw: replace int with boolean
Brian Paul [Thu, 21 Jan 2010 20:02:56 +0000 (13:02 -0700)]
gallium/draw: replace int with boolean

14 years agoFix PowerPC related typo in spantmp2.h
Ruediger Oertel [Fri, 22 Jan 2010 14:53:27 +0000 (06:53 -0800)]
Fix PowerPC related typo in spantmp2.h

Signed-off-by: Matthias Hopf <mhopf@suse.de>
Signed-off-by: Brian Paul <brianp@vmware.com>
14 years agor600: enable sampler lod* bits
Andre Maasikas [Fri, 22 Jan 2010 14:55:47 +0000 (16:55 +0200)]
r600: enable sampler lod* bits

bits, settings derived from testing, might contain some errors...

14 years agor600: update vport z & clipping when depth_clamp is changed
Andre Maasikas [Fri, 22 Jan 2010 12:06:10 +0000 (14:06 +0200)]
r600: update vport z & clipping when depth_clamp is changed

fixes piglit depth_clamp

14 years agor600: fix brownbag, only align if we are dealing with cubemap
Andre Maasikas [Fri, 22 Jan 2010 11:47:31 +0000 (13:47 +0200)]
r600: fix brownbag, only align if we are dealing with cubemap

14 years agor600: cubemap levels seem to be aligned to 8 images
Andre Maasikas [Fri, 22 Jan 2010 11:32:04 +0000 (13:32 +0200)]
r600: cubemap levels seem to be aligned to 8 images

14 years agoradeon/fbo: flush rendering before generating mipmaps
Andre Maasikas [Fri, 22 Jan 2010 10:57:01 +0000 (12:57 +0200)]
radeon/fbo: flush rendering before generating mipmaps

or maybe should flush(also) in finish_render_texture...

14 years agoradeon/fbo: use correct depth texture offset for depth textures
Andre Maasikas [Mon, 4 Jan 2010 07:26:46 +0000 (09:26 +0200)]
radeon/fbo: use correct depth texture offset for depth textures

14 years agor600: enable draw_offset
Andre Maasikas [Fri, 22 Jan 2010 10:31:24 +0000 (12:31 +0200)]
r600: enable draw_offset

fixes some fbo cases (mipmaps, cube textures ..)

14 years agodocs: Update sourcetree.html for EGL and the state trackers.
Chia-I Wu [Fri, 22 Jan 2010 09:10:28 +0000 (17:10 +0800)]
docs: Update sourcetree.html for EGL and the state trackers.

14 years agost/egl_g3d: Rename to st/egl.
Chia-I Wu [Fri, 22 Jan 2010 08:31:43 +0000 (16:31 +0800)]
st/egl_g3d: Rename to st/egl.

Simply the name to egl.

14 years agowinsys/drm: Update the options of mklib in Makefile.egl_g3d.
Chia-I Wu [Fri, 22 Jan 2010 08:25:11 +0000 (16:25 +0800)]
winsys/drm: Update the options of mklib in Makefile.egl_g3d.

Pass -linker, -ldflags, and $(MKLIB_OPTIONS) to mklib.

14 years agoegl: Remove egl_softpipe.
Chia-I Wu [Fri, 22 Jan 2010 08:02:39 +0000 (16:02 +0800)]
egl: Remove egl_softpipe.

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.

14 years agowinsys/drm: Add swrast.
Chia-I Wu [Fri, 22 Jan 2010 07:51:51 +0000 (15:51 +0800)]
winsys/drm: Add swrast.

The swrast winsys always returns NULL when drm_api_create is called.

14 years agovmware/core: Update for pipebuffer changes.
José Fonseca [Fri, 22 Jan 2010 05:18:25 +0000 (21:18 -0800)]
vmware/core: Update for pipebuffer changes.

In particular, delay patching GMR relocations until the buffers are
validated, since the buffers relative offset can only be established then.

14 years agost/mesa: Remove unnecessary header from st_cb_viewport.c.
Vinson Lee [Fri, 22 Jan 2010 07:41:57 +0000 (23:41 -0800)]
st/mesa: Remove unnecessary header from st_cb_viewport.c.

14 years agost/egl: Remove the egl state tracker.
Chia-I Wu [Fri, 22 Jan 2010 07:18:45 +0000 (15:18 +0800)]
st/egl: Remove the egl state tracker.

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.

14 years agoprogs/trivial: Remove unnecessary header from tri-fbo-tex-mip.c.
Vinson Lee [Fri, 22 Jan 2010 07:24:40 +0000 (23:24 -0800)]
progs/trivial: Remove unnecessary header from tri-fbo-tex-mip.c.

14 years agoegl: Remove USING_EGL and the related drivers.
Chia-I Wu [Fri, 22 Jan 2010 07:12:19 +0000 (15:12 +0800)]
egl: Remove USING_EGL and the related drivers.

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.

14 years agoegl: Remove the demo driver.
Chia-I Wu [Fri, 22 Jan 2010 07:07:58 +0000 (15:07 +0800)]
egl: Remove the demo driver.

The demo driver has outdated.  It is suggested to look at any of the
drivers that is functioning.

14 years agoi915g: Remove unnecessary header.
Vinson Lee [Fri, 22 Jan 2010 07:09:06 +0000 (23:09 -0800)]
i915g: Remove unnecessary header.

14 years agopipebuffer: Remove unnecessary header.
Vinson Lee [Fri, 22 Jan 2010 07:07:29 +0000 (23:07 -0800)]
pipebuffer: Remove unnecessary header.

14 years agost/egl_g3d: Use glxinit.c from egl_xdri.
Chia-I Wu [Fri, 22 Jan 2010 06:41:00 +0000 (14:41 +0800)]
st/egl_g3d: Use glxinit.c from egl_xdri.

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.

14 years agodocs: Update the status of egl_xdri.
Chia-I Wu [Fri, 22 Jan 2010 07:05:31 +0000 (15:05 +0800)]
docs: Update the status of egl_xdri.

Mention that it also supports DRISW.

14 years agoegl_xdri: Add support for DRISW.
Chia-I Wu [Fri, 22 Jan 2010 06:15:14 +0000 (14:15 +0800)]
egl_xdri: Add support for DRISW.

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.

14 years agodraw: Remove unnecessary headers.
Vinson Lee [Fri, 22 Jan 2010 06:57:12 +0000 (22:57 -0800)]
draw: Remove unnecessary headers.

14 years agoegl_xdri: Flush commands on context switch and buffer swap.
Chia-I Wu [Fri, 22 Jan 2010 06:28:23 +0000 (14:28 +0800)]
egl_xdri: Flush commands on context switch and buffer swap.

The corresponding DRI functions does not flush for us.

14 years agoegl_xdri: Report only OpenGL support.
Chia-I Wu [Fri, 22 Jan 2010 06:53:31 +0000 (14:53 +0800)]
egl_xdri: Report only OpenGL support.

It reported OpenGL ES support because some demos did not set
EGL_RENDERABLE_TYPE correctly.  The demos are fixed.

14 years agoegl_xdri: Do not reinitialize in __glXInitialize.
Chia-I Wu [Fri, 22 Jan 2010 06:13:25 +0000 (14:13 +0800)]
egl_xdri: Do not reinitialize in __glXInitialize.

__glXInitialize should return the same GLX display for the same X
display.  This issue is triggered by
a35f6bb207efe3c959bbd16a37f2049e5aceeea9.

14 years agoegl_glx: Report only OpenGL support.
Chia-I Wu [Fri, 22 Jan 2010 06:23:22 +0000 (14:23 +0800)]
egl_glx: Report only OpenGL support.

It reported OpenGL ES support because some demos did not set
EGL_RENDERABLE_TYPE correctly.  The demos are fixed.

14 years agoegl: Update driver Makefiles.
Chia-I Wu [Fri, 22 Jan 2010 05:29:10 +0000 (13:29 +0800)]
egl: Update driver Makefiles.

Update to use the new Makefile.template.

14 years agoegl: Add Makefile.template for EGL drivers.
Chia-I Wu [Fri, 22 Jan 2010 04:02:00 +0000 (12:02 +0800)]
egl: Add Makefile.template for EGL drivers.

14 years agowinsys/drm: Update Makefile.template.
Chia-I Wu [Fri, 22 Jan 2010 03:11:48 +0000 (11:11 +0800)]
winsys/drm: Update Makefile.template.

Mainly to respect LDFLAGS and remove unused target $(LIBNAME_EGL).  This
is based on the patch by Tomáš Chvátal <scarabeus@gentoo.org>.

14 years agosvga: Remove unused variable.
Vinson Lee [Fri, 22 Jan 2010 01:24:07 +0000 (17:24 -0800)]
svga: Remove unused variable.

14 years agoFix typo in configure message for gcc -fvisibility=hidden
Alan Coopersmith [Fri, 22 Jan 2010 00:42:58 +0000 (16:42 -0800)]
Fix typo in configure message for gcc -fvisibility=hidden

Need to use $CC for a shell variable, not $(CC) for a make variable
which the shell interprets as running the command "CC".

Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
14 years agovmware/core: Flush preemptively the FIFO commands to keep the GMR working set within...
José Fonseca [Thu, 21 Jan 2010 23:51:37 +0000 (15:51 -0800)]
vmware/core: Flush preemptively the FIFO commands to keep the GMR working set within reasonable bounds.

14 years agovmware/core: Put GMR pool size in a define.
José Fonseca [Thu, 21 Jan 2010 23:47:52 +0000 (15:47 -0800)]
vmware/core: Put GMR pool size in a define.

14 years agovmw/wgl: Update for pipebuffer changes.
José Fonseca [Thu, 21 Jan 2010 23:27:26 +0000 (15:27 -0800)]
vmw/wgl: Update for pipebuffer changes.

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.

14 years agosvga: Remove duplicate code.
José Fonseca [Thu, 21 Jan 2010 20:12:47 +0000 (12:12 -0800)]
svga: Remove duplicate code.

14 years agosvga: Remove unused code.
José Fonseca [Thu, 21 Jan 2010 22:24:53 +0000 (14:24 -0800)]
svga: Remove unused code.

14 years agosvga: Don't swap buffers to system memory -- winsys' responsibility.
José Fonseca [Wed, 20 Jan 2010 11:45:17 +0000 (03:45 -0800)]
svga: Don't swap buffers to system memory -- winsys' responsibility.

14 years agopipebuffer: Release the lock during map wait. Cleanups.
José Fonseca [Thu, 21 Jan 2010 20:43:40 +0000 (12:43 -0800)]
pipebuffer: Release the lock during map wait. Cleanups.

14 years agopipebuffer: Swap buffers out to system memory when running out of memory.
José Fonseca [Wed, 20 Jan 2010 11:43:53 +0000 (03:43 -0800)]
pipebuffer: Swap buffers out to system memory when running out of memory.

14 years agosvga: Avoid synchronization issues when doing SW TNL.
José Fonseca [Thu, 21 Jan 2010 20:13:27 +0000 (12:13 -0800)]
svga: Avoid synchronization issues when doing SW TNL.

14 years agomesa: Use pipe_buffer_write_nooverlap where appropriate.
José Fonseca [Thu, 21 Jan 2010 17:42:05 +0000 (09:42 -0800)]
mesa: Use pipe_buffer_write_nooverlap where appropriate.

14 years agoutil: Set DISCARD & UNSYNCHRONIZED when uploading vertices sequentially.
José Fonseca [Thu, 21 Jan 2010 17:38:47 +0000 (09:38 -0800)]
util: Set DISCARD & UNSYNCHRONIZED when uploading vertices sequentially.

14 years agoutil: Use pipe_buffer_write_nooverlap in blits / mipmap generation.
José Fonseca [Thu, 21 Jan 2010 17:32:17 +0000 (09:32 -0800)]
util: Use pipe_buffer_write_nooverlap in blits / mipmap generation.

14 years agogallium: New inline to write buffers which avoids synchronization.
José Fonseca [Thu, 21 Jan 2010 17:30:22 +0000 (09:30 -0800)]
gallium: New inline to write buffers which avoids synchronization.