James Turner
c1b579ec5d
Remove jpeg-factory.
...
(FlightGear can now do the same, without the helper class)
2014-01-27 09:19:11 +00:00
James Turner
362d47f91f
Kill legacy PPM support in screen-dump
2013-09-18 12:17:29 +01:00
Thomas Geymayer
229837b14c
Fix some compiler warnings. size_t/int/unsigned conversions and extra ';'
2012-11-29 20:20:40 +01:00
ThorstenB
49a23fdc2e
Fix final simgear GCC warnings.
2012-01-09 21:51:09 +01:00
Torsten Dreyer
306c58e7ed
Some more trivial warning fixes
2011-12-25 20:28:38 +01:00
James Turner
42b7c48671
Move some OSG-dependant code into scene/util.
2011-11-29 10:23:09 +00:00
James Turner
4b02335637
Build system tweaks to support SIMGEAR_SHARED building two libraries. Work in progress, does not link yet.
2011-11-28 22:43:57 +00:00
James Turner
24c047c94e
Remove the remaining Makefiles from the code.
2011-11-01 09:28:26 +00:00
ThorstenB
c033979130
screen shot fixes (issue #127 related)
...
Provide proper return status when screen grabbing.
Allow tasks to remove themselves (return task entries to the queue _before_
executig them)
2011-05-28 23:09:06 +02:00
James Turner
b9a34b1b05
Initial work on CMake support for SimGear.
2010-12-19 14:16:39 +00:00
ThorstenB
9f88b077ee
remove old .cvsignore files
...
Hello GIT!
2010-11-14 15:09:36 +01:00
Tim Moore
bfe953c18d
replace glu functions with equivalents from OSG
2010-10-08 23:44:38 +02:00
James Turner
668c62b1f4
Missed removing a build rule.
2010-07-31 15:33:25 +01:00
James Turner
49f418f146
Remove legacy direct-OpenGL code in simgear/screen (predating switch to OSG).
2010-07-31 15:17:09 +01:00
Torsten Dreyer
6a2773c3ac
ignore generated files
2010-05-23 10:54:23 +02:00
Tim Moore
536ebf604f
Merge branch 'ehofman/framebuffer' into next
2010-05-05 10:39:32 +02:00
ehofman
03a616b737
Add support for EXT_framebuffer_object for Atlas
2010-05-05 10:39:18 +02:00
Tim Moore
0ede690580
Merge branch 'maint'
2010-05-05 10:38:18 +02:00
frohlich
d81545a871
Add -ldl for newer ld defaults from fedora 13
...
Modified Files:
simgear/screen/Makefile.am
2010-05-05 10:38:09 +02:00
ehofman
44c93d5074
Csaba Halasz: fix a compilation error for non-bsd systems that happen to return
...
const char* from dlerror().
2010-03-27 13:39:37 +01:00
fredb
3dcffc7df8
MINGW patch from Benoît Laniel
2010-01-25 14:35:45 +01:00
jmt
e5fac0a01d
Update the screen-dump code to use osgDB, and hence write out files in more common formats (PNG, JPEG, etc). The PPM writing code is retained for the moment, in case someone other than FG is relying upon it.
2009-10-07 08:20:50 +02:00
torsten
1f3838b155
Alan Teeder: fix incomplete dbg_printf for non-gcc.
2009-08-23 21:37:03 +02:00
torsten
5e542aa841
extinguish many warnings (at least for gcc)
2009-08-23 21:37:03 +02:00
torsten
71a4c2c3d2
extinguish many warnings (at least for gcc)
2009-08-23 21:37:03 +02:00
fredb
f8e475cd34
Refactor GLX only debug code
2009-07-15 12:50:49 +02:00
fredb
a05e063949
Compile when not GLX
2009-07-12 00:52:07 +02:00
ehofman
eb06a90109
Geoff McLane:
...
add a bunch of debugging code to find a persistant bug for Atlas/Map and fix them one by one.
2009-07-12 00:52:07 +02:00
ehofman
50e240d5e4
Move the texture code to FlightGear/utils/Modeller
2009-06-23 10:42:42 +02:00
mfranz
1ccaf3a0bd
fix leaks
2009-05-16 16:17:39 +02:00
ehofman
d4c7e95092
Replace SG_USE_STD() by using std::
2008-07-28 07:52:13 +00:00
fredb
aa07b5bdd8
GL/wgl.h never existed, and a glx equivalent is not needed
2008-07-27 18:04:13 +00:00
ehofman
c7cbb22667
- remove the SG_GLxxxx_H #defines, since OSG provides its own versions
...
- this exposed a bizarre issue on Mac where dragging in <AGL/agl.h> in
extensions.hxx was pulling in all of Carbon to the global namespace
- very scary. As a result, I now need to explicitly include CoreFoundation
in fg_init.cxx.
- change SG_USING_STD(x) to using std::x
Issues:
- the logic for X11 and Win32 in RenderTexture and extensions is tortured,
please see if you agree I got all the ifdefs correct.
2008-07-27 16:10:36 +00:00
fredb
ff72b68731
Remove unneeded inclusions of windows.h, GL.h and GLU.H
2008-07-27 15:15:33 +00:00
ehofman
733e6fa14f
Reduce compiler.h to almost nothing (but it's worth keeping around I think, for
...
the MSVC and MipsPro warning stuff).
As a result of this patch, simgear/sg_traits.h can be deleted. So can SGCMath.h,
but I'll do that separately.
There is one more 'mechanical' change to come - getting rid of SG_USING_STD(X),
but I want to keep that separate from everything else. (There's another mechnica
l change, replacing <math.h> with <cmath> and so on *everywhere*, but one step a
t a time)
2008-07-25 18:35:40 +00:00
ehofman
d613e0a488
Patch to remove macintosh and MWERKS from Simgear.
2008-07-24 19:16:50 +00:00
timoore
8f46f2cac8
Rewrite livery texture replacement to copy StateSet objects
...
Also, add a NodeAndDrawableVisitor that descends into osg::Drawable.
That motivation for this is that it's a bad idea to modify state sets
that the osgDB::SharedStateManager might be keeping.
2008-04-23 18:13:50 +00:00
timoore
9861d74221
Fixes for compiling with gcc 4.3
...
Include standard header files and qualify with std:: where needed.
Add "const" to various char parameters and variables.
2008-04-13 21:11:44 +00:00
durk
25cefd9129
* Fixed memory leak in RenderTexture.cpp (tiny, but still...)
...
* Added Timestamping debugging code to SGSubsystems (ported from plib
branch).
2007-10-14 13:46:13 +00:00
timoore
5d7d77d4b6
Allow parallel make ("make -j2") by giving make the opportunity to
...
determine dependencies.
As in subdirectory foo/bar, $(top_builddir)/foo/bar is defined to be the
current directory, this does not cause any regressions.
From Hans Ulrich Niedermann (hun@n-dimensional.de )
2007-07-22 22:37:26 +00:00
mfranz
80bcaa49e6
Nick WARNE: add file name to screenshot info line
2007-06-14 20:20:18 +00:00
curt
786e5addd8
Fix various compiler warnings.
2007-05-16 16:07:03 +00:00
mfranz
d95e3e0055
don't rely on a compressed scanline being properly closed
...
(GIMP apparently generates corrupted files)
2007-04-28 23:13:13 +00:00
mfranz
2cc31ff425
SGTexture::read_rgb(a)_texture:
...
- support greyscale and greyscale/alpha format
- cleanup & make it faster
2007-04-28 12:30:38 +00:00
fredb
09bab4f162
memcpy needs #include <string.h>
2006-12-17 17:52:15 +00:00
fredb
49fcc799ca
Port jpgfactory to OSG
2006-12-16 17:29:16 +00:00
frohlich
2792d60e2d
Modified Files:
...
simgear/screen/extensions.hxx: Make it compile on macos
2006-12-03 17:44:27 +00:00
fredb
b5c4328682
Mac fix from Ima Sudonim
2006-11-18 18:58:51 +00:00
frohlich
cc6179a4dd
Modified Files:
...
simgear/screen/extensions.cxx simgear/screen/extensions.hxx: Avoid
the assumption that with glx-1.4 glXGetProcAddress is available -
use dlsym to get that function.
2006-11-07 17:49:36 +00:00
frohlich
63c4873d8a
Modified Files:
...
simgear/screen/extensions.cxx simgear/screen/extensions.hxx:
use glXGetProcAddress if approriate
2006-10-31 05:36:50 +00:00