Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
Pre-Rendering the next page (for the iLiad)
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Adam B.  
View profile  
 More options Jan 14 2008, 4:09 pm
From: "Adam B." <ada...@gmail.com>
Date: Mon, 14 Jan 2008 13:09:57 -0800 (PST)
Local: Mon, Jan 14 2008 4:09 pm
Subject: Pre-Rendering the next page (for the iLiad)
Again, I'm working on my iLiad port of FBReader.

I'm attempting to speed up the screen refreshes.  Right now, it takes
about 2.5 seconds to turn to the next page.  While this is usable, it
feels very slow.  I'd like to speed this up to the limits of the e-ink
technology.

Right now the doPaint function has the following:

static void doPaint(GtkWidget*, GdkEventExpose *event, gpointer data)
{
// Start Rendering the next page
        ((ZLGtkViewWidget*)data)->doPaint();
// Turn on the busy LED
        erIpcStartClient(ER_BUSYD_CHANNEL, &erbusyChannel);
//Refresh the display after everything has painted
        display =
gdk_x11_display_get_xdisplay(gdk_display_get_default());
        XSync(display, 1);
        dmDisplay(dmCmdPriorUrgent, dmQFull);
//Turn off the busy LED
        busySetBusy(erbusyChannel, ccBusyState_Off);

}

However, if I enter "((ZLGtkViewWidget*)data)->doPaint();" at the very
end of this function, the refreshes will be much faster (less than a
second).  However, the page displayed on the screen is not what
FBReader believes it is.  Paging forward, this is not that big of a
deal, but paging backwards and exiting is problematic.

I wonder if it is possible to put some kind of pre-rendering logic in
the program, so the a page can be ready, but then painted as needed.

Also, I've heard that iRex is willing to send out loaner units to
developers.  If you contact them in regards to a proper port, they may
be willing to send out a loaner to a developer for free...

Thanks,

Adam


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Adam B.  
View profile  
 More options Jan 21 2008, 9:55 am
From: "Adam B." <ada...@gmail.com>
Date: Mon, 21 Jan 2008 06:55:48 -0800 (PST)
Local: Mon, Jan 21 2008 9:55 am
Subject: Re: Pre-Rendering the next page (for the iLiad)
Anyone have any ideas on this?

It seems that the "view()->paint();" line is what is taking the most
time to render on the iLiad.  Is this an internal or GTK function?  I
seem to be a bit lost in the code when it comes to this.

On Jan 14, 4:09 pm, "Adam B." <ada...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »