|
|
Synchronizing Drawing with Raster Scans on CRT
|
|
|
|
Professional Poster
Join Date: Apr 2001
Location: Asheville, NC
Status:
Offline
|
|
Okay, this may seem like a dumb question.
Do I have to do anything special when putting an image on the screen to make sure that the image is not split in half during the first refresh? Does OS X automatically synchronize the frame buffer with the refresh on the display?
I know that Halo has a special option where you can force it to synchronize with your monitor to reduce "tearing," so I'm curious what I would have to do to implement this behavior on my own... if I have to at all.
BTW... I officially have a programming job, so you guys will probably see a little more of me in here.
|
ACSA 10.4/10.3, ACTC 10.3, ACHDS 10.3
|
|
|
|
|
|
|
|
Clinically Insane
Join Date: Oct 2001
Location: San Diego, CA, USA
Status:
Offline
|
|
I've never really looked into it, but Quartz Debug includes a beam synch palette. I assume there are some CoreGraphics calls (probably hidden, since I've never seen them) to do it.
Anyway, Apple also provides a more manual way of syncing with the beam in CGDirectDisplay.h.
|
Chuck
___
"Instead of either 'multi-talented' or 'multitalented' use 'bisexual'."
|
|
|
|
|
|
|
|
Professional Poster
Join Date: Apr 2001
Location: Asheville, NC
Status:
Offline
|
|
BTW, I'm a Cocoa guy having to convert to Carbon. I went to four bookstores today (Borders and B&N) and couldn't find a single book on Carbon (there were quite a few on Cocoa, though). Are developers actually converting from Carbon to Cocoa? Any idea on this? Is it just because I went to stores in a ritzy area?
|
ACSA 10.4/10.3, ACTC 10.3, ACHDS 10.3
|
|
|
|
|
|
|
|
Professional Poster
Join Date: Apr 2001
Location: Asheville, NC
Status:
Offline
|
|
|
ACSA 10.4/10.3, ACTC 10.3, ACHDS 10.3
|
|
|
|
|
|
|
|
Junior Member
Join Date: Mar 2003
Location: Walnut Creek, CA
Status:
Offline
|
|
Originally Posted by Detrius
Are developers actually converting from Carbon to Cocoa?
Yep. Though for the most part Cocoa developers are new to the platform rather than ex-Carbon coders. Probably because if you "get" Cocoa, trying to understand Carbon is very difficult, heck even more than basic CoreFoundation stuff is hard. And for those who "get" Carbon, Cocoa is like Klingon Shakespeare: beautiful to some, but absolutely foreign.
|
I bring order to chaos. You are in chaos windows, you are the contradiction, a bug wishing to be an OS.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Forum Rules
|
|
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
|
|
|
|
|
|