Commit Graph

44 Commits (0.7.0)

Author SHA1 Message Date
Bret Curtis c781d1f8ed purge unnecessary imports
add fstream back

add fstream back

add fstream back

add fstream back

add fstream back

add fstream back

add fstream back
7 years ago
Ewan Higgs 38a2de3c51 convert std::autor_ptr to std::unique_ptr, originally by Ewan Higgs and updated by Bret Curtis 7 years ago
scrawl a759ef5d2e Leave the MyGUI::PixelFormat as Unknown when loading from file as its not required. 7 years ago
scrawl 8fc7942d64 Refactor osgMyGUI::OSGTexture to store width/height inside the object 7 years ago
scrawl ac61535d2c optimize OSGVertexBuffer by double buffering the vertex array instead of recreating it on every modification 7 years ago
scrawl 641005b317 Remove Camera's children before removing the Camera
Should work around OSG race condition ( http://forum.openscenegraph.org/viewtopic.php?t=16077 )
8 years ago
scrawl cb8daaaee1 Do not query the texture's image in osgMyGUI::OSGTexture
Doing so could result in a race condition if the draw thread is about to delete the image (UnRefImageDataAfterApply enabled)
8 years ago
scrawl 5f34fb0c41 Remove call to MYGUI_DBG_BREAK which was removed in mygui-git 8 years ago
scrawl 0dbf44b414 Enable vertex buffer objects in MyGUI RenderManager now that OSG 3.4 is a dependency 8 years ago
scrawl f898bf493f Don't use Geodes 8 years ago
scrawl 9e53e12c70 More renaming of TextureManager -> ImageManager 8 years ago
scrawl f99f403dda Rename TextureManager to ImageManager 8 years ago
scrawl e8662bea31 Change the way that image origin is converted to OpenGL's lower-left convention
Flip the texture coordinates instead of flipping textures.

This simplifies the TextureManager (no need to worry if the caller wants flipping or not), should make it easier to generalize & multithread it.
8 years ago
scrawl e2ee1d5689 Use separate textures for the MyGUI RenderManager
This means we can more reliably set the filter parameters.

I believe this commit creates a regression where non-DDS GUI textures would display upside down, which will be addressed by further refactoring in the next commits.
8 years ago
scrawl daa94cc50e Fix cppcheck warnings 8 years ago
Alexander "Ace" Olofsson 37158df339 Update scalinglayer.cpp
MSVC Explicitly requires <algorithm> for std::min and/or max
9 years ago
scrawl 79b3f1e6a8 Small cleanup 9 years ago
scrawl 59aee04ddb Implement ScalingLayer, for layouting of widgets in screen-relative coordinates 9 years ago
scrawl 57b9eafa0f osgMyGUI: implement AdditiveLayer 9 years ago
scrawl 51f3a8fec6 osgMyGUI: move Platform methods to the .cpp file 9 years ago
scrawl 7ff168b787 osgMyGUI: add support for layers to insert custom rendering state 9 years ago
scrawl c4866bdfc6 Disable mipmaps for GUI textures
For some reason, the mipmap generator seems to be broken on Linux Intel graphics (works on Nvidia). This was breaking the scrollbar arrows, which are minified enough to show using a mipmap.
9 years ago
scrawl 24ae1d5ace Fix some issues found by coverity 9 years ago
scrawl 72686c32ae Fix runtime exceptions on MyGUI debug builds 9 years ago
scrawl bf9c62fa42 Fix for some coverity scan defects 9 years ago
scrawl fc8e5dde3b Fix crash when OSG_STEREO is enabled 9 years ago
scrawl ab626ca7b9 Improve MyGUI widget creation performance 9 years ago
scrawl dd23981eab Font workaround for older MyGUI versions, works with 3.2.2 now 9 years ago
scrawl 10f938ff87 Add comment 9 years ago
scrawl 3dcb167066 Map rendering 9 years ago
scrawl 49df07ea7f Implement UI scaling factor 9 years ago
scrawl a18663c8b3 Improve MyGUI texture updates 9 years ago
scrawl c843cfc8e2 Physics stub in preparation for rewrite 9 years ago
scrawl 48ffeab191 Remove old BulletShapeManager 9 years ago
scrawl 0da1e0e905 Add comment 9 years ago
scrawl d432a3ed08 Fix MyGUI rendering not taking DataVariance of textures into account 9 years ago
scrawl 483dc9de45 Stop viewer threading before changing MyGUI textures 9 years ago
scrawl f760aebc92 Disable MyGUI VBOs due to crashes (will look into proper fix) 9 years ago
scrawl 100d6e5fff Render MyGUI in background thread, i.e. refactor to get rid of DYNAMIC DataVariance 9 years ago
scrawl ee60df1e27 Split MyGUI rendering into Update, Cull and Draw stages 9 years ago
scrawl a37a83eaea Use interleaved vertex data in MyGUI render manager, avoiding redundant copies 9 years ago
scrawl dc9b27acfe Create manual GUI textures 9 years ago
scrawl 9f74be8fcb Add back the custom MyGUI log facility for utf8 paths on windows 9 years ago
scrawl a59940a2c7 Move MyGUI platform to components 9 years ago