summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* mesa: move/rename is_depth_or_stencil_format()Brian Paul2010-04-273-22/+30
| | | | Put it with other, similar functions.
* st/mesa: rename var and update st_choose_format() commentsBrian Paul2010-04-271-47/+53
|
* st/mesa: call is_format_supported() for compressed formatsBrian Paul2010-04-271-4/+20
| | | | | | 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.
* st/mesa: 80-column wrappingBrian Paul2010-04-271-14/+28
|
* st/mesa: try to get actual compressed format for GL_COMPRESSED_RGB[A] formatsBrian Paul2010-04-271-2/+20
|
* Merge branch '7.8'Brian Paul2010-04-274-1595/+2230
|\ | | | | | | | | | | | | | | Conflicts: src/gallium/drivers/nv30/nv30_context.c src/gallium/drivers/nv40/nv40_context.c src/gallium/drivers/nv40/nv40_state_emit.c
| * nv30/40g: fix calls to draw_create(), draw_set_rasterizer_state()Pedro Maia2010-04-273-3/+3
| | | | | | | | Signed-off-by: Brian Paul <[email protected]>
| * docs: document updated glext.h and glxext.h filesBrian Paul2010-04-261-0/+6
| |
| * glxext.h: upgraded to 2010/02/10 versionBrian Paul2010-04-261-0/+4
| |
| * glext: upgraded to version 61Brian Paul2010-04-261-1595/+2211
| |
| * docs: add links to old mailing list archivesBrian Paul2010-04-231-0/+9
| |
* | st/mesa: fix strides in (de)compress_image() functionsBrian Paul2010-04-271-14/+2
| | | | | | | | Mipmap generation for compressed textures works now.
* | util: fix assorted problems in the image packing functionsBrian Paul2010-04-271-84/+70
| |
* | gallivm: Disable llvm.cos.v4f32 and llvm.sin.v4f32 instrinsics on Windows.José Fonseca2010-04-271-0/+18
| | | | | | | | | | | | | | | | 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.
* | gallivm: Ensure all allocas are in the first block.José Fonseca2010-04-276-41/+97
| | | | | | | | Refactor the code to make this easier.
* | i965g: Fix scons build of winsysJakob Bornecrantz2010-04-271-0/+2
| |
* | st/dri: Don't check for null when user ensures non-nullJakob Bornecrantz2010-04-271-30/+22
| |
* | dri_util: Assume error checking is done properly in glXMakeCurrentJakob Bornecrantz2010-04-271-14/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | st/dri: Use flush function of old context not newJakob Bornecrantz2010-04-271-1/+1
| |
* | r300g: fix mipmapped texture3D size calculationMarek Olšák2010-04-271-1/+1
| | | | | | | | | | | | I accidentally inverted the condition. :( Broken since the commit 2579fe4044012a552c8be222ffae76b48de13592. FDO bug #27851.
* | r300g: compensate for non-atomized emit_query_end in the CSMarek Olšák2010-04-272-4/+11
| | | | | | | | And reserve a little more space just in case.
* | progs/tests: Remove meaningless const qualifier in arraytexture.c.Vinson Lee2010-04-271-1/+1
| |
* | nvfx: Move src/gallium/drivers to beginning of SCons include path.Vinson Lee2010-04-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | libdrm-2.4.20 and earlier include the nouveau/nouveau_class.h header. A later version of libdrm will not ship this header. Mesa also has this header at src/gallium/drivers. The symbol NV34TCL_VTXFMT_TYPE_HALF is needed by nvfx_vbo.c. This symbol is not in the libdrm copy of the header but is in the Mesa copy of the header. This patch moves src/gallium/drivers to the beginning of the include paths such that when building on hosts with libdrm-2.4.20 or ealier the build uses the copy in Mesa.
* | progs/egl: Add egl/eglut to PROGRAM_DIRS.Chia-I Wu2010-04-278-17/+8
| | | | | | | | | | Make sure eglut is built before the demos. This should work more reliably with make -j<N>.
* | docs: update some GL3 statusBrian Paul2010-04-261-2/+2
| |
* | mesa: start adding GL 3.1 signed normalized texture formatsBrian Paul2010-04-266-8/+470
| |
* | r300g: reserve CS space for index offsetMarek Olšák2010-04-271-1/+1
| | | | | | | | | | | | | | This has caused CS overflow since the commit 671f1e1229877d459cfd76e2cf5ea89c8d881036. TA3D works here again.
* | llvmpipe: Remove unused variable.Vinson Lee2010-04-261-2/+0
| |
* | r300g: add support for more unaligned vertex formatsMarek Olšák2010-04-271-1/+33
| | | | | | | | | | | | An aligned stride is still needed for it to work. I am slowly approaching the Sauerbraten milestone!
* | r300g: setup PSC first, then align vertex formatsMarek Olšák2010-04-271-3/+5
| | | | | | | | This allows us to put correct swizzles for undefined components in PSC.
* | r300g: set undefined vertex swizzles to (0,0,0,1) respectivelyMarek Olšák2010-04-271-1/+8
| |
* | draw/llvm: implement fetch elts pathsZack Rusin2010-04-263-31/+160
| | | | | | | | | | | | | | we were only running the llvm paths when the input elts were linear, now we can handle abritrary fetch elts arrays. we do this by generating two paths - linear and fetch_elts one and just selecting the right one at run time.
* | r600: add support for more rendering formatsAlex Deucher2010-04-264-16/+295
| |
* | r300g: disable point sprites (again)Marek Olšák2010-04-261-1/+4
| | | | | | | | They cause lockups. The users doesn't seem to like them.
* | r300g: fix warnings when printing uint64_tMarek Olšák2010-04-261-2/+4
| | | | | | | | Though not nice, this is the correct way.
* | r300g: fix warnings by using the const qualifierMarek Olšák2010-04-262-2/+2
| | | | | | | | See also the libdrm commit af98ccf4dd5dcb1b904ec32b9bd1521e6bf7dda5.
* | r300g: use CS_OUT_TABLE betterMatt Turner2010-04-261-13/+3
| | | | | | | | | | | | Reviewed-by: Corbin Simpson <[email protected]> Signed-off-by: Matt Turner <[email protected]> Signed-off-by: Marek Olšák <[email protected]>
* | r600: avoid setting invalid bit on r7xx for blitsAlex Deucher2010-04-261-0/+4
| |
* | gallivm: BGNFOR/ENDFOR fallthrough to BGNLOOP/ENDLOOPAlan Hourihane2010-04-261-10/+2
| |
* | draw: Always use the llvm middle end when available & enabled.José Fonseca2010-04-262-17/+23
| |
* | svga: Pass-through max_index to translate.José Fonseca2010-04-261-1/+1
| |
* | draw: Pass-through pipe_buffer::max_index to translate.José Fonseca2010-04-267-19/+34
| | | | | | | | | | | | | | | | | | | | max_index must be observed to prevent crashes due to bad index data. I've been using this patch for some time without regressions. Some places, where we use internal vertex buffer, it is not entirely clear what max_index should be, so passing just ~0 to avoid regressions for now.
* | translate: Take and respect a max_index argument.José Fonseca2010-04-263-8/+24
| |
* | r300g: Rudimentary stats, printed on exit.Corbin Simpson2010-04-264-0/+22
| | | | | | | | Whoo!
* | r300g: Add stats debug flag.Corbin Simpson2010-04-262-0/+2
| |
* | r600: enable VERT_RESULT_PSIZ - makes point size & attenuation workAndre Maasikas2010-04-262-2/+29
| | | | | | | | | | | | | | | | doc additions: shader export ARRAY_BASE for EXPORT_POS: 60 is position, 61 is misc vec(VS_OUT_MISC_VEC - used here), 62, 63 are clip distance vectors(VS_OUT_CCDIST#) sorry for formating - there seem to be so many different styles in r600
* | r600: adjust point sprites after 911fa4a4a1Andre Maasikas2010-04-261-10/+11
| | | | | | | | | | there's no more vp results for point coords so we cannot iterate over vp outputs. Use only Point.CoordReplace[i]
* | scons: Include headers from the local include directory first.Vinson Lee2010-04-261-1/+3
| | | | | | | | | | | | | | | | Certain headers, such as GL/glew.h, are in both the Mesa include and the default installed include directories. On recent distros the needed symbols can be found in both places. On older distros the installed headers could be lacking symbols, so for a header that exists in both places, the local one should be found first.
* | os: Check for spurious wakeups in pipe_barrier_wait.Vinson Lee2010-04-261-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The POSIX function pthread_cond_wait can have spurious wakeups when waiting on a condition variable. Add a 64-bit counter that is incremented whenever the barrier becomes full. A woken thread checks the counter. If the counter has not changed then it has been spuriously woken and goes back to sleep. If the counter has changed then it was properly signaled and exits the barrier. Tested on Mac OS X. This patch was based on ideas from Luca Barbieri.
* | r300g: Use table CS writing when applicable.Corbin Simpson2010-04-261-35/+13
| | | | | | | | I just broke the 2000 fps barrier on glxgears. Yay?