summaryrefslogtreecommitdiffstats
path: root/src/mesa
Commit message (Collapse)AuthorAgeFilesLines
* 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
| | |
* | | i965: Revert accidental debug change in 562e2d114ec0cba8Eric Anholt2010-05-181-1/+1
| | |
* | | gen6 fix: fix a wrong bit in binding_table_pointerZou Nan hai2010-05-181-1/+1
| | |
* | | i965: Fix point coordinate replacement after airlied's ffvertex changes.Eric Anholt2010-05-173-2/+24
| | | | | | | | | | | | | | | | | | | | | | | | This basically restores the previous state, where a vertex result slot is set up for the texcoord to be replaced with point coord. Fixes piglit point-sprite test. Bug #27625
* | | i965: Add SF program disasm under INTEL_DEBUG=sf.Eric Anholt2010-05-173-2/+11
| | |
* | | intel: Call intel_draw_buffer() again after _mesa_make_current()Kristian Høgsberg2010-05-171-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | The initial call to intel_draw_buffers() happens when intel->ctx.DrawBuffer is still NULL. Call it again after calling _mesa_make_current(). https://bugs.freedesktop.org/show_bug.cgi?id=28112
* | | gallium: EXT_timer_query support.Mathias Fröhlich2010-05-172-0/+6
| | | | | | | | | | | | Signed-off-by: Corbin Simpson <[email protected]>
* | | st/mesa: call st_flush_bitmap_cache() from st_readpixels()Brian Paul2010-05-171-0/+3
| | | | | | | | | | | | | | | | | | Fixes regression from commit b0427bedde80e3189524651a327235bdfddbc613. Reviewed-by: José Fonseca <[email protected]>
* | | i965: Make rasterization of single and multiple quad prims match.Eric Anholt2010-05-171-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | This is trying to follow the spirit of the invariance rules, though they're not specific on this point. Fixes quad-invariance piglit test while retaining the 22s -> 18s win on glean blendFunc. This was a regression in c67d9d84f501f145f841c0b981caff6f4dfd936f.
* | | i965: Remove the half-baked code for multiple OQs at the same time.Eric Anholt2010-05-163-21/+13
| | | | | | | | | | | | | | | GL doesn't actually let you begin an OQ while one is active, so the extra work was pointless.
* | | i965: Remove unused occlusion query struct field.Eric Anholt2010-05-161-3/+0
| | |
* | | r300/compiler: fix peephole optimizerTom Stellard2010-05-161-1/+14
| | | | | | | | | | | | Tested-by: Marek Olšák <[email protected]>
* | | r300/compiler: Implement simple peephole optimizerNicolai Hähnle2010-05-168-47/+308
| | | | | | | | | | | | Signed-off-by: Nicolai Hähnle <[email protected]>
* | | mesa: Remove unnecessary header.Vinson Lee2010-05-151-2/+0
| | |
* | | r300/compiler: silence a warningMarek Olšák2010-05-151-1/+1
| | |
* | | i965: Set the correct provoking vertex for clipped first-mode trifans.Eric Anholt2010-05-141-3/+17
| | | | | | | | | | | | Bug #24470: glean clipFlat test.
* | | mesa: more info in glUniform error messagesBrian Paul2010-05-141-4/+7
| | |
* | | mesa: silence void * / func * conversion warningsBrian Paul2010-05-141-5/+10
| | |
* | | mesa: enum bitfields are a gcc-only feature, use GLubyteBrian Paul2010-05-141-2/+2
| | |
* | | i965: Add program dumping for INTEL_DEBUG=gs.Eric Anholt2010-05-143-2/+12
| | |
* | | i965: Parse the ff_sync URB send opcode on Ironlake disasm.Eric Anholt2010-05-141-1/+15
| | |
* | | i965: Use R16G16B16A16_FLOAT for 3-component half-float.Eric Anholt2010-05-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The RGBX version isn't supported as a vertex input type, but since we force the last channel's value anyway, this should be fine. The only potential risk I see is in the limiter on VBO reads past the end of the buffer forcing the whole vertex to 0 when the A channel lands past the end. Fixes piglit draw-vertices-half-float.
* | | i965: Dump out the correct shared function for SEND on Ironlake.Eric Anholt2010-05-146-8/+17
| | |
* | | i965: Support INTEL_DEBUG=clip to dump the clip program.Eric Anholt2010-05-145-2/+13
| | |
* | | intel: Handle arbitrary compressed formats in intel_compressed_num_bytes.Eric Anholt2010-05-141-19/+8
| | | | | | | | | | | | | | | | | | | | | Note that we don't support arbitrary block size for compressed quite yet -- block height of 4 is hard-coded all over the place. Bug #27098 (srgb dxt1 producing a bytes per pixel of 0).
* | | mesa: print enum name instead of hexadecimal value in glGet errorsBrian Paul2010-05-141-4/+9
| | |
* | | mesa: another transform feedback error check, 80-col wrappingBrian Paul2010-05-141-3/+9
| | |
* | | mesa: fpclassify dummy definition is not needed on FreeBSD.Alex Kozlov2010-05-141-1/+1
|/ /
* | i965: Reduce a single GL_QUADS to GL_TRIANGLE_FAN.Eric Anholt2010-05-131-11/+20
| | | | | | | | | | | | | | | | | | This is similar to the GL_QUAD_STRIP -> TRIANGLE_STRIP optimization -- the GS usage to split the quads into tris is a huge bottleneck, so a quick check improves glean blendFunc time massively (width * height of the window of single-pixel GL_QUADS, many many times). This may also end up helping with cairo performance, which sometimes ends up drawing a single quad.
* | intel: Don't update window system renderbuffers on TexImage.Eric Anholt2010-05-132-3/+5
| | | | | | | | | | While sometimes rendering occurs in the form of blits for TexImage, it doesn't interact with the window system renderbuffers, so skip it.
* | mesa: Remove no-op wrappers around trig functions.Eric Anholt2010-05-135-57/+7
| |