• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1Name
2
3    QCOM_performance_monitor_global_mode
4
5Name Strings
6
7    GL_QCOM_perfmon_global_mode
8
9Contributors
10
11    Jari Komppa
12    James Ritts
13    Jeff Leger
14    Maurice Ribble
15
16Contact
17
18    Jari Komppa, Qualcomm (jari.komppa 'at' qualcomm.com)
19
20Status
21
22    Complete.
23
24Version
25
26    Last Modified Date: May 5, 2009
27    Revision: #03
28
29Number
30
31    OpenGL ES Extension #56
32
33Dependencies
34
35    This extension interacts with AMD_performance_monitor.
36
37Overview
38
39    This extension introduces a global tracking mode in the performance
40    monitors. When enabled, the counters increment in all operations,
41    including all "housekeeping" operations such as resolves/clears and
42    operations performed by other concurrent applications. The normal
43    operation is to track only the application's own operations.
44
45Issues
46
47    (1)  How do we filter operations from other applications?
48
49    RESOLVED: We don't. The user of this extension should be aware of the
50    consequences.
51
52    (2)  What should happen if the global mode is enabled or disabled while
53         the performance monitors are in use?
54
55    RESOLVED: The results in this case are undefined.
56
57New Tokens
58
59    Accepted by the <cap> parameter of Enable and Disable, and
60    IsEnabled, and by the <pname> parameter of GetBooleanv, GetIntegerv,
61    and GetFloatv:
62
63        PERFMON_GLOBAL_MODE_QCOM                     0x8FA0
64
65New Procedures and Functions
66
67    None.
68
69Addition to the GL specification
70
71    Add this to the Performance Monitoring section that was added by
72    AMD_performance_monitor:
73
74   "A global tracking mode can be enabled and disabled with the generic
75    Enable and Disable commands using the symbolic constant
76    PERFMON_GLOBAL_MODE_QCOM. When enabled the counters increment in all
77    operations, contexts, and other applications using the hardware."
78
79Errors
80
81    None
82
83Sample Usage
84
85    // Activate global performance monitor tracking
86    glEnable(GL_PERFMON_GLOBAL_MODE_QCOM);
87
88Revision History
89
90    #01    18/02/2009    Jari Komppa     First draft.
91    #02    19/03/2009    Maurice Ribble  Add in missing sections.
92    #03    05/05/2009    Jon Leech       Reflow paragraphs and assign
93                                         extension number.
94