Jump to content
IGNORED

GEM and non-trivial window redraw?


Recommended Posts

I am porting PLATOTerm to the Atari ST, have finally come back to it after a few months of developing terminals for other systems.

 

It needs to, given an area of pixels, be able to draw lines, and individual dots. Text will be blit from a bitmap character set, as well, to any pixel position.

 

The problem I am trying to anticipate comes from window redraw. Assuming the window becomes occluded, I can't simply send the drawing commands again, because I will have possibly lost them in the protocol buffer, and since the protocol buffer is highly stateful, it becomes difficult to play back previous data to restore the window to the previously known good state.

 

On other systems, I would simply render to an off-screen bitmap, and when I received the window update, I would ask the system to blit the requisite rectangles back to the screen.

 

But on the ST, it seems that API functions for off-screen bitmaps are not available in most VDI implementations, most certainly not stock VDI.

 

So what the hell am I supposed to do?

 

-Thom

Link to comment
Share on other sites

  • 2 months later...

@pixelmischief Actually, I have...and while it does seem to be very complete, it's also very sorely lacking in documentation. I am trying to use it, but it is painful. I'm only here, because I literally wrote the entire terminal using GEM and VDI calls and it failed so badly in the performance department, that it was unusable on 8MHz machines.

 

-Thom

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...