Age | Commit message (Collapse) | Author |
|
Fixes #27104
|
|
Add an `OS.is_window_focused()` getter
|
|
Happy new year to the wonderful Godot community!
We're starting a new decade with a well-established, non-profit, free
and open source game engine, and tons of further improvements in the
pipeline from hundreds of contributors.
Godot will keep getting better, and we're looking forward to all the
games that the community will keep developing and releasing with it.
|
|
|
|
This makes it possible to know whether the window is focused
at a given time, without having to track the focus state manually
using `NOTIFICATION_WM_FOCUS_IN` and `NOTIFICATION_WM_FOCUS_OUT`.
This partially addresses #33928.
|
|
Extracted from #27189.
|
|
InputEventMouseMotion event.
|
|
|
|
Fixes #32486
|
|
|
|
This allows other programs to find out the PID of a Godot instance just
by the X11 window ID.
|
|
|
|
Spinning forever is clearly worse, especially since this happens on at
least FVWM even though the window actually is maximized.
|
|
Since invalid values will cause the setting to be discarded,
it makes more sense to display an error message instead of a
warning message.
|
|
|
|
Optimization for Input::set_custom_mouse_cursor when used inside
_process function. (Avoids cursor blinking in low end devices)
|
|
Replace ` + "/" + ` with `String::file_add()`
|
|
|
|
|
|
Add ability to limit maximum/minimum window size.
|
|
This is a new singleton where camera sources such as webcams or cameras on a mobile phone can register themselves with the Server.
Other parts of Godot can interact with this to obtain images from the camera as textures.
This work includes additions to the Visual Server to use this functionality to present the camera image in the background. This is specifically targetted at AR applications.
|
|
|
|
Removes redundant "splash" setting, improves per pixel transparency documentation.
|
|
restoration after exiting fullscreen.
|
|
improves per pixel transparency documentation.
|
|
Supersedes #27736.
|
|
Fully initialised color var.
Clarified intent a little with comments/layout.
|
|
|
|
|
|
Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com>
|
|
Small fixes to static analyzer bugs
|
|
Fix get_window_position / set_window_position on Linux
|
|
Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com>
Co-authored-by: Marcelo Fernandez <marcelofg55@gmail.com>
|
|
Added constructor and assignment operator for CharString
from const char* to simplify memory management when working with
utf8/ascii strings for APIs taking char*.
Reworked OS_X11::set_context to use CharString and avoid some manual
memory management.
|
|
Small fixes, mostly duplicated code
|
|
[Clean up] Removed unused/unnecessary methods.
|
|
|
|
|
|
|
|
`set_window_position` to take window decorations into account.
|
|
|
|
GLES2 is not designed to be a drop-in replacement for the GLES3 backend,
so the fallback mode has to be used knowingly. It *can* make sense for
simple projects which make sure to handle the differences between both
rendering backends, but most users should stick to one supported backend.
By making it opt-in, we can now use this parameter to define whether to
export ETC textures to Android and iOS when using GLES3 + Fallback.
When using GLES3 without Fallback on Android, set the proper min GLES
version in the AndroidManifest.
Also made the option boolean and renamed it for clarity and to avoid
conflict with the previous String option (which would always evaluate as
"true" otherwise).
Fixes #26569.
|
|
|
|
Fixes #25826.
Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com>
|
|
-Fixed a bug where etc textures were imported broken
|
|
|
|
Detect when primusrun/optirun is in use
|
|
It seems that bumblebee doesn't like us creating multiple GL contexts
to avoid this we now detect whether we're running with this software
and don't do anything.
|
|
This fixes #25852
|
|
This allows most demos to run without any ubsan or asan errors. There
are still some things in thirdpart/ and some things in AudioServer that
needs a look but this fixes a lot of issues. This should help debug less
obvious issues, hopefully.
This fixes #25217 and fixes #25218
|