[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [12883] trunk/lib/solaris-2.10-i386_64: adding mesa 7.0.2 for solaris-10-i386-64bit
Campbell Barton
ideasman42 at gmail.com
Fri Dec 14 14:57:43 CET 2007
Revision: 12883
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=12883
Author: campbellbarton
Date: 2007-12-14 14:57:43 +0100 (Fri, 14 Dec 2007)
Log Message:
-----------
adding mesa 7.0.2 for solaris-10-i386-64bit
Added Paths:
-----------
trunk/lib/solaris-2.10-i386_64/mesa/
trunk/lib/solaris-2.10-i386_64/mesa/include/
trunk/lib/solaris-2.10-i386_64/mesa/include/GL/
trunk/lib/solaris-2.10-i386_64/mesa/include/GL/amesa.h
trunk/lib/solaris-2.10-i386_64/mesa/include/GL/dmesa.h
trunk/lib/solaris-2.10-i386_64/mesa/include/GL/fxmesa.h
trunk/lib/solaris-2.10-i386_64/mesa/include/GL/ggimesa.h
trunk/lib/solaris-2.10-i386_64/mesa/include/GL/gl.h
trunk/lib/solaris-2.10-i386_64/mesa/include/GL/gl_mangle.h
trunk/lib/solaris-2.10-i386_64/mesa/include/GL/glext.h
trunk/lib/solaris-2.10-i386_64/mesa/include/GL/glfbdev.h
trunk/lib/solaris-2.10-i386_64/mesa/include/GL/glu.h
trunk/lib/solaris-2.10-i386_64/mesa/include/GL/glu_mangle.h
trunk/lib/solaris-2.10-i386_64/mesa/include/GL/glx.h
trunk/lib/solaris-2.10-i386_64/mesa/include/GL/glx_mangle.h
trunk/lib/solaris-2.10-i386_64/mesa/include/GL/glxext.h
trunk/lib/solaris-2.10-i386_64/mesa/include/GL/internal/
trunk/lib/solaris-2.10-i386_64/mesa/include/GL/internal/dri_interface.h
trunk/lib/solaris-2.10-i386_64/mesa/include/GL/internal/glcore.h
trunk/lib/solaris-2.10-i386_64/mesa/include/GL/internal/sarea.h
trunk/lib/solaris-2.10-i386_64/mesa/include/GL/mesa_wgl.h
trunk/lib/solaris-2.10-i386_64/mesa/include/GL/mglmesa.h
trunk/lib/solaris-2.10-i386_64/mesa/include/GL/osmesa.h
trunk/lib/solaris-2.10-i386_64/mesa/include/GL/svgamesa.h
trunk/lib/solaris-2.10-i386_64/mesa/include/GL/uglglutshapes.h
trunk/lib/solaris-2.10-i386_64/mesa/include/GL/uglmesa.h
trunk/lib/solaris-2.10-i386_64/mesa/include/GL/vms_x_fix.h
trunk/lib/solaris-2.10-i386_64/mesa/include/GL/wmesa.h
trunk/lib/solaris-2.10-i386_64/mesa/include/GL/xmesa.h
trunk/lib/solaris-2.10-i386_64/mesa/include/GL/xmesa_x.h
trunk/lib/solaris-2.10-i386_64/mesa/include/GL/xmesa_xf86.h
trunk/lib/solaris-2.10-i386_64/mesa/include/GLView.h
trunk/lib/solaris-2.10-i386_64/mesa/lib/
trunk/lib/solaris-2.10-i386_64/mesa/lib/libGL.a
trunk/lib/solaris-2.10-i386_64/mesa/lib/libGLU.a
trunk/lib/solaris-2.10-i386_64/mesa/lib/libGLw.a
trunk/lib/solaris-2.10-i386_64/mesa/lib/libOSMesa.a
Added: trunk/lib/solaris-2.10-i386_64/mesa/include/GL/amesa.h
===================================================================
--- trunk/lib/solaris-2.10-i386_64/mesa/include/GL/amesa.h (rev 0)
+++ trunk/lib/solaris-2.10-i386_64/mesa/include/GL/amesa.h 2007-12-14 13:57:43 UTC (rev 12883)
@@ -0,0 +1,65 @@
+/*
+ * Mesa 3-D graphics library
+ * Version: 3.3
+ *
+ * Copyright (C) 1999-2000 Brian Paul All Rights Reserved.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included
+ * in all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
+ * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
+ * BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
+ * AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
+ * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+ */
+
+
+/* Allegro (DJGPP) driver by Bernhard Tschirren (bernie-t at geocities.com) */
+
+
+#ifndef AMESA_H
+#define AMESA_H
+
+
+#define AMESA_MAJOR_VERSION 3
+#define AMESA_MINOR_VERSION 3
+
+
+typedef struct amesa_visual *AMesaVisual;
+typedef struct amesa_buffer *AMesaBuffer;
+typedef struct amesa_context *AMesaContext;
+
+
+extern AMesaVisual AMesaCreateVisual(GLboolean dbFlag, GLint depth,
+ GLint depthSize,
+ GLint stencilSize,
+ GLint accumSize);
+
+extern void AMesaDestroyVisual(AMesaVisual visual);
+
+extern AMesaBuffer AMesaCreateBuffer(AMesaVisual visual,
+ GLint width, GLint height);
+
+extern void AMesaDestroyBuffer(AMesaBuffer buffer);
+
+
+extern AMesaContext AMesaCreateContext(AMesaVisual visual,
+ AMesaContext sharelist);
+
+extern void AMesaDestroyContext(AMesaContext context);
+
+extern GLboolean AMesaMakeCurrent(AMesaContext context, AMesaBuffer buffer);
+
+extern void AMesaSwapBuffers(AMesaBuffer buffer);
+
+
+#endif /* AMESA_H */
Added: trunk/lib/solaris-2.10-i386_64/mesa/include/GL/dmesa.h
===================================================================
--- trunk/lib/solaris-2.10-i386_64/mesa/include/GL/dmesa.h (rev 0)
+++ trunk/lib/solaris-2.10-i386_64/mesa/include/GL/dmesa.h 2007-12-14 13:57:43 UTC (rev 12883)
@@ -0,0 +1,160 @@
+/*
+ * Mesa 3-D graphics library
+ * Version: 6.1
+ *
+ * Copyright (C) 1999-2004 Brian Paul All Rights Reserved.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included
+ * in all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
+ * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
+ * BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
+ * AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
+ * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+ */
+
+/*
+ * DOS/DJGPP device driver for Mesa
+ *
+ * Author: Daniel Borca
+ * Email : dborca at users.sourceforge.net
+ * Web : http://www.geocities.com/dborca
+ */
+
+
+#ifndef DMESA_H_included
+#define DMESA_H_included
+
+#define DMESA_MAJOR_VERSION 6
+#define DMESA_MINOR_VERSION 5
+
+/* Sample Usage:
+ *
+ * 1. Call DMesaCreateVisual() to initialize graphics.
+ * 2. Call DMesaCreateContext() to create a DMesa rendering context.
+ * 3. Call DMesaCreateBuffer() to define the window.
+ * 4. Call DMesaMakeCurrent() to bind the DMesaBuffer to a DMesaContext.
+ * 5. Make gl* calls to render your graphics.
+ * 6. Use DMesaSwapBuffers() when double buffering to swap front/back buffers.
+ * 7. Before exiting, destroy DMesaBuffer, DMesaContext and DMesaVisual.
+ */
+
+typedef struct dmesa_context *DMesaContext;
+typedef struct dmesa_visual *DMesaVisual;
+typedef struct dmesa_buffer *DMesaBuffer;
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/*
+ * Create a new Visual and set graphics mode.
+ */
+DMesaVisual DMesaCreateVisual (GLint width, /* X res */
+ GLint height, /* Y res */
+ GLint colDepth, /* BPP */
+ GLint refresh, /* refresh rate: 0=default */
+ GLboolean dbFlag, /* double-buffered */
+ GLboolean rgbFlag, /* RGB mode */
+ GLint alphaSize, /* requested bits/alpha */
+ GLint depthSize, /* requested bits/depth */
+ GLint stencilSize, /* requested bits/stencil */
+ GLint accumSize); /* requested bits/accum */
+
+/*
+ * Destroy Visual and restore screen.
+ */
+void DMesaDestroyVisual (DMesaVisual v);
+
+
+
+/*
+ * Create a new Context for rendering.
+ */
+DMesaContext DMesaCreateContext (DMesaVisual visual, DMesaContext share);
+
+/*
+ * Destroy Context.
+ */
+void DMesaDestroyContext (DMesaContext c);
+
+/*
+ * Return a handle to the current context.
+ */
+DMesaContext DMesaGetCurrentContext (void);
+
+
+
+/*
+ * Create a new Buffer (window).
+ */
+DMesaBuffer DMesaCreateBuffer (DMesaVisual visual,
+ GLint xpos, GLint ypos,
+ GLint width, GLint height);
+
+/*
+ * Destroy Buffer.
+ */
+void DMesaDestroyBuffer (DMesaBuffer b);
+
+/*
+ * Return a handle to the current buffer.
+ */
+DMesaBuffer DMesaGetCurrentBuffer (void);
+
+/*
+ * Swap the front and back buffers for the given Buffer.
+ * No action is taken if the buffer is not double buffered.
+ */
+void DMesaSwapBuffers (DMesaBuffer b);
+
+/*
+ * Bind Buffer to Context and make the Context the current one.
+ */
+GLboolean DMesaMakeCurrent (DMesaContext c, DMesaBuffer b);
+
+
+
+/*
+ * Move/Resize current Buffer.
+ */
+GLboolean DMesaMoveBuffer (GLint xpos, GLint ypos);
+GLboolean DMesaResizeBuffer (GLint width, GLint height);
+
+/*
+ * Set palette index, using normalized values.
+ */
+void DMesaSetCI (int ndx, GLfloat red, GLfloat green, GLfloat blue);
+
+/*
+ * DMesa functions
+ */
+typedef void (*DMesaProc) ();
+DMesaProc DMesaGetProcAddress (const char *name);
+
+/*
+ * DMesa state retrieval.
+ */
+#define DMESA_GET_SCREEN_SIZE 0x0100
+#define DMESA_GET_DRIVER_CAPS 0x0200
+#define DMESA_GET_VIDEO_MODES 0x0300
+#define DMESA_GET_BUFFER_ADDR 0x0400
+
+#define DMESA_DRIVER_DBL_BIT 0x1 /* double-buffered */
+#define DMESA_DRIVER_YUP_BIT 0x2 /* lower-left window origin */
+int DMesaGetIntegerv (GLenum pname, GLint *params);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif
Added: trunk/lib/solaris-2.10-i386_64/mesa/include/GL/fxmesa.h
===================================================================
--- trunk/lib/solaris-2.10-i386_64/mesa/include/GL/fxmesa.h (rev 0)
+++ trunk/lib/solaris-2.10-i386_64/mesa/include/GL/fxmesa.h 2007-12-14 13:57:43 UTC (rev 12883)
@@ -0,0 +1,103 @@
+/*
+ * Mesa 3-D graphics library
+ * Version: 4.0
+ * Copyright (C) 1995-2001 Brian Paul
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public
+ * License along with this library; if not, write to the Free
+ * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
+
+
+/*
+ * FXMesa - 3Dfx Glide driver for Mesa. Contributed by David Bucciarelli
+ *
+ * NOTE: This version requires Glide3 (http://sourceforge.net/projects/glide)
+ */
+
+
+#ifndef FXMESA_H
+#define FXMESA_H
+
+
+#include <glide.h>
+
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
+#define FXMESA_MAJOR_VERSION 6
+#define FXMESA_MINOR_VERSION 3
+
+
+/*
+ * Values for attribList parameter to fxMesaCreateContext():
+ */
+#define FXMESA_NONE 0 /* to terminate attribList */
+#define FXMESA_DOUBLEBUFFER 10
+#define FXMESA_ALPHA_SIZE 11 /* followed by an integer */
+#define FXMESA_DEPTH_SIZE 12 /* followed by an integer */
+#define FXMESA_STENCIL_SIZE 13 /* followed by an integer */
+#define FXMESA_ACCUM_SIZE 14 /* followed by an integer */
+#define FXMESA_COLORDEPTH 20 /* followed by an integer */
+#define FXMESA_SHARE_CONTEXT 990099 /* keep in sync with xmesa1.c! */
+
+
+
+typedef struct tfxMesaContext *fxMesaContext;
+
+
+#if defined (__BEOS__)
+#pragma export on
+#endif
+
+
+GLAPI fxMesaContext GLAPIENTRY fxMesaCreateContext(GLuint win, GrScreenResolution_t,
+ GrScreenRefresh_t,
+ const GLint attribList[]);
+
+GLAPI fxMesaContext GLAPIENTRY fxMesaCreateBestContext(GLuint win,
+ GLint width, GLint height,
+ const GLint attribList[]);
+GLAPI void GLAPIENTRY fxMesaDestroyContext(fxMesaContext ctx);
+
+GLAPI GLint GLAPIENTRY fxMesaSelectCurrentBoard(int n);
+
+GLAPI void GLAPIENTRY fxMesaMakeCurrent(fxMesaContext ctx);
+
@@ Diff output truncated at 10240 characters. @@
More information about the Bf-blender-cvs
mailing list