diff options
| author | assiduous <assiduous@diligentgraphics.com> | 2020-11-22 05:16:08 +0000 |
|---|---|---|
| committer | assiduous <assiduous@diligentgraphics.com> | 2020-11-22 05:16:08 +0000 |
| commit | 365790bde73cfce1449b12529c03b9b0b76c158d (patch) | |
| tree | b0790b1c7cb0ca7f698c1c4dc36c7bfaf6e3b302 /NativeApp/Apple/Data/iOS | |
| parent | ImGui renderer: fixed GL shaders to support non-separable programs (diff) | |
| download | DiligentTools-365790bde73cfce1449b12529c03b9b0b76c158d.tar.gz DiligentTools-365790bde73cfce1449b12529c03b9b0b76c158d.zip | |
iOS app: added option to select Metal mode
Diffstat (limited to 'NativeApp/Apple/Data/iOS')
| -rw-r--r-- | NativeApp/Apple/Data/iOS/Base.lproj/Main.storyboard | 41 | ||||
| -rw-r--r-- | NativeApp/Apple/Data/iOS/Images.xcassets/metal-logo.png | bin | 0 -> 47327 bytes |
2 files changed, 33 insertions, 8 deletions
diff --git a/NativeApp/Apple/Data/iOS/Base.lproj/Main.storyboard b/NativeApp/Apple/Data/iOS/Base.lproj/Main.storyboard index 78a30e4..c7de097 100644 --- a/NativeApp/Apple/Data/iOS/Base.lproj/Main.storyboard +++ b/NativeApp/Apple/Data/iOS/Base.lproj/Main.storyboard @@ -1,11 +1,9 @@ <?xml version="1.0" encoding="UTF-8"?> -<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="14460.31" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES" initialViewController="XIi-06-RrN"> - <device id="retina5_9" orientation="portrait"> - <adaptation id="fullscreen"/> - </device> +<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="17506" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES" initialViewController="XIi-06-RrN"> + <device id="retina5_9" orientation="portrait" appearance="light"/> <dependencies> <deployment identifier="iOS"/> - <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="14460.20"/> + <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="17505"/> <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/> </dependencies> <scenes> @@ -22,7 +20,7 @@ <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> <subviews> <button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Exn-mx-E3B" userLabel="Vulkan"> - <rect key="frame" x="37" y="543" width="302" height="120"/> + <rect key="frame" x="36" y="553" width="302" height="120"/> <autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxX="YES" flexibleMinY="YES" flexibleMaxY="YES"/> <state key="normal" title="Button" image="vulkan-logo.png"/> <connections> @@ -30,13 +28,21 @@ </connections> </button> <button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="CtC-44-7bh" userLabel="OpenGLES"> - <rect key="frame" x="43" y="198" width="289" height="119"/> + <rect key="frame" x="43" y="347" width="289" height="119"/> <autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxX="YES" flexibleMinY="YES" flexibleMaxY="YES"/> <state key="normal" title="Button" image="opengles-logo.png"/> <connections> <action selector="goOpenGLES:" destination="XIi-06-RrN" eventType="touchUpInside" id="Mad-GE-H0I"/> </connections> </button> + <button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="TlZ-w5-T6I" userLabel="Metal"> + <rect key="frame" x="100" y="112" width="175" height="157"/> + <autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxX="YES" flexibleMinY="YES" flexibleMaxY="YES"/> + <state key="normal" title="Button" image="metal-logo.png"/> + <connections> + <action selector="goMetal:" destination="XIi-06-RrN" eventType="touchUpInside" id="z5D-cO-F8C"/> + </connections> + </button> </subviews> <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> </view> @@ -81,9 +87,28 @@ </objects> <point key="canvasLocation" x="214" y="74"/> </scene> + <!--MVK View Controller--> + <scene sceneID="WZ2-bi-cdb"> + <objects> + <viewController storyboardIdentifier="MVKViewControllerID" id="ZDl-dt-Xaq" userLabel="MVK View Controller" sceneMemberID="viewController"> + <layoutGuides> + <viewControllerLayoutGuide type="top" id="dbi-vJ-AVE"/> + <viewControllerLayoutGuide type="bottom" id="X0V-aW-WaZ"/> + </layoutGuides> + <view key="view" contentMode="scaleToFill" id="4zh-r3-4Cy" customClass="MVKView"> + <rect key="frame" x="0.0" y="0.0" width="375" height="812"/> + <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> + <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> + </view> + </viewController> + <placeholder placeholderIdentifier="IBFirstResponder" id="UAc-GX-nky" userLabel="First Responder" sceneMemberID="firstResponder"/> + </objects> + <point key="canvasLocation" x="1108" y="74"/> + </scene> </scenes> <resources> + <image name="metal-logo.png" width="650" height="650"/> <image name="opengles-logo.png" width="1500" height="500"/> - <image name="vulkan-logo.png" width="1300" height="500"/> + <image name="vulkan-logo.png" width="975" height="375"/> </resources> </document> diff --git a/NativeApp/Apple/Data/iOS/Images.xcassets/metal-logo.png b/NativeApp/Apple/Data/iOS/Images.xcassets/metal-logo.png Binary files differnew file mode 100644 index 0000000..fd4b07f --- /dev/null +++ b/NativeApp/Apple/Data/iOS/Images.xcassets/metal-logo.png |
