prep
This commit is contained in:
1 parent
36392764f7
commit
9d6c2aeb27
5 files changed
+89
-9
No files matched your search
+20
-6
@@ -4,6 +4,12 @@ output:
|
||||
ver-mac/src/dialect.swift:
|
||||
type: swift
|
||||
|
||||
BlueContext:
|
||||
type: context
|
||||
fields:
|
||||
didLaunch: Bool
|
||||
didSetup: Bool
|
||||
|
||||
BlueComponent:
|
||||
type: component
|
||||
shoulds:
|
||||
@@ -15,18 +21,14 @@ BlueComponent:
|
||||
then:
|
||||
c.didLaunch = true
|
||||
|
||||
BlueContext:
|
||||
type: context
|
||||
fields:
|
||||
didLaunch: Bool
|
||||
didSetup: Bool
|
||||
|
||||
RenderContext:
|
||||
type: context
|
||||
fields:
|
||||
backingPixelSize: [Int32]
|
||||
didLaunch: Bool
|
||||
didPrepareGL: Bool
|
||||
didPrepareIOSGL: Bool
|
||||
didPrepareMacGL: Bool
|
||||
didSetup: Bool
|
||||
pixelSize: [Int32]
|
||||
reshapePixelSize: [Int32]
|
||||
@@ -48,6 +50,18 @@ RenderComponent:
|
||||
c.didLaunch == false
|
||||
then:
|
||||
c.didLaunch = true
|
||||
didPrepareGL:
|
||||
1. For macOS:
|
||||
if:
|
||||
c.recentField == F.didPrepareMacGL
|
||||
then:
|
||||
c.didPrepareGL = true
|
||||
2. For iOS:
|
||||
if:
|
||||
c.recentField == F.didPrepareIOSGL &&
|
||||
!c.didPrepareGL
|
||||
then:
|
||||
c.didPrepareGL = true
|
||||
pixelSize:
|
||||
1. Upon launch:
|
||||
if:
|
||||
|
||||
Reference in new issue
Block a user