summaryrefslogtreecommitdiff
path: root/src/gallium/state_trackers
AgeCommit message (Collapse)Author
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-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-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
2010-01-20st/egl_g3d: Add support for driver probe.Chia-I Wu
Hook the drv->Probe callback to allow the drivers to probe displays. The loading of state trackers is delayed to avoid unnecessary loading.
2010-01-20st/egl_g3d: Add support for probe to native displays.Chia-I Wu
The functions can be used to check if a display is supported without creating a struct native_display. It uses a probe object that can be shared across drivers.
2010-01-20st/egl_g3d: Do not reuse the pipe transfer in ximage.Chia-I Wu
A pipe transfer is supposed to be temporary. It should be created before X*PutImage and destroyed afterwards.
2010-01-20Merge remote branch 'origin/opengl-es-v2'Chia-I Wu
2010-01-19st/xorg: Don't leak BusID bufferJakob Bornecrantz
2010-01-19st/xorg: Pass kernel driver name to drmOpenJakob Bornecrantz
2010-01-19st/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-19wgl: Check for PIPE_TEXTURE_USAGE_DISPLAY_TARGET support in exported color ↵José Fonseca
pixel formats. Since all formats we export have PFD_DRAW_TO_WINDOW flag.
2010-01-19wgl: Don't export pure-stencil pixel formats.José Fonseca
They cause DCT's conform to always fail.
2010-01-18st/dri: Add comment for intentional fallthrough in case statement.Vinson Lee
2010-01-18st/dri: fix optionCache memory leaksMarcin Slusarz
Signed-off-by: Brian Paul <brianp@vmware.com>
2010-01-18st/egl_g3d: Clean up for x11_drawable_get_depth.Chia-I Wu
Fix a wrong comment and remove an unnecessary #include.
2010-01-18dri: Add an MSAA-enabled factor to DRI configs.Corbin Simpson
4 samples should be enough for GLUT to be satisfied, and I think most of the HW that does any MSAA, can do it. Note that any pipe that doesn't multisample can just ignore the corresponding flag in pipe_rasterizer_state.
2010-01-18dri: Properly calculate number of modes for MSAA.Corbin Simpson
Split from the next patch for bisection purposes only.
2010-01-18st/egl_g3d: Add support for eglCopyBuffers.Chia-I Wu
It uses a slow path to copy the render buffer of the surface to the target pixmap. We might be able to create a pipe context for EGLDisplay's use and use a blitter context for the purpose. It is left for a future consideration.
2010-01-18st/egl_g3d: Add is_pixmap_supported to native display interface.Chia-I Wu
The function may be used to support, for example, EGL_MATCH_NATIVE_PIXMAP and EGL_KHR_image_pixmap.
2010-01-18st/egl_g3d: Update validate to use an attachment mask.Chia-I Wu
A validate call asks for the buffers of a native surface. Using a mask to represent the interested buffers is more intuitive. It also rules out corner cases such as a single attachment being listed multiple times.
2010-01-18st/vega: Fix window resizing with egl_g3d.Chia-I Wu
egl_g3d calls st_set_framebuffer_surface on window resize. It updates the renderbuffer's geometry and makes st_resize_framebuffer a no-op. This commit improves the no-op check a little bit. It can do better after gallium-fb-dimensions is merged.
2010-01-18st/vega: Call screen->update_buffer instead of winsys->update_buffer.Chia-I Wu
This removes the last reference to winsys and is per mesa/st.
2010-01-17softpipe: Move st/python's malloc winsys to softpipeJakob Bornecrantz
Users of softpipe can still specify thier own winsys but now there is a default one also that uses malloc. This allows the malloc winsys to be shared with other users of softpipe.
2010-01-17st/xlib: Make glXGetProcAddressARB visibleJakob Bornecrantz
2010-01-16gallium: Fix uninitialized instance divisor and index.Chia-I Wu
2010-01-15regress: Add .gitgnore for *.png files.Michal Krol
2010-01-15Merge branch 'gallium-noconstbuf'Roland Scheidegger
Conflicts: src/gallium/drivers/softpipe/sp_draw_arrays.c src/mesa/state_tracker/st_draw_feedback.c
2010-01-15st/egl_g3d: Avoid validation upon buffer swap or flush frontbuffer.Chia-I Wu
With screen->update_buffer being hooked, leave the job to the state trackers.
2010-01-15st/egl_g3d: Hook to update_buffer of the pipe screen.Chia-I Wu
It is a notification from the client APIs that the surface size might have changed.
2010-01-15st/egl_g3d: Always override flush_frontbuffer.Chia-I Wu
Instead of letting the native displays install their own version of flush_frontbuffer, always override the callback with a version that calls the flush_frontbuffer of the native surface.