summaryrefslogtreecommitdiff
path: root/drivers
AgeCommit message (Collapse)Author
2016-10-17SCsub: Add python shebang as a hint for syntax highlightingRémi Verschelde
Also switch existing shebangs to "better" /usr/bin/env python.
2016-10-15png: Try to fix neon issue on iphone armv7Rémi Verschelde
2016-10-15drivers: Refactor SCsub and drop redundant env_drivers cloneRémi Verschelde
The reordering of the SConscript includes allows to ensure that stuff like the builtin zlib headers will be available for libpng. Also moved glew back into global env, otherwise windows seems not to find it... Kind of shooting in the dark with this multi-env setup.
2016-10-15freetype: Make it a module and split thirdparty libraryRémi Verschelde
Comment out the weird workaround for building on Windows at it might not be needed anymore. Testing needed to confirm.
2016-10-15chibi: Move to a moduleRémi Verschelde
2016-10-15zlib: Split thirdparty files, simplify scons optionRémi Verschelde
2016-10-15glew: Split thirdparty files and isolate envRémi Verschelde
Not fully happy about the way this one interacts with the various platforms. Maybe the platform_config.h should be generated by the SCsub instead of passing a define just to know where is the header.
2016-10-15squish: Move to a module and split thirdparty libRémi Verschelde
2016-10-15rtaudio: Split thirdparty filesRémi Verschelde
2016-10-15mpc: Move to a module and split thirdparty libmpcdecRémi Verschelde
2016-10-15theora: Move to a module and split thirdparty libRémi Verschelde
Same rationale as the previous commits.
2016-10-15modules: Clone env in each moduleRémi Verschelde
This allows to pass include paths and flags only to a given thirdparty library, thus preventing conflicts between their files (e.g. between opus and openssl which both provide modes.h. This also has the nice effect of making the compilation command smaller for each module as it no longer related to all other modules, only the final linking brings them together. This however requires adding manually the ogg include path in opus and vorbis when building against the builtin ogg, since it is no longer in the global env. Also simplified template 'thirdparty_<module>_sources' to 'thirdparty_sources'. "Core" modules like cscript, gdscript, gridmap, ik and virtual_script still use the main env_modules, but it could be changed if need be.
2016-10-15openssl: Move to a module and split thirdparty libRémi Verschelde
Same rationale as the previous commits.
2016-10-15ogg/vorbis/opus: Make them modules and unbundle thirdparty libsRémi Verschelde
Took the opportunity to undo the Godot changed made to the opus source. The opus module should eventually be built in its own environment to avoid polluting others with too many include dirs and defines. TODO: Fix the platform/ stuff for opus.
2016-10-15webp: Make it a module and unbundle libwebp thirdparty filesRémi Verschelde
Note that there are two Godot-specific changes made to libwebp for the javascript/HTML5 platform. They are documented in the README.md.
2016-10-15dds/etc1/pbm/pvr: Make those modules and split thirdparty filesRémi Verschelde
They are not particularly packaged in Linux distros so we do not facilitate unbundling via SCons. There could be done if/when there is interest. Also s/pnm/pbm/, long-lived typo :)
2016-10-15jpg: Make it a module and split jpgd thirdparty filesRémi Verschelde
Similar rationale as in previous commit.
2016-10-15png: Split library to thirdparty dir and allow unbundlingRémi Verschelde
Uses the new structure agreed upon in #6157, but the thirdparty/ folder does not behave following a logic similar to that of modules/ yet. The png driver can't be moved to a module as discussed in #6157, as it's required by core together with a few other ImageLoader implementations (see drivers/register_driver_types.cpp:register_core_driver_types()) Dropped the possibility to disable PNG support, it's a core component of Godot.
2016-10-14Drop nedmalloc which is apparently not used anymoreRémi Verschelde
2016-10-13Remove speex support, it is obsoleted by opusRémi Verschelde
As mentioned by upstream, Xiph.Org [0]: > The Speex codec has been obsoleted by Opus. It will continue to be > available, but since Opus is better than Speex in all aspects, > users are encouraged to switch. [0] http://www.speex.org/
2016-10-03Merge pull request #6605 from zaps166/old-gl-ext-funcsRémi Verschelde
Add compatibility with old OpenGL 2.1 drivers
2016-10-03Merge pull request #6617 from zaps166/theora-x86-simd-fixRémi Verschelde
Fixes in Theora SCsub
2016-10-03Limit directional shadow draw distance, fixes #559, optimization (#1991)mookiexl
* Shadow fadeout exponent hardcoded for now, should be user configurable. * optimization - skip shadows outside visible range
2016-10-03Fixes in Theora SCsubBłażej Szczygieł
- properly pass x86 assembly define to the compiler, - don't compile unnecessary/encoder files.
2016-10-03Merge pull request #6606 from zaps166/don-crash-on-unsupported-glRémi Verschelde
Don't crach when OpenGL version is unsupported
2016-10-03Merge pull request #6501 from ↵Rémi Verschelde
SuperUserNameMan/windows_compile_with_standalone_msvc scons detects standalone MSVC on Windows
2016-09-25Don't crash in "_process_hdr()" if "framebuffer.luminance" is emptyBłażej Szczygieł
If "glFramebufferTexture2D()" fails on old drivers the Vector is empty. Don't allow to read from empty Vector (NULL pointer).
2016-09-25Don't crach when OpenGL version is unsupportedBłażej Szczygieł
2016-09-25Add compatibility with old OpenGL 2.1 driversBłażej Szczygieł
If ARB_framebuffer_object is not supported, try to fall-back to EXT_framebuffer_object if present. In current version of godot, the way framebuffers are used is backward compatible with the older EXT_framebuffer_object extension. Fixes #6591 Done with SuperUserNameMan
2016-09-21removed redundant assign operation in mesh_add_surface: elem_count is ↵knd
reassigned a value before the old one has been used.
2016-09-17Merge pull request #6489 from zaps166/vorbis-no-encRémi Verschelde
Vorbis: Don't compile unnecessary encoder files
2016-09-17Merge pull request #6414 from RandomShaper/improve-shader-shadowRémi Verschelde
Expose additional light/shadow properties to canvas item shaders
2016-09-16scons detects standalone MSVC on Windowsyg2f
Under Windows, Scons is now capable of detecting and compiling with standalone MSVC compilers (aka "Visual C++ Build Tools"). http://landinghub.visualstudio.com/visual-cpp-build-tools Tried with version 2015, and native x86 and x64 compilers under Windows 10 pro 64 and Windows 8.1 64, with the default Win8 SDK provided by the "Visual C++ Build Tools" web-installer. Follow the same compiling instructions than for compiling with Visual Studio, except that Visual Studio is no more required. KNOWN ISSUES : - ``methods.detect_visual_c_compiler_version()`` will emit a warning message on computers where the ``VSINSTALLDIR`` environement variable is not present. But it should compile just fine and still automatically detects the 32 or 64 bits according to the compiler you picked. TODO : - eventually, update ``platform/winrt/dectet.py`` with function ``methods.msvc_is_detected()`` and try to compile winrt/UWP with these standalone compilers (if you did not select Win10 SDK when installing the standalone tools, you can run it again). - update doc to make users aware of "Visual C++ Build Tools" aka "stadalone MSVC". - eventually, update ``methods.detect_visual_c_compiler_version()``
2016-09-14Vorbis: Don't compile unnecessary encoder filesBłażej Szczygieł
2016-09-10Merge pull request #5920 from 29jm/fix-warningsJuan Linietsky
Fix some more warnings
2016-09-10Merge pull request #5962 from Alex-doc/Y_billboardJuan Linietsky
Implements Y billboard
2016-09-10Merge pull request #6363 from vnen/winrtJuan Linietsky
Fix the support for WinRT/UWP
2016-09-07Expose light shadow color to canvas item shadersPedro J. Estébanez
2016-09-07Rename misleading definePedro J. Estébanez
The macro USE_LIGHT_SHADOW_COLOR actually was being defined when the shader used SHADOW (the output shadow color), not the shadow color set for the light so it's better named USE_OUTPUT_SHADOW_COLOR. In 3D there's not that difference but renaming as well for consistency.
2016-09-06Add Windows Universal export to editorGeorge Marques
- Use OPENSSL_ENABLED definition to the whole source to detect it anywhere. - Add WinRT/UWP template files with manifest and default images.
2016-09-03Patch thirdy-party libraries to build for WinRTGeorge Marques
- Patch enet code. - Patch OpenSSL code and add shims for unavailable API. - Add extra definition header for Freetype.
2016-09-03Fix drivers coding for WinRTGeorge Marques
- Add a proper function to retrieve IP addresses. - Solve issues with Windows FileAccess and DirAccess to use the same code for WinRT. - Add patches to the GLES2 rasterizer to workaround ANGLE issues.
2016-08-30More visual script improvementsJuan Linietsky
-Added anti-aliasing on lines -Improved draw performance enormously -Removed sequence ports for most nodes, current visual scripts will likely be broken now. Sorry!
2016-08-13Fix some comparisons between signed and unsigned integersJohan Manuel
2016-08-13Fix some warnings about misleading indentationJohan Manuel
2016-08-13Remove some unused variablesJohan Manuel
2016-08-01Implements Y billboardAlex Piola
Y billboard wasn't hooked up. This commit implements it.
2016-07-25GLES2: Check for GPU capabilities to display an errorRémi Verschelde
The engine will still segfault, but the error message should be displayed by the OS in a blocking manner, so that it will only crash once users have acknowledged the error dialog. Closes #1162.
2016-07-23RtAudio: Update to upstream version 4.1.2Rémi Verschelde
The only differences we have with the upstream tarball are marked with `// -GODOT-` comments for clarity. The changes we currently have are just some defines for cross-platform configuration, and could likely be moved to the SCons buildsystem (ideally in a sub-environment to avoid having RtAudio-specific defines pollute the whole build log). One change for WinRT was not kept, if it is needed it should ideally be integrated upstream: ``` #if defined(__WINDOWS_DS__) || defined(__WINDOWS_ASIO__) || defined(__WINDOWS_WASAPI__) -#ifdef WINRT_ENABLED - #define MUTEX_INITIALIZE(A) InitializeCriticalSectionEx(A, 0, 0) -#else #define MUTEX_INITIALIZE(A) InitializeCriticalSection(A) -#endif ```
2016-07-23zlib: Update builtin version to upstream 1.2.8Rémi Verschelde
Our only differences to the upstream distribution are: - The `gz*.c` files are not included - Z_PREFIX and Z_SOLO are defined in zconf.h