summaryrefslogtreecommitdiffstats
path: root/drivers
Commit message (Collapse)AuthorAgeFilesLines
* Added small bit of bias depending on lenght for contact shadows, fixes #12726Juan Linietsky2017-12-071-1/+1
|
* Style: Apply new clang-format 5.0 style to all filesRémi Verschelde2017-12-075-29/+16
|
* Style: Apply clang-format again on all filesRémi Verschelde2017-12-073-3/+3
| | | | | Fixes issues introduced by newer clang-format versions or commits pushed directly without using the clang-format pre-commit hook.
* Fixed rim lighting glitch, closes #13340, closes #13986Juan Linietsky2017-12-061-1/+1
|
* Improve slang, especially in user-visible partsUnknown2017-12-053-6/+6
|
* -Implemented Proxy Textures (needed to solve the problem with ViewportTexture)Juan Linietsky2017-12-044-8/+50
| | | | -Properly use hierarchy to initialize resources local to scene (solves problem of GUI in 3D)
* Disable invariant gl_Position to workaround Mesa bug 100316Rémi Verschelde2017-12-031-1/+3
| | | | Fixes #13450, though it would be worth reverting if/when the Mesa bug is fixed.
* small fix so shadows dont need to use a separate material for world vertex ↵Juan Linietsky2017-12-012-19/+17
| | | | coords (more perf)
* Properly take into consideration that VERTEX must be written to in opaque ↵Juan Linietsky2017-12-015-6/+35
| | | | pre pass, does some speed up to scenes using triplanar.
* Fix wasapi going silent when number of channels are not supportedMarcelo Fernandez2017-11-302-37/+49
|
* Changed the dynamic library open function to allow setting the path of the ↵Juan Linietsky2017-11-302-2/+2
| | | | library to open extra libraries.
* disable caching for targets using helper functionsRhody Lugo2017-11-281-2/+1
|
* use the same cache for all branches for appveyorRhody Lugo2017-11-281-0/+1
|
* Merge pull request #13317 from akien-mga/custom_user_dirRémi Verschelde2017-11-261-5/+9
|\ | | | | Allow customizing user:// path (folder in OS::get_data_path())
| * Allow customizing user:// path (folder in OS::get_data_path())Rémi Verschelde2017-11-261-5/+9
| | | | | | | | | | | | | | | | This allows to specify any valid folder name (including with subfolders) to use as user:// on all platforms. The folder is constrained to the platform-specific OS::get_data_path() (typically what `XDG_DATA_HOME` resolves to). Fixes #13236.
* | Merge pull request #13290 from Chaosus/projectionfixRémi Verschelde2017-11-261-5/+0
|\ \ | | | | | | Fix invalid transform when skip_vertex_transform used
| * | Fixed invalid transform when skip_vertex_transform usedChaosus2017-11-261-5/+0
| | |
* | | Merge pull request #13264 from zatherz/feature/projectsettings_limitsJuan Linietsky2017-11-261-1/+2
|\ \ \ | | | | | | | | Add range to anisotropic filter level
| * | | Add range to anisotropic filter level (1 to 16 with integer steps)Zatherz2017-11-251-1/+2
| | | |
* | | | Merge pull request #13277 from DoctorAlpaca/masterJuan Linietsky2017-11-261-6/+2
|\ \ \ \ | | | | | | | | | | Fix particle preprocessing
| * | | | Fix particle preprocessing. Fixes #12460.Eric Wiltfang2017-11-251-6/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove an incorrect check likely left over from copying from the normal fixed_fps update case. Also makes sure that the preprocessing_time is always fully simulated, rather overshooting the mark than stopping early.
* | | | | Merge pull request #12572 from RandomShaper/onion-skinningJuan Linietsky2017-11-262-3/+6
|\ \ \ \ \ | |_|_|_|/ |/| | | | Onion skinning
| * | | | Add ability to opt-out buffer swapping in `VS::draw()`Pedro J. Estébanez2017-11-252-3/+6
| | | | |
* | | | | Fix shader compilation fail on Androidvolzhs2017-11-271-2/+2
| |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | Error message from logcat **ERROR**: SceneShaderGLES3: Fragment Program Compilation Failed: 50:471: S0032: no default precision defined for parameter 'probe' At: drivers/gles3/shader_gles3.cpp:167:_display_error_with_code() - SceneShaderGLES3: Fragment Program Compilation Failed:
* | | | -Fixed height fog (was broken)Juan Linietsky2017-11-251-1/+1
| |/ / |/| | | | | | | | -Make sure materials are named in OBJ importer, so they can be saved outside as resources.
* | | Fix build on macOS and Android after bc2e8d99Rémi Verschelde2017-11-251-1/+1
| |/ |/|
* | Completed bc2e8d99e5ae0dbd69e712cc71da3033f5f30139 so that windows can be builtIndah Sylvia2017-11-251-1/+1
| |
* | Made Vector::ptrw explicit for writing, compiler was sometimes using the ↵Juan Linietsky2017-11-255-14/+14
|/ | | | | | wrong function, leading to unnecesary copy on writes and reduced performance.
* Return and repair file loggingRuslan Mustakov2017-11-212-10/+8
| | | | And make it configurable, too.
* Ability to change indirect light energy.Juan Linietsky2017-11-191-0/+1
|
* Merge pull request #12988 from akien-mga/xdg-home-pathsRémi Verschelde2017-11-203-35/+9
|\ | | | | Add support for XDG Base Directory spec
| * Add initial support for the XDG Base Directory specRémi Verschelde2017-11-193-33/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Spec version 0.7 from https://standards.freedesktop.org/basedir-spec/basedir-spec-0.7.html (latest as of this commit). Three virtual methods are added to OS for the various XDG paths we will use: - OS::get_data_path gives XDG_DATA_HOME, or if missing: ~/.local/share on X11, ~/Library/Application Support/ on macOS and %APPDATA% on Windows - OS::get_config_path gives XDG_CONFIG_HOME, or if missing: ~/.config on X11, ~/Library/Application Support/ on macOS and %APPDATA% on Windows - OS::get_cache_path gives XDG_CACHE_HOME, or if missing: ~/.cache on X11, ~/Library/Caches on macOS and %APPDATA% on Windows So for Windows there are no changes, for Linux we follow the full split spec and for macOS stuff will move from ~/.godot to ~/Library/Application Support/Godot. Support for system-wide installation of templates on Unix was removed for now, as it's a bit hackish and I don't think anyone uses it. user:// will still be OS::get_data_path() + "/godot/app_userdata/$name" by default, but when using the application/config/use_shared_user_dir option it will now use XDG_DATA_HOME/$name, e.g. ~/.local/share/MyGame. For now everything still goes in EditorSettings::get_settings_dir(), but this will be changed in a later commit to make use of the new splitting where relevant. Part of #3513.
| * Rename OS::get_data_dir to OS::get_user_data_dirRémi Verschelde2017-11-172-2/+2
| | | | | | | | | | Will be needed to avoid confusion with system data path (XDG_DATA_HOME) and editor data dir in upcoming refactoring.
* | Merge pull request #13051 from akien-mga/check-gles3-supportRémi Verschelde2017-11-201-23/+16
|\ \ | | | | | | Check whether GL context supports the expected API
| * | Check whether GL context supports the expected APIRémi Verschelde2017-11-191-23/+16
| |/ | | | | | | | | I couldn't test it yet myself (GPU supports GL 4.5), so we'll need to see if it behaves as expected on systems that don't support OpenGL 3.3 or GL ES 3.0.
* | Visual Studio project creation bug fixRoyBerube2017-11-191-0/+5
| | | | | | | | | | | | A bug in the /drivers SCons script was preventing files in the /drivers and some in the /thirdparty directories from being added to the VS project. This will only affect builds that use the 'vsproj=yes' option.
* | Cleanup old references to GLES2 rendererRémi Verschelde2017-11-193-64/+2
|/ | | | | | | | | There are still some left in the Android Java code, even stuff to swap between GLES1 and GLES2 support from early Godot days... would be good to see some cleanup there too one day. The "graphics/api" option for Android exports is removed, as only GLES 3.0 is supported. It can be readded when GLES 2.0 support comes back. Fixes #13004.
* Merge pull request #12982 from tagcup/aabb_renameRémi Verschelde2017-11-172-78/+86
|\ | | | | Rename Rect3 to AABB.
| * Rename Rect3 to AABB.Ferenc Arn2017-11-172-78/+86
| | | | | | | | Fixes #12973.
* | Merge pull request #12924 from vnen/light-shaderJuan Linietsky2017-11-171-0/+4
|\ \ | | | | | | Enable light shaders when light variables are used
| * | Enable light shaders when light variables are usedGeorge Marques2017-11-141-0/+4
| | |
* | | Fix alpha dithering in viewports with TransparentBg=false and Usage=2D, ↵andrzej.buczynski2017-11-171-0/+1
| |/ |/| | | | | issue #11416
* | Ability to update parts of an array, and set arrays as dynamic drawJuan Linietsky2017-11-142-1/+19
|/
* Do not enable light if atlas size is 0, closes #9335Juan Linietsky2017-11-131-2/+2
|
* Disable OpenGL warnings unless running with -v, closes #7171Juan Linietsky2017-11-131-3/+5
|
* remove half_texpixel in canvas since no longer usedJuan Linietsky2017-11-121-1/+0
|
* Fixed a bug where clamp_uv was clamping one pixel short, stretching the last ↵Nathan Warden2017-11-111-1/+1
| | | | pixels.
* Remove get_default_video_mode definition on OSX/iOSRémi Verschelde2017-11-092-3/+2
| | | | | | | | It had been missed in d09160a8b67fdc60e8108962c4e9bd4c0bc7f13e and broke compilation for those platforms. Took the opportunity to run clang-format on the code base to fix some corner cases that went through our static tests/were overlooked recently.
* Remove performance warnings, closes #11585Juan Linietsky2017-11-061-0/+3
|
* Improved WASAPI driver logic when devices are connected or disconnectedMarcelo Fernandez2017-10-312-15/+40
|