Legacy Documentclose button

Important: This document is part of the Legacy section of the ADC Reference Library. This information should not be used for new development.

Current information on this Reference Library topic can be found here:

Version: 1.0

Posted: 2003-10-10

Build Requirements: N/A

Runtime Requirements: Carbon (both 9 and X) MacOS 9 or later, CarbonLib

View Source Code:

Download Sample (“New_NewGWorld.zip”, 56.8K)
Download Sample (“New_NewGWorld.dmg”, 116.7K)



Description

This sample has been updated for the Carbon API. This sample is designed to show the proper use of the the new flags (Mac OS 9+ and the iBooks, slot loading iMacs and AGP Graphics G4 PowerMacs) in the NewGWorld routine. The application draws a re-sizable window that is updated from an offscreen GWorld. The user has control over where to allocate the GWorld's PixMap data (in VRAM, in AGP memory or in system memory). A blitting test can then be performed to test blitting speed using CopyBits. Requirements: MacOS 9 or later, CarbonLib Keywords: AGP, VRAM, NewGWorld, useDistantHdwrMem, useLocalHdwrMem, Carbon

Document Revision History

Date Notes
2003-10-10First Version

Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.