summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2010-11-03st/egl: Remove flush_frontbuffer and swap_buffers.Chia-I Wu
They are deprecated by native_surface::present and there is no user of them.
2010-11-03d3d1x: Use native_surface::present.Chia-I Wu
Replace native_surface::flush_frontbuffer and native_surface::swap_buffers calls by native_surface::present calls.
2010-11-03st/egl: Use native_surface::present callback.Chia-I Wu
Replace native_surface::flush_frontbuffer and native_surface::swap_buffers calls by native_surface::present calls.
2010-11-03st/egl: Add native_surface::present callback.Chia-I Wu
The callback presents the given attachment to the native engine. It allows the swap behavior and interval to be controlled. It will replace native_surface::flush_frontbuffer and native_surface::swap_buffers shortly.
2010-11-03egl: Set up the pthread key even TLS is used.Chia-I Wu
We have to rely on the pthread key destructor to free the current thread info when a thread exits.
2010-11-02st/vega: Remove unnecessary headers.Vinson Lee
2010-11-02mesa: silence new warnings in texobj.cBrian Paul
Silences warning such as: main/texobj.c:442:40: warning: ISO C99 requires rest arguments to be used main/texobj.c:498:58: warning: ISO C99 requires rest arguments to be used
2010-11-02savage: Remove unnecessary header.Vinson Lee
2010-11-02intel: For batch, use GTT mapping instead of writing to a malloc and copying.Eric Anholt
No measurable performance difference on cairo-perf-trace, but simplifies the code and should have cache benefit in general.
2010-11-02mesa: Don't compute an unused texture completeness debug string.Eric Anholt
This showed up at about 1% on cairo-gl firefox-talos-gfx, where glClear() is called while a texture is incomplete.
2010-11-02st/mesa: Reset the index buffer before destroying the pipe context.Tilman Sauerbeck
Signed-off-by: Tilman Sauerbeck <tilman@code-monkey.de>
2010-11-02r600g: Destroy the winsys in r600_destroy_screen().Tilman Sauerbeck
Signed-off-by: Tilman Sauerbeck <tilman@code-monkey.de>
2010-11-02r600g: Fixed two memory leaks in winsys.Tilman Sauerbeck
Signed-off-by: Tilman Sauerbeck <tilman@code-monkey.de>
2010-11-02r600g: Delete custom_dsa_flush on shutdown.Tilman Sauerbeck
Signed-off-by: Tilman Sauerbeck <tilman@code-monkey.de>
2010-11-02r600g: We don't support PIPE_CAP_PRIMITIVE_RESTART.Tilman Sauerbeck
Signed-off-by: Tilman Sauerbeck <tilman@code-monkey.de>
2010-11-02r600g: Made radeon_bo::map_count signed.Tilman Sauerbeck
That way assert(map_count >= 0) can actually fail when we screwed up. Signed-off-by: Tilman Sauerbeck <tilman@code-monkey.de>
2010-11-02r600g: Fixed unmap condition in radeon_bo_pb_destroy().Tilman Sauerbeck
Signed-off-by: Tilman Sauerbeck <tilman@code-monkey.de>
2010-11-02r600g: Made radeon_bo_pb_map_internal() actually call radeon_bo_map().Tilman Sauerbeck
This ensures that we increase bo->map_count when radeon_bo_map_internal() returns successfully, which in turn makes sure we don't decrement bo->map_count below zero later. Signed-off-by: Tilman Sauerbeck <tilman@code-monkey.de>
2010-11-02r600g: Removed unused 'ptr' argument from radeon_bo().Tilman Sauerbeck
Signed-off-by: Tilman Sauerbeck <tilman@code-monkey.de>
2010-11-02graw: Tidy graw xlib scons file a bitJakob Bornecrantz
2010-11-02llvmpipe: add a castBrian Paul
2010-11-02llvmpipe: assign context's frag shader pointer before using itBrian Paul
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.
2010-11-02mesa: Fix C++ includes in sampler.cppChad Versace
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 <ian.d.romanick@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com>
2010-11-02st/mesa: unbind constant buffer when not in useKeith Whitwell
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.
2010-11-02llvmpipe: guard against NULL task->query pointerKeith Whitwell
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.
2010-11-02llvmpipe: avoid generating tri_16 for tris which extend past tile boundsKeith Whitwell
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).
2010-11-02mesa: fix aux/accum comment and error message mixupsBrian Paul
2010-11-02mesa: remove always-false conditional in check_compatible()Brian Paul
The two gl_config pointers can never be equal.
2010-11-02dri/util: add a bunch of commentsBrian Paul
2010-11-02mesa: move the gl_config struct declarationBrian Paul
It was in the middle of the lighting-related structures before. Also add some info about field sizes in this structure.
2010-11-02mesa: use GLubyte for edge flag arraysBrian Paul
Fixes http://bugs.freedesktop.org/show_bug.cgi?id=31310
2010-11-02scons: i915 can't build on MSVC either.José Fonseca
I thought I had singled it out before, but apparently not.
2010-11-02scons: Add aliases for several pipe drivers.José Fonseca
2010-11-02r600g: List recently added files in SConscript.José Fonseca
2010-11-02i965: refresh wm push constant also for BRW_NEW_FRAMENT_PROGRAM on gen6Zhenyu Wang
Fix compiz crash. https://bugs.freedesktop.org/show_bug.cgi?id=31124
2010-11-02mesa: Allow contexts of different APIs to coexist.Chia-I Wu
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.
2010-11-02mesa: Select FEATURE_remap_table when multiple APIs are enabled.Chia-I Wu
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.
2010-11-01r300/compiler: Don't track readers into an IF block.Tom Stellard
This makes rc_get_readers_normal() more conservative than it needs to be, but it fixes some incorrect behavior in the optimization passes.
2010-11-02egl: Rework _eglGetSearchPath.Chia-I Wu
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.
2010-11-01scons: Disable python state tracker when swig is not present.José Fonseca
2010-11-01scons: Some pipe drivers are not portable for MSVCJosé Fonseca
2010-11-01scons: Fix MinGW cross-compilation.José Fonseca
2010-11-01scons: Revamp how to specify targets to build.José Fonseca
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.
2010-10-31dri/nouveau: Re-emit the BO state when coming back from a software fallback.Francisco Jerez
2010-10-31dri/nouveau: Validate the framebuffer state on read buffer changes.Francisco Jerez
2010-10-31dri/nouveau: Fix type promotion issue on 32bit platforms.Francisco Jerez
Fixes some VTX protection errors introduced by e89af209261.
2010-11-01st/egl image: multiply drm buf-stride with blocksizeBenjamin Franzke
[olv: formatted for 80-column wrapping]
2010-10-31targets/egl: Fix a warning with --disable-opengl build.Chia-I Wu
API_DEFINES is the defines for libmesagallium.a. Append it to egl_CPPFLAGS only when st_GL.so, which uses libmesagallium.a, is built.
2010-10-30r300/compiler: Don't clobber presubtract sources during optimizationsTom Stellard
https://bugs.freedesktop.org/show_bug.cgi?id=28294
2010-10-31dri/nouveau: Pipeline glTexSubImage texture transfers.Francisco Jerez