NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 31 32 33 34 35 … 93 Next »
needsRendering() and GetRenderList()

 
  • 0 Vote(s) - 0 Average
needsRendering() and GetRenderList()
JavaWiz
Offline

Posting Freak

Jacksonville, FL. USA
Posts: 2,522
Threads: 141
Joined: Dec 2006
#1
2008-05-21, 11:53 PM
It seems that the core code calls GetRenderList() regardless of the result of neesRendering() as seen in below log snippet. Is this the expected behavior, or am I doing something wrong?

Code:
2008-05-21 [B][COLOR=red]16:43:24.046[/COLOR][/B] INFO [1] SearchWizX2: [B][COLOR=red]needsRendering()-[/COLOR][/B] False
2008-05-21 [B][COLOR=red]16:43:24.046[/COLOR][/B] VERBOSE [1] SearchWizX2: [B][COLOR=red]GetRenderList()-[/COLOR][/B] BEGIN
2008-05-21 16:43:24.046 VERBOSE [1] SearchWizX2: GetRenderList()- elapsed: 00m:00s:00ms SystemDateTime
2008-05-21 16:43:24.046 VERBOSE [1] WizUiList: GetRenderList()- placementName = FilterName  currentIndex = 7  detailsViewVisibleIndex = 7
2008-05-21 16:43:24.046 VERBOSE [1] WizUiList: GetRenderList()- LIST: Using cached image- FilterNameListSelectedInactive[7]
2008-05-21 16:43:24.046 VERBOSE [1] SearchWizX2: GetRenderList()- elapsed: 00m:00s:00ms FilterName
2008-05-21 16:43:24.046 VERBOSE [1] SearchWizX2: GetRenderList()- elapsed: 00m:00s:00ms SearchText
2008-05-21 16:43:24.046 VERBOSE [1] SearchWizX2: GetRenderList()- elapsed: 00m:00s:00ms MenuButtons
2008-05-21 16:43:24.046 VERBOSE [1] SearchWizX2: GetRenderList()- elapsed: 00m:00s:00ms ProgramsCounter
2008-05-21 16:43:24.093 VERBOSE [1] SearchWizX2: GetRenderList()- elapsed: 00m:00s:46ms Programs
2008-05-21 16:43:24.093 VERBOSE [1] SearchWizX2: GetRenderList()- elapsed: 00m:00s:00ms ProgramTimesCounter
2008-05-21 16:43:24.156 VERBOSE [1] SearchWizX2: GetRenderList()- elapsed: 00m:00s:62ms ProgramTimes
2008-05-21 16:43:24.156 VERBOSE [1] SearchWizX2: GetRenderList()- elapsed: 00m:00s:00ms ProgramInformation
2008-05-21 16:43:24.156 VERBOSE [1] SearchWizX2: GetRenderList()- elapsed: 00m:00s:00ms SMSEyeCatcher
2008-05-21 16:43:24.156 VERBOSE [1] SearchWizX2: GetRenderList()- total elapsed: 00m:00s:109ms
2008-05-21 [B][COLOR=red]16:43:24.203[/COLOR][/B] INFO [1] SearchWizX2: [B][COLOR=red]needsRendering()-[/COLOR][/B] False
2008-05-21 [B][COLOR=red]16:43:24.203[/COLOR][/B] VERBOSE [1] SearchWizX2: [B][COLOR=red]GetRenderList()-[/COLOR][/B] BEGIN
2008-05-21 16:43:24.203 VERBOSE [1] SearchWizX2: GetRenderList()- elapsed: 00m:00s:00ms SystemDateTime
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,708
Threads: 767
Joined: Nov 2003
#2
2008-05-22, 12:29 AM
...but does it do call GetRenderList() every time it calls needsRendering()? ie, if SearchWiz is active, is it called over and over, continuously, a dozen or more times a second?

There are some situations where it can ignore the needsRendering() result if it knows it needs to update the screen, like the screen transitions etc, or forced screen repaints - these should be fairly short lived though.
JavaWiz
Offline

Posting Freak

Jacksonville, FL. USA
Posts: 2,522
Threads: 141
Joined: Dec 2006
#3
2008-05-22, 03:01 AM
sub Wrote:...but does it do call GetRenderList() every time it calls needsRendering()? ie, if SearchWiz is active, is it called over and over, continuously, a dozen or more times a second?
No, there are time that needsRendering() returns false, and GetRenderList() is not called.
Quote:There are some situations where it can ignore the needsRendering() result if it knows it needs to update the screen, like the screen transitions etc, or forced screen repaints - these should be fairly short lived though.
Ok, this must be what's going on. In approx. 1 minute:
  • needsRendering() called 719 times
  • needsRendering() returned True 54 times
  • needsRendering() returned False 665 times
  • GetRenderList() was called 71 times.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,708
Threads: 767
Joined: Nov 2003
#4
2008-05-22, 03:25 AM
Yeah that sounds ok to me. I'm sure its just these forced renders I mentioned above.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  GetRenderList() always called with "block-extras..." element in renderlist alibert 1 1,637 2012-06-18, 10:24 AM
Last Post: sub
  GetRenderList() herrmannj 5 2,374 2008-10-14, 08:05 PM
Last Post: herrmannj
  Creating a jpg from GetRenderList ACTCMS 8 3,119 2008-09-14, 01:21 AM
Last Post: ACTCMS
  Retrieving Images from GetRenderList psycik 11 3,724 2008-08-10, 08:33 PM
Last Post: mvallevand
  needsRendering() before Activate. pastro 2 1,532 2007-10-21, 07:19 PM
Last Post: pastro
  needsRendering() not called? brturn 1 1,962 2004-05-07, 10:57 PM
Last Post: sub

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode