Gestalt Fast Features Response Masks
When you pass thekQAGestalt_FastFeaturesselector to theQAEngineGestaltfunction,QAEngineGestaltreturns (through itsresponseparameter) a value that indicates which, if any, features supported by a drawing engine are accelerated. You can use these masks to test that value for a specific feature. The bits corresponding to accelerated features are ORed together to determine the returned value.
- Note
- A feature is considered accelerated if it is performed substantially faster by the drawing engine than it would be if performed in software only.
#define kQAFast_None 0 #define kQAFast_Line (1 << 0) #define kQAFast_Gouraud (1 << 1) #define kQAFast_Texture (1 << 2) #define kQAFast_TextureHQ (1 << 3) #define kQAFast_Blend (1 << 4) #define kQAFast_Antialiasing (1 << 5) #define kQAFast_ZSorted (1 << 6) #define kQAFast_CL4 (1 << 7) #define kQAFast_CL8 (1 << 8)Constant descriptions
kQAFast_None- This value is returned if the drawing engine accelerates no features.
kQAFast_Line- This bit is set if the drawing engine accelerates line drawing.
kQAFast_Gouraud- This bit is set if the drawing engine accelerates Gouraud shading.
kQAFast_Texture- This bit is set if the drawing engine accelerates texture mapping.
kQAFast_TextureHQ- This bit is set if the drawing engine accelerates high-quality texture mapping.
kQAFast_Blend- This bit is set if the drawing engine accelerates transparency blending.
kQAFast_Antialiasing- This bit is set if the drawing engine accelerates antialiasing.
kQAFast_ZSorted- This bit is set if the drawing engine accelerates z sorted rendering.
kQAFast_CL4- This bit is set if the drawing engine accelerates
kQAPixel_CL4pixel type rendering.kQAFast_CL8- This bit is set if the drawing engine accelerates
kQAPixel_CL8pixel type rendering.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help