Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-03-20 | gallium/util: add upload manager helper module | Keith Whitwell | |
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. | |||
2009-03-20 | Fix DRI2 accelerated EXT_texture_from_pixmap with GL_RGB format. | Eric Anholt | |
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 <ian.d.romanick@intel.com> | |||
2009-03-20 | stw: Do not err on nil context handle in MakeCurrent(). | Michal Krol | |
2009-03-20 | stw: Use u_handle_table to maintain context list. | Michal Krol | |
2009-03-20 | winsys/gdi: Init state tracker's per-thread data. | Michal Krol | |
2009-03-20 | stw: Keep per-thread storage for current context and pixel format. | Michal Krol | |
2009-03-20 | slang: Use _mesa_snprintf() wrapper. | Michal Krol | |
2009-03-19 | slang: initialize the context | Alan Hourihane | |
2009-03-19 | slang: support uniform arrays | Alan Hourihane | |
2009-03-19 | trace: Formalize on a standard for data size pair | Jakob Bornecrantz | |
2009-03-19 | glslcompiler: added new options to override debug/optimization pragmas | Brian Paul | |
2009-03-19 | glsl: change GLSL #pragma initialization | Brian Paul | |
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. | |||
2009-03-19 | egl: fix comment | Alan Hourihane | |
2009-03-19 | egl: try harder for eglGetProcAddress() | Alan Hourihane | |
2009-03-19 | glsl: when debug pragma is on, emit comments about function calls/inlines | Brian Paul | |
BTW, the debug pragma syntax is "#pragma debug(on)" | |||
2009-03-19 | mesa: check renderbuffer is defined before use. | Alan Hourihane | |
2009-03-19 | st/gl: Only transfer needed parts in st_TexSubimage | Jakob Bornecrantz | |
2009-03-19 | slang: if/else/break & if/else/continue work for unrolled loops | Alan Hourihane | |
2009-03-19 | swrast: Silence compiler warnings, give better structure to the code as a ↵ | Michal Krol | |
result. | |||
2009-03-19 | tgsi: Document vs_2_0 instruction set operations. | Michal Krol | |
2009-03-19 | tgsi: Document vs_1_1 instruction set operations. | Michal Krol | |
2009-03-19 | tgsi: Begin documenting ps_2_x instruction set operations. | Michal Krol | |
2009-03-18 | r300-gallium: Emit viewport state. | Corbin Simpson | |
Note that this will break you, hard, if you're not using RADEON_NO_TCL. I really need to start vertex shaders soon. | |||
2009-03-18 | r300-gallium: Viewport state storage. | Corbin Simpson | |
2009-03-18 | r300-gallium: Fixup registers for viewport state. | Corbin Simpson | |
2009-03-18 | mesa: use the IROUND() macro in pixel packing code | Brian Paul | |
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. | |||
2009-03-18 | slang: redo the last commit for if/break & if/continue tests as it | Alan Hourihane | |
wasn't good enough for deeply nested if's. | |||
2009-03-18 | Revert "slang: if we detect an if/break or if/continue within a loop and we're" | Alan Hourihane | |
This reverts commit 752296b8f311c5e3844f3ce89d17ba57224ce5ba. | |||
2009-03-18 | slang: if we detect an if/break or if/continue within a loop and we're | Alan Hourihane | |
trying to unroll, bail, and fallback to doing the real loop. | |||
2009-03-18 | st: call _glapi_check_multithread from st_make_current | Keith Whitwell | |
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. | |||
2009-03-18 | stw: Fix makeCurrent. | Thomas Hellstrom | |
Flush if we change current context. Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com> | |||
2009-03-18 | st: need to free/realloc pipe texture when we're handed image level > last_level | Brian Paul | |
Fixes progs/tests/tri-fbo-tex-mip.c | |||
2009-03-18 | st: clean up some if-statment code | Brian Paul | |
2009-03-18 | softpipe: more texture transfer fixes. | Brian Paul | |
Need to null-out pointers after freeing transfer objects. Fix mix-ups between tc->transfer and tc->tex_trans fields. | |||
2009-03-18 | softpipe: need to set tc->transfer=NULL after destroying the transfer object | Brian Paul | |
This fixes a number of crashes/regressions in programs such as lodbias.c, mipmap_limits.c, etc. | |||
2009-03-18 | st: update texture comments | Brian Paul | |
2009-03-18 | Use the specified X11 headers for xlib mesa | Dan Nicholson | |
The xlib build was using the system's Xlib headers or bombing if they weren't available. | |||
2009-03-18 | pipe/atomic: dont use ms interlock calls from gcc | Keith Whitwell | |
2009-03-18 | util: avoid clashprone UINT, UBYTE enum values | Keith Whitwell | |
2009-03-18 | draw: use AOS_ERROR rather than clash-prone ERROR() macro | Keith Whitwell | |
2009-03-18 | pipe/atomic: clean up #ifdef maze | Keith Whitwell | |
2009-03-18 | xlib st: Fix makeCurrent. | Thomas Hellstrom | |
Flush if we change context. Also reinstate the old optimization of doing nothing if nothing changes. Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com> | |||
2009-03-18 | nouveau: rewrite winsys in terms of drm_api, support dri2 state tracker | Ben Skeggs | |
drm_api is a set of hooks used by the dri2 state tracker, this wraps our dri1 code around the same set of hooks. Currently the dri2 build will produce nouveau_dri2.so which you'll need to install as nouveau_dri.so if you wish to try it. The dri2 state tracker doesn't make it easy for a driver to support both paths in the same binary. | |||
2009-03-18 | st/dri2: use pipe_screen.is_format_supported to choose depth/stencil format | Ben Skeggs | |
2009-03-17 | r300-gallium: Move all unsorted state into invariant state. | Corbin Simpson | |
Gotta just slowly whittle this down. | |||
2009-03-17 | r300-gallium: Emit invariant state, no matter what. | Corbin Simpson | |
It's called "invariant" for a reason. :3 | |||
2009-03-17 | r300-gallium: Quick little cleanup of surface_fill state. | Corbin Simpson | |
2009-03-17 | tgsi: Restore statement ordering. | José Fonseca | |
2009-03-17 | r300-gallium: Debugging for the more sensitive card registers. | Corbin Simpson | |
These are nearly always the cause of hardlocks, so let's dump them. | |||
2009-03-17 | r300-gallium: r500-fs: Fixup immediate->constant counting a bit. | Corbin Simpson | |