Index: [thread] [date] [subject] [author]
  From: teunis <teunis@computersupportcentre.com>
  To  : ggi-develop@eskimo.com
  Date: Sat, 29 Aug 1998 00:00:20 -0700 (MST)

Re: libggi doc changes

On Thu, 27 Aug 1998, Marcus Sundberg wrote:

> Andrew Apted wrote:
> > I guess just exporting a `stride' field (like what is already in the
> > pixellinearbuffer) would be OK, but IMHO that's where it's gotta end
> > otherwise we may as well go back to using the nasty old DirectBuffer.
> 
> Well that's what I meant. But as Get/Put buffers don't have a
> fixed width they don't have a fixed stride either. Therefore
> we call it "modulo" or something like that. It's meaning will be
> that the horizontal buffer size must always be an integer multiple
> of it.

This solves a prob with OpenGL targets too... as well as (afaik) some
video hardware [prolly thanks to OpenGL] which requires a power-of-two
size to such a call....

Just FWIW mind you..

G'day, eh? :)
	- Teunis

PS: Me I'd maintain an offline line-buffer in GGI-space to manage this....
It doesn't strike me as any big deal...

Index: [thread] [date] [subject] [author]