summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/osmesa
AgeCommit message (Collapse)Author
2011-02-08mesa: remove _mesa_initialize_context_for_api()Brian Paul
Just add the gl_api parameter to _mesa_initialize_context().
2011-01-31Remove talloc from the make and automake build systems.Kenneth Graunke
2011-01-24osmesa: mklib requires arguments before objectsChristopher James Halse Rogers
Fixes the build when selecting driver=osmesa and building static libraries. Otherwise, mklib tries to add the ‘-ltalloc’ object to the archive, which obviously fails. Clients which statically link to osmesa will need to link to libtalloc also, as specified in the Libs.private of osmesa.pc. Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=33360 NOTE: This is a candidate for the 7.10 branch. Signed-off-by: Christopher James Halse Rogers <christopher.halse.rogers@canonical.com> Signed-off-by: Brian Paul <brianp@vmware.com>
2011-01-04osmesa: pass context to _mesa_update_framebuffer_visual()Brian Paul
Fixes http://bugs.freedesktop.org/show_bug.cgi?id=32814
2010-10-30osmesa: fix renderbuffer memleak in OSMesaMakeCurrent()Brian Paul
Fixes fd.o bug 31128.
2010-10-20osmesa: link against libtallocOrion Poplawski
Otherwise consumers have to, and that's lame. Signed-off-by: Adam Jackson <ajax@redhat.com>
2010-10-13Drop GLcontext typedef and use struct gl_context insteadKristian Høgsberg
2010-10-13Drop GLframebuffer typedef and just use struct gl_framebufferKristian Høgsberg
2010-10-13Rename GLvisual and __GLcontextModes to struct gl_configKristian Høgsberg
2010-08-30Add talloc to osmesa library dependenciesJon TURNEY
also link osmesa with C++ standard libraries, as it now contains C++ code Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
2010-08-11osmesa: link with new libglsl.a libBrian Paul
2010-07-02osmesa: remove old renderbuffer before adding newBrian Paul
Fixes fd.o bug 10966 when OSMesaMakeCurrent() was called twice. NOTE: This is a candidate for the 7.8 branch.
2010-06-16osmesa: always build standalone for internal symbolsDan Nicholson
When building OSMesa and xlib GL, the resulting OSMesa would be linked against libGL instead of the internal mesa libraries. However, when building with -fvisibility=hidden, some of the internal functions used in OSMesa could not be resolved through libGL. Instead, always build OSMesa standalone without linking against libGL. This has the advantage that OSMesa is always built the same way, but it means that disk space is wasted when libGL is installed since both libraries will contain the internal objects. Signed-off-by: Dan Nicholson <dbn.lists@gmail.com> Tested-by: Tom Fogal <tfogal@alumni.unh.edu>
2010-05-09osmesa: use unsigned 16-bit/channel formatBrian Paul
2010-05-07glapi: Move to src/mapi/.Chia-I Wu
Move glapi to src/mapi/{glapi,es1api,es2api}.
2010-05-04osmesa: remove unused varBrian Paul
2010-05-04osmesa: fix OSMesa for CHAN_BITS=32Brian Paul
CHAN_BITS=16 still broken. NOTE: this is a candidate for back-porting to the 7.8 stable branch.
2010-03-03mesa: Remove support for creating color-index visualsIan Romanick
Remove the rgbMode and indexBits parameters from _mesa_create_visual and _mesa_initialize_visual. These values are now hardcoded to GL_TRUE and 0. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2010-03-03osmesa: Remove support for color-index renderingIan Romanick
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2010-02-19Replace _mesa_malloc, _mesa_calloc and _mesa_free with plain libc versionsKristian Høgsberg
2010-02-19Remove _mesa_strcmp in favor of plain strcmp.Kenneth Graunke
2010-02-05osmesa: Add OSMesaColorClamp and OSMesaGetProcAddress to symbol defs.Brian Paul
Without this patch, the two symbols get an underscore prepended and an "@4" appended when compiling with VC8. Signed-off-by: Brian Paul <brianp@vmware.com> (cherry picked from commit e65029e9b32ddabea0ec583c04484345b40f1557)
2009-12-21osmesa: Fix a copy/paste error in building libOSMesaJeremy Huddleston
Signed-off-by: Jeremy Huddleston <jeremyhu@freedesktop.org>
2009-12-21osmesa: added new GLSL libsBrian Paul
2009-10-08mesa: remove a bunch of gl_renderbuffer fieldsBrian Paul
_ActualFormat is replaced by Format (MESA_FORMAT_x). ColorEncoding, ComponentType, RedBits, GreenBits, BlueBits, etc. are all replaced by MESA_FORMAT_x queries.
2009-09-20osmesa: call _mesa_meta_init/free()Brian Paul
2009-06-04osmesa: Allow building standalone in all three channel widthsDan Nicholson
autoconf had been designating the 8 bit libOSMesa as the default standalone osmesa, but the Makefile expected it to be linked to libGL. Fix up the osmesa Makefile so that it allows any of the combinations of standalone and channel width to be built. Fixes bug #21980.
2009-02-09mesa: replace _mesa_unreference_framebuffer() with _mesa_reference_framebuffer()Brian Paul
2009-01-07mesa: OSMesa Makefile fixes (use LIB_DIR)Brian Paul
2008-08-11Apple: Cleaned up some linking and dylib ids issuesJeremy Huddleston
2008-07-12Always pass -linker and -ldflags to mklib for shared librariesDan Nicholson
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.
2008-07-12Call mklib with $(SHELL) so the user controls the interpreterDan Nicholson
Respect the user's choice of shell when running mklib rather than always using /bin/sh.
2008-06-05Move construction of libOSMesa.so into src/mesa/drivers/osmesa/MakefileBrian Paul
This removes some cruft from src/mesa/Makefile. Something similar could be done for stand-alone / Xlib-Mesa libGL...
2008-06-05insert mesa/ before include filesBrian Paul
2008-04-01added some missing calls to _mesa_enable_x_y_extensions()Brian
2007-10-03 Update of OpenVMS makefiles for the use of "new" include file conventionJouk
2007-05-10Updated OpenVMS makefilesJ.Jansen
modified: src/mesa/descrip.mms modified: src/mesa/drivers/osmesa/descrip.mms modified: src/mesa/drivers/x11/descrip.mms modified: src/mesa/main/descrip.mms modified: src/mesa/shader/descrip.mms modified: src/mesa/shader/slang/descrip.mms modified: src/mesa/swrast/descrip.mms modified: src/mesa/swrast_setup/descrip.mms modified: src/mesa/tnl/descrip.mms
2007-04-24assorted fixes for Windows/VC8Karl Schultz
2007-04-14set osmesa renderbuffer refcount=1 upon creation, free renderbuffer in ↵Brian
OSMesaDestroyContext()
2007-03-28Add missing OSMesaColorClamp functionAlan Hourihane
2007-03-06Fix/improve framebuffer object reference counting.Brian
Use _mesa_reference_framebuffer() and _mesa_unreference_framebuffer() functions to be sure reference counting is done correctly. Additional assertions are done too. Note _mesa_dereference_framebuffer() renamed to "unreference" as that's more accurate.
2006-10-30switch several dri drivers overKeith Whitwell
2006-10-29switch over to vbo moduleKeith Whitwell
2006-10-17Lots of fixes/changes to select color depth at runtime.Brian Paul
2006-10-14Some code movement so that the gl_framebuffer is fully initialized beforeBrian Paul
calling _mesa_make_current() to avoid hitting the initialize_framebuffer_size() stuff in context.c
2006-05-20use new _mesa_remove_renderbuffer()Brian Paul
2006-05-19Allow rendering 8, 16 and 32-bit/channel images without recompiling.Brian Paul
Uses new renderbuffer adaptors.
2006-05-14remove some unused macrosBrian Paul
2006-05-14fix typo, remove dead codeBrian Paul
2006-04-25silence warningsBrian Paul