Commit graph

11879 commits

Author SHA1 Message Date
Rémi Verschelde
ad3393743c
Merge pull request #14760 from hpvb/add-several-unlikely-macros
Add several unlikely() macros
2017-12-17 14:28:15 +01:00
Rémi Verschelde
539fd14cf5
Merge pull request #14758 from hpvb/optimize-lightbaker-rng
Use a more naive RNG for the lightmapper
2017-12-17 14:27:51 +01:00
Rémi Verschelde
dbae2d98e3
Merge pull request #14528 from AlmightyScientist/issue-14456
Shader Language: Add in-for declared variables within for-block scope.
2017-12-17 14:24:53 +01:00
Rémi Verschelde
6afb90c846
Merge pull request #14635 from poke1024/getline
Faster FileAccess::get_line()
2017-12-17 14:24:07 +01:00
Rémi Verschelde
93c9aada67
Merge pull request #14692 from poke1024/docsgroups
Docs methods grouping by prefix
2017-12-17 14:23:49 +01:00
Rémi Verschelde
d0abcf1a58
Merge pull request #14745 from poke1024/api-hash-arg-info
Faster ClassDB::get_api_hash()
2017-12-17 14:22:48 +01:00
Rémi Verschelde
e2583233d1
Merge pull request #14755 from hpvb/fix-13337
Don't glBindTexture() on viewports without effects
2017-12-17 14:19:36 +01:00
Rémi Verschelde
fc0e341fc5
Merge pull request #14764 from poke1024/android
Increase sleep time for android export thread
2017-12-17 14:18:47 +01:00
Rémi Verschelde
5b1960e5ff
Merge pull request #14766 from volzhs/info-fps
Refactoring FPS & information on 3D viewport
2017-12-17 14:18:28 +01:00
volzhs
4073de88cb Refactoring FPS & information on 3D viewport
- FPS label position adjusted with Preview button
- Remove unnecessary Panel control
- Remove unnecessary check condition
2017-12-17 21:49:44 +09:00
Hein-Pieter van Braam
9ba134b463 Add several unlikely() macros
Based off of perf-based prediction misses these seem to be the
lowest-hanging fruit for quick (albeit small) improvements. These are
based on:

* baking a complex lightmap
* running platformer 3d
* running goltorus
2017-12-17 13:10:30 +01:00
Rémi Verschelde
863dcdf431
Merge pull request #14765 from ColinKinloch/master
Fixed Android NDK unified header detection for python 3
2017-12-17 13:07:06 +01:00
Colin Kinloch
064189c693 Fixed Android NDK unified header detection for python 3 2017-12-17 12:01:16 +00:00
Bernhard Liebl
95edc3855a Increase sleep time for android export thread 2017-12-17 11:50:11 +01:00
Rémi Verschelde
32bc42690c
Merge pull request #14761 from fire/gdnative-lightmapper
Fix gdnative generation for lightmapper.
2017-12-17 11:12:21 +01:00
Rémi Verschelde
d9c730e138
Merge pull request #14762 from hpvb/tweak-openmp-parameters-for-lightbaker
Tweak OpenMP parameters for lightbaker
2017-12-17 11:08:42 +01:00
Hein-Pieter van Braam
a402efeb72 Tweak OpenMP parameters for lightbaker
On higher threadcount systems this allows for better utilization. On my
16 thread box CPU use goes from 10 - 11 threads to a steady 15 threads
on the Sponza scene.

Baking time goes from ~10:00 to ~07:30 for me. On lower threadcount
systems I expect some improvement also but likely a little less.
2017-12-17 03:09:38 +01:00
K. S. Ernest (iFire) Lee
9948da70a0 Fix gdnative generation for lightmapper. 2017-12-16 16:56:54 -08:00
Enzo Nocera
8e2a1ffd6e Shader Language: Add in-for declared variables within for-block scope. 2017-12-17 01:43:59 +01:00
George Marques
f1683a290b
Add support for whole program optimization on MSVC
Since it's similar to LTO, it can be enabled by setting use_lto=yes.
2017-12-16 22:29:02 -02:00
Hein-Pieter van Braam
be4448bd1f Use a more naive RNG for the lightmapper
This speeds up the lightmapper by about 10% with no visible impact. A
comparison is up here:

https://tmm.cx/nextcloud/s/Log1eAXen1dJzBz

AMD Ryzen 7 1700 Eight-Core Processor
Sponza scene

pcg32
256/256/high   00:10:13
256/256/medium 00:02:50
256/256/low    00:01:11

xorshift
256/256/high   00:09:32
256/256/medium 00:02:34
256/256/low    00:01:05
2017-12-17 00:12:45 +01:00
Michael Alexsander Silva Dias
7e38db631f More changes to PopupMenu's submenu keyboard handling. 2017-12-16 20:57:26 -02:00
Juan Linietsky
83291eab3a
Merge pull request #14756 from godotengine/revert-14484-fix_mouse_focus_button_release
Revert "Fix mouse button release not sent to gui_input if it's different from the button that gave focus"
2017-12-16 19:50:57 -03:00
Juan Linietsky
1b944cb663
Revert "Fix mouse button release not sent to gui_input if it's different from the button that gave focus" 2017-12-16 19:50:32 -03:00
Hein-Pieter van Braam
34991af553 Don't glBindTexture() on viewports without effects
@reduz said there was another place that needed to be checked for a
similar issue but I have to admit I didn't understand.

This fixes #13337
2017-12-16 23:38:02 +01:00
Juan Linietsky
652c98a7be Add epic hack so vsync can be toggled in run-time from script. Fixes #14458.
Call needs to be routed via visual server to reach the proper thread.
2017-12-16 17:11:02 -03:00
Rémi Verschelde
d03f35f1bc Bind TextEdit.deselect and update documentation 2017-12-16 21:08:31 +01:00
Juan Linietsky
db22aec51a fixed reference to splash file 2017-12-16 16:20:36 -03:00
Juan Linietsky
cf84ee22a9 Added custom editor splash (including sponsor logo). 2017-12-16 16:11:13 -03:00
poke1024
9cfc4440c1 Docs methods grouping by prefix 2017-12-16 20:02:10 +01:00
Juan Linietsky
c93cb30cbb restored binary compatibility, which was broken in #14406 2017-12-16 15:48:16 -03:00
Rémi Verschelde
1e2a8132f3
Merge pull request #14406 from hoelzl/pr-instance-node-order
Fix some issues with instanced scenes
2017-12-16 18:35:00 +01:00
Matthias Hoelzl
ced1ff63a8 Improve duplication and saving of instanced scenes 2017-12-16 17:58:17 +01:00
Michael Alexsander Silva Dias
c19cc581ec Made highlighted item in PopupMenu circle back to the beginning/end when using the keyboard. 2017-12-16 13:54:43 -02:00
Rémi Verschelde
caf3a405ab
Merge pull request #13991 from CyanBlob/master
TileMap: Add update_bitmask_region(2), expose update_bitmask_area(1) …
2017-12-16 16:38:59 +01:00
Rémi Verschelde
a7f09b71f9
Merge pull request #14743 from volzhs/unnecessary-update-files
Remove unnecessay update on FileSystem dock
2017-12-16 16:35:18 +01:00
poke1024
a3f1ed9af9 Faster FileAccess::get_line() 2017-12-16 16:27:21 +01:00
volzhs
c3d18aed8c Remove unnecessay update on FileSystem dock 2017-12-16 23:53:44 +09:00
Rémi Verschelde
1b9c8daf7b
Merge pull request #12845 from remorse107/Array-Dictionary-Fix
Fix issue #11400.  Fixes issue with arrays and dictionary acting as static objects between different instances of objects.
2017-12-16 15:49:07 +01:00
Bernhard Liebl
b17ae020bb Faster ClassDB::get_api_hash() 2017-12-16 15:47:36 +01:00
Przemysław Gołąb (n-pigeon)
b3575b5164 Moved Local Space Mode and Transform Snap settings to Top Bar ...
...buttons for easier access.
2017-12-16 15:42:19 +01:00
Orkun
e021097c80 Fix #12220: Add Decompress Bc5 to Squish
This Commit fixes the corrupted file preview described in #12220.
Added DecompressColourBc5 function to squish.
2017-12-16 15:38:36 +01:00
Juan Linietsky
92a8a505a0
Merge pull request #14739 from volzhs/collapse_folder
Enhance FileSystem dock
2017-12-16 11:33:16 -03:00
volzhs
15e77b3b60 Enchance FileSystem dock
* Collapse / Uncollapse folder with double click
* Sync with tree and bottom panel
* Show selected folder in tree when changed
2017-12-16 23:26:43 +09:00
Andrew Thomas
d8c4324cfb TileMap: Add update_bitmask_region(2), expose update_bitmask_area(1) and update_bitmask_region(2) to GDscript 2017-12-16 08:18:54 -06:00
Rémi Verschelde
3adae8599c
Merge pull request #14698 from carlosfvieira/6382-Properties_in_the_inspector_lacking_tooltips
Proposed change to close issue "#6382 - Properties in the inspector lacking tooltips"
2017-12-16 15:05:09 +01:00
Rémi Verschelde
83b1556183
Merge pull request #14734 from hpvb/rename-debug-symbols
Rename the debug symbol files to .debugsymbols
2017-12-16 14:50:32 +01:00
Rémi Verschelde
1c18943e97
Merge pull request #14330 from matrem/particles_spread
Spread should be in degree (see documentation, and flag_disable_z case)
2017-12-16 14:28:25 +01:00
Rémi Verschelde
0f188461c5
Merge pull request #14365 from willnationsdev/camera-docs
[DOCS] Camera property changes
2017-12-16 14:23:44 +01:00
Hein-Pieter van Braam
05018582d7 Rename the debug symbol files to .debugsymbols
Some users were confused by the '.debug' suffix for the symbols.
2017-12-16 13:55:04 +01:00