Merge pull request #76856 from HolonProduction/macos-specific
Don't expose macOS and iOS specific display servers.
This commit is contained in:
commit
a1db628eb3
@ -39,6 +39,8 @@ class RenderingDeviceVulkan;
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
class DisplayServerAndroid : public DisplayServer {
|
class DisplayServerAndroid : public DisplayServer {
|
||||||
|
// No need to register with GDCLASS, it's platform-specific and nothing is added.
|
||||||
|
|
||||||
String rendering_driver;
|
String rendering_driver;
|
||||||
|
|
||||||
// https://developer.android.com/reference/android/view/PointerIcon
|
// https://developer.android.com/reference/android/view/PointerIcon
|
||||||
|
@ -55,7 +55,7 @@
|
|||||||
#import <QuartzCore/CAMetalLayer.h>
|
#import <QuartzCore/CAMetalLayer.h>
|
||||||
|
|
||||||
class DisplayServerIOS : public DisplayServer {
|
class DisplayServerIOS : public DisplayServer {
|
||||||
GDCLASS(DisplayServerIOS, DisplayServer)
|
// No need to register with GDCLASS, it's platform-specific and nothing is added.
|
||||||
|
|
||||||
_THREAD_SAFE_CLASS_
|
_THREAD_SAFE_CLASS_
|
||||||
|
|
||||||
|
@ -119,8 +119,7 @@ typedef struct _xrr_monitor_info {
|
|||||||
#undef CursorShape
|
#undef CursorShape
|
||||||
|
|
||||||
class DisplayServerX11 : public DisplayServer {
|
class DisplayServerX11 : public DisplayServer {
|
||||||
//No need to register, it's platform-specific and nothing is added
|
// No need to register with GDCLASS, it's platform-specific and nothing is added.
|
||||||
//GDCLASS(DisplayServerX11, DisplayServer)
|
|
||||||
|
|
||||||
_THREAD_SAFE_CLASS_
|
_THREAD_SAFE_CLASS_
|
||||||
|
|
||||||
|
@ -56,7 +56,7 @@
|
|||||||
#undef CursorShape
|
#undef CursorShape
|
||||||
|
|
||||||
class DisplayServerMacOS : public DisplayServer {
|
class DisplayServerMacOS : public DisplayServer {
|
||||||
GDCLASS(DisplayServerMacOS, DisplayServer)
|
// No need to register with GDCLASS, it's platform-specific and nothing is added.
|
||||||
|
|
||||||
_THREAD_SAFE_CLASS_
|
_THREAD_SAFE_CLASS_
|
||||||
|
|
||||||
|
@ -37,6 +37,8 @@
|
|||||||
#include <emscripten/html5.h>
|
#include <emscripten/html5.h>
|
||||||
|
|
||||||
class DisplayServerWeb : public DisplayServer {
|
class DisplayServerWeb : public DisplayServer {
|
||||||
|
// No need to register with GDCLASS, it's platform-specific and nothing is added.
|
||||||
|
|
||||||
private:
|
private:
|
||||||
struct JSTouchEvent {
|
struct JSTouchEvent {
|
||||||
uint32_t identifier[32] = { 0 };
|
uint32_t identifier[32] = { 0 };
|
||||||
|
@ -280,8 +280,7 @@ typedef struct {
|
|||||||
} ICONDIR, *LPICONDIR;
|
} ICONDIR, *LPICONDIR;
|
||||||
|
|
||||||
class DisplayServerWindows : public DisplayServer {
|
class DisplayServerWindows : public DisplayServer {
|
||||||
//No need to register, it's platform-specific and nothing is added
|
// No need to register with GDCLASS, it's platform-specific and nothing is added.
|
||||||
//GDCLASS(DisplayServerWindows, DisplayServer)
|
|
||||||
|
|
||||||
_THREAD_SAFE_CLASS_
|
_THREAD_SAFE_CLASS_
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user