Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | demos/readpix: add option to draw triangle instead of drawpix | Keith Whitwell | 2009-04-24 | 1 | -5/+62 |
| | |||||
* | tests/mipmap_view: add a bunch of keystrokes for testing render-to-texture | Keith Whitwell | 2009-04-24 | 1 | -48/+219 |
| | | | | | Move between mipmaps, render a triangle, reload textures with either the original arch (and GenMipmaps) or via straightforward glTexImage. | ||||
* | i965: fix point size issue | Roland Scheidegger | 2009-04-24 | 1 | -1/+1 |
| | | | | | need to clamp point size to user set min/max values, even for constant point size. Fixes glean pointAtten test. | ||||
* | mesa: more informative error messages | Brian Paul | 2009-04-23 | 1 | -6/+10 |
| | |||||
* | i965: revert part of commit 4f4907d69f9020ce17aef21b6431d2dd65e01982 | Brian Paul | 2009-04-23 | 1 | -2/+2 |
| | | | | | | | | | | | The drm_intel_gem_bo_map_gtt() call that replaced dri_bo_map() is producing errors like: intel_bufmgr_gem.c:689: Error preparing buffer map 39 (vp_const_buffer): Invalid argument . and returning NULL, causing a segfault in the memcpy(). Just reverting until we can get to the root issue... | ||||
* | i915: fix fix for anisotropic filtering | Roland Scheidegger | 2009-04-23 | 1 | -2/+7 |
| | | | | forgot to commit the changes to actually support 4x aniso filtering... | ||||
* | i965: Support drawing to FBO cube faces other than positive X. | Eric Anholt | 2009-04-23 | 1 | -7/+11 |
| | | | | Also fixes drawing to 3D texture depth levels. | ||||
* | intel: Take advantage of GL_READ_ONLY_ARB to map to GEM bo_map write flag. | Eric Anholt | 2009-04-23 | 2 | -5/+4 |
| | | | | | This is a CPU win in general, but in particular reduces the pain of Mesa's calculation of min/max indices in DrawElements (wtf?). | ||||
* | gallium: Handle non-NULL data pointer in EXA ModifyPixmapHeader hook. | Michel Dänzer | 2009-04-23 | 1 | -0/+14 |
| | | | | | | Need to use the data pointed to for pixmap contents in that case. Fixes RENDER based text rendering. | ||||
* | gallium: Make the intel xorg winsys start up with any Intel chipset. | Michel Dänzer | 2009-04-23 | 1 | -6/+3 |
| | | | | | For unsupported devices the screen/context creation should fail cleanly later on. | ||||
* | gallium/intel/gem: Use softpipe rather than i915simple if INTEL_SOFTPIPE is set. | Michel Dänzer | 2009-04-23 | 5 | -8/+41 |
| | |||||
* | gallium: Always include xorg-server.h before other X server headers. | Michel Dänzer | 2009-04-23 | 2 | -0/+2 |
| | | | | | Various breakage otherwise, e.g. _XSERVER64 not being defined on 64 bit leading to inconsistent definitions of X server internal structs. | ||||
* | gallium: Fix up xorg state tracker build. | Michel Dänzer | 2009-04-23 | 2 | -3/+0 |
| | |||||
* | mesa: minor state-update changes in histogram code | Brian Paul | 2009-04-22 | 1 | -5/+2 |
| | | | | | Call FLUSH_VERTICES() in _mesa_Histogram(). No need to signal _NEW_PIXEL in ResetHistogram(), ResetMinmax(). | ||||
* | mesa: fix comment typo | Brian Paul | 2009-04-22 | 1 | -1/+1 |
| | |||||
* | gallium: license, copyright | Brian Paul | 2009-04-22 | 2 | -0/+62 |
| | |||||
* | st: comments, license, copyright | Brian Paul | 2009-04-22 | 1 | -0/+32 |
| | |||||
* | mesa: fix _mesa_dump_textures(), add null ptr check | Brian Paul | 2009-04-22 | 1 | -2/+3 |
| | | | | Calling _mesa_dump_textures() deleted the textures... oops!!! | ||||
* | mesa: Fix buffer overflow when parsing generic vertex attributes. | Brian Paul | 2009-04-22 | 1 | -3/+9 |
| | |||||
* | intel: fix max anisotropy supported | Roland Scheidegger | 2009-04-22 | 5 | -3/+7 |
| | | | | | | i915 actually supports up to 4 (according to header file - not tested), i965 up to 16 (code already handled this but slightly broken), so don't use 2 for all chips, even though angular dependency is very high. | ||||
* | st: also check _NEW_PROGRAM flag for vertex shader constant buffers | Brian Paul | 2009-04-22 | 1 | -1/+1 |
| | | | | | | This is a follow-on to commit c1a3b852807fb160f0cd246c1364b7336b4b947e. Note that (at this time) wherever _NEW_PROGRAM_CONSTANTS is set we're still setting _NEW_PROGRAM so this won't really make any difference (for now). | ||||
* | gallium: Reinstate unconditional flushes. | Thomas Hellstrom | 2009-04-22 | 2 | -0/+4 |
| | | | | | | Lost in commit e50dd26ca6d0eb0d0f97c2780020ea16e3d4a687. Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com> | ||||
* | mesa: protect driver.flush() with FLUSH_CURRENT | Keith Whitwell | 2009-04-22 | 2 | -8/+8 |
| | | | | | | Need to do this to ensure vbo code unmaps its buffers before calling the driver, which may be sitting on top of a memory manager which objects to firing commands from a mapped buffer. | ||||
* | st: play it safe for now and check _NEW_PROGRAM for shader const buffer atom | Brian Paul | 2009-04-21 | 1 | -1/+1 |
| | | | | | When a new program is bound but no constants are updated we still need to update the Gallium const buffer. | ||||
* | swrast: simplify state update logic for fragment shader const buffers | Brian Paul | 2009-04-21 | 1 | -25/+2 |
| | |||||
* | st: use the static atoms[] array directly | Brian Paul | 2009-04-21 | 2 | -20/+8 |
| | | | | We can simplify this now that we no longer have any dynamic atoms. | ||||
* | st: do away with dynamic state atom for const buffers | Brian Paul | 2009-04-21 | 2 | -29/+4 |
| | | | | Just use the new _NEW_PROGRAM_CONSTANTS flag instead. | ||||
* | mesa: new _NEW_PROGRAM_CONSTANTS flag | Brian Paul | 2009-04-21 | 5 | -10/+43 |
| | | | | | | | | | | | | | | | This state flag will be used to indicate that vertex/fragment program constants have changed. _NEW_PROGRAM will be used to indicate changes to the vertex/fragment shader itself, or misc related state. _NEW_PROGRAM_CONSTANTS is also set whenever a program parameter that's tracking GL state has changed. For example, if the projection matrix is in the parameter list, calling glFrustum() will cause _NEW_PROGRAM_CONSTANTS to be set. This will let to remove the need for dynamic state atoms in some drivers. For now, we still set _NEW_PROGRAM in all the places we used to. We'll no longer set _NEW_PROGRAM in glUniform() after drivers/etc have been updated. | ||||
* | mesa: print internal.current[i] attrib | Brian Paul | 2009-04-21 | 1 | -2/+7 |
| | |||||
* | mesa: print parameter list dirty state flag mask | Brian Paul | 2009-04-21 | 1 | -0/+1 |
| | |||||
* | i965: const correctness | Brian Paul | 2009-04-21 | 1 | -49/+49 |
| | |||||
* | Update GALLIUM_AUXILIARY_DIRS in configure.ac to match configs/default. | Michel Dänzer | 2009-04-21 | 1 | -1/+1 |
| | |||||
* | r300: r300 hw doesn't support any input modifiers in tex insts | Maciej Cencora | 2009-04-21 | 1 | -2/+1 |
| | |||||
* | r300-gallium: Fix CS size mismatch | Mathias Gottschlag | 2009-04-21 | 1 | -1/+5 |
| | | | | | This fixes some warnings which appear because the driver assumes a wrong cs size (13 vs 16 register writes in some cases). | ||||
* | demos: check that GL version is 2.0 or higher | Brian Paul | 2009-04-21 | 1 | -0/+8 |
| | |||||
* | st: report GL_OUT_OF_MEMORY instead of asserting | Brian Paul | 2009-04-21 | 1 | -4/+4 |
| | |||||
* | trivial/tri-viewport: add keys for frustrum/ortho and z coordinate | Keith Whitwell | 2009-04-21 | 1 | -43/+77 |
| | |||||
* | trivial/tri-viewport: add more out-of-bounds background quads | Keith Whitwell | 2009-04-21 | 1 | -1/+27 |
| | |||||
* | trivial/tri_viewport: add space==reset key | Keith Whitwell | 2009-04-21 | 1 | -1/+3 |
| | |||||
* | trivial/tri_viewport: add width/height keys | Keith Whitwell | 2009-04-21 | 1 | -18/+49 |
| | |||||
* | softpipe: fix softpipe_is_buffer/texture_referenced() regression | Brian Paul | 2009-04-20 | 1 | -2/+2 |
| | | | | | | | Return the conservative PIPE_REFERENCED_FOR_READ | PIPE_REFERENCED_FOR_WRITE value for now. This fixes a bunch of regressions seen in piglit and glean. | ||||
* | swrast: fix pointer arithmetic error in get_texel_array() | Brian Paul | 2009-04-20 | 1 | -2/+1 |
| | | | | This came from commit 1b2ab023673261b4b942e1126c0b599d02fbd4a0 | ||||
* | gdi: Don't implement broken gl_dispatch_stub_xxx. | José Fonseca | 2009-04-20 | 1 | -77/+0 |
| | |||||
* | wgl: Don't implement broken gl_dispatch_stub_xxx. | José Fonseca | 2009-04-20 | 2 | -117/+0 |
| | | | | These don't respect the stdcall, so they crash upon return. | ||||
* | mesa: Correct the gl_dispatch_stub_xxx prototypes. | José Fonseca | 2009-04-20 | 2 | -49/+47 |
| | |||||
* | mesa: Handle failure to create a transfer. | José Fonseca | 2009-04-20 | 1 | -1/+2 |
| | |||||
* | mesa/progs: fix scons build after recent demo moves | Keith Whitwell | 2009-04-20 | 2 | -10/+9 |
| | |||||
* | trivial/tri-viewport.c - add guide lines, more triangles, make interactive | Keith Whitwell | 2009-04-20 | 1 | -14/+118 |
| | | | | This is becoming more like a test than a trivial/ example. | ||||
* | st: assert on pipe_buffer_create failure | Keith Whitwell | 2009-04-20 | 1 | -0/+5 |
| | | | | | | This needs a proper fix to propogate the out-of-memory condition back up to Mesa and the app as a GL error. Until then, at least catch the problem at its source. | ||||
* | tests/mipmap_view: add linear/nearest key | Keith Whitwell | 2009-04-20 | 1 | -2/+13 |
| |