Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | gallium: remove use of origin_lower_left | Brian Paul | 2009-03-20 | 6 | -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 size | Brian Paul | 2009-03-20 | 2 | -0/+14 |
| | | | | Actually, window width - 1, height - 1 | ||||
* | mesa: linear scan register allocation for shader programs | Brian Paul | 2009-03-20 | 1 | -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 info | Brian Paul | 2009-03-20 | 1 | -2/+12 |
| | |||||
* | r300-gallium: Misspelled macro name. | Corbin Simpson | 2009-03-20 | 1 | -1/+1 |
| | | | | *pulls paper bag down over head* | ||||
* | r300-gallium: Put r300_cs_inlines to bed. | Corbin Simpson | 2009-03-20 | 2 | -60/+16 |
| | | | | Guess it was a mistake in the first place. Oops. | ||||
* | r300-gallium: Simplify/neaten up packet3. | Corbin Simpson | 2009-03-20 | 4 | -9/+15 |
| | | | | Deck chairs on the Hindenburg. :3 | ||||
* | r300-gallium: Clean up surface_fill, prep for surface_copy code. | Corbin Simpson | 2009-03-20 | 1 | -67/+54 |
| | |||||
* | r300-gallium: Properly offset scissors. | Corbin Simpson | 2009-03-20 | 2 | -8/+26 |
| | | | | As per r300_reg, classic Mesa, and xf86-video-ati. | ||||
* | r300-gallium: Clean up r300_swtcl_emit. | Corbin Simpson | 2009-03-20 | 1 | -23/+4 |
| | | | | Some compile warnings, some statements without effect. | ||||
* | r300-gallium: Clean up some emit, and some state handlers. | Corbin Simpson | 2009-03-20 | 3 | -20/+32 |
| | |||||
* | r300-gallium: A bit more invariant state. | Corbin Simpson | 2009-03-20 | 2 | -20/+31 |
| | |||||
* | gallium: Explain what happens if buffer_flush_mapped_range isn't called. | José Fonseca | 2009-03-20 | 1 | -0/+7 |
| | |||||
* | gallium/util: add upload manager helper module | Keith Whitwell | 2009-03-20 | 4 | -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 Anholt | 2009-03-20 | 11 | -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 Krol | 2009-03-20 | 1 | -0/+2 |
| | |||||
* | stw: Do not err on nil context handle in MakeCurrent(). | Michal Krol | 2009-03-20 | 1 | -3/+0 |
| | |||||
* | progs/wgl: Create GL context in a thread that actually uses it. | Michal Krol | 2009-03-20 | 1 | -30/+35 |
| | |||||
* | progs/wgl: Make context current to get GL_RENDERER string. | Michal Krol | 2009-03-20 | 1 | -0/+2 |
| | |||||
* | stw: Use u_handle_table to maintain context list. | Michal Krol | 2009-03-20 | 3 | -28/+23 |
| | |||||
* | winsys/gdi: Init state tracker's per-thread data. | Michal Krol | 2009-03-20 | 1 | -1/+12 |
| | |||||
* | stw: Keep per-thread storage for current context and pixel format. | Michal Krol | 2009-03-20 | 7 | -12/+193 |
| | |||||
* | slang: Use _mesa_snprintf() wrapper. | Michal Krol | 2009-03-20 | 1 | -1/+1 |
| | |||||
* | slang: initialize the context | Alan Hourihane | 2009-03-19 | 1 | -2/+3 |
| | |||||
* | slang: support uniform arrays | Alan Hourihane | 2009-03-19 | 1 | -1/+13 |
| | |||||
* | trace: Formalize on a standard for data size pair | Jakob Bornecrantz | 2009-03-19 | 1 | -10/+11 |
| | |||||
* | glslcompiler: added new options to override debug/optimization pragmas | Brian Paul | 2009-03-19 | 1 | -7/+36 |
| | |||||
* | glsl: change GLSL #pragma initialization | Brian Paul | 2009-03-19 | 4 | -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 comment | Alan Hourihane | 2009-03-19 | 1 | -3/+3 |
| | |||||
* | egl: try harder for eglGetProcAddress() | Alan Hourihane | 2009-03-19 | 1 | -1/+14 |
| | |||||
* | glsl: when debug pragma is on, emit comments about function calls/inlines | Brian Paul | 2009-03-19 | 3 | -0/+13 |
| | | | | BTW, the debug pragma syntax is "#pragma debug(on)" | ||||
* | mesa: check renderbuffer is defined before use. | Alan Hourihane | 2009-03-19 | 1 | -8/+10 |
| | |||||
* | st/gl: Only transfer needed parts in st_TexSubimage | Jakob Bornecrantz | 2009-03-19 | 1 | -4/+2 |
| | |||||
* | slang: if/else/break & if/else/continue work for unrolled loops | Alan Hourihane | 2009-03-19 | 2 | -7/+38 |
| | |||||
* | wgl: Add an `-s' option to wglthreads to force single-threaded operation. | Michal Krol | 2009-03-19 | 1 | -22/+43 |
| | |||||
* | swrast: Silence compiler warnings, give better structure to the code as a ↵ | Michal Krol | 2009-03-19 | 2 | -61/+62 |
| | | | | result. | ||||
* | tgsi: Document vs_2_0 instruction set operations. | Michal Krol | 2009-03-19 | 1 | -0/+14 |
| | |||||
* | tgsi: Document vs_1_1 instruction set operations. | Michal Krol | 2009-03-19 | 1 | -0/+14 |
| | |||||
* | tgsi: Begin documenting ps_2_x instruction set operations. | Michal Krol | 2009-03-19 | 1 | -0/+44 |
| | |||||
* | r300-gallium: Emit viewport state. | Corbin Simpson | 2009-03-18 | 4 | -9/+51 |
| | | | | | Note that this will break you, hard, if you're not using RADEON_NO_TCL. I really need to start vertex shaders soon. | ||||
* | r300-gallium: Viewport state storage. | Corbin Simpson | 2009-03-18 | 2 | -1/+15 |
| | |||||
* | r300-gallium: Fixup registers for viewport state. | Corbin Simpson | 2009-03-18 | 1 | -11/+19 |
| | |||||
* | mesa: use the IROUND() macro in pixel packing code | Brian Paul | 2009-03-18 | 1 | -108/+108 |
| | | | | | | It turns out some tests are sensitive to rounding vs. truncating when converting float color values to integers in glReadPixels(). In particular, this matters when the destination format is 5/6/5 or 4/4/4/4, etc. | ||||
* | slang: redo the last commit for if/break & if/continue tests as it | Alan Hourihane | 2009-03-18 | 1 | -1/+8 |
| | | | | wasn't good enough for deeply nested if's. | ||||
* | Revert "slang: if we detect an if/break or if/continue within a loop and we're" | Alan Hourihane | 2009-03-18 | 1 | -28/+17 |
| | | | | This reverts commit 752296b8f311c5e3844f3ce89d17ba57224ce5ba. | ||||
* | slang: if we detect an if/break or if/continue within a loop and we're | Alan Hourihane | 2009-03-18 | 1 | -17/+28 |
| | | | | trying to unroll, bail, and fallback to doing the real loop. | ||||
* | st: call _glapi_check_multithread from st_make_current | Keith Whitwell | 2009-03-18 | 2 | -5/+5 |
| | | | | | | | This function is called from many OS-dependent versions of MakeCurrent. Move the check for multithreading to this central location to avoid having to make this check from all the callers. | ||||
* | stw: Fix makeCurrent. | Thomas Hellstrom | 2009-03-18 | 1 | -2/+8 |
| | | | | | | Flush if we change current context. Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com> | ||||
* | progs: Build the wgl examples with scons. | José Fonseca | 2009-03-18 | 2 | -0/+24 |
| | |||||
* | progs/trivial: Make quad-tex-sub repeat patterns | Jakob Bornecrantz | 2009-03-18 | 1 | -7/+12 |
| |