Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 4 of 4

Thread: Failed usage of GL_COMPRESSED_RGB

Threaded View

  1. #1
    Junior Member Regular Contributor Kopelrativ's Avatar
    Join Date
    Apr 2011
    Posts
    212

    Failed usage of GL_COMPRESSED_RGB

    I did a simple test, and replaced GL_RGB with GL_COMPRESSED_RGB, and GL_RGBA8 with GL_COMPRESSED_RGBA (OpenGL 4.2).

    The result was that GPU memory consumption increased! I know the result will not be the same on all targets, but I didn't expect that. Using GL_RGB5, however, improved GPU memory use as well as rendering speed.

    Are there any guidelines (except doing a test on each target and choose from that)?

    Edit: mental arithmetic is an unreliable method. I was wrong, and it was an improvement in both cases. Any views on guidelines are still welcome, though.
    Last edited by Kopelrativ; 07-11-2012 at 01:35 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •