Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | mesa: call _mesa_get_cpu_string() to get CPU info for GL_RENDERER string | Brian Paul | 2009-03-04 | 1 | -66/+8 |
| | |||||
* | mesa: call _mesa_get_cpu_features() during one-time-init | Brian Paul | 2009-03-04 | 1 | -0/+3 |
| | |||||
* | mesa: new cpuinfo.c file to init/query cpu info and extensions | Brian Paul | 2009-03-04 | 4 | -0/+158 |
| | |||||
* | mesa: _mesa_get_x86_features() only needs to do its thing once | Brian Paul | 2009-03-04 | 1 | -0/+8 |
| | |||||
* | mesa: Add x86/common_x86.c to libmesagallium.a | Jakob Bornecrantz | 2009-03-05 | 1 | -0/+1 |
| | | | | Thanks to Brian for the refactor commit | ||||
* | mesa: move sse.h and 3dnow.h #includes | Brian Paul | 2009-03-04 | 3 | -44/+9 |
| | |||||
* | mesa: remove unneeded x86.h header | Brian Paul | 2009-03-04 | 2 | -2/+0 |
| | |||||
* | mesa: make _mesa_init_x86_transform_asm() static | Brian Paul | 2009-03-04 | 2 | -2/+2 |
| | |||||
* | mesa: rename common_x86_macros.h -> x86_xform.h | Brian Paul | 2009-03-04 | 5 | -6/+6 |
| | |||||
* | mesa: rename x86.c -> x86_xform.c | Brian Paul | 2009-03-04 | 3 | -2/+2 |
| | |||||
* | mesa: refactor x86 code | Brian Paul | 2009-03-04 | 3 | -52/+77 |
| | | | | | | Move _mesa_init_all_x86_transform_asm() into x86.c so that common_x86.c has no dependencies on the vertex transformation code. Plus some comments and clean-ups. | ||||
* | mesa: Follow ARB_map_buffer_range more stricly. | José Fonseca | 2009-03-04 | 3 | -12/+37 |
| | | | | | Namelly, FlushMappedBufferRange takes a subrange relative to the original range. | ||||
* | Merge commit 'origin/master' into gallium-map-range | José Fonseca | 2009-03-04 | 2 | -1/+10 |
|\ | |||||
| * | vbo: second attempt - avoid getting buffer_ptr and buffer_map out of sync | Keith Whitwell | 2009-03-04 | 2 | -1/+10 |
| | | |||||
| * | mesa: Clear cache->trans after destroying the transfer. | José Fonseca | 2009-03-04 | 1 | -0/+1 |
| | | |||||
| * | Revert "vbo: avoid getting buffer_ptr and buffer_map out of sync" | Keith Whitwell | 2009-03-04 | 2 | -8/+1 |
| | | | | | | | | | | | | This fixed a minor bug but broke everything else. This reverts commit 579ef8ab1984d895867f547afa60b3bec4c4599a. | ||||
| * | vbo: avoid getting buffer_ptr and buffer_map out of sync | Keith Whitwell | 2009-03-04 | 2 | -1/+8 |
| | | |||||
* | | mesa: Clear cache->trans after destroying the transfer. | José Fonseca | 2009-03-04 | 1 | -0/+1 |
| | | |||||
* | | Merge commit 'origin/master' into gallium-map-range | José Fonseca | 2009-03-04 | 23 | -86/+104 |
|\| | |||||
| * | vbo: use FLUSH_UPDATE_CURRENT flag to indicate whether the vbo module is active | Keith Whitwell | 2009-03-04 | 1 | -6/+4 |
| | | | | | | | | | | Add asserts for expected values on wakeup and flush. Remove cases where this flag is set or cleared except when waking up and flushing vbo module. | ||||
| * | mesa: include mfeatures.h | Brian Paul | 2009-03-04 | 1 | -0/+3 |
| | | | | | | | | See bug 20319. | ||||
| * | gallium: Remove some superfluous instances of #include "p_inlines.h". | Michel Dänzer | 2009-03-04 | 6 | -6/+0 |
| | | |||||
| * | gallium: Unify reference counting. | Michel Dänzer | 2009-03-04 | 15 | -62/+58 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | The core reference counting code is centralized in p_refcnt.h. This has some consequences related to struct pipe_buffer: * The screen member of struct pipe_buffer must be initialized, or pipe_buffer_reference() will crash trying to destroy a buffer with reference count 0. u_simple_screen takes care of this, but I may have missed some of the drivers not using it. * Except for rare exceptions deep in winsys code, buffers must always be allocated via pipe_buffer_create() or via screen->*buffer_create() rather than via winsys->*buffer_create(). | ||||
| * | mesa: include main/dd.h in t_vb_points.c and t_vp_build.c | Brian Paul | 2009-03-03 | 2 | -0/+3 |
| | | | | | | | | | | For some reason makedepend doesn't seem to find the dependency on this header in these two files. Directly including the header is a work-around. | ||||
| * | gallium: remove old state tracker renderbuffer attachment assertion | Brian Paul | 2009-03-03 | 1 | -2/+0 |
| | | | | | | | | | | Not needed since renderbuffers are ref-counted. Fixes progs/demos/shadowtex. | ||||
| * | xlib: code to force fixed function -> shader translation (for debug, disabled) | Brian Paul | 2009-03-03 | 1 | -0/+8 |
| | | |||||
| * | mesa: fix sw fallback state validation bug | Brian Paul | 2009-03-03 | 1 | -10/+28 |
| | | | | | | | | | | | | | | | | When a hw driver fell back to swrast, swrast wasn't always getting informed of program changes. When fixed function is translated into shaders, flags like _NEW_LIGHT, _NEW_TEXTURE, etc. should really signal _NEW_PROGRAM. In this case, swrast wasn't seeing _NEW_PROGRAM when new fragment shaders were generated. | ||||
* | | mesa: Implement and use FlushMappedBufferRange. | José Fonseca | 2009-03-04 | 2 | -2/+20 |
| | | |||||
* | | mesa: Massage the interface to more closely resemble ARB_map_buffer_range | José Fonseca | 2009-03-03 | 2 | -7/+9 |
|/ | |||||
* | Merge commit 'origin/gallium-0.1' | Keith Whitwell | 2009-03-03 | 9 | -63/+238 |
|\ | | | | | | | | | | | | | | | | | | | Conflicts: scons/gallium.py src/gallium/auxiliary/pipebuffer/pb_buffer_fenced.c src/gallium/include/pipe/p_defines.h src/mesa/vbo/vbo_exec_api.c src/mesa/vbo/vbo_exec_draw.c | ||||
| * | vbo: missing line from previous commit | Keith Whitwell | 2009-03-03 | 1 | -1/+1 |
| | | |||||
| * | mesa/st: implement MapBufferRange callback | Keith Whitwell | 2009-03-03 | 1 | -1/+34 |
| | | | | | | | | Using PIPE_BUFFER_USAGE_DONTBLOCK. | ||||
| * | vbo: use MapBufferRange where available | Keith Whitwell | 2009-03-03 | 5 | -57/+154 |
| | | | | | | | | | | | | Previously would have to allocate a new VBO after firing a draw command as subsequent call to Map() on old VBO might block if the driver had submitted the commands to hardware. | ||||
| * | mesa: add MapBufferRange driver callbacks | Keith Whitwell | 2009-03-03 | 1 | -0/+26 |
| | | | | | | | | | | | | Will be needed in coming GL extensions (GL_map_buffer_range, GL 3.0). Will be used by the vbo module to avoid reallocating vbo's at each draw primitive call. | ||||
| * | mesa: Add BeginVertices driver call | Keith Whitwell | 2009-03-03 | 5 | -3/+25 |
| | | | | | | | | | | Provides notification to the VBO modules prior to the first immediate call. Pairs with FlushVertices() | ||||
| * | glsl: make minimum struct size = 2, not 1 | Brian Paul | 2009-01-09 | 1 | -1/+8 |
| | | | | | | | | | | | | | | | | | | 1-component structs such as "struct foo { float x; }" could get placed at any position within a register. This caused some trouble computing the field offset which assumed all struct objects were placed at R.x. It would be unusual to hit this case in normal shaders. (cherry picked from master, commit ca03e881a8d8fa3e36a601238559c20311373633) | ||||
| * | glsl: fix typo in the vec2 += operator function | Brian Paul | 2009-01-08 | 2 | -2/+2 |
| | | |||||
| * | glsl: fix broken +=, -=, *=, /= operators | Brian Paul | 2009-01-08 | 2 | -737/+786 |
| | | | | | | | | | | | | | | These functions need to return the final computed value. Now expressions such as a = (b += c) work properly. Also, no need to use __asm intrinsics in these functions. The resulting code is the same when using ordinary arithmetic operators and is more legible. | ||||
| * | mesa: Add _mesa_snprintf. | José Fonseca | 2009-01-07 | 5 | -7/+22 |
| | | | | | | | | On Windows snprintf is renamed as _snprintf. | ||||
| * | add GL_READ_FRAMEBUFFER_BINDING_EXT case, regenerate get.c file | Brian Paul | 2009-01-06 | 2 | -0/+17 |
| | | | | | | | | | | | | | | | | (cherry picked from commit 816fbeaa813e5cdca314a39677c74c8dc700d35a) Conflicts: src/mesa/main/get.c | ||||
| * | mesa: fix GL_DEPTH_CLEAR_VALUE casting | Brian Paul | 2009-01-06 | 2 | -4/+4 |
| | | |||||
| * | mesa: fix cast/conversion for optional code | Brian | 2009-01-06 | 2 | -4/+6 |
| | | | | | | | | (cherry picked from commit 1e3a44fab068f00378613456036716d0c3772969) | ||||
| * | mesa: fix float->int mapping for glGetIntegerv(GL_DEPTH_CLEAR_VALUE) | Brian Paul | 2009-01-06 | 2 | -3/+3 |
| | | | | | | | | | | | | | | | | (cherry picked from commit 8124faf89d638285d8e9aa93adc3ca7f4ee729f3) Conflicts: src/mesa/main/get.c | ||||
| * | mesa: pass ctx to link_uniform_vars() to fix build error | Brian Paul | 2009-01-06 | 1 | -3/+4 |
| | | |||||
| * | mesa: Move var declaration to top of scope. | José Fonseca | 2009-01-06 | 1 | -1/+1 |
| | | |||||
| * | wgl: Do not provide DllMain inside the state tracker. | José Fonseca | 2009-01-06 | 5 | -24/+19 |
| | | | | | | | | | | | | MS CRT libraries already provide a default DllMain entrypoint, and MS Linker will complain if it finds the same symbol in two different libraries. Therefore the DllMain has to be in (each) winsys. | ||||
| * | wgl: Ensure public symbols get the proper DLL linkage attributes. | José Fonseca | 2009-01-06 | 13 | -36/+52 |
| | | |||||
| * | mesa: Ensure gl* symbols are marked as dllexport on windows. | José Fonseca | 2009-01-06 | 1 | -0/+6 |
| | | |||||
| * | mesa: Use explicit casts when precision is lost. | José Fonseca | 2009-01-06 | 1 | -2/+2 |
| | | | | | | | | Silences MSVC. | ||||
| * | mesa: fix a GLSL swizzled writemask bug | Brian Paul | 2009-01-06 | 1 | -2/+18 |
| | | | | | | | | | | | | | | | | | | | | | | This fixes cases such as: vec4 v4; vec2 v2; v4.xz.yx = v2; The last line now correctly compiles into MOV TEMP[1].xz, TEMP[0].yyxw; Helps to fix the Humus Domino demo. See bug 19189. (cherry picked from commit 9736d8f03364068c9ca786f88a4c2881d98d5768) |