• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * GStreamer
3  * Copyright (C) 2016 Matthew Waters <matthew@centricular.com>
4  *
5  * This library is free software; you can redistribute it and/or
6  * modify it under the terms of the GNU Library General Public
7  * License as published by the Free Software Foundation; either
8  * version 2 of the License, or (at your option) any later version.
9  *
10  * This library is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13  * Library General Public License for more details.
14  *
15  * You should have received a copy of the GNU Library General Public
16  * License along with this library; if not, write to the
17  * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
18  * Boston, MA 02110-1301, USA.
19  */
20 
21 GST_GL_EXT_BEGIN (timer_query,
22                   GST_GL_API_OPENGL3,
23                   3, 3,
24                   3, 0,
25                   "ARB:\0ANGLE\0EXT\0",
26                   "timer_query\0disjoint_timer_query\0")
27 GST_GL_EXT_FUNCTION (void, GenQueries,
28                      (GLsizei n,
29                      GLuint *ids))
30 GST_GL_EXT_FUNCTION (void, DeleteQueries,
31                      (GLsizei n,
32                       GLuint *ids))
33 GST_GL_EXT_FUNCTION (GLboolean, IsQuery,
34                      (GLuint id))
35 GST_GL_EXT_FUNCTION (void, BeginQuery,
36                      (GLenum target,
37                       GLuint id))
38 GST_GL_EXT_FUNCTION (void, EndQuery,
39                      (GLenum target))
40 GST_GL_EXT_FUNCTION (void, QueryCounter,
41                      (GLuint id,
42                      GLenum target))
43 GST_GL_EXT_FUNCTION (void, GetQueryiv,
44                      (GLenum target,
45                       GLenum pname,
46                       GLint *params))
47 GST_GL_EXT_FUNCTION (void, GetQueryObjectiv,
48                      (GLuint id,
49                       GLenum pname,
50                       GLint *params))
51 GST_GL_EXT_FUNCTION (void, GetQueryObjectuiv,
52                      (GLuint id,
53                       GLenum pname,
54                       GLuint *params))
55 GST_GL_EXT_FUNCTION (void, GetQueryObjecti64v,
56                      (GLuint id,
57                       GLenum pname,
58                       GLint64 *params))
59 GST_GL_EXT_FUNCTION (void, GetQueryObjectui64v,
60                      (GLuint id,
61                       GLenum pname,
62                       GLuint64 *params))
63 GST_GL_EXT_END ()
64