filename | src/pvr2/glutil.c |
changeset | 667:0e1ac8da75d9 |
prev | 653:3202ff01d48e |
next | 687:6bdc2b7032ea |
author | nkeynes |
date | Mon May 12 10:00:13 2008 +0000 (15 years ago) |
permissions | -rw-r--r-- |
last change | Cleanup most of the -Wall warnings (getting a bit sloppy...) Convert FP code to use fixed banks rather than indirect pointer (3-4% faster this way now) |
file | annotate | diff | log | raw |
1.1 --- a/src/pvr2/glutil.c Fri Mar 28 12:32:25 2008 +00001.2 +++ b/src/pvr2/glutil.c Mon May 12 10:00:13 2008 +00001.3 @@ -18,6 +18,26 @@1.4 #include <string.h>1.5 #include "pvr2/glutil.h"1.7 +gboolean isGLSecondaryColorSupported()1.8 +{1.9 + return isGLExtensionSupported("GL_EXT_secondary_color");1.10 +}1.11 +1.12 +gboolean isGLVertexBufferSupported()1.13 +{1.14 + return isGLExtensionSupported("GL_ARB_vertex_buffer_object");1.15 +}1.16 +1.17 +gboolean isGLPixelBufferSupported()1.18 +{1.19 + return isGLExtensionSupported("GL_ARB_pixel_buffer_object");1.20 +}1.21 +1.22 +gboolean isGLMirroredTextureSupported()1.23 +{1.24 + return isGLExtensionSupported("GL_ARB_texture_mirrored_repeat");1.25 +}1.26 +1.27 /**1.28 * Test if a specific extension is supported. From opengl.org1.29 * @param extension extension name to check for
.