Graal Forums  

Go Back   Graal Forums > Development Forums > Tech Support
FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 11-17-2009, 12:07 AM
DustyPorViva DustyPorViva is offline
Will work for food. Maybe
DustyPorViva's Avatar
Join Date: Sep 2003
Location: Maryland, USA
Posts: 9,589
DustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond repute
Send a message via AIM to DustyPorViva Send a message via MSN to DustyPorViva
Panel rendering performance with Stretchctrl

I've been recently messing around with DrawingPanels and I'm a bit curious.

If I render a 800x600 canvas Panel(one the size of the player's Graal window, for example), and in a timeout clear it repeatedly and draw an image, it lags. That's understandable, it's a fairly large canvas and a lot of canvas to constantly fill.

However, if I render a 320x240 canvas and do the same thing, the lag is decreased significantly... almost none at all for my shoddy computer. That's great! It makes sense too, it's much less canvas to render and fill.

However, why if I use a guistretchctrl to stretch the 320x240 canvas over the screen, it lags just as bad as the first scenerio? At first I thought maybe it was my graphics card not being able to render transparency well, but I remember that seteffect does the same thing, and even with the whole screen being filled black(no transparency at all), it still lags.

Is this a bug, an oversight or something or just the way it's going to work?
Reply With Quote
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 10:49 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.