implement multithreaded rendering with context switch, gl state save/restore, add progress bar ui node, implement stencil texture for brush, implement multithreaded canvas load/save/export pano. Missing multithread in windows.
This commit is contained in:
@@ -104,7 +104,7 @@
|
||||
</layout>
|
||||
<!--brush-presets-item icon-->
|
||||
<layout id="tpl-brush-preset">
|
||||
<button-custom width="100%" height="50" margin="1" pad="2" align="center" justify="center" dir="row">
|
||||
<button-custom width="100%" height="50" margin="1" pad="5" align="center" justify="center" dir="row">
|
||||
<image id="thumb" width="50" height="50"/>
|
||||
<stroke-preview id="canvas" width="1" grow="1" height="50"/>
|
||||
</button-custom>
|
||||
@@ -215,6 +215,24 @@
|
||||
</border>
|
||||
</layout>
|
||||
|
||||
<layout id="progress-bar">
|
||||
<border positioning="absolute" position="0 0" color=".4 .4 .4 .8" width="100%" height="100%" align="center" justify="center">
|
||||
<border thickness="1" border-color=".2" pad="3">
|
||||
<border width="400" height="30" color=".2 .2 .2 .9" dir="row" align="center" justify="center">
|
||||
<text id="title" text="Just a test message" font-face="arial" font-size="11"></text>
|
||||
</border>
|
||||
<border width="400" color="0 0 0 .9" pad="10" dir="col">
|
||||
<node height="40" grow="1" dir="row" align="flex-end" justify="flex-end">
|
||||
<border width="50" height="30" grow="1" margin="0 10 0 0" color=".2">
|
||||
<border id="progress" width="50%" color="1 0 0 1" height="30"/>
|
||||
</border>
|
||||
<button id="btn-cancel" text="Cancel" width="60" height="30" pad="10"/>
|
||||
</node>
|
||||
</border>
|
||||
</border>
|
||||
</border>
|
||||
</layout>
|
||||
|
||||
<!-- Dialog Rename Layer -->
|
||||
<layout id="dialog-layer-rename">
|
||||
<border positioning="absolute" position="0 0" color=".4 .4 .4 .8" width="100%" height="100%" align="center" justify="center">
|
||||
|
||||
Reference in New Issue
Block a user