summaryrefslogtreecommitdiffstats
path: root/src/mesa
Commit message (Collapse)AuthorAgeFilesLines
* vbo: update/add commentsBrian Paul2010-05-271-15/+62
|
* mesa: Remove unnecessary headers.Vinson Lee2010-05-271-5/+0
|
* mesa: remove unused includesBrian Paul2010-05-261-2/+0
|
* mesa: rewrite _mesa_get_handle() and add some commentsBrian Paul2010-05-261-6/+14
|
* mesa: move GLSL uniform functions into new source fileBrian Paul2010-05-266-858/+957
|
* st/mesa: Remove unnecessary headers.Vinson Lee2010-05-263-6/+0
|
* Enable hardware mipmap generation for radeon.Will Dyson2010-05-261-3/+8
| | | | | | | Use _mesa_meta_GenerateMipmap. It is Fast Enough(tm). Signed-off-by: Maciej Cencora <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
* Fix image_matches_texture_obj() MaxLevel checkWill Dyson2010-05-261-4/+7
| | | | | | | | | When generating or uploading a new (higher) mipmap level for an image, we can need to allocate a miptree for a level greater than texObj->MaxLevel. Signed-off-by: Maciej Cencora <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
* Fallback to software render if there is no miptree for an imageWill Dyson2010-05-261-4/+4
| | | | | | | | This can happen when checking if a software fallback for a higher level operation (such as GenerateMipmap) is needed. Signed-off-by: Maciej Cencora <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
* i965: Add support for EXT_timer_query on Ironlake.Eric Anholt2010-05-262-24/+67
| | | | | | We could potentially do this on G45 as well, though the units are different. On 965, the timestamp is tied to hclk, which would make supporting it harder.
* intel: Handle decode of PIPE_CONTROL instructions.Eric Anholt2010-05-261-0/+27
|
* i965: Move Gen6 debugging emit_mi_flush into the Gen6 block.Eric Anholt2010-05-261-2/+2
|
* i965: Don't PIPE_CONTROL instruction cache flush.Eric Anholt2010-05-261-1/+0
| | | | | | | | | | | | This is a workaround for Ironlake errata. The emit_mi_flush is used for a few purposes: 1) Flushing write caches for RTT (including blit to texture) 2) Pipe fencing for sync objects 3) Spamming cache flushes to track down cache flush bugs Spamming cache flushes seems less important than following the docs, and we should probably do that with a different mechanism than the one for render cache flushes.
* i965: Emit MI_FLUSH before PSP on Ironlake for clip max threads errata.Eric Anholt2010-05-261-0/+7
|
* Revert the 'make static' part of 962f92611216e304c95e7c089b38d58066236014Kristian Høgsberg2010-05-262-81/+307
| | | | | | | | The es1 and es2 dispath table initialization code is generated from the API XML files and we can't easily share the dispatch table code setup. Keep the _mesa_init_shader_dispatch() part of the patch, but roll back the static-ization of shader entrypoints so es1 and es2 dispatch initialization still works.
* mesa: move all vertex array functions into varray.cBrian Paul2010-05-254-273/+274
|
* mesa: added _mesa_GetVertexAttribIiv / AttribIuiv()Brian Paul2010-05-252-54/+146
| | | | Refactor the code for all the glGetVertexAttrib() functions.
* mesa: added _mesa_VertexAttribIPointer()Brian Paul2010-05-252-0/+24
|
* mesa: new GL 3.0 VertexAttrib commandsBrian Paul2010-05-251-0/+174
| | | | Still need to plug in API dispatch...
* mesa: make a bunch of shader API functions staticBrian Paul2010-05-253-377/+173
|
* mesa: display list support for uint uniformsBrian Paul2010-05-251-1/+199
| | | | Still need to plug into dispatcher...
* mesa: consolidate some glUniform codeBrian Paul2010-05-251-78/+29
|
* mesa: unsigned int uniform functions (GL3)Brian Paul2010-05-252-0/+96
|
* mesa: support for unsigned int uniformsBrian Paul2010-05-251-1/+55
|
* r300/compiler: implement SGT+SLE opcodesMarek Olšák2010-05-261-0/+20
| | | | Reported-by: Gianluca Anzolin <[email protected]>
* r300/compiler: fix dumping r5xx vertex shadersMarek Olšák2010-05-261-0/+3
|
* r300/compiler: move hardware caps to the radeon_compiler base structMarek Olšák2010-05-266-18/+19
| | | | Needed for vertex shaders too.
* r300/compiler: shorten swizzle expressionsMarek Olšák2010-05-261-44/+65
|
* meta: Convert Z value from normalized to object-space in meta codeBrian Paul2010-05-241-4/+19
| | | | | | | | | | | | | | Convert Z from a normalized value in the range [0, 1] to an object-space Z coordinate in [-1, +1] so that drawing at the new Z position with the default/identity ortho projection results in the original Z value. Used by the meta-Clear, Draw/CopyPixels and Bitmap functions where the Z value comes from the clear value or raster position. Fixes piglit tests fdo23670-depth_test, quad-invariance and glsl-orangebook-ch06-bump as well as oglc zbfunc.c. https://bugs.freedesktop.org/show_bug.cgi?id=23670
* mesa: Reenable check for GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER_EXTKristian Høgsberg2010-05-241-21/+23
| | | | | | | | The check was disabled when FEATURE_OES_framebuffer_object was enabled, since that used to mean we weren't implementing regular OpenGL semantics. Now that we can compile in support for multiple APIs, change the #ifdef to compile the check in when FEATURE_GL is enabled and enable the check for contexts that implement OpenGL at runtime.
* glsl: silence unused var warningsBrian Paul2010-05-242-0/+4
|
* mesa: Handle FEATURE_es2_glsl differences at runtime tooKristian Høgsberg2010-05-245-29/+53
| | | | | | | Now that we can support different APIs at runtime, we need to check the context for the API we're currently providing as well. https://bugs.freedesktop.org/show_bug.cgi?id=28194
* i965: Add support for all 8 possible ARB_draw_buffers in Mesa.Eric Anholt2010-05-232-2/+1
| | | | | We should be able to do 16, but are limited by Mesa's static buffer allocations.
* i965: Fix bit allocation for number of color regions for ARB_draw_buffers.Eric Anholt2010-05-231-1/+1
| | | | | | | | If you used all 4 color targets we currently support, we would see 0 and end up just writing the first output. Give enough bits that we can do the maximum of 16. Fixes piglit fbo-drawbuffers-maxtargets.
* st_api: Give get_egl_image arguments directly to the functionJakob Borncrantz2010-05-211-3/+1
|
* mesa: fix warnings about missing initializers in get.c tableBrian Paul2010-05-211-326/+330
|
* st/mesa: remove unused varBrian Paul2010-05-211-1/+0
|
* gallium: Fix invalidate framebuffer with old libGL librariesJakob Bornecrantz2010-05-217-3/+115
|
* Merge branch 'gallium-msaa'Roland Scheidegger2010-05-2123-193/+314
|\ | | | | | | | | | | Conflicts: src/mesa/state_tracker/st_gen_mipmap.c src/mesa/state_tracker/st_texture.c
| * st/mesa: fix wrong argument orderRoland Scheidegger2010-05-181-2/+3
| |
| * mesa/st: adapt to interface changesRoland Scheidegger2010-05-1723-194/+316
| | | | | | | | | | adapt to blit changes, and also handle a bit more msaa state in theory (incomplete, doesn't handle resolves in any way for now).
* | Add __DragonFly__ in querymatrix for fpclassify()David Shao2010-05-211-1/+1
| | | | | | | | Signed-off-by: Brian Paul <[email protected]>
* | Merge branch 'gallium-front-ccw'Keith Whitwell2010-05-211-45/+29
|\ \
| * | gallium: more work on ccw flag removalKeith Whitwell2010-05-141-45/+29
| | | | | | | | | | | | The linux-debug target builds...
* | | i965: remove disabled code for cycling through MRF registers in clipping.Eric Anholt2010-05-202-17/+2
| | | | | | | | | | | | | | | | | | | | | The idea would be that you could have multiple send messages going on if nothing depended on the previous message's results and you used a different send message. The problem is that the later send requires the VUE handle returned by the first send's allocate anyway.
* | | intel: Throttle after doing copyregion/swapbuffers round tripKristian Høgsberg2010-05-204-35/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Before we would throttle in the flush callback prior to round-tripping to the server to do copyregion or swapbuffer. Now, instead just note that we need to throttle and do it in intel_prepare_render(), which will be called after receiving the response from the server but before we start rendering the next frame. Even if the server also throttles us in swapbuffer, this just makes the throttling a no-op when we hit intel_prepare_render(). With that we can drop the using_dri2_swapbuffers hack and just always throttle.
* | | fpclassify is available on C99-compliant Solaris releases tooAlan Coopersmith2010-05-191-1/+2
| | | | | | | | | | | | | | | Signed-off-by: Alan Coopersmith <[email protected]> Signed-off-by: Brian Paul <[email protected]>
* | | r300/compiler: Implement constant foldingNicolai Hähnle2010-05-191-1/+215
| | | | | | | | | | | | Signed-off-by: Nicolai Hähnle <[email protected]>
* | | r300/compiler: Emit 0.5 swizzle when necessary.Tom Stellard2010-05-191-1/+3
| | | | | | | | | | | | Signed-off-by: Marek Olšák <[email protected]>
* | | i965: Remove constant or ignored-by-hw args from FF sync message setup.Eric Anholt2010-05-184-64/+32
| | |