Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Mockup & CodeGen, iPhone & iPad
($9.99)

Make your own iPhone apps
and run them live!
(free)

Manu
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 02-08-2010, 01:56 PM   #2 (permalink)
warmi
Registered Member
 
Join Date: Nov 2008
Posts: 234
Default

Quote:
Originally Posted by mlfarrell View Post

This class will dynamically switch between two texture classes, one that does pvr compression and one that does not. It will pick the right one based on your hardware capability, so your app will always support new devices without the pvrtc extension. Both texture sub classes are available from the iphone sdk examples (CrashLanding and PVRTextureLoader).
Actually, you can do better than that .... instead of maintaining two sets of images (say .pvr and .png) you could detect if the device supports the pvrtc extension and if it doesn't , decompress the pvr file and submit it as a regular image.
warmi is offline   Reply With Quote
 

» Advertisements
» Stats
Members: 158,870
Threads: 89,225
Posts: 380,694
Top Poster: BrianSlick (7,129)
Welcome to our newest member, triclopus
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 06:45 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.