summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* egl: Rework driver loading.Chia-I Wu2010-07-067-211/+365
| | | | | | | | | | | | | | | Driver loading is now splitted into two stages. In the first stage, an _EGLModule is created for each driver: user driver, default drivers, and all files in the search directories that start with "egl_". Modules are not loaded at this stage. In the second stage, each module is loaded to initialize a display. The process stops at the first module that can initialize the display. If eglGetProcAddress is called before eglInitialize, the same code path will be taken to find the first module that supports EGL_DEFAULT_DISPLAY. Because we do not want to initialize the display, drv->Probe is used instead in this case.
* st/egl: Add support for !GLX_DIRECT_RENDERING.Chia-I Wu2010-07-065-42/+84
| | | | | | | st/egl uses GLX code for DRI2 support. It should honor GLX_DIRECT_RENDERING. Also updates configure.ac to define GLX_DIRECT_RENDERING for st/egl.
* mesa: initial support for unnormalized integer texture formatsBrian Paul2010-07-059-133/+1140
| | | | As defined by GL_EXT_texture_integer.
* auxiliary/util: Add SM3 meta-cap list.Corbin Simpson2010-07-051-0/+17
|
* llvmpipe: wait for queries being finished when asked for it or before deletionRoland Scheidegger2010-07-051-6/+26
| | | | | This fixes bug #28757, though does not yet address the issue that fences aren't always emitted.
* i915g: Remove unnecessary header.Vinson Lee2010-07-041-1/+0
|
* i915g: Add flag to not send commands to hwJakob Bornecrantz2010-07-043-1/+6
|
* i915g: If the kernel reject the batchbuffer print it then assertJakob Bornecrantz2010-07-041-13/+18
|
* i915g: Minor cleanupsJakob Bornecrantz2010-07-042-9/+16
|
* i915g: Make batchbuffer flush function not be inlineJakob Bornecrantz2010-07-043-15/+28
|
* i915g: Rename texture state to map stateJakob Bornecrantz2010-07-041-23/+23
|
* i915g: Move fragment state to its own fileJakob Bornecrantz2010-07-046-17/+64
|
* i915g: Move static state to its own fileJakob Bornecrantz2010-07-044-18/+50
|
* i915g: Don't dirty dynamic state if it hasn't changedJakob Bornecrantz2010-07-041-1/+4
|
* i915g: Don't flush after blitJakob Bornecrantz2010-07-041-2/+0
|
* i915g: Don't flush empty batchbuffersJakob Bornecrantz2010-07-041-2/+0
|
* gallium: Make trivial examples use target helpersJakob Bornecrantz2010-07-043-26/+23
|
* gallium: Fix compilation of trivial quad-texJakob Bornecrantz2010-07-041-1/+1
|
* st/egl: Remove unnecessary headers.Vinson Lee2010-07-031-3/+0
|
* 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.