Commit graph

34095 commits

Author SHA1 Message Date
Pierre Willenbrock
d20fce057e Initialize have_back.
There is a user somewhere that tests it before its initial set.

Signed-off-by: Eric Anholt <eric@anholt.net>
2010-04-27 17:12:39 -07:00
Eric Anholt
edad36cff9 i915: Add debugging for just prorgam compile under INTEL_DEBUG=wm 2010-04-27 17:12:38 -07:00
Eric Anholt
891ad6ec1a i915: Provide counts in the error messages for program limits. 2010-04-27 17:12:38 -07:00
Brian Paul
eecd2a59c1 osmesa: update SRC_DIRS to fix build 2010-04-27 17:06:17 -06:00
Brian Paul
29fc97606b osdemos: replace assertion with error handler 2010-04-27 17:05:56 -06:00
Marek Olšák
20c9675994 r300g: move ZTOP to separate file
Ideally, HiZ should go in r300_hyperz.c next to ZTOP.
2010-04-28 01:05:42 +02:00
Brian Paul
c5bf13c537 osmesa: don't need to link with -lGL
The gl entrypoints are in libOSMesa.so
2010-04-27 16:57:43 -06:00
Marek Olšák
7440fd89b4 radeon: fix warnings 2010-04-28 00:38:27 +02:00
Pierre Willenbrock
c0b41116f1 mesa: Disable scissor when begining meta operations
Signed-off-by: Brian Paul <brianp@vmware.com>
2010-04-27 15:58:58 -06:00
Ian Romanick
aa6489bce9 Add missing _ in extension category name 2010-04-27 14:54:32 -07:00
Pierre Willenbrock
717e86738f mesa: Don't set srcLevel on GL_TEXTURE_RECTANGLE_ARB targets
Signed-off-by: Brian Paul <brianp@vmware.com>
2010-04-27 15:54:24 -06:00
Pierre Willenbrok
cc806f70b2 glx: Initialize have_back.
Signed-off-by: Brian Paul <brianp@vmware.com>
2010-04-27 15:53:28 -06:00
José Fonseca
a5e032853a gallium: Drop BGNFOR, ENDFOR, REP, and ENDREP opcodes.
Arcane DX9 opcodes that never were emitted by Mesa and have no DX10
counterpart. Slated for removal for quite some time now.
2010-04-27 21:51:45 +01:00
José Fonseca
84b5f59c97 gallium/docs: Drop BGNFOR, ENDFOR, REP, and ENDREP opcodes. 2010-04-27 21:51:45 +01:00
José Fonseca
73e1405de0 tgsi: Drop BGNFOR, ENDFOR, REP, and ENDREP opcodes. 2010-04-27 21:51:45 +01:00
José Fonseca
ec4e67999c r300: Drop BGNFOR, ENDFOR, REP, and ENDREP opcodes. 2010-04-27 21:51:44 +01:00
José Fonseca
42c9137042 cell: Drop BGNFOR, ENDFOR, REP, and ENDREP opcodes. 2010-04-27 21:51:44 +01:00
José Fonseca
e5395f3359 svga: Drop BGNFOR, ENDFOR, REP, and ENDREP opcodes. 2010-04-27 21:51:44 +01:00
José Fonseca
b3ba54a01a gallivm: Drop BGNFOR, ENDFOR, REP, and ENDREP opcodes. 2010-04-27 21:51:44 +01:00
Jeremy Huddleston
a1cb3babbe Buildfixes to work around issues in OpenGL.framework
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2010-04-27 12:37:16 -07:00
Jeremy Huddleston
f64773010d Update OpenGL specs
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2010-04-27 11:26:51 -07:00
Jeremy Huddleston
f5aa5377a5 apple: Use mesa gl.h rather than generating one.
Signed-off-by: Jeremy Huddleston <jeremyhu@freedesktop.org>
2010-04-27 11:26:51 -07:00
Jeremy Huddleston
de96d063b1 apple: Integrate our libGL into the existing build system better
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2010-04-27 11:26:51 -07:00
Jeremy Huddleston
163901bc7f darwin: Use clientattrib
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2010-04-27 11:26:51 -07:00
Jeremy Huddleston
80b280db88 apple: Change ifdefs for DRI to be DRI && !APPLE
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2010-04-27 11:26:51 -07:00
Jeremy Huddleston
77dc40b289 apple: Remove duplicate headers that already exist in mesa.
Signed-off-by: Jeremy Huddleston <jeremyhu@freedesktop.org>
2010-04-27 11:26:50 -07:00
Jeremy Huddleston
ad503c4155 apple: Initial import of libGL for OSX from AppleSGLX svn repository.
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2010-04-27 11:26:50 -07:00
Brian Paul
ab3e7861ec llvmpipe: remove lp_scene_map_buffers(), lp_scene_unmap_buffers() 2010-04-27 11:50:23 -06:00
Brian Paul
bb527c0af6 llvmpipe: implement max scene size
When the size of the scene (binned data plus referenced resources/textures)
exceeds LP_MAX_SCENE_SIZE flush/render the scene.  This could be improved
in various ways but is a good start.

Fixes piglit streaming-texture-leak test.
2010-04-27 11:44:36 -06:00
Brian Paul
1db3a55b9c llvmpipe: added llvmpipe_resource_size() 2010-04-27 11:32:25 -06:00
Brian Paul
85ab6d2447 llvmpipe: comment-out unused field for now 2010-04-27 11:31:45 -06:00
Brian Paul
d2f0acc2fb llvmipe: update comments 2010-04-27 10:55:51 -06:00
Brian Paul
e485af774e mesa: move/rename is_depth_or_stencil_format()
Put it with other, similar functions.
2010-04-27 09:31:22 -06:00
Brian Paul
f62c738c62 st/mesa: rename var and update st_choose_format() comments 2010-04-27 09:27:00 -06:00
Chia-I Wu
f1381880a8 glapi: Fix loading of old DRI drivers.
The removal of _glapi_noop_enable_warnings and _glapi_set_warning_func
in e4f168a6f4 prevents DRI drivers built
before the commit from loading.  Add stub versions of the functions to
make them load again.
2010-04-27 23:19:27 +08:00
Brian Paul
a965ef59b5 st/mesa: call is_format_supported() for compressed formats
These compressed format switch cases shouldn't be hit if we don't
support the compressed texture extensions, but let's be safe and
ask the driver if they're supported as we do in other cases.
2010-04-27 09:19:02 -06:00
Brian Paul
85d3687ee7 st/mesa: 80-column wrapping 2010-04-27 09:14:32 -06:00
Brian Paul
29edc2a8b5 st/mesa: try to get actual compressed format for GL_COMPRESSED_RGB[A] formats 2010-04-27 09:11:53 -06:00
Brian Paul
7567f05199 Merge branch '7.8'
Conflicts:

	src/gallium/drivers/nv30/nv30_context.c
	src/gallium/drivers/nv40/nv40_context.c
	src/gallium/drivers/nv40/nv40_state_emit.c
2010-04-27 08:34:06 -06:00
Brian Paul
db14a8022a st/mesa: fix strides in (de)compress_image() functions
Mipmap generation for compressed textures works now.
2010-04-27 08:28:55 -06:00
Brian Paul
15c53d1245 util: fix assorted problems in the image packing functions 2010-04-27 08:28:22 -06:00
Pedro Maia
ea373df069 nv30/40g: fix calls to draw_create(), draw_set_rasterizer_state()
Signed-off-by: Brian Paul <brianp@vmware.com>
2010-04-27 08:22:11 -06:00
José Fonseca
992fc62d59 gallivm: Disable llvm.cos.v4f32 and llvm.sin.v4f32 instrinsics on Windows.
Runtime linking doesn't quite work.

Just comment then out for now to prevent crashes. These will go away in
the future because calling 4 times CRT's cosf()/sinf() is over-precise
and under-performing.
2010-04-27 14:27:24 +01:00
José Fonseca
a18c210a95 gallivm: Ensure all allocas are in the first block.
Refactor the code to make this easier.
2010-04-27 13:20:51 +01:00
Jakob Bornecrantz
96df6064b5 i965g: Fix scons build of winsys 2010-04-27 12:17:11 +01:00
Jakob Bornecrantz
8fbd66d75a st/dri: Don't check for null when user ensures non-null 2010-04-27 12:17:11 +01:00
Jakob Bornecrantz
64fa717b18 dri_util: Assume error checking is done properly in glXMakeCurrent
In short what the code did before:

    __DRIscreen *psp = NULL;
    if (pcp)
       psp = pcp->psb;

    assert(psp);
    if (psp->stuff)
       other_stuff();

    return psb->even_more(pcp);

Remove all that stupid checking which still segfaults/asserts later on and
just do what we do in driUnbindContext. Also limited testing show libGL never
call driUnbindContext or driBindContext with cPriv == NULL.
2010-04-27 12:17:11 +01:00
Jakob Bornecrantz
ae79e778f7 st/dri: Use flush function of old context not new 2010-04-27 12:17:11 +01:00
Marek Olšák
b7fa7e8da6 r300g: fix mipmapped texture3D size calculation
I accidentally inverted the condition. :(
Broken since the commit 2579fe4044.
FDO bug #27851.
2010-04-27 12:25:23 +02:00
Marek Olšák
847a24c011 r300g: compensate for non-atomized emit_query_end in the CS
And reserve a little more space just in case.
2010-04-27 12:25:22 +02:00