Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: slow render speed on mac mini



Looks like my real problem here is that I'm trying to load too much into
VRAM.

In my first test, I loaded 27 M of texture memory, displaying effectively
3.2 million pixels on screen at once. Frame rate: 20

In my second test, I loaded only 17 M of texture memory, displaying 2.7
million pixels. Frame rate: 50

The Mac Mini has 32 M of VRAM on the ATI Radeon chip, so with the double
buffers and Mac screen display and depth buffer, I'm maxing out. Renderer
has no choice but to go to system memory, thus slowing things down.

Also, in my tests, I switched between:
	glTexParameteri(GL_TEXTURE_RECTANGLE_EXT, GL_TEXTURE_STORAGE_HINT_APPLE,
GL_STORAGE_CACHED_APPLE);
and
	glTexParameteri(GL_TEXTURE_RECTANGLE_EXT, GL_TEXTURE_STORAGE_HINT_APPLE,
GL_STORAGE_SHARED_APPLE);

SHARED seemed to do better, but not by much. Maybe 1 FPS.

-brad

-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.322 / Virus Database: 267.2.0 - Release Date: 5/27/2005

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Mac-opengl mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/mac-opengl/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.