summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* docs: Update EGL doc.Chia-I Wu2010-07-031-50/+19
| | | | Updated for the reorganization of st/egl targets.
* mesa: Fix OpenGL ES-only builds.Chia-I Wu2010-07-032-0/+4
| | | | | | | | Check FEATURE_GL in _mesa_init_shader_dispatch and _mesa_init_shader_uniform_dispatch. OpenGL ES can not and does not use _mesa_init_<...>_dispatch. This is supposed to be temporary. Ideally, a more flexible way for initializing dispatch tables should be developed.
* egl: Always use EGLAPIENTRY in api function prototypesnobled2010-07-031-15/+15
| | | | Fixes the build on Windows.
* gallivm: Remove unnecessary headers.Vinson Lee2010-07-032-2/+0
|
* r300g: fix warningsMarek Olšák2010-07-031-2/+5
|
* r300/compiler: Fix loop unrollingTom Stellard2010-07-031-1/+15
|
* r300/compiler: Use hardware flow control instructions for loops on r500.Tom Stellard2010-07-038-44/+154
|
* r300g: Fix typo in r300_reg.hTom Stellard2010-07-031-2/+2
|
* r300/compiler: Don't continue copy propagation inside loops.Tom Stellard2010-07-031-0/+5
|
* r300/compiler: Print debug info for flow control instructions.Tom Stellard2010-07-031-5/+73
|
* r300/compiler: Enable hardware IF statements for r500 cards.Tom Stellard2010-07-032-5/+6
|
* r300/compiler: In the peephole optimizer, ELSE should mark the end of aTom Stellard2010-07-031-2/+13
| | | | block.
* r300/compiler: Correctly calculate the max number of iterations for loops.Tom Stellard2010-07-031-17/+8
|
* r300/compiler: Handle loops in deadcode analysis.Tom Stellard2010-07-035-77/+112
| | | | | | | | | This also allows us to split the loop emulation into two phases. A tranformation phase which either unrolls loops or prepares them to be emulated, and the emulation phase which unrolls remaining loops until the instruction limit is reached. The second phase is completed after the deadcode analysis in order to get a more accurate count of the number of instructions in the body of loops.
* osmesa: remove old renderbuffer before adding newBrian Paul2010-07-021-0/+1
| | | | | | Fixes fd.o bug 10966 when OSMesaMakeCurrent() was called twice. NOTE: This is a candidate for the 7.8 branch.
* mesa: updated instruction commentsBrian Paul2010-07-021-4/+3
|
* mesa: add geometry shader fields to gl_shader_programBrian Paul2010-07-024-53/+42
| | | | | | | These 3 fields are per shader-program. Copy them into the geometry program at link time for convenient access later. Also, add some missing glGetProgramiv() queries.
* gallivm: Do 4ubyte AoS texture filtering for any format that can be expressed.José Fonseca2010-07-023-52/+96
| | | | | Except if it has only one channel, as it would take the same number of instructions.
* gallivm: Use util_format_description::fetch_rgba_8unorm() when available.José Fonseca2010-07-021-7/+100
|
* util: Add a fetch_rgba_8unorm.José Fonseca2010-07-022-0/+15
| | | | | | Not always implemented, but useful in situations where we want 8unorms and the samples comes as 8unorms as we needlessly convert to/from floats.
* gallivm: Support multiple pixels in lp_build_fetch_rgba_aos().José Fonseca2010-07-026-112/+202
| | | | | This allows to do the unpacking of formats that fit in 4 x unorm8 in parallel, 4 pixels at a time.
* gallivm: Move lp_build_rgba8_to_f32_soa() to lp_bld_format_soa.cJosé Fonseca2010-07-023-32/+40
| | | | It will be more useful here.
* gallivm: Move gather functions to its own module.José Fonseca2010-07-0210-61/+215
| | | | | They need to grow, and they provide basic functionality which is not specific to sampling.
* gallivm: Check inputs/outputs in lp_build_conv()José Fonseca2010-07-021-2/+6
|
* util: Expose util_format_fits_8unorm().José Fonseca2010-07-022-1/+4
|
* mesa: fix texenv generation when num color bufs == 0Brian Paul2010-07-021-1/+4
| | | | | | | | | | | | Before, if there were no color buffers enabled (with glDrawBuffers(GL_NONE)) when the texenv program was generated, we'd emit writes to OUTPUT[1] but the OutputsWritten mask was 0. This inconsistency caused an assertion to fail later in the Mesa->TGSI translation. Fixes fd.o bug 28169 NOTE: this is a candidate for the 7.8 branch (and depends on commit b6b9b17d27c570cc99ae339e595cf2f63ca5e8d7).
* softpipe: fix incorrect blend func index passed to blend_quad()Brian Paul2010-07-021-8/+15
| | | | | | | | Need to pass the index indicating which blend terms to use, not which color buffer we're blending into. Rename the parameter to blend_quad() and add comments to be more clear about this.
* softpipe: better assertionsBrian Paul2010-07-021-7/+7
|
* mesa: add missing error checks in _mesa_program_parameteri()Brian Paul2010-07-021-8/+45
|
* main: change some GS field types, added commentsBrian Paul2010-07-021-2/+3
|
* mesa: make the number of draw buffers part of the texenv program key stateBrian Paul2010-07-022-5/+9
| | | | | | | | All the state that effects the program should be in the key. This didn't help with bug 28169 but is a good fix anyway. NOTE: this is a low-priority candidate for the 7.8 branch. In practice, this issue might never be hit.
* gallium/cso: check for set_vertex_sampler_views != NULL before calling itBrian Paul2010-07-021-1/+2
| | | | | Not all drivers implement this method. Fixes regression reported by Chris Rankin and bug 28889.
* mesa: Silence warning.José Fonseca2010-07-021-1/+2
|
* gallivm: Code generate YUV format unpacking.José Fonseca2010-07-025-0/+431
|
* gallivm: Fix 4 x unorm8 -> 4 x float conversion.José Fonseca2010-07-023-8/+31
| | | | Also fix the test.
* r600: use gallium list macros instead of making our own.Dave Airlie2010-07-028-110/+112
| | | | | | | | | before this change, r600 glxinfo segfaulted in the list code, and I wasn't debugging another linked list implementation, its 2010 after all. So add the two missing list macros to the gallium header from X.org list header file (after fixing them), then port all r600 lists to the new header. Signed-off-by: Dave Airlie <[email protected]>
* mesa: extension flags and version testing for GL 3.x featuresBrian Paul2010-07-013-3/+102
|
* mesa: entrypoints for GL 3.1 primitive restartBrian Paul2010-07-014-0/+110
|
* Use GLW_CFLAGS when building libGLwDan Nicholson2010-07-012-1/+2
| | | | | We check for libX11 and libXt, so we might as well use the CFLAGS pkg-config tells us about.
* Use GLUT_CFLAGS when building glutJohn Hein2010-07-012-4/+4
| | | | | | | | | | | | | | | | | | | Fix this build error (in MesaGLUT-7.6.1)... glut_cmap.c:23:66: error: X11/Xmu/StdCmap.h: No such file or directory ...by not preventing the cflags that pkg-config finds for glut dependencies (including 'xmu') from being used. Defining GLUT_CFLAGS before running the pkg-config prevents the cflags found by pkg-config from being used. This patch lets GLUT_CFLAGS that configure & pkg-config work so hard to set actually get used. Also make sure the generated configs/autoconf defines GLUT_CFLAGS used in (at least) src/glut/glx/Makefile. Signed-off-by: Dan Nicholson <[email protected]>
* mesa: Purge macros NEED_EVENTS and NEED_REPLIESFernando Carrijo2010-07-016-10/+0
| | | | | Signed-off-by: Fernando Carrijo <[email protected]> Signed-off-by: Brian Paul <[email protected]>
* gallium/cso: unbind sampler views in cso_release_all()Brian Paul2010-07-011-0/+2
|
* mesa: free xform feedback hash tableBrian Paul2010-07-011-0/+1
|
* st/mesa: fix commentBrian Paul2010-07-011-1/+1
|
* llvmpipe: silence pointer type warningsBrian Paul2010-07-011-4/+8
|
* gallivm: Support 4 x unorm8 in lp_build_fetch_rgba_aos().José Fonseca2010-07-016-141/+372
| | | | Uses code and ideas from Brian Paul.
* gallivm: Allow to conversions to/from registers of different sizes.José Fonseca2010-07-014-25/+141
| | | | | | Allow for example to convert from 4 x float32 to 4 x unorm8 and vice versa. Uses code and ideas from Brian Paul.
* gallivm: Support extended swizzles in lp_build_swizzle1_aos().José Fonseca2010-07-013-23/+169
| | | | And rename to lp_build_swizzle_aos().
* gallivm: Setup a global optimization pass.José Fonseca2010-07-012-0/+31
| | | | | Modules are still free to setup their own optimization passes, but for the normal case it should not be necessary.
* llvmpipe: Remove lp_build_swizzle2_aos().José Fonseca2010-07-013-83/+19
| | | | Unnecessary special case.