Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | egl: Rework driver loading. | Chia-I Wu | 2010-07-06 | 7 | -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 Wu | 2010-07-06 | 5 | -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 formats | Brian Paul | 2010-07-05 | 9 | -133/+1140 |
| | | | | As defined by GL_EXT_texture_integer. | ||||
* | auxiliary/util: Add SM3 meta-cap list. | Corbin Simpson | 2010-07-05 | 1 | -0/+17 |
| | |||||
* | llvmpipe: wait for queries being finished when asked for it or before deletion | Roland Scheidegger | 2010-07-05 | 1 | -6/+26 |
| | | | | | This fixes bug #28757, though does not yet address the issue that fences aren't always emitted. | ||||
* | i915g: Remove unnecessary header. | Vinson Lee | 2010-07-04 | 1 | -1/+0 |
| | |||||
* | i915g: Add flag to not send commands to hw | Jakob Bornecrantz | 2010-07-04 | 3 | -1/+6 |
| | |||||
* | i915g: If the kernel reject the batchbuffer print it then assert | Jakob Bornecrantz | 2010-07-04 | 1 | -13/+18 |
| | |||||
* | i915g: Minor cleanups | Jakob Bornecrantz | 2010-07-04 | 2 | -9/+16 |
| | |||||
* | i915g: Make batchbuffer flush function not be inline | Jakob Bornecrantz | 2010-07-04 | 3 | -15/+28 |
| | |||||
* | i915g: Rename texture state to map state | Jakob Bornecrantz | 2010-07-04 | 1 | -23/+23 |
| | |||||
* | i915g: Move fragment state to its own file | Jakob Bornecrantz | 2010-07-04 | 6 | -17/+64 |
| | |||||
* | i915g: Move static state to its own file | Jakob Bornecrantz | 2010-07-04 | 4 | -18/+50 |
| | |||||
* | i915g: Don't dirty dynamic state if it hasn't changed | Jakob Bornecrantz | 2010-07-04 | 1 | -1/+4 |
| | |||||
* | i915g: Don't flush after blit | Jakob Bornecrantz | 2010-07-04 | 1 | -2/+0 |
| | |||||
* | i915g: Don't flush empty batchbuffers | Jakob Bornecrantz | 2010-07-04 | 1 | -2/+0 |
| | |||||
* | gallium: Make trivial examples use target helpers | Jakob Bornecrantz | 2010-07-04 | 3 | -26/+23 |
| | |||||
* | gallium: Fix compilation of trivial quad-tex | Jakob Bornecrantz | 2010-07-04 | 1 | -1/+1 |
| | |||||
* | st/egl: Remove unnecessary headers. | Vinson Lee | 2010-07-03 | 1 | -3/+0 |
| | |||||
* | docs: Update EGL doc. | Chia-I Wu | 2010-07-03 | 1 | -50/+19 |
| | | | | Updated for the reorganization of st/egl targets. | ||||
* | mesa: Fix OpenGL ES-only builds. | Chia-I Wu | 2010-07-03 | 2 | -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 prototypes | nobled | 2010-07-03 | 1 | -15/+15 |
| | | | | Fixes the build on Windows. | ||||
* | gallivm: Remove unnecessary headers. | Vinson Lee | 2010-07-03 | 2 | -2/+0 |
| | |||||
* | r300g: fix warnings | Marek Olšák | 2010-07-03 | 1 | -2/+5 |
| | |||||
* | r300/compiler: Fix loop unrolling | Tom Stellard | 2010-07-03 | 1 | -1/+15 |
| | |||||
* | r300/compiler: Use hardware flow control instructions for loops on r500. | Tom Stellard | 2010-07-03 | 8 | -44/+154 |
| | |||||
* | r300g: Fix typo in r300_reg.h | Tom Stellard | 2010-07-03 | 1 | -2/+2 |
| | |||||
* | r300/compiler: Don't continue copy propagation inside loops. | Tom Stellard | 2010-07-03 | 1 | -0/+5 |
| | |||||
* | r300/compiler: Print debug info for flow control instructions. | Tom Stellard | 2010-07-03 | 1 | -5/+73 |
| | |||||
* | r300/compiler: Enable hardware IF statements for r500 cards. | Tom Stellard | 2010-07-03 | 2 | -5/+6 |
| | |||||
* | r300/compiler: In the peephole optimizer, ELSE should mark the end of a | Tom Stellard | 2010-07-03 | 1 | -2/+13 |
| | | | | block. | ||||
* | r300/compiler: Correctly calculate the max number of iterations for loops. | Tom Stellard | 2010-07-03 | 1 | -17/+8 |
| | |||||
* | r300/compiler: Handle loops in deadcode analysis. | Tom Stellard | 2010-07-03 | 5 | -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 new | Brian Paul | 2010-07-02 | 1 | -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 comments | Brian Paul | 2010-07-02 | 1 | -4/+3 |
| | |||||
* | mesa: add geometry shader fields to gl_shader_program | Brian Paul | 2010-07-02 | 4 | -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é Fonseca | 2010-07-02 | 3 | -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é Fonseca | 2010-07-02 | 1 | -7/+100 |
| | |||||
* | util: Add a fetch_rgba_8unorm. | José Fonseca | 2010-07-02 | 2 | -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é Fonseca | 2010-07-02 | 6 | -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.c | José Fonseca | 2010-07-02 | 3 | -32/+40 |
| | | | | It will be more useful here. | ||||
* | gallivm: Move gather functions to its own module. | José Fonseca | 2010-07-02 | 10 | -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é Fonseca | 2010-07-02 | 1 | -2/+6 |
| | |||||
* | util: Expose util_format_fits_8unorm(). | José Fonseca | 2010-07-02 | 2 | -1/+4 |
| | |||||
* | mesa: fix texenv generation when num color bufs == 0 | Brian Paul | 2010-07-02 | 1 | -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 Paul | 2010-07-02 | 1 | -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 assertions | Brian Paul | 2010-07-02 | 1 | -7/+7 |
| | |||||
* | mesa: add missing error checks in _mesa_program_parameteri() | Brian Paul | 2010-07-02 | 1 | -8/+45 |
| | |||||
* | main: change some GS field types, added comments | Brian Paul | 2010-07-02 | 1 | -2/+3 |
| | |||||
* | mesa: make the number of draw buffers part of the texenv program key state | Brian Paul | 2010-07-02 | 2 | -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. |