* BUG: Three constants and methods had the same name. So I added an
underscore to these constants to fix that. Now you must use GL.ACCUM_,
GL_CLEAR_, and GL_VIEWPORT_.
git-svn-id: svn://localhost/gambas/trunk@3988 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Remove "GL_" from the constant names in the Gl class. The old
constant names are supported, but emit a warning message.
git-svn-id: svn://localhost/gambas/trunk@3986 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Remove "GLU_" prefix from GLU constants.
* NEW: Add many GLU constants used by the GLU methods implemented in the
component.
* NEW: Add Glu.QuadricOrientation() and Glu.QuadricDrawStyle() methods.
git-svn-id: svn://localhost/gambas/trunk@3980 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: In GLeval.c changed GB_SINGLE to GB_FLOAT to make Gl2Map work.
git-svn-id: svn://localhost/gambas/trunk@3978 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix the implementation of GluNurb and GluQuadric.
* NEW: Deleting a nurb or a quadric make the Gambas object invalid now.
git-svn-id: svn://localhost/gambas/trunk@3977 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Quadrics and Nurbs finally work properly using proper classes.
git-svn-id: svn://localhost/gambas/trunk@3976 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix some typo mistake and add the GluQuadricDesc class description
to the component class description list.
git-svn-id: svn://localhost/gambas/trunk@3975 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Add missing ';' at the end of class names in method signatures.
git-svn-id: svn://localhost/gambas/trunk@3974 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Changes in Quadrics definition code from pointer to object - needs
some cleanup. Nurbs will follow.
git-svn-id: svn://localhost/gambas/trunk@3969 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Gl.CheckExtensions() to check the openGL driver extensions/ability support.
' Check if the driver support OpenGL 1.4 and GL_ARB_point_sprite extension
PRINT Gl.CheckExtensions("GL_VERSION_1_4 GL_ARB_point_sprite")
--> TRUE or FALSE
git-svn-id: svn://localhost/gambas/trunk@3965 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Correctly specify the number of color components when using an Image
in an OpenGL function: glTexImage1D, glTexImage2D, gluBuild2DMipmaps...
git-svn-id: svn://localhost/gambas/trunk@3958 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Add support for GL evaluators, some associated Gets are missing. (Tomek)
git-svn-id: svn://localhost/gambas/trunk@3925 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Use pkg-config to detect needed libraries, should fix building on OSX.
git-svn-id: svn://localhost/gambas/trunk@3890 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Remove Glu methods from the component. Should help on systems where glu isn't available.
also safe a bit of memory when glu isn't mandatory.
[GB.OPENGL.GLU]
* NEW: New component including Glu functions from the gb.opengl component.
git-svn-id: svn://localhost/gambas/trunk@3714 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix glu.pickmatrix() method, with need an integer array instead of a simple integer.
git-svn-id: svn://localhost/gambas/trunk@3386 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Print a summary of warning messages after each component
compilation.
[INTERPRETER]
* BUG: StrPtr() with a length argument now works correctly.
* NEW: Support for callbacks: when converting a function to a Pointer, an
internal closure is created with the libffi library. The pointer then can
be sent to any extern function as function pointer argument.
* BUG: Opening memory stream should work in all cases now.
git-svn-id: svn://localhost/gambas/trunk@3038 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Search include and library files in /opt/local for Mac OS X.
[GB.OPENGL]
* NEW: Search include and library files in /opt/local for Mac OS X. But it
does not compile yet.
[GB.QT4]
* NEW: Make the component compile on Mac OS X with the qt4-mac port. The
Embedder and TrayIcon classes now do nothing.
* BUG: The compilation now uses the C++ flags, not the C flags anymore!
git-svn-id: svn://localhost/gambas/trunk@2622 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Use the new mascot to draw project directory icon.
[EXAMPLES]
* NEW: Some little changes in the Painting example.
[INTERPRETER]
* NEW: The component GB_INIT function now returns an integer that gives an
unloading order. The higher the returned number, the later the component
is unloaded. If GB_INIT returns -1, then the component shared library
will not be unloaded.
* NEW: Update GB_INIT functions in all components.
[GB.DRAW]
* BUG: Paint.Image() optional translation arguments are not inverted
anymore.
[GB.QT4]
* BUG: If Paint.LineWidth is zero, then nothing is stroked, as in gb.gtk.
* BUG: TabStrip is now correctly arranged when it has only one tab.
git-svn-id: svn://localhost/gambas/trunk@2605 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Add support for Gl.GetUniformLocation and Gl.UniformMatrix**** methods
git-svn-id: svn://localhost/gambas/trunk@2598 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Remove extra parameter "size" for Gl.GetIntegerv, Gl.GetBooleanv, Gl.GetFloatv. All parameters size
are managed internaly (at least for OpenGL 2.1). It's preferable to get an error message instead of failling silently.
git-svn-id: svn://localhost/gambas/trunk@2568 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Remove Gl.GetShaders, it's an unexistant openGL function !
yes it's a mistake, MY mistake :-)
git-svn-id: svn://localhost/gambas/trunk@2557 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix typos; GetAttachedShader() -> GetAttachedShaders(), and CreateShader signature is now "ShaderType" instead of "Type".
git-svn-id: svn://localhost/gambas/trunk@2549 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix external GL interface name (GB_OPENGL_1 instead of GB_OPENGL) preventing component to
be loaded.
git-svn-id: svn://localhost/gambas/trunk@2534 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Add internal GL_COMPRESSED_TEXTURE_FORMATS support through Gl.Gets, also do some code cleanup.
git-svn-id: svn://localhost/gambas/trunk@2527 867c0c6c-44f3-4631-809d-bfa615b0a4ec