summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* progs/trivial: add fflushes for cygwinKeith Whitwell2009-03-24115-0/+116
|
* i965: fix point rasterization when rendering to FBORobert Ellison2009-03-243-1/+63
| | | | | | | | | | | | | | | | | | | | | | | | The FBO pixel coordinate system, with (0,0) as the upper-left pixel, is inverted in Y compared to the normal OpenGL pixel coordinate system, which has (0,0) as its lower-left pixel. Viewport and polygon stipple are sensitive to this inversion; so is point rasterization. The basic fix is simple: when rendering to an FBO, instead of the normal RASTRULE_UPPER_RIGHT that's appropriate for OpenGL windows, use the Y inversion RASTRULE_LOWER_RIGHT. Unfortunately, current Intel documentation has this value listed as "Reserved, but not seen as useful". It does work on at least some i965-class devices, though; and the worst that could happen if an older device didn't support it would be incorrect point rasterization to FBOs, which is what happens already, so this fix is at least no worse than what happens presently, and is better for some (and possibly all) i965-class devices.
* progs/trivial: draw non-interleaved arrays out of one vboKeith Whitwell2009-03-243-0/+262
|
* progs/tests: Build texcompress2 with sconsJakob Bornecrantz2009-03-242-1/+1
|
* i965: Fix glFrontFacing in twoside GLSL demo.Eric Anholt2009-03-238-38/+79
| | | | | | | This also cuts instructions by just using the existing bit in the payload rather than computing it from the determinant in the SF unit and passing it as a varying down to the WM. Something still goes wrong with getting the backface color right, but a simpler shader appears to get the right result.
* i965: Fix fog coordinate g,b,a values when glFrontFacing isn't used.Eric Anholt2009-03-231-0/+50
| | | | | | | | | Previously, we would sample (f,glFrontFacing,undef,undef) instead of the (f,0,0,1) that fragment.fogcoord is supposed to return. Due to glFrontFacing's presence in FOGC.y, we'll still give bad results there when glFrontFacing is used. Bug #19122, piglit testcase fp-fog.
* i965: Clean up a bit of mess with unneeded variables in emit_interp.Eric Anholt2009-03-231-7/+2
|
* i965: Fix trailing "d" in debug output for 3DSTATE_VERTEX_ELEMENTS.Eric Anholt2009-03-231-1/+1
|
* i965: Fix occlusion query when no other WM state updates occur.Eric Anholt2009-03-231-2/+3
| | | | | | | | | Turns out that XXX comment was important. We weren't flagging the WM to re-update with the statistics enable, so we got zeroes out of our query. Bug #20740, fixes piglit occlusion_query test. Signed-off-by: Eric Anholt <[email protected]>
* vpglsl: add missing SConscriptKeith Whitwell2009-03-231-0/+13
|
* draw: update aa points shader commentKeith Whitwell2009-03-231-1/+1
|
* progs/fp: pass texcoord to triangle, add a test shaderKeith Whitwell2009-03-233-0/+14
|
* gallium: Remove remnants of reference counting internals outside of p_refcnt.h.Michel Dänzer2009-03-2310-21/+28
|
* debug: Add function for writing transfers to filesJakob Bornecrantz2009-03-222-32/+42
|
* trace: Fix args to buffer writeJakob Bornecrantz2009-03-221-1/+1
|
* util: Add a new macro for testing empty lists.José Fonseca2009-03-231-0/+3
|
* softpipe: reformatting, comments, minor clean-upsBrian Paul2009-03-224-30/+47
|
* tgsi: minor commentsBrian Paul2009-03-221-2/+2
|
* tgsi: Document KIL, KILP instructions.Michal Krol2009-03-211-2/+6
|
* gallium: remove remaining references to origin_lower_leftKeith Whitwell2009-03-214-6/+0
|
* st: Silence compiler warnings.Michal Krol2009-03-211-2/+2
|
* gallium: remove use of origin_lower_leftBrian Paul2009-03-206-49/+203
| | | | | | | | | | | | | | This was used to indicate OpenGL's lower-left origin for fragment window coordinates for polygon stipple and gl_FragCoord. Now: - fragment coordinate origin is always upper-left corner - GL polygon stipple is inverted and shifted before given to gallium - GL fragment programs that use INPUT[WPOS] are modified to use an inverted window coord which is placed in a temp register. Note: the origin_lower_left field still exists in pipe_rasterizer_state. Remove it when all the drivers, etc. no longer reference it.
* mesa: add new internal state var for window sizeBrian Paul2009-03-202-0/+14
| | | | Actually, window width - 1, height - 1
* mesa: linear scan register allocation for shader programsBrian Paul2009-03-201-21/+407
| | | | | | | | | | | | | | This is a check-point commit; not turned on yet. Use the linear scan register allocation algorithm to re-allocate temporary registers. This is done by computing the live intervals for registers and reallocating temps with that information. For some shaders this dramatically reduces the number of temp registers needed. For the time being we give up on a few cases such as relative-indexed temps and subroutine calls (but we inline most GLSL functions anyway).
* docs: updated Mesa extension enum infoBrian Paul2009-03-201-2/+12
|
* r300-gallium: Misspelled macro name.Corbin Simpson2009-03-201-1/+1
| | | | *pulls paper bag down over head*
* r300-gallium: Put r300_cs_inlines to bed.Corbin Simpson2009-03-202-60/+16
| | | | Guess it was a mistake in the first place. Oops.
* r300-gallium: Simplify/neaten up packet3.Corbin Simpson2009-03-204-9/+15
| | | | Deck chairs on the Hindenburg. :3
* r300-gallium: Clean up surface_fill, prep for surface_copy code.Corbin Simpson2009-03-201-67/+54
|
* r300-gallium: Properly offset scissors.Corbin Simpson2009-03-202-8/+26
| | | | As per r300_reg, classic Mesa, and xf86-video-ati.
* r300-gallium: Clean up r300_swtcl_emit.Corbin Simpson2009-03-201-23/+4
| | | | Some compile warnings, some statements without effect.
* r300-gallium: Clean up some emit, and some state handlers.Corbin Simpson2009-03-203-20/+32
|
* r300-gallium: A bit more invariant state.Corbin Simpson2009-03-202-20/+31
|
* gallium: Explain what happens if buffer_flush_mapped_range isn't called.José Fonseca2009-03-201-0/+7
|
* gallium/util: add upload manager helper moduleKeith Whitwell2009-03-204-0/+297
| | | | | | | | Add a module that will manage uploading and coalescing multiple user-buffers, malloc-buffers and other random data that doesn't happen to be in a GPU buffer already. The module stuffs multiple little uploads into larger GPU buffers to reduce create/destroy overheads, etc.
* Fix DRI2 accelerated EXT_texture_from_pixmap with GL_RGB format.Eric Anholt2009-03-2011-22/+102
| | | | | | | | | | | | | | This requires upgrading the interface so that the argument to glXBindTexImageEXT isn't just dropped on the floor. Note that this only fixes the accelerated path on Intel, as Mesa's texture format support is missing x8r8g8b8 support (right now, GL_RGB textures get uploaded as a8r8gb8, but in this case we're not doing the upload so we can't really work around it that way). Fixes bugs with compositors trying to use shaders that use alpha channels, on windows without a valid alpha channel. Bug #19910 and likely others as well. Reviewed-by: Ian Romanick <[email protected]>
* progs/wgl: Send a resize message after context have been created.Michal Krol2009-03-201-0/+2
|
* stw: Do not err on nil context handle in MakeCurrent().Michal Krol2009-03-201-3/+0
|
* progs/wgl: Create GL context in a thread that actually uses it.Michal Krol2009-03-201-30/+35
|
* progs/wgl: Make context current to get GL_RENDERER string.Michal Krol2009-03-201-0/+2
|
* stw: Use u_handle_table to maintain context list.Michal Krol2009-03-203-28/+23
|
* winsys/gdi: Init state tracker's per-thread data.Michal Krol2009-03-201-1/+12
|
* stw: Keep per-thread storage for current context and pixel format.Michal Krol2009-03-207-12/+193
|
* slang: Use _mesa_snprintf() wrapper.Michal Krol2009-03-201-1/+1
|
* slang: initialize the contextAlan Hourihane2009-03-191-2/+3
|
* slang: support uniform arraysAlan Hourihane2009-03-191-1/+13
|
* trace: Formalize on a standard for data size pairJakob Bornecrantz2009-03-191-10/+11
|
* glslcompiler: added new options to override debug/optimization pragmasBrian Paul2009-03-191-7/+36
|
* glsl: change GLSL #pragma initializationBrian Paul2009-03-194-14/+25
| | | | | | Initialize the shader's pragma settings before calling the compiler. Added pragma "Ignore" fields to allow overriding the #pragma directives found in shader source code.
* egl: fix commentAlan Hourihane2009-03-191-3/+3
|