Hello,
I test hollywood 7.1 is it very slower to compare at hollywood 7.0 do you have a solution?
Hollywood 7.1 very slow to compare at hollywood 7.0
- airsoftsoftwair
- Posts: 5446
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: Hollywood 7.1 very slow to compare at hollywood 7.0
It shouldn't be slower. Do you have a test script?
Re: Hollywood 7.1 very slow to compare at hollywood 7.0
Ok i solved the problem > Function BOX() is slow now with Hollywood7.1 (if box() is too big > no problem with hollywood7.0)
.hws
.xml
.hws
Code: Select all
/* Created with BuildOther v1.0 */
/* By Sinisrus © 2014 */
@VERSION 5,2
@REQUIRE "MUIRoyale"
@DISPLAY 1, {Hidden=True,COLOR=$5D5D5D,WIDTH=640,HEIGHT=480} ; Rendu du projet
BeginDoubleBuffer(True)
BrushEmpty=CreateBrush(NIL,640,480,#BLACK, {AlphaChannel = True, Clear=True})
Function p_DrawThumbs()
StartX=EndX
StartY=EndY
EndX=MouseX()
EndY=MouseY()
SelectBrush(BrushEmpty,#SELMODE_COMBO,2)
Line(StartX,StartY,EndX,EndY,#WHITE)
EndSelect
CLS($505050)
DisplayBrush(BrushEmpty,#CENTER,#CENTER)
SetFillStyle(#FILLNONE)
BOX(0,0,7680,7680,#BLACK) ;<=BOX(() ralenti le script
Flip()
EndFunction
Function p_EventFunc(msg)
Switch msg.action
Case "MUIRoyale":
Switch msg.attribute
Case "CloseRequest":
END
EndSwitch
Case "HideWindow":
mui.Set("app", "iconified", True)
Case "ShowWindow":
mui.Set("app", "iconified", False)
EndSwitch
EndFunction
Function p_MoveXY(msg)
p_DrawThumbs()
EndFunction
IntervalDessin=SetInterval(NIL, p_MoveXY, 1000/100) ; 20fps
; dynamically create MUI GUI from an external *.xml file definition
mui.CreateGUI(FileToString("Test.xml"))
; listen to these events!
InstallEventHandler({MUIRoyale = p_EventFunc, HideWindow = p_EventFunc, ShowWindow = p_EventFunc})
EscapeQuit(True)
/* Boucle infinie */
Repeat
WaitEvent
Forever
Code: Select all
<?xml version="1.0" encoding="iso-8859-1"?>
<application id="app" base="NOUVEAU">
<window id="win1" width="640" height="480" title="Nouveau" notify="closerequest" sizegadget="True">
<vgroup spacing="0" innertop="0" innerleft="0" innerright="0" innerbottom="0">
<vgroup spacing="0" innertop="1" innerleft="1" innerright="1" innerbottom="1">
<hgroup spacing="0">
<hollywood id="id_display" display="1" minwidth="32" minheight="32" maxwidth="16384" maxheight="16384" innertop="0" innerleft="0" innerright="0" innerbottom="0"/>
</hgroup>
</vgroup>
</vgroup>
</window>
</application>
- airsoftsoftwair
- Posts: 5446
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: Hollywood 7.1 very slow to compare at hollywood 7.0
Might be related to this because it's also about Box().