profile/ivi/mesa.git
14 years agogallium: Remove bypass_vs_clip_and_viewport from rasteriser state.
Michal Krol [Mon, 22 Feb 2010 20:36:22 +0000 (21:36 +0100)]
gallium: Remove bypass_vs_clip_and_viewport from rasteriser state.

Needs testing.

14 years agoi965g: added missing texture cap queries
Brian Paul [Mon, 22 Feb 2010 15:14:14 +0000 (08:14 -0700)]
i965g: added missing texture cap queries

14 years agoi915g: added missing texture cap queries
Brian Paul [Mon, 22 Feb 2010 15:14:05 +0000 (08:14 -0700)]
i915g: added missing texture cap queries

14 years agost/mesa: change viewport Z scale/bias for glBitmap/glDrawPixels
Brian Paul [Mon, 22 Feb 2010 15:04:53 +0000 (08:04 -0700)]
st/mesa: change viewport Z scale/bias for glBitmap/glDrawPixels

This fixes incorrect Z position of glBitmap, glDraw/CopyPixels for the
svga driver.  Now we use 0.5, 0.5 as is typical for ordinary 3D rendering.

(cherry picked from commit bcd561c66777e58dbb29a573c4d2279772bac6c5)

14 years agost/mesa: Add checks for ST_SURFACE_x vs MESA_BUFFER_x
Brian Paul [Mon, 22 Feb 2010 15:04:39 +0000 (08:04 -0700)]
st/mesa: Add checks for ST_SURFACE_x vs MESA_BUFFER_x

The ST_SURFACE_x values should match the Mesa BUFFER_x values.
Added some assertions to prevent future mix-ups.

(cherry picked from commit 13cbb5fff68ef8831230638e9f0b29a217750e9d)

14 years agomesa/st: Make ST_SURFACE_DEPTH index consistent with mesa's BUFFER_DEPTH.
Brian Paul [Mon, 22 Feb 2010 15:04:16 +0000 (08:04 -0700)]
mesa/st: Make ST_SURFACE_DEPTH index consistent with mesa's BUFFER_DEPTH.

Some st functions assume that they are identical.

(cherry picked from commit 9d17ad2891b58de9e33e943ff918a678c6a3c2bd)

14 years agointel: assert that we do not overflow the batch buffer.
Chris Wilson [Mon, 22 Feb 2010 09:53:36 +0000 (09:53 +0000)]
intel: assert that we do not overflow the batch buffer.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
14 years agoi915: Fix logic !gen >= 3
Chris Wilson [Mon, 22 Feb 2010 09:51:33 +0000 (09:51 +0000)]
i915: Fix logic !gen >= 3

The effect of this was that all objects were aligned to 128 bytes
on all generations, rather than just gen2.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
14 years agoi915: Remove superfluous MI_NOOP from vertex emission
Chris Wilson [Mon, 22 Feb 2010 09:50:15 +0000 (09:50 +0000)]
i915: Remove superfluous MI_NOOP from vertex emission

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
14 years agointel: Check that we have a bufmgr or bail out when initializing the context.
Chris Wilson [Thu, 21 Jan 2010 17:39:01 +0000 (17:39 +0000)]
intel: Check that we have a bufmgr or bail out when initializing the context.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
14 years agoRevert "r300g: rebuild winsys/pipe buffer handling and add buffer map"
Dave Airlie [Mon, 22 Feb 2010 07:26:30 +0000 (17:26 +1000)]
Revert "r300g: rebuild winsys/pipe buffer handling and add buffer map"

This reverts commit fff5be8e7b4557c221f2425dcafc2e7cbbba76ba.

Probably went too soon with this, dileX reported OA not working for him
it works here fine, but the optimisations I wanted aren't working properly
yet so I'll fix that now.

Signed-off-by: Dave Airlie <airlied@redhat.com>
14 years agor300g: rebuild winsys/pipe buffer handling and add buffer map
Dave Airlie [Fri, 12 Feb 2010 05:39:51 +0000 (15:39 +1000)]
r300g: rebuild winsys/pipe buffer handling and add buffer map

This creates a cleaner winsys and drop the simple screen stuff.

It makes r300g use pb_bufmgr structs and adds usage of the cached
bufmgr for vertex/index buffers.

It also avoids mapping too often.

I'm not 100% sure this is perfect but it won't find its own bugs.

Signed-off-by: Dave Airlie <airlied@redhat.com>
14 years agor3OOg: support rendering of more than 65535 vertices per draw call (almost)
Marek Olšák [Sun, 21 Feb 2010 19:49:29 +0000 (20:49 +0100)]
r3OOg: support rendering of more than 65535 vertices per draw call (almost)

The path for VAP_ALT_NUM_VERTICES is also in place (and tested)
but not enabled by default due to the missing support of this reg
in the upstream kernel.

Also, a non-zero BUFFER_BASE in the INDX_BUFFER packet3 hangs the machine.
Am I missing something? Because of this, only draw_arrays can render
more than 65535 vertices without the use of VAP_ALT_NUM_VERTICES.

14 years agoi965g: Fix memory leak.
Vinson Lee [Sun, 21 Feb 2010 23:15:52 +0000 (15:15 -0800)]
i965g: Fix memory leak.

14 years agost/mesa: Fix memory leak on out-of-memory error path.
Vinson Lee [Sun, 21 Feb 2010 23:10:50 +0000 (15:10 -0800)]
st/mesa: Fix memory leak on out-of-memory error path.

14 years agor300g: Remove unnecessary header.
Vinson Lee [Sun, 21 Feb 2010 22:26:53 +0000 (14:26 -0800)]
r300g: Remove unnecessary header.

14 years agoLink egl progs to libm as necessary.
Ray Kohler [Sun, 21 Feb 2010 03:26:43 +0000 (22:26 -0500)]
Link egl progs to libm as necessary.

Signed-off-by: Ray Kohler <ataraxia937@gmail.com>
14 years agor300g: precompute framebuffer register values
Marek Olšák [Sat, 20 Feb 2010 20:12:45 +0000 (21:12 +0100)]
r300g: precompute framebuffer register values

14 years agor300g: add all missing colorbuffer formats
Marek Olšák [Sat, 20 Feb 2010 23:17:04 +0000 (00:17 +0100)]
r300g: add all missing colorbuffer formats

14 years agor300g: make r300_translate_texformat private
Marek Olšák [Sat, 20 Feb 2010 20:33:53 +0000 (21:33 +0100)]
r300g: make r300_translate_texformat private

Unlikely to increase performance from inlining.

And partially expose it through r300_is_sampler_format_supported.

14 years agor300g: re-enable SRGB formats
Marek Olšák [Sat, 20 Feb 2010 17:52:20 +0000 (18:52 +0100)]
r300g: re-enable SRGB formats

Ouch.

14 years agomesa: Add assert to check for null pointer dereference.
Vinson Lee [Sun, 21 Feb 2010 10:13:15 +0000 (02:13 -0800)]
mesa: Add assert to check for null pointer dereference.

14 years agodraw: Remove dead code.
Vinson Lee [Sun, 21 Feb 2010 09:57:16 +0000 (01:57 -0800)]
draw: Remove dead code.

14 years agoi965g: Remove dead code.
Vinson Lee [Sun, 21 Feb 2010 09:30:35 +0000 (01:30 -0800)]
i965g: Remove dead code.

14 years agoi965g: Fix assertions that were always true.
Vinson Lee [Sun, 21 Feb 2010 09:19:47 +0000 (01:19 -0800)]
i965g: Fix assertions that were always true.

The surface_format field is 9 bits wide which has a maximum value
of 511. BRW_SURFACEFORMAT_INVALID has a value of 4095 which exceeds
the width of the surface_format field.

This patch asserts that the format is not BRW_SURFACEFORMAT_INVALID
before assignment to the surface_format field.

14 years agoglsl/cl: Prevent possible buffer overflow.
Vinson Lee [Sun, 21 Feb 2010 08:36:50 +0000 (00:36 -0800)]
glsl/cl: Prevent possible buffer overflow.

14 years agoi965g: Fix use of out-of-scope variable.
Vinson Lee [Sun, 21 Feb 2010 08:24:05 +0000 (00:24 -0800)]
i965g: Fix use of out-of-scope variable.

14 years agost/egl: Disable SHM in ximage backend.
Chia-I Wu [Sun, 21 Feb 2010 07:47:45 +0000 (15:47 +0800)]
st/egl: Disable SHM in ximage backend.

With pipe_screen::update_buffer being called in st_validate_state, it is
likely that softpipe will flush tile caches to a detached SHM segment.
Disable SHM for now until a better solution is found.

14 years agoradeon: Silence compiler format warning.
Vinson Lee [Sun, 21 Feb 2010 07:43:33 +0000 (23:43 -0800)]
radeon: Silence compiler format warning.

14 years agoglsl/cl: Prevent possible string overflow.
Vinson Lee [Sun, 21 Feb 2010 07:27:07 +0000 (23:27 -0800)]
glsl/cl: Prevent possible string overflow.

14 years agost/egl: Properly convert vrefresh to refresh rate.
Chia-I Wu [Sun, 21 Feb 2010 02:11:54 +0000 (10:11 +0800)]
st/egl: Properly convert vrefresh to refresh rate.

Some kernels have vrefresh = (refresh rate * 1000) while others don't.
Use some heuristics here.

14 years agost/egl: Enable extensions before adding configs.
Chia-I Wu [Sun, 21 Feb 2010 02:02:13 +0000 (10:02 +0800)]
st/egl: Enable extensions before adding configs.

Configs are validated before added.  The validation depends on the
extensions available.  If configs are added before enabling extensions,
configs with EGL_SCREEN_SURFACE_MESA bit set will never pass the
validation for example.

14 years agost/egl: Do not force validate when update_buffer is called.
Chia-I Wu [Sat, 20 Feb 2010 04:41:30 +0000 (12:41 +0800)]
st/egl: Do not force validate when update_buffer is called.

st/mesa was changed to call pipe_screen::update_buffer in
st_validate_state.  In most cases there is no need to validate.

14 years agost/egl: Clean up DRI2 surface.
Chia-I Wu [Fri, 19 Feb 2010 14:12:04 +0000 (22:12 +0800)]
st/egl: Clean up DRI2 surface.

Mainly to move the call to DRI2GetBuffers from dri2_surface_validate to
the new dri2_surface_update_buffers.

14 years agost/egl: Clean up ximage surface.
Chia-I Wu [Fri, 19 Feb 2010 14:36:16 +0000 (22:36 +0800)]
st/egl: Clean up ximage surface.

Mainly to move buffer allocation code from ximage_surface_validate to
the new ximage_surface_update_buffers.

14 years agost/xlib: Add assert to check for null pointer dereference.
Vinson Lee [Sun, 21 Feb 2010 00:23:44 +0000 (16:23 -0800)]
st/xlib: Add assert to check for null pointer dereference.

14 years agoCygwin build fix: Fix linkage
Jon TURNEY [Fri, 19 Feb 2010 22:38:00 +0000 (22:38 +0000)]
Cygwin build fix: Fix linkage

Fix the way we make static convenience libraries, such as libmesa.a,
to be the same as linux etc.

Putting archives inside archives doesn't make the objects inside
the archive linkable, so use expand_archives() to get all the objects
inside an archive out again before linking.

Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
Signed-off-by: Brian Paul <brianp@vmware.com>
14 years agogamma: Silence uninitialized variable warnings.
Vinson Lee [Sat, 20 Feb 2010 10:29:43 +0000 (02:29 -0800)]
gamma: Silence uninitialized variable warnings.

14 years agogamma: Add missing headers.
Vinson Lee [Sat, 20 Feb 2010 10:25:29 +0000 (02:25 -0800)]
gamma: Add missing headers.

14 years agogamma: Remove unnecessary header.
Vinson Lee [Sat, 20 Feb 2010 10:02:17 +0000 (02:02 -0800)]
gamma: Remove unnecessary header.

14 years agointel: Silence compiler format warnings.
Vinson Lee [Sat, 20 Feb 2010 09:58:27 +0000 (01:58 -0800)]
intel: Silence compiler format warnings.

14 years agoprogs/redbook: Silence warn_unused_result warnings.
Vinson Lee [Sat, 20 Feb 2010 09:34:16 +0000 (01:34 -0800)]
progs/redbook: Silence warn_unused_result warnings.

14 years agotgsi: ifdef out unused function micro_sqrt.
Vinson Lee [Sat, 20 Feb 2010 08:56:32 +0000 (00:56 -0800)]
tgsi: ifdef out unused function micro_sqrt.

14 years agomesa: Silence compiler format warning.
Vinson Lee [Sat, 20 Feb 2010 07:53:27 +0000 (23:53 -0800)]
mesa: Silence compiler format warning.

14 years agomesa: fix snprintf() typo
Brian Paul [Fri, 19 Feb 2010 20:44:12 +0000 (13:44 -0700)]
mesa: fix snprintf() typo

14 years agomesa: restore _mesa_snprintf() - it's needed for Windows
Brian Paul [Fri, 19 Feb 2010 19:56:49 +0000 (12:56 -0700)]
mesa: restore _mesa_snprintf() - it's needed for Windows

This reverts part of commit 298be2b028263b2c343a707662c6fbfa18293cb2

14 years agomesa: casts to silence new warnings from printf()
Brian Paul [Fri, 19 Feb 2010 19:45:49 +0000 (12:45 -0700)]
mesa: casts to silence new warnings from printf()

14 years agomesa: remove abs/negate from fetch_vector1ui()
Brian Paul [Fri, 19 Feb 2010 19:41:21 +0000 (12:41 -0700)]
mesa: remove abs/negate from fetch_vector1ui()

This function is only used for the NV unpack instructions.
Negate/abs make no sense and removing the code fixes Windows
compiler warnings.  Found by Karl Schultz.

14 years agointel: Set buffer stamp before getting new buffers
Kristian Høgsberg [Fri, 19 Feb 2010 19:08:35 +0000 (14:08 -0500)]
intel: Set buffer stamp before getting new buffers

This way, if we get an invalidate as we update the buffers, we
don't clobber the drawable stamp and ignore the invalidate.

Pointed-out-by: Francisco Jerez
14 years agor300g: fix rendering into the L8 and A8 texture formats
Marek Olšák [Fri, 19 Feb 2010 19:01:11 +0000 (20:01 +0100)]
r300g: fix rendering into the L8 and A8 texture formats

RB3D_COLORPITCH.COLORFORMAT.I8 stores the C2 component.

14 years agoDrop macro wrappers for the aligned memory functions
Kristian Høgsberg [Fri, 19 Feb 2010 18:16:57 +0000 (13:16 -0500)]
Drop macro wrappers for the aligned memory functions

14 years agoprogs/tests: new zbitmap.c test to exercize Z testing of glBitmap
Brian Paul [Fri, 19 Feb 2010 18:12:20 +0000 (11:12 -0700)]
progs/tests: new zbitmap.c test to exercize Z testing of glBitmap

14 years agoprogs/demos: sort filenames
Brian Paul [Fri, 19 Feb 2010 18:09:05 +0000 (11:09 -0700)]
progs/demos: sort filenames

14 years agotgsi: Make more exec opcodes look pretty.
Michal Krol [Thu, 18 Feb 2010 11:05:08 +0000 (12:05 +0100)]
tgsi: Make more exec opcodes look pretty.

14 years agotgsi: Change prototypes of micro opcodes to explicitly indicates number of args.
Michal Krol [Thu, 18 Feb 2010 10:56:14 +0000 (11:56 +0100)]
tgsi: Change prototypes of micro opcodes to explicitly indicates number of args.

14 years agotgsi: Rewrite exec implementations of NRM and NRM4.
Michal Krol [Thu, 18 Feb 2010 10:26:18 +0000 (11:26 +0100)]
tgsi: Rewrite exec implementations of NRM and NRM4.

14 years agoReplace the _mesa_*printf() wrappers with the plain libc versions
Kristian Høgsberg [Fri, 19 Feb 2010 17:32:24 +0000 (12:32 -0500)]
Replace the _mesa_*printf() wrappers with the plain libc versions

14 years agoReplace _mesa_malloc, _mesa_calloc and _mesa_free with plain libc versions
Kristian Høgsberg [Fri, 19 Feb 2010 16:58:49 +0000 (11:58 -0500)]
Replace _mesa_malloc, _mesa_calloc and _mesa_free with plain libc versions

14 years agomesa: replace _mesa_bzero() with memset()
Brian Paul [Fri, 19 Feb 2010 15:32:36 +0000 (08:32 -0700)]
mesa: replace _mesa_bzero() with memset()

14 years agomesa: replace old MEMSET macro with memset
Brian Paul [Fri, 19 Feb 2010 15:12:31 +0000 (08:12 -0700)]
mesa: replace old MEMSET macro with memset

14 years agomesa: replace old MEMCPY macro with memcpy
Brian Paul [Fri, 19 Feb 2010 15:09:01 +0000 (08:09 -0700)]
mesa: replace old MEMCPY macro with memcpy

14 years agoRemove _mesa_memcmp in favor of plain memcmp.
Kenneth Graunke [Fri, 19 Feb 2010 07:51:01 +0000 (23:51 -0800)]
Remove _mesa_memcmp in favor of plain memcmp.

This may break the SUNOS4 build, but it's no longer relevant.

14 years agoRemove _mesa_memset in favor of plain memset.
Kenneth Graunke [Fri, 19 Feb 2010 07:51:00 +0000 (23:51 -0800)]
Remove _mesa_memset in favor of plain memset.

This may break the SUNOS4 build, but it's no longer relevant.

14 years agoRemove _mesa_memcpy in favor of plain memcpy.
Kenneth Graunke [Fri, 19 Feb 2010 07:50:59 +0000 (23:50 -0800)]
Remove _mesa_memcpy in favor of plain memcpy.

This may break the SUNOS4 build, but it's no longer relevant.

14 years agoRemove _mesa_atoi in favor of plain atoi.
Kenneth Graunke [Fri, 19 Feb 2010 07:50:58 +0000 (23:50 -0800)]
Remove _mesa_atoi in favor of plain atoi.

14 years agoRemove _mesa_strncmp in favor of plain strncmp.
Kenneth Graunke [Fri, 19 Feb 2010 07:50:57 +0000 (23:50 -0800)]
Remove _mesa_strncmp in favor of plain strncmp.

14 years agoRemove _mesa_strcmp in favor of plain strcmp.
Kenneth Graunke [Fri, 19 Feb 2010 07:50:56 +0000 (23:50 -0800)]
Remove _mesa_strcmp in favor of plain strcmp.

14 years agoRemove _mesa_strlen in favor of plain strlen.
Kenneth Graunke [Fri, 19 Feb 2010 07:50:55 +0000 (23:50 -0800)]
Remove _mesa_strlen in favor of plain strlen.

14 years agoRemove _mesa_strncpy in favor of plain strncpy.
Kenneth Graunke [Fri, 19 Feb 2010 07:50:54 +0000 (23:50 -0800)]
Remove _mesa_strncpy in favor of plain strncpy.

14 years agoRemove _mesa_strcpy in favor of plain strcpy.
Kenneth Graunke [Fri, 19 Feb 2010 07:50:53 +0000 (23:50 -0800)]
Remove _mesa_strcpy in favor of plain strcpy.

14 years agoRemove _mesa_strncat in favor of plain strncat.
Kenneth Graunke [Fri, 19 Feb 2010 07:50:52 +0000 (23:50 -0800)]
Remove _mesa_strncat in favor of plain strncat.

14 years agoRemove _mesa_strstr in favor of plain strstr.
Kenneth Graunke [Fri, 19 Feb 2010 07:50:51 +0000 (23:50 -0800)]
Remove _mesa_strstr in favor of plain strstr.

14 years agoRevert "r300g: remove L8_UNORM from colorbuffer formats"
Corbin Simpson [Fri, 19 Feb 2010 11:12:14 +0000 (03:12 -0800)]
Revert "r300g: remove L8_UNORM from colorbuffer formats"

This reverts commit fc427d23439a2702068209957f08990ea29fe21b.

At least xorg uses this, and just because something is not used in
OpenGL is *never* a valid reason to remove functionality from Gallium.
If something lacks a test, go add a test, don't remove features.

14 years agogamma: s#colormac.h#main/colormac.h#
Vinson Lee [Fri, 19 Feb 2010 08:51:21 +0000 (00:51 -0800)]
gamma: s#colormac.h#main/colormac.h#

14 years agogamma: s/gammacontext.h/gamma_context.h/
Vinson Lee [Fri, 19 Feb 2010 08:44:17 +0000 (00:44 -0800)]
gamma: s/gammacontext.h/gamma_context.h/

14 years agoegl: Silence warnings when compiled with -pedantic.
Chia-I Wu [Fri, 19 Feb 2010 03:47:54 +0000 (11:47 +0800)]
egl: Silence warnings when compiled with -pedantic.

Just follow gcc's advices here.

14 years agoegl: Silence warnings in check/return macros.
Chia-I Wu [Fri, 19 Feb 2010 04:08:50 +0000 (12:08 +0800)]
egl: Silence warnings in check/return macros.

The macros give warnings when compiled with -pedantic.  This commit is
based on a patch by Brian Paul, with minor changes to add do {} while(0)
and rename the check macros.

14 years agor300g: remove L8_UNORM from colorbuffer formats
Marek Olšák [Fri, 19 Feb 2010 03:23:06 +0000 (04:23 +0100)]
r300g: remove L8_UNORM from colorbuffer formats

Not renderable in OpenGL anyway.

14 years agosoftpipe: fix depth testing problems
Brian Paul [Fri, 19 Feb 2010 00:00:10 +0000 (17:00 -0700)]
softpipe: fix depth testing problems

The optimized Z-test functions assumed that the array of incoming quads
are adjacent, but that's not always true.  The fragment shader can cull
intermediate quads, for example.

Now these Z-test functions can cope with non-adjacent quads.  A little bit
of performance is probably lost, but it's probably not worth worring about.

This fixes broken glBitmap() Z testing, among other things.

(cherry picked from commit d437d905e6924ebc05ec9efe87e1e2c48d75bc13)

14 years agost/mesa: added some bitmap debug code (disabled)
Brian Paul [Thu, 18 Feb 2010 23:56:38 +0000 (16:56 -0700)]
st/mesa: added some bitmap debug code (disabled)

14 years agoprogs/demos: update arbocclude.c to do multiple queries at once
Brian Paul [Thu, 18 Feb 2010 23:54:14 +0000 (16:54 -0700)]
progs/demos: update arbocclude.c to do multiple queries at once

Issue a whole bunch of queries then get the results and render.
Draw the test object in red instead of orange if the result was not
ready when we first queried it.

14 years agosoftpipe: comments and whitespace fixes
Brian Paul [Thu, 18 Feb 2010 23:33:26 +0000 (16:33 -0700)]
softpipe: comments and whitespace fixes

14 years agosoftpipe: const qualifiers, comments
Brian Paul [Thu, 18 Feb 2010 23:32:36 +0000 (16:32 -0700)]
softpipe: const qualifiers, comments

14 years agoidentity: Propagate api->name and api->driver_name up
Jakob Bornecrantz [Thu, 18 Feb 2010 23:14:11 +0000 (23:14 +0000)]
identity: Propagate api->name and api->driver_name up

14 years agotrace: Propagate api->name up
Jakob Bornecrantz [Thu, 18 Feb 2010 23:13:47 +0000 (23:13 +0000)]
trace: Propagate api->name up

14 years agopipebuffer: Include fenced buffer manager in build
Jakob Bornecrantz [Thu, 18 Feb 2010 22:42:31 +0000 (22:42 +0000)]
pipebuffer: Include fenced buffer manager in build

14 years agoi915: update render buffers at prepare_render time
Jesse Barnes [Thu, 18 Feb 2010 22:58:17 +0000 (14:58 -0800)]
i915: update render buffers at prepare_render time

We need to do this before we emit any state dependent on the current
render buffers.

14 years agoRevert "Make mklib propogate all errors"
Dan Nicholson [Thu, 18 Feb 2010 22:48:53 +0000 (14:48 -0800)]
Revert "Make mklib propogate all errors"

This reverts commit d6f55492af3cb82b0113fe6beac0f3494b6e2956.

It's both not portable and not safe to trap & exit on ERR. This will
need to use a more invasive approach that tests return code only for
selected, important commands.

14 years agomklib: remove unused -contents_of_archives(), add comments
Brian Paul [Thu, 18 Feb 2010 20:02:59 +0000 (13:02 -0700)]
mklib: remove unused -contents_of_archives(), add comments

14 years agomesa: silence mklib output for libglapi.c as for other targets
Brian Paul [Thu, 18 Feb 2010 19:54:28 +0000 (12:54 -0700)]
mesa: silence mklib output for libglapi.c as for other targets

14 years agoMake mklib propogate all errors
Jon TURNEY [Thu, 18 Feb 2010 19:25:56 +0000 (19:25 +0000)]
Make mklib propogate all errors

Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
Signed-off-by: Brian Paul <brianp@vmware.com>
14 years agomklib: Teach mklib to fail build if link fails on cygwin
Brian Paul [Thu, 18 Feb 2010 19:46:48 +0000 (12:46 -0700)]
mklib: Teach mklib to fail build if link fails on cygwin

Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
Signed-off-by: Brian Paul <brianp@vmware.com>
(cherry picked from commit 551c96979e643b409535afe868c42cac0d2285ad)

14 years agoconfigure: PTHREADS should be defined on cygwin, as well
Brian Paul [Thu, 18 Feb 2010 19:46:12 +0000 (12:46 -0700)]
configure: PTHREADS should be defined on cygwin, as well

Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
Signed-off-by: Brian Paul <brianp@vmware.com>
(cherry picked from commit c1a4f249f18a766488da0832fbf6700de93af2f8)

14 years agoswrast: fix left side clipping
Brian Paul [Thu, 18 Feb 2010 16:40:38 +0000 (09:40 -0700)]
swrast: fix left side clipping

Fixes bug 26623.  Original patch was submitted by Mathias Frohlich
and modified by Brian.

(cherry picked from commit 7c34c237a2f6732b2c013543523617e375c1f534)

14 years agoRevert "st/mesa: Make the frontbuffer visible on st_flush(PIPE_FLUSH_FRAME)."
Francisco Jerez [Thu, 18 Feb 2010 12:37:09 +0000 (13:37 +0100)]
Revert "st/mesa: Make the frontbuffer visible on st_flush(PIPE_FLUSH_FRAME)."

We probably don't want to propagate this condition to the pipe driver,
this reverts commit f455ca6490fcb65781b21f81c7117bd923e250d1 and the
dri_update_buffer flush altogether until an agreement is reached.

14 years agointel: Include main/hash.h using "" instead of <>
Kristian Høgsberg [Thu, 18 Feb 2010 12:49:14 +0000 (07:49 -0500)]
intel: Include main/hash.h using "" instead of <>

14 years agoprogs/trivial: Update .gitignore.
Vinson Lee [Thu, 18 Feb 2010 09:24:20 +0000 (01:24 -0800)]
progs/trivial: Update .gitignore.

14 years agoprogs/redbook: Fix array out-of-bounds access.
Vinson Lee [Thu, 18 Feb 2010 09:17:26 +0000 (01:17 -0800)]
progs/redbook: Fix array out-of-bounds access.

14 years agost/mesa: always call FLUSH_CURRENT before st->pipe->flush()
Keith Whitwell [Thu, 18 Feb 2010 08:59:19 +0000 (08:59 +0000)]
st/mesa: always call FLUSH_CURRENT before st->pipe->flush()

Undoes part of commit f455ca6 which would permit pipe->flush() to be
called while the VBO module still had its buffers mapped.  Some
drivers care deeply about this.  Sorry for not spotting this earlier.

14 years agoprogs/rbug: Silence printf format warning.
Vinson Lee [Thu, 18 Feb 2010 07:22:51 +0000 (23:22 -0800)]
progs/rbug: Silence printf format warning.