aboutsummaryrefslogtreecommitdiff
path: root/drivers
Commit message (Collapse)AuthorAgeFilesLines
...
* | | SCsub: Add python shebang as a hint for syntax highlightingRémi Verschelde2016-10-1713-0/+26
|/ / | | | | | | Also switch existing shebangs to "better" /usr/bin/env python.
* | png: Try to fix neon issue on iphone armv7Rémi Verschelde2016-10-151-22/+24
| |
* | drivers: Refactor SCsub and drop redundant env_drivers cloneRémi Verschelde2016-10-1511-60/+60
| | | | | | | | | | | | | | | | | | 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.
* | freetype: Make it a module and split thirdparty libraryRémi Verschelde2016-10-15502-191656/+0
| | | | | | | | | | Comment out the weird workaround for building on Windows at it might not be needed anymore. Testing needed to confirm.
* | chibi: Move to a moduleRémi Verschelde2016-10-1548-12818/+0
| |
* | zlib: Split thirdparty files, simplify scons optionRémi Verschelde2016-10-1524-10822/+26
| |
* | glew: Split thirdparty files and isolate envRémi Verschelde2016-10-155-41590/+20
| | | | | | | | | | | | 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.
* | squish: Move to a module and split thirdparty libRémi Verschelde2016-10-1529-4638/+0
| |
* | rtaudio: Split thirdparty filesRémi Verschelde2016-10-156-11419/+22
| |
* | mpc: Move to a module and split thirdparty libmpcdecRémi Verschelde2016-10-1526-4823/+0
| |
* | theora: Move to a module and split thirdparty libRémi Verschelde2016-10-1579-34000/+1
| | | | | | | | Same rationale as the previous commits.
* | modules: Clone env in each moduleRémi Verschelde2016-10-151-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | openssl: Move to a module and split thirdparty libRémi Verschelde2016-10-15954-356477/+0
| | | | | | | | Same rationale as the previous commits.
* | ogg/vorbis/opus: Make them modules and unbundle thirdparty libsRémi Verschelde2016-10-15376-141661/+0
| | | | | | | | | | | | | | | | | | 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.
* | webp: Make it a module and unbundle libwebp thirdparty filesRémi Verschelde2016-10-15155-58875/+0
| | | | | | | | | | | | Note that there are two Godot-specific changes made to libwebp for the javascript/HTML5 platform. They are documented in the README.md.
* | dds/etc1/pbm/pvr: Make those modules and split thirdparty filesRémi Verschelde2016-10-1536-6101/+0
| | | | | | | | | | | | | | | | 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 :)
* | jpg: Make it a module and split jpgd thirdparty filesRémi Verschelde2016-10-157-3714/+0
| | | | | | | | Similar rationale as in previous commit.
* | png: Split library to thirdparty dir and allow unbundlingRémi Verschelde2016-10-1531-37961/+51
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* | Drop nedmalloc which is apparently not used anymoreRémi Verschelde2016-10-149-7987/+0
| |
* | Remove speex support, it is obsoleted by opusRémi Verschelde2016-10-13107-28787/+1
|/ | | | | | | | | 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/
* Merge pull request #6605 from zaps166/old-gl-ext-funcsRémi Verschelde2016-10-031-1/+39
|\ | | | | Add compatibility with old OpenGL 2.1 drivers
| * Add compatibility with old OpenGL 2.1 driversBłażej Szczygieł2016-09-251-1/+39
| | | | | | | | | | | | | | | | | | | | | | 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
* | Merge pull request #6617 from zaps166/theora-x86-simd-fixRémi Verschelde2016-10-031-23/+21
|\ \ | | | | | | Fixes in Theora SCsub
| * | Fixes in Theora SCsubBłażej Szczygieł2016-10-031-23/+21
| | | | | | | | | | | | | | | - properly pass x86 assembly define to the compiler, - don't compile unnecessary/encoder files.
* | | Limit directional shadow draw distance, fixes #559, optimization (#1991)mookiexl2016-10-032-3/+22
| | | | | | | | | | | | * Shadow fadeout exponent hardcoded for now, should be user configurable. * optimization - skip shadows outside visible range
* | | Merge pull request #6606 from zaps166/don-crash-on-unsupported-glRémi Verschelde2016-10-031-2/+3
|\ \ \ | | | | | | | | Don't crach when OpenGL version is unsupported
| * | | Don't crach when OpenGL version is unsupportedBłażej Szczygieł2016-09-251-2/+3
| | |/ | |/|
* | | Merge pull request #6501 from ↵Rémi Verschelde2016-10-031-1/+2
|\ \ \ | |_|/ |/| | | | | | | | SuperUserNameMan/windows_compile_with_standalone_msvc scons detects standalone MSVC on Windows
| * | scons detects standalone MSVC on Windowsyg2f2016-09-161-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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()``
* | | Don't crash in "_process_hdr()" if "framebuffer.luminance" is emptyBłażej Szczygieł2016-09-251-0/+4
| |/ |/| | | | | | | If "glFramebufferTexture2D()" fails on old drivers the Vector is empty. Don't allow to read from empty Vector (NULL pointer).
* | removed redundant assign operation in mesh_add_surface: elem_count is ↵knd2016-09-211-4/+0
| | | | | | | | reassigned a value before the old one has been used.
* | Merge pull request #6489 from zaps166/vorbis-no-encRémi Verschelde2016-09-171-2/+2
|\ \ | | | | | | Vorbis: Don't compile unnecessary encoder files
| * | Vorbis: Don't compile unnecessary encoder filesBłażej Szczygieł2016-09-141-2/+2
| |/
* | Merge pull request #6414 from RandomShaper/improve-shader-shadowRémi Verschelde2016-09-174-6/+7
|\ \ | |/ |/| Expose additional light/shadow properties to canvas item shaders
| * Expose light shadow color to canvas item shadersPedro J. Estébanez2016-09-071-0/+1
| |
| * Rename misleading definePedro J. Estébanez2016-09-073-6/+6
| | | | | | | | 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.
* | Merge pull request #5920 from 29jm/fix-warningsJuan Linietsky2016-09-103-4/+4
|\ \ | | | | | | Fix some more warnings
| * | Fix some comparisons between signed and unsigned integersJohan Manuel2016-08-131-1/+1
| | |
| * | Fix some warnings about misleading indentationJohan Manuel2016-08-131-2/+2
| | |
| * | Remove some unused variablesJohan Manuel2016-08-131-1/+1
| | |
* | | Merge pull request #5962 from Alex-doc/Y_billboardJuan Linietsky2016-09-101-1/+16
|\ \ \ | | | | | | | | Implements Y billboard
| * | | Implements Y billboardAlex Piola2016-08-011-1/+16
| | | | | | | | | | | | | | | | Y billboard wasn't hooked up. This commit implements it.
* | | | Merge pull request #6363 from vnen/winrtJuan Linietsky2016-09-1014-31/+308
|\ \ \ \ | |_|_|/ |/| | | Fix the support for WinRT/UWP
| * | | Add Windows Universal export to editorGeorge Marques2016-09-061-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | - Use OPENSSL_ENABLED definition to the whole source to detect it anywhere. - Add WinRT/UWP template files with manifest and default images.
| * | | Patch thirdy-party libraries to build for WinRTGeorge Marques2016-09-037-2/+270
| | | | | | | | | | | | | | | | | | | | | | | | - Patch enet code. - Patch OpenSSL code and add shims for unavailable API. - Add extra definition header for Freetype.
| * | | Fix drivers coding for WinRTGeorge Marques2016-09-036-29/+37
| |/ / | | | | | | | | | | | | | | | | | | - 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.
* / / More visual script improvementsJuan Linietsky2016-08-302-3/+13
|/ / | | | | | | | | | | -Added anti-aliasing on lines -Improved draw performance enormously -Removed sequence ports for most nodes, current visual scripts will likely be broken now. Sorry!
* / GLES2: Check for GPU capabilities to display an errorRémi Verschelde2016-07-251-1/+10
|/ | | | | | | | 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.
* RtAudio: Update to upstream version 4.1.2Rémi Verschelde2016-07-233-129/+63
| | | | | | | | | | | | | | | | | | | 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 ```
* zlib: Update builtin version to upstream 1.2.8Rémi Verschelde2016-07-2314-416/+132
| | | | | | 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