Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | gallium: rename draw() to draw_elements() in vbuf code | Brian Paul | 2010-05-05 | 10 | -47/+47 |
| | | | | | Now we have draw_elements() and draw_arrays() to be consistent with the pipe_context drawing functions. | ||||
* | llvmpipe: update driver's provoking vertex code | Brian Paul | 2010-05-05 | 2 | -93/+179 |
| | | | | | Note that the lp_setup_vbuf.c code is very, very similar to the corresponding code in softpipe. It could probably be shared. | ||||
* | gallium: rework provoking vertex code | Brian Paul | 2010-05-05 | 7 | -164/+321 |
| | | | | | | | | | | | | | | Builds on commit ddb0e18f6c5582d4d2cc59ffd16ad9c4639ed059 and fixes regressions in glean clipFlat test. We assume that Gallium drivers observe flatshade_first for all triangles and that all the assorted per-triangle calls in the 'draw' module also follow flatshade_first. Everything else builds on those rules. Gallium does not use follow flatshade_first for GL quads, quad strips and polygons; the "last" vertex is always the provoking vertex for those prims. So now there are separate QUAD_FIRST_PV and QUAD_LAST_PV macros in the draw primitive decomposition code instead of one QUAD macro. | ||||
* | tgsi: make dumping work on non-debug builds | Marek Olšák | 2010-05-05 | 1 | -1/+1 |
| | |||||
* | st/mesa: fix per-vertex point size | Marek Olšák | 2010-05-05 | 1 | -1/+1 |
| | | | | This fixes FDO bug #27343. | ||||
* | llvmpipe: added a new assertion as a hint to Coverity | Brian Paul | 2010-05-05 | 1 | -0/+1 |
| | | | | Looks like coverity found a false positive for an out of bounds array write. | ||||
* | nouveau: only advertise PIPE_FORMAT_DXT* if s3tc available | Xavier Chantry | 2010-05-05 | 3 | -8/+27 |
| | |||||
* | graw-xlib: Revert the output dir lib change. | José Fonseca | 2010-05-05 | 1 | -1/+3 |
| | |||||
* | st/mesa: Remove unnecessary headers. | Vinson Lee | 2010-05-05 | 1 | -6/+0 |
| | |||||
* | mesa: fpclassify dummy definition not needed on Mac OS X. | Vinson Lee | 2010-05-05 | 1 | -0/+4 |
| | |||||
* | svga: Remove unnecessary header. | Vinson Lee | 2010-05-04 | 1 | -1/+0 |
| | |||||
* | draw: Remove unnecessary header. | Vinson Lee | 2010-05-04 | 1 | -1/+0 |
| | |||||
* | util: Remove unnecessary headers. | Vinson Lee | 2010-05-04 | 3 | -3/+0 |
| | |||||
* | llvmpipe: Remove unnecessary headers. | Vinson Lee | 2010-05-04 | 2 | -2/+0 |
| | |||||
* | r300g: Fix memory leak on error path. | Vinson Lee | 2010-05-04 | 1 | -0/+1 |
| | |||||
* | i965: When an RB gets a new region, clear the old from the state cache. | Eric Anholt | 2010-05-04 | 4 | -6/+16 |
| | | | | | | | | This prevents memory usage explosion in blender due to the state cache hanging on to old fake frontbuffer regions. Sigh at blender still using frontbuffer rendering. Bug #24119. | ||||
* | intel: Don't tile textures so small that size is blown up by over 2x. | Eric Anholt | 2010-05-04 | 1 | -4/+3 |
| | | | | | Noted on the mailing list for an app that puts each glyph for its text into a separate texture. | ||||
* | progs/egl: Fix eglut with OpenGL ES 2.0. | Chia-I Wu | 2010-05-05 | 1 | -1/+3 |
| | | | | EGL_OPENGL_ES2_BIT is not set when choosing OpenGL ES 2.0 configs. | ||||
* | osmesa: remove unused var | Brian Paul | 2010-05-04 | 1 | -1/+0 |
| | |||||
* | mesa: remove some color index code | Brian Paul | 2010-05-04 | 1 | -19/+0 |
| | |||||
* | mesa: remove unused renderbuffer adaptor code | Brian Paul | 2010-05-04 | 4 | -607/+0 |
| | |||||
* | mesa: remove renderbuffer adaptor calls | Brian Paul | 2010-05-04 | 1 | -24/+0 |
| | | | | Was only used for OSMesa but no longer needed. | ||||
* | osmesa: fix OSMesa for CHAN_BITS=32 | Brian Paul | 2010-05-04 | 1 | -7/+30 |
| | | | | | | CHAN_BITS=16 still broken. NOTE: this is a candidate for back-porting to the 7.8 stable branch. | ||||
* | st/mesa: Fix texture-from-pixmap. | Chia-I Wu | 2010-05-05 | 2 | -6/+30 |
| | | | | | | Remember the size of the level=0 mipmap image. Do not call util_format_get_component_bits when st_context_teximage is called to release a texture image. | ||||
* | mesa: Fix build of ES overlay. | Chia-I Wu | 2010-05-05 | 5 | -16/+34 |
| | | | | | | | ES overlay is built with FEATURE_ES1 or FEATURE_ES2, and is built without FEATURE_GL. Fix the build by always building OpenGL ES sources, but test for FEATURE_ES1 or FEATURE_ES2. Also, define symbols that are missing because FEATURE_GL is not defined. | ||||
* | st/mesa: remove commented-out struct field | Brian Paul | 2010-05-04 | 1 | -1/+0 |
| | |||||
* | gallium: remove trailing comma in enum list | Brian Paul | 2010-05-04 | 1 | -2/+2 |
| | |||||
* | mesa: add a dummy definition for fpclassify() if needed | Brian Paul | 2010-05-04 | 1 | -0/+10 |
| | |||||
* | mesa: remove trailing comma in enum list | Brian Paul | 2010-05-04 | 1 | -1/+1 |
| | | | | Some compilers complain about this. | ||||
* | llvmpipe: predicate LLVMDumpModule() on DEBUG_JIT | Brian Paul | 2010-05-04 | 1 | -3/+2 |
| | |||||
* | tests/raw: Get it building with scons. | José Fonseca | 2010-05-05 | 4 | -5/+8 |
| | |||||
* | draw: Preserve the provoking vertex both when decomposing and clipping. | José Fonseca | 2010-05-05 | 2 | -23/+31 |
| | | | | Based on John Lawless' feedback. | ||||
* | draw: Adjust wideline vertex coords for D3D. | Brian Paul | 2010-05-05 | 1 | -27/+34 |
| | |||||
* | scons: Add support for Mingw64. | José Fonseca | 2010-05-05 | 1 | -1/+10 |
| | |||||
* | st/mesa: need to pass srcLevel to st_texture_image_copy() | Brian Paul | 2010-05-04 | 3 | -7/+6 |
| | | | | Fixes a regression in mipmap setup. | ||||
* | llvmpipe: fix broken compressed cube maps | Brian Paul | 2010-05-04 | 1 | -27/+47 |
| | | | | | | When the cube faces were stored in a compressed format, the img_stride values were wrong and didn't match the per-face size computed in the tex_image_face_size() function. This caused bad rendering or segfaults. | ||||
* | gallium/util: added is_format_compressed() | Brian Paul | 2010-05-04 | 1 | -0/+20 |
| | |||||
* | llvmpipe: do some null pointer checking | Brian Paul | 2010-05-04 | 1 | -17/+22 |
| | |||||
* | llvmpipe: add some tests for malloc() returning NULL. | Brian Paul | 2010-05-04 | 2 | -22/+38 |
| | | | | | Start propogating NULL pointers from allocation functions and checks for NULL in the callers... | ||||
* | progs/demos: set line width back to 1.0 in DrawBox() | Brian Paul | 2010-05-04 | 1 | -0/+1 |
| | |||||
* | glxinfo: Get visual info when an fbconfig has an associated visual | Kristian Høgsberg | 2010-05-04 | 1 | -8/+11 |
| | |||||
* | Fix gles .pc file generation | Kristian Høgsberg | 2010-05-04 | 2 | -1/+4 |
| | |||||
* | Add egl.pc file | Kristian Høgsberg | 2010-05-04 | 3 | -1/+33 |
| | |||||
* | r300g: advertise S3TC only when it's available in Gallium | Marek Olšák | 2010-05-04 | 1 | -0/+5 |
| | |||||
* | u_blitter: fix creating fragment shaders | Wiktor Janas | 2010-05-04 | 1 | -7/+6 |
| | | | | | | See FDO bug #27887. Signed-off-by: Marek Olšák <[email protected]> | ||||
* | intel: Update renderbuffers unconditionally in intelSetTexBuffer2() | Kristian Høgsberg | 2010-05-04 | 1 | -2/+1 |
| | |||||
* | st/mesa: return success/fail from guess_and_alloc_texture() | Brian Paul | 2010-05-04 | 1 | -7/+10 |
| | | | | | | Before we looked at stObj->pt to see if we may have run out of memory, but that's not a good indicator. This fixes the spurious GL_OUT_OF_MEMORY errors that could arise before. | ||||
* | st/mesa: improved st_texture_image_copy() | Brian Paul | 2010-05-04 | 1 | -29/+47 |
| | | | | | | | No longer need to search for the src mipmap level. Added assertions. Updated comments. Moved debug code into separate function. | ||||
* | mesa/st: Fill in native program limits. | José Fonseca | 2010-05-04 | 1 | -0/+91 |
| | | | | | | | In the lack of more fine grained capabilities in Gallium, assume that if the pipe driver supports GLSL then native limits match Mesa software limits. (cherry picked from commit 40a90cd11234a09c2477f5c9984dd6d9fac3f52c) | ||||
* | intel: Enable GL_EXT_framebuffer_object for gles2 | Kristian Høgsberg | 2010-05-04 | 1 | -0/+1 |
| |