File: _glGetPerfCounterInfoINTEL.m

package info (click to toggle)
psychtoolbox-3 3.0.19.14.dfsg1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 86,796 kB
  • sloc: ansic: 176,245; cpp: 20,103; objc: 5,393; sh: 2,753; python: 1,397; php: 384; makefile: 193; java: 113
file content (27 lines) | stat: -rw-r--r-- 1,400 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
function [ counterName, counterDesc, counterOffset, counterDataSize, counterTypeEnum, counterDataTypeEnum, rawCounterMaxValue ] = glGetPerfCounterInfoINTEL( queryId, counterId, counterNameLength, counterDescLength )

% glGetPerfCounterInfoINTEL  Interface to OpenGL function glGetPerfCounterInfoINTEL
%
% usage:  [ counterName, counterDesc, counterOffset, counterDataSize, counterTypeEnum, counterDataTypeEnum, rawCounterMaxValue ] = glGetPerfCounterInfoINTEL( queryId, counterId, counterNameLength, counterDescLength )
%
% C function:  void glGetPerfCounterInfoINTEL(GLuint queryId, GLuint counterId, GLuint counterNameLength, GLchar* counterName, GLuint counterDescLength, GLchar* counterDesc, GLuint* counterOffset, GLuint* counterDataSize, GLuint* counterTypeEnum, GLuint* counterDataTypeEnum, GLuint64* rawCounterMaxValue)

% 30-Sep-2014 -- created (generated automatically from header files)

% ---allocate---

if nargin~=4,
    error('invalid number of arguments');
end

counterName = uint8(0);
counterDesc = uint8(0);
counterOffset = uint32(0);
counterDataSize = uint32(0);
counterTypeEnum = uint32(0);
counterDataTypeEnum = uint32(0);
rawCounterMaxValue = uint64(0);

moglcore( 'glGetPerfCounterInfoINTEL', queryId, counterId, counterNameLength, counterName, counterDescLength, counterDesc, counterOffset, counterDataSize, counterTypeEnum, counterDataTypeEnum, rawCounterMaxValue );

return