Re: [Alephmodular-devel] Drawsprockets?
Status: Pre-Alpha
Brought to you by:
brefin
From: Br'fin <br...@ma...> - 2003-03-11 14:15:11
|
My own understanding is that yes, GameSprockets on a whole are out. Full GameSprocket support is only available under classic mode. DrawSprockets itself is hamstrung, but still seems to be the primary API for direct framebuffer support. It's provided as a OSX Framework on its own. Hsm, looks like some of the functionality is handled by CGDirectDisplay. And that API may need to be leveraged if we ever want to fix the handling of multiple monitors. Let's see... ... finding a display for specified screen size ... determining which screen you're working with ... setting a screen palette Hsm, isn't that interest, basic usage tends to be to work in your own offscreen world, then use copybits to a port obtained from the screen's address. So very classic Mac-like I guess. :) -Jeremy Parsons On Tuesday, March 11, 2003, at 08:08 AM, Timothy Collett wrote: >> Is there yet a more appropriate API than DrawSprockets for going >> right to the display hardware of MacOS X? Right now CDisplay is very >> centered towards the way AlephModular currently uses a single back >> buffer that is always getting copied forward (A window back buffer >> and appropriate flush to display calls) I'm sure this will turn up >> cases of flicker (Places where info needs to be updated on both >> buffers not getting updated properly) Hooking it up with >> DisplaySprokects should help flush out those areas in need of >> improvement. But I really don't know if DrawSprockets is the Apple >> recommended way of going about this anymore. >> > > > From what I understand (though I'm not sure how accurate it is), while > the GameSprockets are still supported under OS X for backwards > compatibility, they are no longer Apple's recommended method of doing > things. I get the impression that they intend OpenGL and Quartz to be > the replacements, but I really don't know what all each of those > technologies do, so I can't say how sensible that impression is. > > But I'm pretty sure that the Sprockets are not what you're "supposed" > to use anymore. > |