NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 89 90 91 92 93 Next »
needsRendering() not called?

 
  • 0 Vote(s) - 0 Average
needsRendering() not called?
brturn
Offline

Junior Member

Posts: 24
Threads: 4
Joined: Apr 2004
#1
2004-05-07, 10:12 PM
Sub,

I'm trying to get some basic animation working with the Jukebox.  Currently I've found these problems:

- needsRendering() is never called.. ?
- Render() with requiresMoreRendering = true is called too often.  Below is my current escape clause, but even this is too much processing; the system grinds to a halt with the CPU pegged.

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">
public Image render(out bool requiresMoreRendering)
{
   requiresMoreRendering = false;
   if ( nextRefresh.Ticks > DateTime.Now.Ticks )
   {
      return null;
   }
   ...
}
[/QUOTE]

Thanks,
--Bryan
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,807
Threads: 769
Joined: Nov 2003
#2
2004-05-07, 10:57 PM
needsRendering() was initially implemented for my internal plugins, and in the current release you're running its not called for external plugins. In the next release it is available for external plugins to use.
« 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,681 2012-06-18, 10:24 AM
Last Post: sub
  IScreenPlugin.Activate() being called twice ACTCMS 0 1,386 2011-06-03, 03:16 PM
Last Post: ACTCMS
  needsRendering() and GetRenderList() JavaWiz 3 1,936 2008-05-22, 03:25 AM
Last Post: sub
  onKeyDown called on main plugin from Popup whurlston 1 1,424 2008-04-01, 07:59 AM
Last Post: whurlston
  needsRendering() before Activate. pastro 2 1,605 2007-10-21, 07:19 PM
Last Post: pastro
  Activate seems to be called twice Jeff 4 1,823 2007-10-05, 08:10 PM
Last Post: stustunz
  render only called for mouse and keyboard event rshaw 24 6,890 2006-09-20, 10:45 AM
Last Post: 23skidoo
  deactive() not getting called when leaving plugin via "Videos" "Guide" etc hotkeys reven 2 1,848 2006-08-06, 12:36 AM
Last Post: reven
  IVideoPlugin.Deactivate() not called when video stops Snarky 5 2,497 2006-03-21, 06:48 PM
Last Post: McBainUK
  Turn off MVP - Deactivate() not called bgowland 4 2,095 2006-01-15, 05:20 PM
Last Post: bgowland

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

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

Linear Mode
Threaded Mode