summaryrefslogtreecommitdiff
path: root/src/gallium
AgeCommit message (Collapse)Author
2010-01-11r300g: Add back dirty state check.Corbin Simpson
From 07ea7e6c80. This is the only questionable part of that commit, AFAICT...
2010-01-11r300g: Placate kernel checker by explicitly disabling depth test.Corbin Simpson
This probably should disable stencil, too, if the kernel cares enough. Note: When atomized, framebuffer setup should go towards the end anyway, but it *must* follow these test setups anyway.
2010-01-11r300g: Avoid segfault on binding null RS state.Corbin Simpson
2010-01-11Revert "util: Build u_bitmask.o when using make."Brian Paul
This reverts commit 01eff0e6d23f90650de7c563f74a1aec3de112a6. u_bitmask.c was already in the C_SOURCES list.
2010-01-12winsys/drm: Use egl_g3d to build EGL drivers.Chia-I Wu
The new EGL drivers use egl_g3d and respect EGL_DISPLAYS. They are named after the display supported and the DRM name. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2010-01-12st/egl_g3d: Add support for KMS native display.Chia-I Wu
The KMS native display implements the modeset interface using DRM modesetting. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2010-01-12st/egl_g3d: Add support for EGL_MESA_screen_surface.Chia-I Wu
This is implemented through the modeset interface. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2010-01-12st/egl_g3d: Update the native display interface for modesetting.Chia-I Wu
The new interface can be used to implement EGL_MESA_screen_surface. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2010-01-12st/egl_g3d: New EGL state tracker that uses Gallium.Chia-I Wu
This new (intermediate) EGL state tracker is the base work for EGL drivers that uses Gallium. It makes it easier to support new window systems. Currently, there is support only for X11. This driver supports multiple APIs (OpenVG, OpenGL, ...) and supports hardware acceleration through winsys/drm. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2010-01-12winsys/drm: Add name field to drm_api.Chia-I Wu
The name can be used for driver selection. It has the same name as the DRI driver does right now. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2010-01-12st/mesa: Remove st_api.c.Chia-I Wu
st_api.c is supposed to define st_api_OpenGL to advertise OpenGL support. However, the linker discards the symbol because it has no user. It is better to leave this to other state trackers that link to libmesagallium.a. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2010-01-12st/vega: Make it compatible with st_public.h.Chia-I Wu
It missed a stub for st_get_proc_address, and st_make_current should return a boolean. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2010-01-12st/vega: Advertise OpenVG support.Chia-I Wu
Define st_api_OpenVG to advertise OpenVG support. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2010-01-11st/xorg: move exaMoveInPixmap before trying to fetch itZack Rusin
as Michel suggested, this is a cleaner way of fixing crashes caused by exaGetPixmapDriverPrivate returning null since the data hasn't been moved yet.
2010-01-11st/xorg: fix a rare video crashZack Rusin
sometimes dst isn't present if a window is in a middle of a resize, stop crashing in those cases and just ignore a frame.
2010-01-11gallium: remove const qualifier from pipe_buffer argument in set_constant_bufferRoland Scheidegger
2010-01-11st/xlib: Mark GLX functions as public.Chia-I Wu
Mark all functions start with glX as public. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2010-01-11st: Mark functions in st_public.h and vg_tracker.h as public.Chia-I Wu
These functions are the API of Gallium state tracker, and are used by EGL. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2010-01-11gallium: Add PUBLIC macro for function visibility.Chia-I Wu
As the default build has -fvisibility=hidden, add a macro to control the visibility. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2010-01-11python: Integrate with llvmpipe if possible.José Fonseca
Temporary. We should soon have the ability to integrate with any driver via glx extensions.
2010-01-11python: Mask out PIPE_TEXTURE_USAGE_DISPLAY_TARGET usage.José Fonseca
As displaying surfaces directly isn't supported by the python state tracker.
2010-01-11python: Prefer PIPE_FORMAT_Z32_UNORM.José Fonseca
2010-01-11python: Set PIPE_TEXTURE_USAGE_RENDER_TARGET instead of DISPLAY_TARGET.José Fonseca
As the python state tracker is not integrated with window system an cannot present surfaces directly.
2010-01-11util: Set flatshade for blitter.Corbin Simpson
It was bugging me. +1 FPS on softpipe.
2010-01-11radeong: Check for DONTBLOCK before flushing, remove dead code.Corbin Simpson
2010-01-11util/blitter: remove unused variableKeith Whitwell
2010-01-10r300g: Don't bother testing for empty scissors.Corbin Simpson
If somebody goes through that much effort, they probably intended it. So humor them. :3
2010-01-10util: Apply Brian's suggested blit improvements.Corbin Simpson
copypix works just fine.
2010-01-10gallium: u_blitter add overlapping blit support.Dave Airlie
the xorg state tracker really wants the driver to handle overlapping blits, and r300 uses u_blitter for blits. This patch adds overlapping blit support via a temporary surface when its required.
2010-01-10r300g: Atomize scissors.Corbin Simpson
Argfl. Some of this code is so questionable.
2010-01-10r300g: Move TCL bypass switch to main context.Corbin Simpson
2010-01-10r300g: Atomize viewport.Corbin Simpson
Goddammit, some of these hax are really annoying.
2010-01-10r300g: Move ROPCNTL to the top of the emit order.Corbin Simpson
According to the docs, this decreases stalls, and indeed we get a tiny bit more glxgears from it.
2010-01-10r300g: Don't avoid rewriting ZTOP.Corbin Simpson
Simplify the code. Added a comment to keep me from doing it again.
2010-01-10r300g: Atomize rasterizer.Corbin Simpson
I want to stab things now.
2010-01-11nouveau: Make winsys recognise the original NV50.Marcin Kościelnicki
2010-01-11st/dri: update dri2 drawables when viewport is changedBen Skeggs
Fixes gnome-shell on nouveau, as well as window resize with various other applications. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
2010-01-10r300g: Atomize ZTOP.Corbin Simpson
Also do state-change checks. ZTOP's too important to not check.
2010-01-10r300g: Atomize DSA.Corbin Simpson
Also a bit of ztop.
2010-01-10r300g: Atomize UCP.Corbin Simpson
Meh.
2010-01-10r300g: Atomize blend color.Corbin Simpson
2010-01-10r300g: Start using atoms.Corbin Simpson
No benefits yet.
2010-01-10llvmpipe: Update instructions.José Fonseca
Explain how to build for windows. Both MSVC 9 and cross MinGW supported. Stop documenting LLVM 2.5 as supported. It still supported at the moment but it will soon stop being.
2010-01-11egl_softpipe: Remove the unnecessary call to _eglSwapBuffers.Chia-I Wu
The call to _eglSwapBuffers is unnecessary, and the function is missing when -fvisibility=hidden. Also remove the extraneous braces and indent the block.
2010-01-10llvmpipe: Yet another hack to get release LLVM static libraries to link in ↵José Fonseca
debug builds.
2010-01-10gallium: Remove dead code.José Fonseca
2010-01-10gallium: Provide alternative stdint.h and stdbool.h C99 headers, instead of ↵José Fonseca
ad-hoc definitions. Everybody is using the C99's integer types. Everybody except Microsoft, which in turns means everybody is including their own definitions of C99 integer types for MSVC, causing duplicate definitions when linking two projects. This is the case of building Gallium and LLVM with MSVC. Shipping alternative stdint.h and stdbool.h headers for MSVC allows us to share a single definition. It also removes clutter from the Gallium headers.
2010-01-08nv50: handle TGSI_OPCODE_UMAD,UMUL,NOT and fix SADChristoph Bumiller
2010-01-08nv50: free src temp_temps on emitChristoph Bumiller
2010-01-08nv50: try to honor sprite coord modeChristoph Bumiller