1 // SwiftShader Software Renderer
\r
3 // Copyright(c) 2005-2012 TransGaming Inc.
\r
5 // All rights reserved. No part of this software may be copied, distributed, transmitted,
\r
6 // transcribed, stored in a retrieval system, translated into any human or computer
\r
7 // language by any means, or disclosed to third parties without the explicit written
\r
8 // agreement of TransGaming Inc. Without such an agreement, no rights or licenses, express
\r
9 // or implied, including but not limited to any patent rights, are granted to you.
\r
12 // Fence.h: Defines the Fence class, which supports the GL_NV_fence extension.
\r
14 #ifndef LIBGLESV2_FENCE_H_
\r
15 #define LIBGLESV2_FENCE_H_
\r
18 #include <GLES2/gl2.h>
\r
29 GLboolean isFence();
\r
30 void setFence(GLenum condition);
\r
31 GLboolean testFence();
\r
33 void getFenceiv(GLenum pname, GLint *params);
\r
43 #endif // LIBGLESV2_FENCE_H_
\r