aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/glx
Commit message (Collapse)AuthorAgeFilesLines
...
* st/xlib: Make glXGetProcAddressARB visibleJakob Bornecrantz2010-01-171-1/+1
|
* st/xlib: Mark GLX functions as public.Chia-I Wu2010-01-113-77/+80
| | | | | | Mark all functions start with glX as public. Signed-off-by: Chia-I Wu <[email protected]>
* Merge branch 'mesa_7_7_branch'Brian Paul2009-12-311-0/+1
|\ | | | | | | | | | | | | | | 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
| * gallium/xlib: Silence unused variable warning.Vinson Lee2009-12-271-0/+1
| |
* | xlib: Integrate the trace driver with all pipe drivers.José Fonseca2009-12-281-4/+19
|/ | | | | | | And not just softpipe. It is particularly convenient to use llvmpipe instead, since it is much faster. It also allows to use rbug with all xlib drivers.
* gallium/xlib: call XQueryExtension() in glXQueryExtension()Brian Paul2009-10-071-4/+6
| | | | See bug 24321.
* gallium/xlib: fix glXQueryDrawable() bugs, see bug 24320Brian Paul2009-10-073-13/+34
|
* gallium/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.
* gallium/xlib: use bitwise-and to test GLX_RGBA_BIT in choose_visual()Brian Paul2009-10-021-2/+2
| | | | The parameter is a bitmask.
* gallium/xlib: return GLX_RGBA_BIT or GLX_COLOR_INDEX_BIT in get_config()Brian Paul2009-10-021-2/+2
| | | | This reverts part of commit a6b84aef4ad3a7bac40704146a98977c62bfb6e8
* gallium/xlib: fix GLX_RENDER_TYPE queryBrian Paul2009-09-291-4/+4
| | | | Return GLX_RGBA_TYPE or GLX_COLOR_INDEX_TYPE.
* gallium/xlib: minor clean-upsBrian Paul2009-09-041-14/+5
|
* gallium/xlib: silence unitialized var warningBrian Paul2009-09-031-1/+1
|
* Gallium xlib: Add support for BGRA visuals.Michel Dänzer2009-08-311-0/+12
|
* xlib: Ensure one screen instance.José Fonseca2009-08-291-7/+2
|
* xlib: Complete llvmpipe integration.José Fonseca2009-08-291-2/+1
|
* st/xlib: remove a couple more 'fake' referencesKeith Whitwell2009-08-191-4/+2
|
* st/xlib: remove dead ungrab helperKeith Whitwell2009-08-191-13/+0
|
* st/xlib: reduce the proliferation of GLX context typesKeith Whitwell2009-08-141-57/+37
| | | | | | | | | | Now there is just a single, struct __GLXcontextRec, which is the GLXContext typedef has already been defined as a pointer to. I believe this is the intended usage, that GLX implementations should define that struct as they require. Merge the two previous structs into one and get rid of the no-longer-necessary type casts and sub-classing.
* gallium/glx/xlib: main/ prefix on Mesa includes, remove -I$(TOP)/src/mesa/main/Brian Paul2009-08-124-10/+9
|
* gallium/glx/xlib: updated commentsBrian Paul2009-08-123-4/+2
|
* gallium/glx/xlib: delete fakeglx.hBrian Paul2009-08-121-41/+0
|
* gallium/glx/xlib: rename fakeglx.c to glx_api.cBrian Paul2009-08-123-2/+2
|
* gallium/glx/xlib: delete glxapi.hBrian Paul2009-08-121-36/+0
|
* gallium/glx/xlib: rename fakeglx_fonts.c to glx_usefont.cBrian Paul2009-08-123-2/+2
|
* gallium/glx/xlib: rename glxapi.c to glx_getproc.cBrian Paul2009-08-123-2/+3
|
* gallium/glx/xlib: don't include fakeglx.hBrian Paul2009-08-121-1/+0
|
* gallium/glx/xlib: overhaul and simplification of the Gallium Xlib-based GLXBrian Paul2009-08-124-1574/+280
| | | | | | | | | The old GLX dispatch table stuff isn't needed (same story for the Mesa/Xlib driver). The intention of that code was being able to switch on the fly between the real GLX library and the fake/Xlib-based emulation. That hasn't been used in a long time. Next up: some file renaming.
* 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
| * st/glx: added null ptr check in Fake_glXCreatePixmap()Brian Paul2009-06-171-1/+1
| | | | | | | | Fixes segfault in progs/xdemos/glxgears_pixmap.c
* | gallium/glx: say we're direct renderingBrian Paul2009-05-011-5/+8
| |
* | xlib winsys: use new st_swapbuffers() functionBrian Paul2009-05-011-14/+7
|/ | | | | | | | | | The front/back buffer pointers are truly swapped (when there is an actual front buffer). This fixes some issues seen with apps/tests that draw to both the front and back color buffers. The true swap allows us to avoid the (potentially) slow surface_copy() call in update_framebuffer_state() and is cleaner overall.
* st: call _glapi_check_multithread from st_make_currentKeith Whitwell2009-03-181-5/+0
| | | | | | | This function is called from many OS-dependent versions of MakeCurrent. Move the check for multithreading to this central location to avoid having to make this check from all the callers.
* xlib st: Fix makeCurrent.Thomas Hellstrom2009-03-182-11/+17
| | | | | | | | Flush if we change context. Also reinstate the old optimization of doing nothing if nothing changes. Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com>
* gallium: Remove do_flip argument from surface_copyJakob Bornecrantz2009-03-131-1/+0
| | | | | | | I should have gotten most uses and implementation correctly fixed, but things might break. Feel free to blame me.
* scons: Also define USE_XSHM for the glx/xlib state tracker build.Michel Dänzer2009-03-091-0/+2
| | | | | Fixes an inconsisten definition of struct xmesa_buffer between there and winsys/xlib, resulting in a crash in XPutImage.
* Fix up another instance of _mesa_unreference_framebuffer().Michel Dänzer2009-03-091-1/+1
|
* st/dri2: Add DRI2 a state trackerJakob Bornecrantz2009-03-038-1235/+0
| | | | | | | This was based of the unfinnished code that Keith Whitwell started on but never finnished. I moved the code from the glx directory because dri drivers can be used for more things then just glx.
* gallium: remove dependency on main/glheader.h in glxapi.cBrian Paul2009-02-221-1/+9
| | | | Only needed it for the PUBLIC macro.
* gallium: Improve makefiles for librariesJakob Bornecrantz2009-02-201-13/+5
| | | | | | | | The template makefile that most libraries in gallium included was based on dri and had a bunch unrelevant junk in it. Update it and improve the depending makefiles.
* scons: Build xlib state tracker regardless of DRI settings.José Fonseca2009-02-121-2/+1
|
* scons: Fixups for the introduction of the xlib state_tracker.Michel Dänzer2009-02-021-0/+26
| | | | Not quite working yet; glxinfo complains about glXChooseVisual being undefined.
* gallium: change the st_get_framebuffer_surface/texture functionsAlan Hourihane2009-01-231-5/+6
| | | | | to return TRUE/FALSE if the st_framebuffer is valid, and if it is return the surface/texture in the passed pointer.
* xlib: don't explicitly create the pipe_winsys structKeith Whitwell2009-01-172-16/+2
|
* xlib: allow winsys's to register themselves with glx/xlib state trackerKeith Whitwell2009-01-133-20/+35
|
* dri: make dri_display_surface staticKeith Whitwell2009-01-122-6/+1
|
* dri: pull dri_swapbuffers.c into dri_drawable.cKeith Whitwell2009-01-126-346/+370
|
* dri: rename dri1 directoryKeith Whitwell2009-01-129-0/+0
|
* dri: sketch of new device-independent glx/dri state trackerKeith Whitwell2009-01-129-0/+1217
|
* xlib: move state tracker to glx/xlibKeith Whitwell2009-01-0910-0/+6345
Also, remove makefile hacks.