aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* graw: Tidy graw xlib scons file a bitJakob Bornecrantz2010-11-021-7/+1
|
* llvmpipe: add a castBrian Paul2010-11-021-1/+1
|
* llvmpipe: assign context's frag shader pointer before using itBrian Paul2010-11-021-2/+2
| | | | | | The call to draw_bind_fragment_shader() was using the old fragment shader. This bug would have really only effected the draw module's use of the fragment shader in the wide point stage.
* mesa: Fix C++ includes in sampler.cppChad Versace2010-11-021-4/+4
| | | | | | | | | Some C++ header files were included in an extern "C" block. When building with Clang, this caused the build to fail due to namespace errors. (GCC did not report any errors.) Reviewed-by: Ian Romanick <[email protected]> Reviewed-by: Brian Paul <[email protected]>
* st/mesa: unbind constant buffer when not in useKeith Whitwell2010-11-023-1/+14
| | | | | | | | | | | Important as more constant buffers per shader start to get used. Fix up r600 (tested) and nv50 (untested) to cope with this. Drivers previously didn't see unbinds of constant buffers often or ever, so this isn't always dealt with cleanly. For r600 just return and keep the reference. Will try to do better in a followup change.
* llvmpipe: guard against NULL task->query pointerKeith Whitwell2010-11-021-2/+5
| | | | | | This doesn't seem like it should be possible, but some test suites manage to hit this case. Avoid crashing release builds under those circumstances.
* llvmpipe: avoid generating tri_16 for tris which extend past tile boundsKeith Whitwell2010-11-022-14/+35
| | | | | | | | | | Don't trim triangle bounding box to scissor/draw-region until after the logic for emitting tri_16. Don't generate tri_16 commands for triangles with untrimmed bounding boxes outside the current tile. This is important as the tri-16 itself can extend past tile bounds and we don't want to add code to it to check against tile bounds (slow) or restrict it to locations within a tile (pessimistic).
* mesa: fix aux/accum comment and error message mixupsBrian Paul2010-11-021-2/+2
|
* mesa: remove always-false conditional in check_compatible()Brian Paul2010-11-021-3/+0
| | | | The two gl_config pointers can never be equal.
* dri/util: add a bunch of commentsBrian Paul2010-11-021-0/+24
|
* mesa: move the gl_config struct declarationBrian Paul2010-11-021-54/+62
| | | | | It was in the middle of the lighting-related structures before. Also add some info about field sizes in this structure.
* mesa: use GLubyte for edge flag arraysBrian Paul2010-11-021-2/+2
| | | | Fixes http://bugs.freedesktop.org/show_bug.cgi?id=31310
* scons: Propagate installation targets.José Fonseca2010-11-021-4/+9
| | | | Fixes libgl-xlib target.
* scons: i915 can't build on MSVC either.José Fonseca2010-11-021-1/+1
| | | | I thought I had singled it out before, but apparently not.
* scons: Add aliases for several pipe drivers.José Fonseca2010-11-028-8/+14
|
* r600g: List recently added files in SConscript.José Fonseca2010-11-021-0/+2
|
* i965: refresh wm push constant also for BRW_NEW_FRAMENT_PROGRAM on gen6Zhenyu Wang2010-11-021-1/+1
| | | | | | Fix compiz crash. https://bugs.freedesktop.org/show_bug.cgi?id=31124
* mesa: Allow contexts of different APIs to coexist.Chia-I Wu2010-11-025-159/+132
| | | | | | | | | | | | | | | | | | This effectively redoes 1741ddb747ca0be284315adb4b6fe67ddf292d03 in a way that allows contexts of different APIs to coexist. First, the changes to the remap table are reverted. The remap table (driDispatchRemapTable) is always initialized in the same way regardless of the context API. es_generator.py is updated to use a local remap table, whose sole purpose is to help initialize its dispatch table. The local remap table and the global one are always different, as they use different glapidispatch.h. But the dispatch tables initialized by both remap tables are always compatible with glapi (libGL.so). Finally, the semantics of one_time_init are changed to per-api one-time initialization.
* mesa: Select FEATURE_remap_table when multiple APIs are enabled.Chia-I Wu2010-11-023-3/+5
| | | | | | Core mesa should query glapi for the positions of the functions in _glapi_table when multiple APIs are supported. It does not know which glapitable.h glapi used.
* r300/compiler: Don't track readers into an IF block.Tom Stellard2010-11-011-0/+3
| | | | | This makes rc_get_readers_normal() more conservative than it needs to be, but it fixes some incorrect behavior in the optimization passes.
* egl: Rework _eglGetSearchPath.Chia-I Wu2010-11-023-25/+50
| | | | | So that the directory part of EGL_DRIVER, if exists, is prepended to the search path. This commit also adds a sanity check to _eglLog.
* scons: Disable python state tracker when swig is not present.José Fonseca2010-11-011-0/+3
|
* scons: Restore x11 tool behavior for backwards compatability.José Fonseca2010-11-011-3/+15
|
* scons: Some pipe drivers are not portable for MSVCJosé Fonseca2010-11-011-2/+7
|
* scons: Fix MinGW cross-compilation.José Fonseca2010-11-011-70/+71
|
* scons: Revamp how to specify targets to build.José Fonseca2010-11-0147-1343/+1128
| | | | | | | | | | | | | | | | | | | | | | Use scons target and dependency system instead of ad-hoc options. Now is simply a matter of naming what to build. For example: scons libgl-xlib scons libgl-gdi scons graw-progs scons llvmpipe and so on. And there is also the possibility of scepcified subdirs, e.g. scons src/gallium/drivers If nothing is specified then everything will be build. There might be some rough corners over the next days. Please bare with me.
* dri/nouveau: Re-emit the BO state when coming back from a software fallback.Francisco Jerez2010-10-311-2/+4
|
* dri/nouveau: Validate the framebuffer state on read buffer changes.Francisco Jerez2010-10-311-0/+7
|
* dri/nouveau: Fix type promotion issue on 32bit platforms.Francisco Jerez2010-10-311-1/+1
| | | | Fixes some VTX protection errors introduced by e89af209261.
* st/egl image: multiply drm buf-stride with blocksizeBenjamin Franzke2010-11-011-1/+2
| | | | [olv: formatted for 80-column wrapping]
* targets/egl: Fix a warning with --disable-opengl build.Chia-I Wu2010-10-311-2/+1
| | | | | API_DEFINES is the defines for libmesagallium.a. Append it to egl_CPPFLAGS only when st_GL.so, which uses libmesagallium.a, is built.
* autoconf: Tidy configure output for EGL.Chia-I Wu2010-10-311-7/+9
| | | | | Prefix EGL driver names by "egl_". Make it clear that EGL_CLIENT_APIS is only used by egl_gallium.
* r300/compiler: Don't clobber presubtract sources during optimizationsTom Stellard2010-10-301-39/+37
| | | | https://bugs.freedesktop.org/show_bug.cgi?id=28294
* dri/nouveau: Pipeline glTexSubImage texture transfers.Francisco Jerez2010-10-312-19/+68
|
* dri/nouveau: Keep small DYNAMIC_DRAW vertex buffers in system ram.Francisco Jerez2010-10-314-13/+35
|
* dri/nouveau: Optimize VBO binding re-emission.Francisco Jerez2010-10-313-26/+84
|
* dri/nouveau: Split out array handling to its own file.Francisco Jerez2010-10-319-165/+244
|
* dri/nouveau: Use a macro to iterate over the bound vertex attributes.Francisco Jerez2010-10-315-112/+83
|
* dri/nouveau: Avoid recursion in nouveau_bo_context_reset().Francisco Jerez2010-10-311-5/+5
|
* dri/nouveau: Split out the scratch helpers to a separate file.Francisco Jerez2010-10-319-78/+165
|
* dri/nouveau: Tell the vbo module we want real hardware BOs.Francisco Jerez2010-10-311-0/+1
|
* dri/nouveau: Honor the access flags in nouveau_bufferobj_map_range.Francisco Jerez2010-10-311-32/+40
|
* dri/nouveau: Call _mesa_update_state() after framebuffer invalidation.Francisco Jerez2010-10-302-1/+6
| | | | | Previously nouveau_state_emit() was being called directly, sometimes that doesn't work because it doesn't update the derived GL context.
* dri/nv25: Bind a hierarchical depth buffer.Francisco Jerez2010-10-305-8/+34
|
* dri/nouveau: Don't assert(0) on compressed internal formats.Francisco Jerez2010-10-301-0/+5
|
* dri/nv20: Clear with the 3D engine.Francisco Jerez2010-10-301-0/+54
|
* st/mesa: Unreference the sampler view in st_bind_surface.Chia-I Wu2010-10-311-0/+1
| | | | | | | | Without this, update_textures may not pick up the new pipe_resource. It is actually update_textures that should check stObj->sampler_view->texture != stObj->pt, but let's follow st_TexImage and others for now.
* osmesa: fix renderbuffer memleak in OSMesaMakeCurrent()Brian Paul2010-10-301-4/+6
| | | | Fixes fd.o bug 31128.
* autoconf: st/vega requires --enable-openvg.Chia-I Wu2010-10-301-0/+15
| | | | Make it a warning for now to smooth the transition.
* glsl: Remove unused ARRAY_SIZE macro.Kenneth Graunke2010-10-291-4/+0
| | | | It's also equivalent to Elements(...) which is already used elsewhere.