Robert Osfield
4457d2a145
From Colin McDonald, "Upgrading to OpenSceneGraph 3.0.1, texture mip mapping stopped
...
working on some junk low-end graphics cards which I still have to
support. They worked ok with osg 2.8 and earlier.
The problem turned out to be with gl proxy textures, which are
unreliable on those devices. Proxy textures are used by the glu
mipmap build routines to determine if a texture size is
supported. The external glu library had a nice fallback
behaviour, so that if proxy textures didn't work then the mipmap
texture was still created. But in the work on the new embedded
glu routines that fallback behaviour has been inadvertently
lost. I have restored the fallback in
src/osg/glu/libutil/mipmap.cpp. It doesn't add any extra
complexity."
2012-02-10 17:20:43 +00:00
Robert Osfield
5ee864ff25
From Dimi Christopoulos, "I attach a fixed version of mipmap.cpp which produced a lot of warning on my gcc
...
compiler."
2011-06-23 09:22:23 +00:00
Robert Osfield
99b9eff9f4
Removed assert() that always evaluated to true.
2011-06-21 17:26:40 +00:00
Robert Osfield
90a88488d3
Disabled VisualStudio warning warning C4611: interaction between '_setjmp' and C++ object destruction is non-portable
2011-06-21 09:00:01 +00:00
Robert Osfield
d5fa4dd272
Added disabling of VisualStudio warning C4324 : structure was padded due to __declspec(align())
2011-06-17 05:57:29 +00:00
Robert Osfield
3762dc49b9
From Mourad Biyfarguine, "This is a fix to some 'potentially uninitialized local variable' warnings in src/osg/glu/libutil/mipmap.cpp."
2011-01-26 16:46:58 +00:00
Robert Osfield
d8e3225cd8
Fixed warnings
2010-12-17 11:46:42 +00:00
Robert Osfield
95902cd275
Fixed warning
2010-10-29 08:31:54 +00:00
Robert Osfield
8640929a2e
From Brad Christiansen, fix function entry points under Windows to address crash
2010-10-14 11:10:16 +00:00
Robert Osfield
ffa75c9c84
Changed the _ARB cube map defines to non ARB versions.
2010-10-09 11:51:24 +00:00
Robert Osfield
078b21fa1e
Build fixes for GLES1, GLES2 and GL3
2010-10-08 17:13:59 +00:00
Robert Osfield
9984281553
Refactored the Texture3D extension setup in osg::Texture3D and gluBuild3DMipmaps and gluBuild3DMipmapLevels.
2010-10-08 11:20:56 +00:00
Robert Osfield
d23ce985a1
Introduced osg namespace to new local GLU functions
2010-10-07 11:53:28 +00:00
Robert Osfield
12e6a23451
Introduced new gluScaleImage function that uses a PixelStorageModes structure to pass in details on image packing,
...
rather than relying upon glGet's to get the values.
2010-10-07 10:51:22 +00:00
Robert Osfield
021484440c
Added #define GL_PROXY_TEXTURE_3D
2010-10-06 19:09:48 +00:00
Robert Osfield
477524f254
Fixed warning
2010-10-06 18:51:53 +00:00
Robert Osfield
46e798a4dc
Changed tabs to 8 spaces
2010-10-06 18:37:43 +00:00
Robert Osfield
e928dfb6c7
From Jean-Sebastien Guay and Robert Osfield, build fix for Windows
2010-10-06 18:34:36 +00:00
Robert Osfield
ca4802142d
Added #define GLAPIENTRY to attempt to resolve some Windows build issues
2010-10-06 17:19:01 +00:00
Robert Osfield
29bc5995e7
Added #define's and local include<osg/Image> to fix Windows GL 1.1 build against
2010-10-06 16:36:30 +00:00
Robert Osfield
10eac072c2
Removed usage gluos.h and redundent gluint.h
2010-10-06 15:14:01 +00:00
Robert Osfield
89f7726383
Copied libutil and libtess implementations in form Mesa 7.9/src/glu into the src/osg/glu,
...
changed extensions from .c to .cpp and got compiling as C files as part of the osg core library.
Updated and cleaned up the rest of the OSG to use the new internal GLU.
2010-10-06 14:44:52 +00:00