Autechre
7ea1d7d0da
Revert "Mac buildfixes ( #11933 )" ( #11934 )
...
This reverts commit 18a6880900637cac7ebd26ca810c2b9f2382a5db.
2021-01-24 03:56:05 +01:00
Autechre
18a6880900
Mac buildfixes ( #11933 )
...
* (Metal/WindowListener) Fix duplicate symbol errors by
moving implementation of WindowListener to cocoa_common.m
* (Apple) Cleanup some conditionals
* (Cocoa) Cut down on OSX ifdefs in Cocoa-specific code
2021-01-24 03:53:10 +01:00
twinaphex
55a766b0bc
(CocoaGL) Add forward declaration
2021-01-19 07:28:42 +01:00
twinaphex
eea8e12343
(CocoaGL) Get rid of one static global
2021-01-19 06:37:01 +01:00
twinaphex
7b3f042fc6
(CocoaGL) Get rid of IOS Interface extensions
2021-01-18 21:49:34 +01:00
Twinaphex
69884a816f
(Cocoa GL) OSX - get rid of bounds/scale extension of NSScreen
2021-01-18 21:38:02 +01:00
twinaphex
83210eafd8
Split up cocoa_gl_ctx.m into two parts - cocoa_gl_ctx.m
...
and cocoa_vk_ctx.m
2021-01-18 20:02:31 +01:00
twinaphex
456cc022f3
(Metal) Buildfix
2021-01-18 19:36:33 +01:00
twinaphex
8d31c410a0
move cocoa_get_metrics to cocoa_common.m
2021-01-18 19:33:06 +01:00
twinaphex
a80a64f261
Add cocoa_update_title to cocoa_common.m
2021-01-18 19:28:36 +01:00
Twinaphex
3d17cf1e38
Move nsview_set/get/cocoaview_get to cocoa_common.m
2021-01-18 19:17:12 +01:00
Twinaphex
eea07ea367
(COcoa GL/Cocoa Common) Refactor code for eventual splitting up
...
of cocoa_gl_ctx.m into two files
2021-01-18 15:41:30 +01:00
Twinaphex
4036cc42e0
fast_forward_skips and is_syncing should only be used for non-OSX
2021-01-18 14:51:03 +01:00
twinaphex
3200d138b0
(Cocoa GL) Move variables
2021-01-18 06:02:32 +01:00
twinaphex
dfa3d216f8
(Cocoa GL) Refactors/cleanups
2021-01-18 04:34:51 +01:00
twinaphex
f6d35ee462
(iOS) Cleanups
2021-01-18 03:03:35 +01:00
twinaphex
82c751ead0
Remove unused glcontext_get_ptr
2021-01-18 02:05:29 +01:00
twinaphex
7bdbcfa2cc
(CocoaGL) Cleanups
2021-01-18 01:57:03 +01:00
twinaphex
39a98d5dfc
(Cocoa GL) Cleanups
2021-01-18 01:52:05 +01:00
twinaphex
2670613f6c
Don't use nativeScale/scale for OSX
2021-01-18 00:50:07 +01:00
Twinaphex
5a9598c238
get_backing_scale_factor - fix build
2021-01-18 00:30:58 +01:00
twinaphex
4117a4cbda
Rewrite get_backing_scale_factor - stop depending on runtime selector
...
invocations
2021-01-18 00:25:36 +01:00
twinaphex
6ac08ec123
Make customized version of get_video_size for OSX 10.7 and up to
...
avoid selector grabbing
2021-01-17 05:39:03 +01:00
twinaphex
e42f2b552f
(COcoa GL context) Small cleanups
2021-01-17 05:22:29 +01:00
twinaphex
1e9f6f175e
(OSX) Fix PowerPC build
2021-01-17 05:02:07 +01:00
Twinaphex
7177a8e7d9
Remove unused variable
2021-01-16 23:05:37 +01:00
twinaphex
4d5126f71a
Improve cocoagl_gfx_ctx_get_native_scale
2021-01-16 23:03:25 +01:00
twinaphex
225b851eb6
Cleanups
2021-01-16 22:04:11 +01:00
twinaphex
757ea32782
Go back to CocoaView pointer in prototype
2021-01-16 20:37:56 +01:00
twinaphex
4e74a6f8b1
Attempt to fix build for iOS
2021-01-16 17:02:25 +01:00
twinaphex
9ddc39af59
Buildfix
2020-12-27 20:01:41 +01:00
twinaphex
c3ba223fe2
Do away with objc_msgSend calls
2020-12-27 17:31:57 +01:00
Twinaphex
62f4eae323
(Cocoa) Cleanups
2020-09-15 20:53:48 +02:00
twinaphex
26b2295759
(cocoa_gl_ctx.m) Style nits
2020-09-15 11:28:04 +02:00
twinaphex
c133c2a10c
(Cocoa GL ctx) Add updateSel
2020-09-14 23:59:42 +02:00
Twinaphex
13e553a34b
get_backing_scale_factor - use class_respondsToSelector
2020-09-14 21:27:22 +02:00
twinaphex
fb6642192d
Add TARGET_OS_OSX ifdef around this
2020-09-14 16:17:31 +02:00
Twinaphex
2bfadbdad5
(Apple CocoaGL) Call flushBuffer with msg_objcSend
2020-09-14 16:15:53 +02:00
Twinaphex
b1723f7cd0
Remove unused CocoaTouch menu - allows us to get rid of a lot of
...
dead code
2020-08-09 19:41:04 +02:00
twinaphex
6922a36ea1
(CocoaGL) Another buildfix
2020-07-22 22:25:28 +02:00
twinaphex
b78591d9b6
Buildfix
2020-07-22 22:18:18 +02:00
Autechre
95221945bb
Merge pull request #11065 from yoshisuga/yoshisuga/ios-metal-dpi
...
[iOS][tvOS][Metal] Support getting video metrics to support proper touchscreen interactions
2020-07-22 07:09:24 +02:00
twinaphex
12a4fa0809
Buildfix
2020-07-22 00:46:16 +02:00
twinaphex
ca2a59e03d
(Cocoa GL) Global variable cleanups
2020-07-22 00:44:45 +02:00
Yoshi Sugawara
c462aaf374
iOS Metal: implement the metric method for the graphics context to support getting the dpi - this is needed to make the touch interactions with the menus work. Update the metal and opengl graphics context to support a lower dpi for larger screen iPhones to make better use of the screen
2020-07-21 11:33:37 -10:00
Autechre
6c7143d02d
Merge pull request #10981 from yoshisuga/yoshisuga/ios-metal
...
iOS/tvOS Metal Renderer
2020-07-21 20:41:07 +02:00
Yoshi Sugawara
271ac7f925
support the OpenGL driver in the metal build by delegating the view initialization to the ApplePlatform delegate (metal build only for now)
2020-07-20 14:00:28 -10:00
twinaphex
9ac9309991
Optimize call to vulkan_present
2020-07-20 04:45:12 +02:00
Yoshi Sugawara
3dc716299f
replaced confusing ifdef with a more concise #if TARGET_OS_OSX
2020-07-19 07:54:47 -10:00
Yoshi Sugawara
82d6d8e876
add the metal view to the view controller view after initializing the metal view for iOS
2020-07-07 08:19:46 -10:00