OpenGLFastTexDemo
OpenGLFastTexDemo
- Subject: OpenGLFastTexDemo
- From: "Erik M. Buck" <email@hidden>
- Date: Mon, 25 Mar 2002 12:38:17 -0600
First, let me thank Apple for this example that shows how to achieve
reasonable memory->texture memory performance. With Apple's extensions
shown in the example, texture transfers are now up to half as fast as they
are on Wintel PCs. That is a big improvement.
Second, let me thank the authors of the example for using Cocoa. It is nice
to see more Open GL examples use Cocoa, and at least in theory it means I
don't have to look at IMHO ugly Carbon code.
I really am grateful, so please take the following criticisms as
constructive:
Although the example does use Cocoa, it uses it very badly.
Cocoa naming conventions are not observed in many cases.
Methods are overloaded only to call the superclass implementation.
The NSApplication class is subclassed for no purpose.
Methods are called redundantly or needlessly.
Timers are slightly mishandled.
The code uses a mix of Carbon and Cocoa even in situation where pure Cocoa
alternatives exist.
The code is inadequately commented.
The code does not correctly use NSBundle for finding resources.
...
In spite of my criticisms, thank you. I just hope that developers using the
example will not emulate its use of Cocoa.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.