summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/x11
Commit message (Collapse)AuthorAgeFilesLines
* mesa/xlib: call XQueryExtension() in glXQueryExtension()Brian Paul2009-10-071-4/+6
| | | | See bug 24321.
* mesa/xlib: fix glXQueryDrawable() bugs, see bug 24320Brian Paul2009-10-072-12/+28
|
* mesa/xlib: return 0 for errorBase, eventBase in glXQueryExtension()Brian Paul2009-10-071-3/+5
| | | | | A little better than leaving the values undefined, I think. See bug 24321.
* xlib: use bitwise-and to test GLX_RGBA_BIT in choose_visual()Brian Paul2009-10-021-2/+2
| | | | The parameter is a bitmask.
* mesa/xlib: fix GLX_RENDER_TYPE queryBrian Paul2009-09-291-2/+2
| | | | Return GLX_RGBA_TYPE or GLX_COLOR_INDEX_TYPE.
* Add ARB_sync to the xorg sw dri driver.Eric Anholt2009-09-031-0/+2
|
* xlib: plug in more meta functions, if TEST_META_FUNCS is setBrian Paul2009-08-311-13/+15
|
* xlib: option to enable/test meta functions (disabled)Brian Paul2009-08-313-4/+22
|
* Merge branch 'mesa_7_5_branch'Brian Paul2009-06-241-1/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/mesa/drivers/dri/i915/i915_tex_layout.c src/mesa/drivers/dri/i965/brw_wm_glsl.c src/mesa/drivers/dri/intel/intel_buffer_objects.c src/mesa/drivers/dri/intel/intel_pixel_bitmap.c src/mesa/drivers/dri/intel/intel_pixel_draw.c src/mesa/main/enums.c src/mesa/main/texstate.c src/mesa/vbo/vbo_exec_array.c
| * mesa: added null ptr check in Fake_glXCreatePixmap()Brian Paul2009-06-171-1/+1
| | | | | | | | Fixes segfault in progs/xdemos/glxgears_pixmap.c
* | mesa: in glReadBufer() set _NEW_BUFFERS, not _NEW_PIXELBrian Paul2009-05-011-1/+2
|/ | | | | | | | | | | | | | | Since GL_READ_BUFFER is historically part of the gl_pixel_attrib group it made sense to signal changes with _NEW_PIXEL. But now with FBOs it's also part of the framebuffer state. Now _NEW_PIXEL strictly indicates pixels transfer state changes. This change avoids framebuffer state validation when any random bit of pixel-transfer state is set. DRI drivers updated too: don't check _NEW_COLOR when updating framebuffer state. I think that was just copied from the Xlib driver because we care about dither enable/disable state there.
* Use the specified X11 headers for xlib mesaDan Nicholson2009-03-181-1/+2
| | | | | The xlib build was using the system's Xlib headers or bombing if they weren't available.
* xmesa: set back-buffer's drawable fieldBrian Paul2009-03-091-0/+1
| | | | Fixes back-buffer rendering when MESA_BACK_BUFFER=pixmap
* xlib: code to force fixed function -> shader translation (for debug, disabled)Brian Paul2009-03-031-0/+8
|
* mesa: comments and code documenting a bug with depth 32 TrueColor ↵Brian Paul2009-03-021-0/+18
| | | | | | | | | | drawing/reading It seems that XGetImage() from a depth 32 TrueColor window is flakey. Drawing with XPutImage() instead of XPutPixel() seems to work better, but still not perfectly. Keep using the original code for now until more is learned.
* mesa: remove unused AUX buffersBrian Paul2009-03-021-3/+0
| | | | | | Remove all references to aux buffers 1..3. Keep AUX0 around for now just in case, but it'll probably go too someday. I don't know of any OpenGL drivers since the IRIX days that support aux color buffers.
* mesa: fix _glxapi_get_proc_address() for mangled namesTom Fogal2009-02-231-0/+5
|
* mesa: move a bunch of compiler-related stuff into new compiler.h headerBrian Paul2009-02-221-0/+1
| | | | This trims down and cleans up imports.h and glheader.h quite a bit.
* mesa: use an array for current texture objectsBrian Paul2009-02-211-3/+3
| | | | Use loops to consolidate lots of texture object code.
* mesa: replace _mesa_unreference_framebuffer() with _mesa_reference_framebuffer()Brian Paul2009-02-091-1/+1
|
* mesa: make Xlib glXIsDirect() always return TrueBrian Paul2009-02-041-3/+3
|
* xlib: use MESA_GLX_FORCE_DIRECT to make glXIsDirect() always return TrueBrian Paul2009-02-031-20/+25
| | | | | Some apps won't run w/ indirect rendering contexts. Also, consolidate some context-init code in new init_glx_context() function.
* Make GL_{EXT,SUN}_multi_draw_arrays and GL_IBM_multimode_draw_arrays mandatoryIan Romanick2009-01-281-2/+0
| | | | Signed-off-by: Ian Romanick <[email protected]>
* mesa: deprecate the GL/fxmesa.h headerBrian Paul2009-01-102-1/+104
|
* xmesa: deprecate the "XMesa" interfaceBrian Paul2009-01-107-4/+709
| | | | | Move the include/GL/xmesa*.h files to src/mesa/drivers/x11/ so they're no longer considered public.
* mesa: improved driver query interfaceKeith Whitwell2008-09-211-4/+4
| | | | Brought over from gallium-0.2 branch.
* mesa: prefix more #includes with "main/"Brian Paul2008-09-1810-48/+48
|
* Apple: Cleaned up some linking and dylib ids issuesJeremy Huddleston2008-08-111-0/+1
|
* mesa: extra bracesBlair Sadewitz2008-07-151-96/+96
|
* Always pass -linker and -ldflags to mklib for shared librariesDan Nicholson2008-07-121-2/+2
| | | | | | This just makes the use of mklib more consistent throughout Mesa where we always want to pass the linker and LDFLAGS when we might be making a shared library.
* Call mklib with $(SHELL) so the user controls the interpreterDan Nicholson2008-07-121-2/+1
| | | | | Respect the user's choice of shell when running mklib rather than always using /bin/sh.
* remove old commentsBrian Paul2008-06-211-2/+0
|
* assorted glide driver fixesWilfried Holzke2008-06-171-1/+2
|
* fix Xlib libGL.so build problem.Brian Paul2008-06-091-1/+1
| | | | Also, build driverfuncs.c into libmesa.a since it's always needed.
* remove realglx.[ch] from buildBrian2008-06-081-2/+0
|
* added dependenciesBrian Paul2008-06-051-0/+22
|
* new Makefile for building "stand-alone", Xlib-based libGLBrian Paul2008-06-051-0/+59
|
* prefix some includes with mesa/ or glapi/Brian Paul2008-06-052-10/+10
|
* allow GLX_SAMPLES_ARB==0 (bug 16073)Brian Paul2008-05-271-4/+5
|
* glcore: drop outdated sources files intented for xorgGeorge Sapountzis2008-04-231-8/+0
|
* glcore: tree sharing for DRI and XMesaGeorge Sapountzis2008-04-231-1/+70
|
* glcore: build from mesaGeorge Sapountzis2008-04-231-0/+1
|
* added some missing calls to _mesa_enable_x_y_extensions()Brian2008-04-011-0/+1
|
* Fix potential glDrawPixels(GL_DEPTH_COMPONENT) crashes (bug 13915)Brian2008-02-161-99/+166
| | | | Also, general clean-up of the Xlib-optimized glDraw/CopyPixels code.
* Fix some issues with glDrawBuffer(GL_NONE), bug 14198Brian2008-01-221-7/+20
| | | | | Set _ColorDrawBuffers[0] = NULL if no renderbuffers enabled. Check that _ColorDrawBuffers[0] is non-null before dereferencing in a few places.
* Replace gl_framebuffer's _ColorDrawBufferMask with _ColorDrawBufferIndexesBrian2008-01-062-5/+5
| | | | | | | Each array element is now a BUFFER_x token rather than a BUFFER_BIT_x bitmask. The number of active color buffers is specified by _NumColorDrawBuffers. This builds on the previous DrawBuffer changes and will help with drivers implementing GL_ARB_draw_buffers.
* Simplify ctx->_NumColorDrawBuffers, _ColorDrawBuffers and fix bug 13835.Brian2008-01-063-8/+8
| | | | | | | | | | | These fields are no longer indexed by shader output. Now, we just have a simple array of renderbuffer pointers. If the shader writes to gl_FragData[i], send those colors to the N _ColorDrawBuffers. Otherwise, replicate the single gl_FragColor (or the fixed-function color) to the N _ColorDrawBuffers. A few more changes and simplifications can follow from this...
* Merge branch 'master' of git+ssh://[email protected]/git/mesa/mesajoukj2007-11-301-1/+1
|\
| * fix typoBrian2007-11-031-1/+1
| |
* | Merge branch 'master' of git+ssh://[email protected]/git/mesa/mesaJouk2007-10-311-7/+6
|\|