Commit graph

25126 commits

Author SHA1 Message Date
Maciej Cencora
5fb5ea97f4 r300: use VBOs for vertex attributes 2009-08-14 17:05:50 +02:00
Brian Paul
c3f9c2eb75 docs: document new --with-max-width/height config options 2009-08-14 09:00:15 -06:00
Tom Fogal
9a8781bd24 Add a FAQ about internal buffer sizes. 2009-08-14 08:58:59 -06:00
Tom Fogal
7085dce750 Add configure options for MAX_WIDTH/HEIGHT.
This adds two --with configure options for setting defines for
MAX_WIDTH and MAX_HEIGHT.  It's conceivably just as easy to define
these in CFLAGS manually, but this way users don't need to know
about internal Mesa details.

Patch updated by BrianP to set DEFINES, not CFLAGS.
2009-08-14 08:58:37 -06:00
Tom Fogal
66bc17e80e Allow external settings of MAX_WIDTH/HEIGHT.
Conditionalize MAX_WIDTH / MAX_HEIGHT defines so that users can
set them via CFLAGS.
2009-08-14 08:56:51 -06:00
Tobias Doerffel
87946d206f intel: in intel_context struct use typedef for sarea struct
Using drm_i915_sarea_t instead of struct drm_i915_sarea seems to be
a common standard now, therefore fix it also in intel_context
structure. Additionally this silences a compiler warning:

intel_swapbuffers.c: In function `intelFixupVblank':
intel_swapbuffers.c:48: warning: initialization from incompatible pointer type

Signed-off-by: Tobias Doerffel <tobias.doerffel@gmail.com>
2009-08-14 08:50:52 -06:00
Thierry Vignaud
2674d1ba50 mesa: make sure r300/compiler/ sources are included in tarball 2009-08-14 08:16:54 -06:00
Chia-I Wu
67b639c7ab st/vega: Add more symbols defined by mesa/st.
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-08-14 08:11:38 -06:00
Maciej Cencora
895f7c33d4 r300: add required symlinks
Reported by adamk on #radeon
2009-08-14 16:02:11 +02:00
Maciej Cencora
e029c91fd3 radeon: handle debug versions of radeon_bo_open 2009-08-14 16:02:10 +02:00
Christoph Bumiller
f1aa2a43b7 nv50: fix typo in REALLOC's 2nd argument in ctor_immd 2009-08-14 15:54:49 +02:00
Maciej Cencora
6bcbeb02d6 radeon: add VBO support (not enabled yet) 2009-08-14 15:31:11 +02:00
Maciej Cencora
2233ac61e1 radeon: export emitvec* functions 2009-08-14 15:31:06 +02:00
Maciej Cencora
d534648d90 radeon: constify some parameters 2009-08-14 15:30:55 +02:00
Alex Deucher
7069a7548f r600: emit SURFACE_BASE_UPDATE on depth base updates on rv6xx 2009-08-14 01:37:36 -04:00
Dave Airlie
ceb9459ed5 glsl: re-write Makefile after I called it bad. 2009-08-14 10:05:10 +10:00
Brian Paul
0c717bcd5d progs/glsl: added multitex.shtest config file 2009-08-13 17:03:57 -06:00
Brian Paul
08ecd863ee progs/glsl: set generic vertex attribute values 2009-08-13 17:03:56 -06:00
Brian Paul
62d1132160 progs/glsl: add type field to shtest config files
Plus, texture loading.
2009-08-13 17:03:56 -06:00
Brian Paul
823703418e mesa: added *.shtest files to demo tarball 2009-08-13 17:03:56 -06:00
Dave Airlie
25cd4dc1d6 glsl/tests: skinning.o
worst Makefile ever. not sure what is going on here, hopefully
this fixes tinderbox
2009-08-14 08:35:49 +10:00
Alex Deucher
9d96095c1e r600: move non-surface related cb state to general state 2009-08-13 17:55:42 -04:00
Alex Deucher
083b04e809 r600: move non-surface related depth state to general state 2009-08-13 17:43:03 -04:00
RALOVICH, Kristóf
0896268b97 glx: indent -br -i3 -npcs --no-tabs
Some manual intervention applied since XEXT_* and other macro magic
fooled indent. Auto generated files were also skipped.
2009-08-13 15:13:21 -06:00
Brian Paul
1e0f621b50 mesa: fix some invalid memory reads
We were passing the address of a float to functions that would deref the
pointer as an array.
2009-08-13 14:38:27 -06:00
Brian Paul
6d55fd705d progs/tests: hack a PBO/dlist test 2009-08-13 14:07:25 -06:00
Brian Paul
ecb177eaea mesa: fix warnings about locals hiding function params 2009-08-13 14:05:52 -06:00
Brian Paul
36df6a6e91 mesa: add missing PBO mapping code in unpack_image() 2009-08-13 14:00:21 -06:00
Brian Paul
ad8a6937ae main: fix some potential memory leaks
Allocate dlist images after error checking.
Record GL_OUT_OF_MEMORY when we can't make a copy of an image.
2009-08-13 13:48:36 -06:00
Brian Paul
f418d18ea6 mesa: fix some potential uninitialized memory references 2009-08-13 13:44:31 -06:00
Brian Paul
a531a5cf94 glsl: fix some uninitialized pointers 2009-08-13 13:44:01 -06:00
Brian Paul
741869d73a progs/util: ignore pre-defined uniforms in SetUniformValues() 2009-08-13 12:53:20 -06:00
Brian Paul
ae99e4c67e progs/glsl: new shtest program, a simple shader test harness app
This commit includes some sample config files (*.shtest)
2009-08-13 12:52:13 -06:00
Brian Paul
03ba461c19 glsl: fix incorrect attribute size 2009-08-13 12:50:57 -06:00
Brian Paul
53dfd5d870 tnl: if NAN_CHECK is enabled, also assert that pos.x != 0 2009-08-13 12:50:57 -06:00
Brian Paul
c10002361c mesa: s/assert/ASSERT/ in _mesa_reference_texobj()
We want the no-op ASSERT for non-debug builds.
2009-08-13 12:50:57 -06:00
Brian Paul
8a9795e5c6 mesa: rework error check in glGetTexLevelParameter(), remove tex_image_dimensions() 2009-08-13 12:50:57 -06:00
Brian Paul
423a53f635 mesa: if maxLevels==0, target is invalid 2009-08-13 12:50:56 -06:00
Brian Paul
fe988d786c mesa: add extension checks in _mesa_max_texture_levels() 2009-08-13 12:50:56 -06:00
Brian Paul
47a385b43b mesa: minor clean-ups in bumpmap functions 2009-08-13 12:50:56 -06:00
Brian Paul
6aa7a03d85 mesa: use _mesa_get_current_tex_unit() in more places 2009-08-13 12:50:56 -06:00
Brian Paul
73b150c816 mesa: refactor: move _mesa_is_color/depth/stencil_format() helpers to image.c 2009-08-13 12:50:56 -06:00
Brian Paul
ba2a55ccd6 mesa: move _mesa_Get[Compressed]TexImage() to texgetimage.c
All the glGetTexImage code is in one file now.
2009-08-13 12:50:56 -06:00
Brian Paul
b9f67df6e7 mesa: short-circuit no-change in _mesa_DepthRange() 2009-08-13 12:25:53 -06:00
Michel Dänzer
ace98f09e6 st/dri: Add support for GLX_EXT_texture_from_pixmap with direct rendering. 2009-08-13 20:24:09 +02:00
Michel Dänzer
7c08614b32 gallium/drm: Handle circular dependencies in the auxiliary libraries with make. 2009-08-13 18:46:53 +02:00
Michel Dänzer
7ef8c79a8c st/xorg: Fix DRI2 CopyRegion hook.
Use GC CopyArea op for proper translation and clipping, and throttle full
buffer swaps / frontbuffer flushes.
2009-08-13 18:46:53 +02:00
Keith Whitwell
f2fcd5822a tgsi: add simple facility for releasing and reusing temporaries 2009-08-13 17:32:25 +01:00
Keith Whitwell
b56d2ba7b2 tgsi: rename ureg src/dest converters
Also fix a typo in ureg_src().
2009-08-13 17:32:25 +01:00
José Fonseca
5c5364a0f6 draw: Remove unused variable. 2009-08-13 16:33:50 +01:00