Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
skiko
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
liuqiang
skiko
Commits
9fb9be9c
Commit
9fb9be9c
authored
Oct 27, 2020
by
Nikolay Igotti
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Lock longer.
parent
5569b3e8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
drawlayer.m
skiko/src/jvmMain/objectiveC/macos/drawlayer.m
+1
-2
No files found.
skiko/src/jvmMain/objectiveC/macos/drawlayer.m
View file @
9fb9be9c
...
...
@@ -160,7 +160,6 @@ extern jboolean Skiko_GetAWT(JNIEnv* env, JAWT* awt);
JNIEXPORT
void
JNICALL
Java_org_jetbrains_skiko_HardwareLayer_updateLayer
(
JNIEnv
*
env
,
jobject
canvas
)
{
lockLayers
();
if
(
layerStorage
!=
nil
)
{
...
...
@@ -182,7 +181,6 @@ JNIEXPORT void JNICALL Java_org_jetbrains_skiko_HardwareLayer_updateLayer(JNIEnv
{
layerStorage
=
[[
NSMutableSet
alloc
]
init
];
}
unlockLayers
();
JAWT
awt
;
JAWT_DrawingSurface
*
ds
=
NULL
;
...
...
@@ -237,6 +235,7 @@ JNIEXPORT void JNICALL Java_org_jetbrains_skiko_HardwareLayer_updateLayer(JNIEnv
ds
->
FreeDrawingSurfaceInfo
(
dsi
);
ds
->
Unlock
(
ds
);
awt
.
FreeDrawingSurface
(
ds
);
unlockLayers
();
}
JNIEXPORT
void
JNICALL
Java_org_jetbrains_skiko_HardwareLayer_redrawLayer
(
JNIEnv
*
env
,
jobject
canvas
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment