2 // Copyright (c) 2002-2010 The ANGLE Project Authors. All rights reserved.
3 // Use of this source code is governed by a BSD-style license that can be
4 // found in the LICENSE file.
7 // Fence.h: Defines the gl::Fence class, which supports the GL_NV_fence extension.
9 #ifndef LIBGLESV2_FENCE_H_
10 #define LIBGLESV2_FENCE_H_
13 #include <GLES2/gl2.h>
16 #include "common/angleutils.h"
28 void setFence(GLenum condition);
29 GLboolean testFence();
31 void getFenceiv(GLenum pname, GLint *params);
34 DISALLOW_COPY_AND_ASSIGN(Fence);
36 IDirect3DQuery9* mQuery;
43 #endif // LIBGLESV2_FENCE_H_