summaryrefslogtreecommitdiff
path: root/src/gallium/state_trackers
AgeCommit message (Collapse)Author
2010-02-03Merge branch 'gallium-embedded'José Fonseca
2010-02-03gallium: clean up point sprite rasterizer stateRoland Scheidegger
Don't need sprite coord origin per coord. Also, don't need separate sprite enable bit - if all coords have it diabled, then there are no point sprites (technically, there's a distinction in pre-GL3, but it only differs in having more leniency in clamping to max size, something the state tracker would need to handle and the hardware won't bother anyway). Also, use packed field for the per-coord enables. All in all, should save 3 dwords in rasterizer state (from 10 down to 7).
2010-02-02gallium: Move deprecated pipe/internal/p_winsys_screen.h inside ↵José Fonseca
util/u_simple_screen.h
2010-02-02gallium: Move p_thread.h and p_atomic.h out of gallium interfaces.José Fonseca
Into os/os_thread.h and util/u_atomic.h respectively.
2010-02-02gallium: pipe/p_inlines.h -> util/u_inlines.hJosé Fonseca
2010-02-02vega: implement tgsi_ureg shaders cacheIgor Oliveira
2010-02-02vega: change tgsi asm by tgsi_uregIgor Oliveira
2010-02-02st/egl: Wrong context might be used in eglBindTexImage.Chia-I Wu
If the pbuffer surface is current, gctx is set to the current context. Make sure it is set to OpenGL ES 1 context again before binding.
2010-01-31st/dri: Remove duplicate type qualifier.Vinson Lee
2010-01-31egl: Initialize display configs with the display.Chia-I Wu
This changes _eglInitConfig to take the display as its argument.
2010-01-31egl: Initialize display resources with their display.Chia-I Wu
Change _eglInitSurface, _eglInitContext, and _eglInitImage to take an _EGLDisplay instead of an _EGLDriver. This is a more natural form, and plus, the display encodes information such as the extensions supported that might be required for attribute list parsing.
2010-01-31st/egl: Do not ignore configs without a renderable type.Chia-I Wu
Configs without a renderable type are still informative for programs such as eglinfo.
2010-01-31st/egl: Remove egl_g3d_get_current_context.Chia-I Wu
There is now _eglGetAPIContext that can return the current context of the given API.
2010-01-30st/egl: eglBindTexImage should bind to an OpenGL ES texture.Chia-I Wu
The spec says that it only works with OpenGL ES.
2010-01-30egl: Rename Binding to CurrentContext in _EGLSurface.Chia-I Wu
A context can be bound to a surface just like it can be bound to a thread. CurrentContext is a more consistent name.
2010-01-28st/xorg: Update to new libkms interface but be backwards compatibleJakob Bornecrantz
2010-01-28Merge commit 'origin/perrtblend'Roland Scheidegger
Conflicts: src/gallium/drivers/softpipe/sp_screen.c src/gallium/include/pipe/p_defines.h
2010-01-28regress: Add vertex shaders tests for constant buffers.Michal Krol
2010-01-28regress: Add fragment shader test for one-dimensional constant buffers.Michal Krol
2010-01-28regress: Add two-dimension constant buffer test.Michal Krol
2010-01-28python: Link to ws2_32 on windows.Michal Krol
2010-01-28regress: Fix shader header.Michal Krol
2010-01-28egl: Migrate drivers to use _eglBindContext.Chia-I Wu
_eglMakeCurrent is a big hammer that is not easy to use. Migrate drivers to use _eglBindContext and un-export _eglMakeCurrent.
2010-01-28egl: eglMakeCurrent should accept an uninitialized display.Chia-I Wu
When no context or surface are given, the display is allowed to be uninitialized. Most drivers cannot handle an uninitialized display. But they are updated to at least throw a fatal message.
2010-01-28st/xorg: Remove unnecessary headers.Vinson Lee
2010-01-28st/dri: Remove unnecessary headers.Vinson Lee
2010-01-26egl: Remove _eglGetCurrentSurface and _eglGetCurrentDisplay.Chia-I Wu
They have little use in drivers since drivers need to work for multiple current contexts.
2010-01-25Merge branch 'mesa_7_7_branch'Brian Paul
Conflicts: src/mesa/drivers/dri/intel/intel_screen.c src/mesa/drivers/dri/intel/intel_swapbuffers.c src/mesa/drivers/dri/r300/r300_emit.c src/mesa/drivers/dri/r300/r300_ioctl.c src/mesa/drivers/dri/r300/r300_tex.c src/mesa/drivers/dri/r300/r300_texstate.c
2010-01-25st/xorg: Fix crash on resize with libkmsJakob Bornecrantz
2010-01-25st/mesa: handle EXT_draw_buffers2 per rendertarget blend enables / colormasksRoland Scheidegger
uses the new gallium per-rt blend functionality
2010-01-25vega: fix incorrect samplers, textures indexes in blend_bind_samplers()Igor Oliveira
Fixes fd.o bug 25863. Signed-off-by: Brian Paul <brianp@vmware.com>
2010-01-25vega: don't enable blending if not necessaryRoland Scheidegger
In some places blending was enabled even though it wasn't necessary. Also remove a (bogus) reenabling of color writes, which wasn't really used.
2010-01-25xorg: do not enable unnecessary blending for xvRoland Scheidegger
2010-01-25st/python: adapt to blend changesRoland Scheidegger
2010-01-25vega: adapt to blend changesRoland Scheidegger
2010-01-25xorg: adapt to blend changesRoland Scheidegger
2010-01-25st/xorg: Improve options and print them to logJakob Bornecrantz
Set 2D acceleration to off by default Get fallback debugging from the Xorg config Also print if 3D acceleration is enabled
2010-01-25st/xorg: Export helper function for detecting modesettingJakob Bornecrantz
2010-01-25st/xorg: Fix warningJakob Bornecrantz
2010-01-25egl: Native types are renamed in EGL 1.3.Chia-I Wu
Rename Native*Type to EGLNative*Type.
2010-01-25egl: check if driver_name is nullIgor Oliveira
2010-01-24egl: Make surfaces and contexts resources.Chia-I Wu
Turn _EGLSurface and _EGLContext into _EGLResource so that they can be managed uniformly.
2010-01-23st/vega: Clean up Makefile.Chia-I Wu
2010-01-23st/es: Pass -linker and -ldflags to mklib.Chia-I Wu
2010-01-22Merge branch 'mesa_7_7_branch'Brian Paul
Conflicts: src/gallium/auxiliary/draw/draw_context.c src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline.c src/gallium/auxiliary/pipebuffer/Makefile src/gallium/auxiliary/pipebuffer/SConscript src/gallium/auxiliary/pipebuffer/pb_buffer_fenced.c src/gallium/auxiliary/tgsi/tgsi_scan.c src/gallium/drivers/i915/i915_surface.c src/gallium/drivers/i915/i915_texture.c src/gallium/drivers/llvmpipe/lp_setup.c src/gallium/drivers/llvmpipe/lp_tex_sample_c.c src/gallium/drivers/llvmpipe/lp_texture.c src/gallium/drivers/softpipe/sp_prim_vbuf.c src/gallium/state_trackers/xorg/xorg_dri2.c src/gallium/winsys/drm/intel/gem/intel_drm_api.c src/gallium/winsys/drm/nouveau/drm/nouveau_drm_api.c src/gallium/winsys/drm/radeon/core/radeon_drm.c src/gallium/winsys/drm/vmware/core/vmw_screen_dri.c src/mesa/state_tracker/st_cb_clear.c
2010-01-22st/egl_g3d: Rename to st/egl.Chia-I Wu
Simply the name to egl.
2010-01-22st/egl: Remove the egl state tracker.Chia-I Wu
The egl_g3d state tracker has support for KMS, and the support is based on the egl state tracker. As egl_g3d provides more features, it should be better to keep only egl_g3d to unify the efforts.
2010-01-22st/egl_g3d: Use glxinit.c from egl_xdri.Chia-I Wu
It is used to fetch the GLX visuals/fbconfigs. Use egl_xdri's version to avoid duplication. It might be better to rewrite that part though.
2010-01-21st/xorg: Remove unnecessary headers.Vinson Lee
2010-01-20st/xorg: Fic bug and close drm_api at proper placeJakob Bornecrantz