Commit Graph

937 Commits

Author SHA1 Message Date
Ian Romanick 7ccbeb41ac Merge commit '381d5e209815235911c4aab516037c868c8f695f'
This merges the patches from the series "[PATCH 00/14] More
client-side GLX house cleaning" that were posted to the mesa3d-dev
mailing list.  See
http://marc.info/?l=mesa3d-dev&m=126582985214612&w=2

Patches 01 through 04 eliminate a bunch of annoying warnings that I
get when building Mesa.

Patch 05 fixes an inconsistency between the implementation of
glXSwapIntervalMESA and the spec.  I chose to favor the code over the
spec in this case.  This also eliminated a warning.

Patches 06 through 12 clean up the way that context creation is
performed on the client.  When support for GLX_SGIX_fbconfig and the
related GLX 1.3 functions was added, I refactored a bunch
nuts-and-bolts of context creation to CreateContext.  The refactor was
a good idea, I just didn't do it right.

Patches 13 and 14 update glxgears_fbconfig to use GLX 1.3 interfaces.
2010-02-17 11:40:38 -08:00
Chia-I Wu e16f577142 docs: Update TODOs of egl.html.
Thread-safety is no longer a TODO item.  There are surely bugs to be
fixed though.
2010-02-17 20:00:12 +08:00
Brian Paul 3be1c11001 docs: document glMultiDrawElements() fix
(cherry picked from commit ab6bcef99a53217db752659ace105ddfd9b25ebb)
2010-02-15 08:57:34 -07:00
Brian Paul 5fd2b46a20 docs: document GL_ARB_fragment_coord_conventions 2010-02-13 14:06:25 -07:00
Ian Romanick 68fef18439 glx: Fix interval test in glXSwapIntervalMESA
It appears that, in spite of what the spec says, the interval
parameter to glXSwapIntervalMESA has been an unsigned int since
day-1.  This made the 'if (interval < 0)' test useless.  The test is
removed and the spec is updated to note that the interval is an
unsigned value.
2010-02-11 15:40:29 -08:00
Karl Schultz 207ad94a89 Add git tips 2010-02-11 10:56:30 -07:00
Brian Paul d23fefe217 docs: remove old CVS references 2010-02-11 09:02:53 -07:00
Brian Paul b0613d8767 docs: fix typo: s/osdemo/osdemos/
(cherry picked from commit 0371956d66cdc8a1629753fca9cb3cdc49b0d145)
2010-02-09 11:21:41 -07:00
Kristian Høgsberg 6e8897ff9f Retire miniglx and move the actual glx code up to src/glx 2010-02-09 09:58:36 -05:00
Brian Paul 1a366701b8 docs: Fix a typo in mesa3d.org HTML.
Signed-off-by: Brian Paul <brianp@vmware.com>

(cherry picked from commit e6ee4b49c48ec7c2e7df2cff7b253b01e88e7101)
2010-02-05 13:18:31 -07:00
Chia-I Wu 1b2b08c5f3 docs: Update the developer section of egl.html.
Mainly to add a subsection about EGL_RENDER_BUFFER.
2010-02-05 12:48:49 +08:00
Chia-I Wu 5f08eff2a7 egl: Remove egl_xdri.
egl_xdri steals code from src/glx/x11/.  This makes it broken from time
to time when there is a bigger change to the GLX code.  As egl_dri2 has
been merged, which also functions as a DRI2 driver loader, remove
egl_xdri for good.
2010-02-05 12:48:49 +08:00
Chia-I Wu 6fd8b6a9e2 egl: Ignore certain environment variables when setuid/setgid.
Specifically, ignore EGL_DRIVERS_PATH when an application is
setuid/setgid.  And ignore EGL_DRIVER when there is a slash in it.
2010-02-03 14:16:15 +08:00
Chia-I Wu 5d8646c41f egl: Add EGL_DRIVERS_PATH environment variable.
EGL_DRIVERS_PATH gives a list of colon-separated directories.  The given
directories will be searched when preloading drivers.

This is based on Mike Stroyan's patch, which honors the variable in
_eglPreloadDisplayDrivers.  It is extended to honor the variable also in
_eglPreloadUserDriver and _eglPreloadDefaultDriver in this version.
2010-02-03 14:16:15 +08:00
Chia-I Wu 7fc35811c4 docs: Update for EGL environment variables.
Mention that EGL_DRIVER should be a full path, and add a link from
envvars.html to egl.html.
2010-02-02 11:06:29 +08:00
Corbin Simpson 882279d31a docs: Mark what I've been up to.
Brian, feel free to split/revert if you disagree.
2010-01-29 09:54:42 -08:00
Brian Paul 364b008d18 docs: Fixed Windows build for 7.7.1
(cherry picked from commit a0518e66b2960d3bab386985e24ccbc9c51abf97)
2010-01-29 08:37:31 -07:00
Chia-I Wu 14cbf324dc docs: Update the developer section of egl.html.
Mainly to add a subsection on the lifetime of display resources.
2010-01-28 18:10:05 +08:00
Eric Anholt ab53f71015 i965: Add support for EXT_draw_buffers2. 2010-01-26 14:43:23 -08:00
Brian Paul 43867acb6a Merge branch 'mesa_7_7_branch'
Merging was easier than cherry picking in this instance.
2010-01-26 13:25:53 -07:00
Brian Paul 1d8b308cbf docs: document Intel, R300 env vars 2010-01-26 09:12:32 -07:00
Chia-I Wu 74aa773f7c docs: Mention EGL and OpenGL ES in 7.8 release notes. 2010-01-26 11:35:30 +08:00
Chia-I Wu a6342afe50 docs: Update EGL documentation.
Add --enable-gallium-swrast to the example.  Document missing
--with-egl-driver-dir and update TODOs.
2010-01-26 10:55:28 +08:00
Brian Paul cd8614b028 Merge branch 'mesa_7_7_branch'
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-22 12:17:02 -07:00
Chia-I Wu cec2eeb33e docs: Update sourcetree.html for EGL and the state trackers. 2010-01-22 18:10:52 +08:00
Chia-I Wu 3c967a9207 st/egl_g3d: Rename to st/egl.
Simply the name to egl.
2010-01-22 16:45:28 +08:00
Chia-I Wu 3b0ffd5a36 egl: Remove egl_softpipe.
With the addition egl_x11_swrast, egl_softpipe is sort of deprecated.
The new driver serves the same purpose as egl_softpipe does.  It is
based on egl_g3d and provides more features.
2010-01-22 16:44:13 +08:00
Chia-I Wu a1306f4ef6 winsys/drm: Add swrast.
The swrast winsys always returns NULL when drm_api_create is called.
2010-01-22 16:44:09 +08:00
Chia-I Wu 29732f982c docs: Update the status of egl_xdri.
Mention that it also supports DRISW.
2010-01-22 15:06:06 +08:00
Brian Paul 24d3a7a251 docs: remove old pbuffer info 2010-01-21 08:16:54 -07:00
Brian Paul aeff9f9725 docs: added target attribute to external URLs 2010-01-21 08:14:42 -07:00
Brian Paul 656834a871 docs: add links to the egl, openvg, opengles pages
And move the GLSL link up the use User Topics section.
2010-01-21 08:14:29 -07:00
Brian Paul ed9bd82656 docs: new Mesa source tree overview page.
This has been sitting around for a while.  Incomplete, but a good start.
2010-01-21 08:04:15 -07:00
Chia-I Wu 1af67195b3 docs: Update documentation for OpenVG and OpenGL ES.
Update the instructions and add references to egl.html.
2010-01-21 15:59:06 +08:00
Chia-I Wu ada46053a4 docs: Add documentation for EGL.
This is a short guide to EGL.  The drivers that are to be removed soon
are not mentioned in the guide.
2010-01-21 15:58:47 +08:00
Brian Paul 4e34c5d0b5 docs: updated Mesa mailing list info 2010-01-20 08:09:53 -07:00
Chia-I Wu d8299af4ab docs: Add documentation for OpenGL ES.
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2010-01-12 11:25:09 +08:00
Brian Paul fd70841121 Merge branch 'mesa_7_7_branch'
Conflicts:

	src/mesa/drivers/dri/i965/brw_wm_emit.c
2010-01-08 08:21:12 -07:00
Brian Paul 5dd9e23d62 docs: document Gallium SSE codegen for XPD bug fix 2010-01-07 14:55:27 -07:00
Brian Paul 73bd400016 docs: document a mipmap generation bug fix 2010-01-06 18:20:17 -07:00
Brian Paul a6975507ad docs: added more GL3 items 2010-01-05 21:25:56 -07:00
Brian Paul 9089436930 docs: added link to wiki page about missing Mesa features 2010-01-05 16:03:11 -07:00
Brian Paul 5ac16495a2 Merge branch 'mesa_7_7_branch'
Conflicts:
	docs/relnotes.html
	src/gallium/drivers/llvmpipe/lp_tex_sample_c.c
	src/gallium/drivers/r300/r300_cs.h
	src/mesa/drivers/dri/i965/brw_wm_surface_state.c
	src/mesa/main/enums.c
2010-01-04 19:16:24 -07:00
Brian Paul 01bf004d8b docs: initial release notes for 7.7.1 2010-01-04 14:01:18 -07:00
José Fonseca 7bbf7f94ea scons: Build progs together with everything else.
This is a substantial reorganization, This particular commit enables:
- building the progs for unices platforms
- glew is now built as a shared library (it is the default, and it is
inconvenient and pointless to shift away from that default)
- all progs get built by default
2010-01-01 12:16:19 +00:00
Brian Paul 25024d9482 Merge branch 'mesa_7_7_branch'
Conflicts:
	configs/darwin
	src/gallium/auxiliary/util/u_clear.h
	src/gallium/state_trackers/xorg/xorg_exa_tgsi.c
	src/mesa/drivers/dri/i965/brw_draw_upload.c
2009-12-31 09:02:27 -07:00
Brian Paul 06f10903cb docs: 7.8 relnotes: GL_NV_conditional_render and GL_EXT_draw_buffers2 2009-12-31 08:49:28 -07:00
Brian Paul c28b451e40 docs: update status for conditional rendering 2009-12-31 08:49:27 -07:00
Brian Paul 9b0bbe15a5 docs: added GL 3.x feature checklist to track what's done in Mesa 2009-12-30 10:39:20 -07:00
Brian Paul b0d5e44f24 docs: insert 7.7 release date 2009-12-27 15:33:25 -07:00