Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint

Texture Uploads

Copying textures to the GPU can be very expensive, because they must reformatted by the chip before they can be used. This can cause stuttering in the display for larger textures. Therefore, make sure to load them at the very start with glTexImage2D. Some GPU manufacturers, such as Imagination Technologies, maker of the chips used in Apple's products, have their own proprietary image formats fine-tuned for their own hardware. Of course, in the increasingly fragmented Android marketplace, you will have to sniff out what chips your users have at runtime and handle any special needs at that time.


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial