Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | glapi: add new information for GL_ARB_vertex_array_object | Brian Paul | 2009-06-19 | 3 | -0/+37 |
| | |||||
* | intel: Fixups for 'mesa: create/destroy buffer objects via driver functions'. | Michel Dänzer | 2009-06-19 | 3 | -16/+11 |
| | | | | | | | Initialize all driver function hooks before calling _mesa_initialize_context(), and handle all buffer objects in intel_buffer_object(). Fixes assertion failure when running glxinfo. | ||||
* | radeon: fix cube maps for non-mm path | Roland Scheidegger | 2009-06-19 | 1 | -2/+33 |
| | | | | | | | drm cmd checker would refuse cube emits also fix an issue in the cs path which would calculate the register offset off by one dword. Only same testing done as original code (none except compile tested). | ||||
* | st/mesa: restore some parameter checking buffer object functions | Brian Paul | 2009-06-19 | 1 | -0/+10 |
| | | | | | These functions may be called from the VBO code (not just user GL calls) so do some parameter sanity checking. | ||||
* | r200: fix cube maps for non-mm path | Roland Scheidegger | 2009-06-19 | 1 | -1/+28 |
| | | | | drm cmd checker rightfully fell over any cube emit | ||||
* | i965: initial code for loops in vertex programs | Brian Paul | 2009-06-19 | 1 | -2/+38 |
| | |||||
* | i965: asst clean-ups, etc in brw_vs_emit() | Brian Paul | 2009-06-19 | 1 | -11/+10 |
| | |||||
* | i965: asst clean-ups, var renaming in brw_wm_emit_glsl() | Brian Paul | 2009-06-19 | 1 | -21/+23 |
| | |||||
* | st/mesa: remove redundant st_buffer_object::size field and error checks | Brian Paul | 2009-06-19 | 2 | -9/+0 |
| | | | | | | Just use the gl_buffer_object::Size field. Remove unnecessary size/offset error checks. Core Mesa will have already done these checks before these functions are called. | ||||
* | st/mesa: no longer special-case buffer object 0 in st_buffer_object() cast ↵ | Brian Paul | 2009-06-19 | 1 | -9/+2 |
| | | | | | | | | wrapper Since commit 6629a35559ff7e3b993966f697f7c7f68e5a38d9 "mesa: create/destroy buffer objects via driver functions" this is no longer needed, and actually was causing a crash during context tear-down. | ||||
* | radeons: use dp4 for position invariant vertex programs | Roland Scheidegger | 2009-06-19 | 3 | -0/+6 |
| | | | | | | | | Fixes #22181. R200 requires this since DP4 is used in hw tnl mode. R300 prefers it (should be faster due to no instruction dependencies), but both methods should be correct (when sw tcl is used though, MUL/MAD might be faster). Probably doesn't make much difference for R100 since vertex progs are executed in software anyway, but let's just keep it the same there too. | ||||
* | mesa: make query-related driver fallback functions static | Brian Paul | 2009-06-19 | 3 | -30/+23 |
| | | | | Plug them in via _mesa_init_query_object_functions(). | ||||
* | mesa: make buffer object-related driver fallback functions static | Brian Paul | 2009-06-19 | 3 | -73/+40 |
| | | | | Plug them in via _mesa_init_buffer_object_functions(). | ||||
* | mesa: create/destroy buffer objects via driver functions | Brian Paul | 2009-06-19 | 1 | -2/+2 |
| | |||||
* | i965simple: use u_reduced_prim() function | Brian Paul | 2009-06-19 | 1 | -16/+3 |
| | |||||
* | draw: use u_reduced_prim() function | Brian Paul | 2009-06-19 | 4 | -28/+4 |
| | |||||
* | softpipe: use u_reduced_prim() | Brian Paul | 2009-06-19 | 1 | -15/+2 |
| | |||||
* | gallium/util: s/boolean/unsigned/ | Brian Paul | 2009-06-19 | 1 | -1/+1 |
| | |||||
* | softpipe: whitespace, reformatting | Brian Paul | 2009-06-19 | 1 | -8/+5 |
| | |||||
* | Merge branch 'ext-provoking-vertex' | Brian Paul | 2009-06-19 | 32 | -2881/+3342 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: docs/relnotes-7.6.html progs/tests/Makefile src/gallium/drivers/softpipe/sp_prim_vbuf.c src/glx/x11/indirect.c src/mesa/glapi/Makefile src/mesa/glapi/dispatch.h src/mesa/glapi/glapioffsets.h src/mesa/glapi/glapitable.h src/mesa/glapi/glapitemp.h src/mesa/glapi/glprocs.h src/mesa/main/dlist.c src/mesa/main/enums.c src/mesa/sparc/glapi_sparc.S src/mesa/x86-64/glapi_x86-64.S src/mesa/x86/glapi_x86.S | ||||
| * | draw: use flatfirst variable | Brian Paul | 2009-06-18 | 1 | -1/+1 |
| | | |||||
| * | draw: remove debug code | Brian Paul | 2009-06-18 | 1 | -7/+0 |
| | | |||||
| * | draw: fix first provoking vertex mode for quads, quad strips and polygons | Brian Paul | 2009-06-18 | 1 | -18/+55 |
| | | |||||
| * | draw: fix first provoking vertex mode for unfilled quads | Brian Paul | 2009-06-18 | 1 | -10/+24 |
| | | |||||
| * | mesa: fix first provoking vertex mode for unfilled tri strips | Brian Paul | 2009-06-18 | 1 | -10/+16 |
| | | |||||
| * | draw: clean up indentation | Brian Paul | 2009-06-18 | 1 | -11/+11 |
| | | |||||
| * | st/mesa: enable EXT_provoking_vertex | Brian Paul | 2009-06-09 | 1 | -0/+1 |
| | | |||||
| * | draw: implement flatshade_first for drawing pipeline | Brian Paul | 2009-06-09 | 2 | -20/+67 |
| | | |||||
| * | softpipe: implement flatshade_first for triangles | Brian Paul | 2009-06-09 | 1 | -58/+182 |
| | | |||||
| * | softpipe: implement flatshade_first for line setup | Brian Paul | 2009-06-09 | 1 | -1/+4 |
| | | |||||
| * | Revert "softpipe: fix flat shading provoking vertex for PIPE_PRIM_POLYGON" | Brian Paul | 2009-06-03 | 3 | -6/+1 |
| | | | | | | | | This reverts commit 5d75124db480b37977c353511b4e228905b7cc95. | ||||
| * | mesa: fix parity error for tri strips with 1st provoking vertex | Brian Paul | 2009-06-03 | 1 | -1/+1 |
| | | |||||
| * | tnl: fix first provoking vertex case for unfilled triangles | Brian Paul | 2009-06-03 | 1 | -1/+1 |
| | | |||||
| * | tnl: fix first provoking vertex bug for line loops | Brian Paul | 2009-06-03 | 1 | -1/+1 |
| | | |||||
| * | mesa: enable GL_EXT_provoking_vertex for sw drivers | Brian Paul | 2009-06-01 | 1 | -0/+1 |
| | | |||||
| * | tnl: implement GL_EXT_provoking_vertex | Brian Paul | 2009-06-01 | 1 | -17/+66 |
| | | |||||
| * | st: set pipe_rasterizer_state::flatshade_first according to provoking vertex ↵ | Brian Paul | 2009-05-28 | 1 | -0/+3 |
| | | | | | | | | state | ||||
| * | mesa: glGet queries for GL_EXT_provoking_vertex | Brian Paul | 2009-05-28 | 2 | -0/+31 |
| | | |||||
| * | mesa: exec/dlist functions for glProvokingVertexEXT() | Brian Paul | 2009-05-28 | 4 | -9/+77 |
| | | |||||
| * | mesa: data structure updates for GL_EXT_provoking_vertex | Brian Paul | 2009-05-28 | 3 | -0/+9 |
| | | |||||
| * | mesa: regenerated enums for GL_EXT_provoking_vertex | Brian Paul | 2009-05-28 | 1 | -2350/+2362 |
| | | |||||
| * | mesa: regenerated API files for GL_EXT_provoking_vertex | Brian Paul | 2009-05-28 | 5 | -102/+87 |
| | | |||||
| * | mesa: GL API changes for GL_EXT_provoking_vertex | Brian Paul | 2009-05-28 | 7 | -336/+357 |
| | | | | | | | | This creates the new glProvokingVertexEXT() entrypoint. | ||||
* | | gallium dri st: Probe the driver for supported surface formats. | Thomas Hellstrom | 2009-06-17 | 4 | -63/+114 |
| | | | | | | | | | | | | | | | | | | | | | | | | This is done when constructing the fbconfigs, and the result is saved for window system framebuffer creation. Note: For dri2 the server needs to have an identical format selection logic. Otherwise the dri state-tracker and the xorg driver (state-tracker) will disagree on which format to use for the attachments. Some more work is needed in this area. Signed-off-by: Thomas Hellstrom <[email protected]> | ||||
* | | mesa driconf: Add macro to specify an option with a quoted default value. | Thomas Hellstrom | 2009-06-17 | 1 | -0/+4 |
| | | | | | | | | | | | | | | | | | | | | The default values true and false will expand to "1" and "0" when gcc -std=c99, causing bool option defaults to generate runtime failures. One solution is to specify bool option defaults quoted as "true" and "false". Add a macro to assist this. Signed-off-by: Thomas Hellstrom <[email protected]> | ||||
* | | i965: Add decode for the G4X x,y offset in surface state. | Eric Anholt | 2009-06-17 | 1 | -0/+2 |
| | | |||||
* | | i965: Fix up texture layout for small things with wide pitches (tiled) | Eric Anholt | 2009-06-17 | 1 | -1/+1 |
| | | | | | | | | | | | | | | We were packing according to the pitch, while the hardware appears to base it on the base level width. With this and the previous commit, fbo-cubemap now matches untiled behavior. | ||||
* | | i965: Fall back or appropriately adjust offsets of drawing to tiled regions. | Eric Anholt | 2009-06-17 | 3 | -3/+54 |
| | | | | | | | | | | | | 3D rendering to tiled textures was being done with non-tile-aligned offsets. The G4X hardware has fields to let us support it easily and correctly, while the pre-G4X hardware requires a path full of suffering, so we just fall back. | ||||
* | | r300: use vbo_split_prims to split up large vertex buffers. | Dave Airlie | 2009-06-18 | 2 | -2/+11 |
| | | | | | | | | This lets ut2004 avoid hitting the elt warning. | ||||
* | | i965: Fix tiling for FBO depth attachments by making DEPTH_COMPONENT Y tiled. | Eric Anholt | 2009-06-17 | 2 | -4/+8 |
| | | | | | | | | | | This may hurt if miptree relayout occurs, since we can't blit Y tiled objects. But it corrects depth tests on FBOs using textures. |