summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'gallium-index-bias'José Fonseca2010-04-2040-159/+254
|\
| * draw: No need to rebase for elt_bias.José Fonseca2010-04-201-7/+5
| | | | | | | | | | | | | | As we are rebasing to min_index + elt_bias, and the vertex buffer has no elt_bias. I still don't know how to exercise this code. I hope this is now right.
| * draw: Fix cache elt_bias implementation.José Fonseca2010-04-201-5/+8
| |
| * gallium/docs: Make it clear that minIndex, maxIndex is exclusively a index ↵José Fonseca2010-04-201-0/+3
| | | | | | | | | | | | | | | | | | buffer characteristic. Unlike the indexBias which is specific to a draw call. This are the semantics of both D3D and GL ARB_draw_elements_base_vertex extension.
| * draw: Fix typo resulting from bad regular expression in index bias addition.José Fonseca2010-04-201-4/+4
| |
| * r300g: Adapt for index bias interface change.José Fonseca2010-04-193-19/+32
| |
| * nvfx: Adapt for index bias interface change.José Fonseca2010-04-193-16/+24
| |
| * nv50: Adapt for index bias interface change.José Fonseca2010-04-193-6/+11
| |
| * retrace: Support index bias.José Fonseca2010-04-191-8/+8
| |
| * mesa/st: Update for index bias interface change.José Fonseca2010-04-192-7/+7
| |
| * st/python: Use index bias.José Fonseca2010-04-191-4/+6
| |
| * trace: Implement index bias.José Fonseca2010-04-191-6/+10
| |
| * svga: Implement index bias.José Fonseca2010-04-197-23/+32
| | | | | | | | Untested.
| * softpipe: Implement index bias.José Fonseca2010-04-192-4/+16
| |
| * llvmpipe: Implement index bias.José Fonseca2010-04-192-7/+9
| |
| * identity: Implement index bias.José Fonseca2010-04-191-0/+4
| |
| * i965g: Implement index bias.José Fonseca2010-04-191-4/+6
| |
| * i915: Implement index bias.José Fonseca2010-04-191-6/+7
| |
| * failover: Implement index bias.José Fonseca2010-04-191-1/+4
| |
| * cell: Implement index bias.José Fonseca2010-04-191-5/+6
| |
| * draw: Implement index bias.José Fonseca2010-04-198-46/+65
| |
| * docs: Document indexBias.José Fonseca2010-04-191-0/+3
| |
| * gallium: Add index bias parameter to draw_elements and friends.José Fonseca2010-04-191-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | indexBias corresponds to: - BaseVertexIndex parameter of D3D9's IDirect3DDevice9::DrawIndexedPrimitive method - BaseVertexLocation parameter of ID3D10Device::DrawIndexed Although a positive indexBias can be easily be implemented in Gallium by adding indexBias*stride to each vertex buffer base offset, a negative indexBias cannot, as the final vertex buffer offset could be negative. I'm not aware of this functionality being exposed to GL drivers, so for now all hardware drivers will just assert(indexBias == 0). See also: - http://msdn.microsoft.com/en-us/library/bb174369.aspx (D3D9) - http://msdn.microsoft.com/en-us/library/ff556126.aspx (D3D10 DDI)
* | draw llvm: Move dereference of pointer after NULL check.Vinson Lee2010-04-201-1/+3
| |
* | draw llvm: Remove unnecessary header.Vinson Lee2010-04-191-1/+0
| |
* | egl: Fix demos to build with user specified XlibDan Nicholson2010-04-195-9/+12
| | | | | | | | | | | | | | Commit 88be2171e7 fixed the egl demos on the stable branch, but now they're spread out across multiple subdirectories. Signed-off-by: Dan Nicholson <[email protected]>
* | Merge branch '7.8'Dan Nicholson2010-04-194-4/+6
|\ \ | | | | | | | | | | | | | | | | | | | | | Conflicts: progs/egl/Makefile progs/egl/Makefile is gone on master with the egl demos split into subdirectories. Will require an additional commit.
| * | egl: Pass flags to locate Xlib headers and librariesDan Nicholson2010-04-194-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | eglplatform.h pulls in Xlib.h on X11 platforms. Likewise, the egl glx driver and egl programs needs to link to libX11. Make sure we use the locations the user told us about. Signed-off-by: Dan Nicholson <[email protected]>
| * | progs: Fix linking of Xlib demos for non-autoconf buildsDan Nicholson2010-04-191-1/+1
| | | | | | | | | | | | | | | | | | | | | The Xlib demos were fixed to use $(X11_LIBS) so that configure could detect the proper directory to link the library from, but this broke the non-autoconf builds. Give X11_LIBS a default value to fallback on. (cherry picked from commit e40fce13e152ecf929c899ed38a8e5f7d198c738)
| * | Change libX11 variables to not conflict with AC_PATH_XTRADan Nicholson2010-04-196-9/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | The variable X_LIBS from AC_PATH_XTRA contains only the -L searchdir parameter and not the -lX11 to link to Xlib. Use X11 prefixed build vars for linking with Xlib to avoid the conflict. Signed-off-by: Dan Nicholson <[email protected]> (cherry picked from commit e725ef171b5a4d5425461f237d9ccab223806913)
| * | gallium: Respect user's CFLAGS for including X headersDan Nicholson2010-04-192-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This can break on systems that don't have a system X installation. Signed-off-by: Dan Nicholson <[email protected]> (cherry picked from commit de4ee20578a79e024b0de83c40648112f42c994e) Conflicts: src/gallium/winsys/xlib/Makefile
| * | Use X_LIBS from pkg-config, instead of libdir, for locating libX11Jeff Smith2010-04-194-6/+10
| | | | | | | | | | | | | | | | | | Signed-off-by: Jeff Smith <[email protected]> Signed-off-by: Dan Nicholson <[email protected]> (cherry picked from commit 8d86d395dcf6a5f192b6987485bb7aef49f1fefc)
* | | glapi: GL 3.x xml fileBrian Paul2010-04-191-0/+581
| | | | | | | | | | | | | | | Some of the entrypoints defined in other .xml files will need to be removed in favor of these...
* | | llvmpipe: remove dead codeBrian Paul2010-04-191-5/+0
| | |
* | | llvmpipe: use llvmpipe_resource_stride()Brian Paul2010-04-191-2/+3
| | |
* | | gallivm: pass 3D texture stride as an arrayBrian Paul2010-04-192-9/+18
| | | | | | | | | | | | This should have been included with the previous commit.
* | | llvmpipe: get 3D texture image stride from an array rather than computing itBrian Paul2010-04-197-17/+34
| | | | | | | | | | | | | | | | | | This fixes broken 3D texture indexing when the height of the 3D texture was less than 64 (the tile size). It's simpler to pass this as an array (as we do with the row stride) than to compute it on the fly.
* | | llvmpipe: consolidate some code in llvmpipe_set_texture_image_layout()Brian Paul2010-04-191-16/+22
| | |
* | | llvmpipe: fix rendering to 3D texturesBrian Paul2010-04-194-76/+114
| | | | | | | | | | | | | | | | | | Treat cube faces and 3D texture slices in the same manner (they're layed out out continuously in memory). Additional clean-ups and improvements coming.
* | | llvmpipe: checkpoint: fixes for render to 3D textureBrian Paul2010-04-192-60/+70
| | |
* | | llvmpipe: another fix for surface memory allocationBrian Paul2010-04-191-6/+12
| | | | | | | | | | | | | | | The previous patch broke cube maps. The logic is a bit clearer now.
* | | r300g: add is_rv350 flagMarek Olšák2010-04-204-14/+25
| | |
* | | Merge branch '7.8'Jesse Barnes2010-04-191-1/+7
|\| |
| * | DRI2: check for swapAvailable before using swap interval protocolJesse Barnes2010-04-191-1/+7
| | | | | | | | | | | | This should have been part of the last change...
* | | draw llvm: make sure use_llvm isn't used when not definedZack Rusin2010-04-191-1/+1
| | |
* | | draw llvm: fix typo (boolean, not bool)Zack Rusin2010-04-191-1/+1
| | |
* | | llvmpipe: fix surface memory allocation bugBrian Paul2010-04-191-12/+36
| | | | | | | | | | | | | | | | | | | | | We weren't always allocating the right amount of memory for image tiles for some formats (those < 32bpp). Fixes fd.o bug 27712.
* | | Merge branch '7.8'Jesse Barnes2010-04-197-14/+27
|\| |
| * | DRI2: synchronize swap interval with server at startup timeJesse Barnes2010-04-191-1/+6
| | | | | | | | | | | | | | | | | | | | | In the direct rendered case, we need to tell the server our initial swap interval. If we don't, the local and server values will be out of sync, since the server and client defaults may be different (as they were before this patch).
| * | st/mesa: invert scissor rect depending on FB orientationBrian Paul2010-04-191-5/+8
| | | | | | | | | | | | Fixes fd.o bug 27715