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: Performance hit with GL_TEXTURE_RECTANGLE_EXT & S3TC textures



Thanks for following that up. There's no error raised after I use glCompressedTexImage2D with a target of GL_TEXTURE_RECTANGLE_EXT - the entire thing appears to work fine, apart from the performance hit.

But given it's not actually supported, I guess I'll stick with GL_TEXTURE_2D :)

Cheers,
Jon



On 31 May 2005, at 22:19, John Rosasco wrote:

I looked into this further and spoke to ATI.  We should be generating
an invalid enum in the framework when attempting to use compressed
textures with the rectangle target.  It's not supported in the driver
and is documented as such:

http://developer.apple.com/graphicsimaging/opengl/extensions/ ext_texture_rectangle.html:


* What is the status of the use of texture compression in conjunction with this extension?

While texture compression is not specifically precluded, certain
compression schemes are incompatible with rectangular textures thus
compressed internal textures formats, in general, are not supported
with this extension.


 - (3.8.3, pg. 129) "Compressed Texture Images"

    Add the following paragraph after the second paragraph in the
    section, which introduces the CompressedTexImage<n>DARB commands:

"The error INVALID_ENUM is generated if the target parameter to one
of the CompressedTexImage<n>DARB commands is TEXTURE_RECTANGLE_EXT."
Add the following paragraph after introducing the
CompressedTexSubImage<n>DARB commands: "The error INVALID_ENUM is
generated if the target parameter to one of the
CompressedTexSubImage<n>DARB commands is TEXTURE_RECTANGLE_EXT."



Did you check the glError() state after making the call to glCompressTexImage2D ?



_______________________________________________ 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
References: 
 >Re: Performance hit with GL_TEXTURE_RECTANGLE_EXT & S3TC textures (From: Jonathan del Strother <email@hidden>)
 >Re: Performance hit with GL_TEXTURE_RECTANGLE_EXT & S3TC textures (From: John Rosasco <email@hidden>)
 >Re: Performance hit with GL_TEXTURE_RECTANGLE_EXT & S3TC textures (From: Jonathan del Strother <email@hidden>)
 >Re: Performance hit with GL_TEXTURE_RECTANGLE_EXT & S3TC textures (From: John Rosasco <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.