• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1Name
2
3   ANGLE_memory_usage_report
4
5Name Strings
6
7   EGL_ANGLE_memory_usage_report
8
9Contact
10
11   Le Hoang Quyen, Google (lehoangquyen 'at' google.com)
12
13Status
14
15   Draft.
16
17Version
18
19   Version 1, 2024-12-10
20
21Number
22
23   ???
24
25Dependencies
26
27   The extension is written against the EGL 1.3 Specification, although it
28   should work on other versions of these specifications.
29
30Overview
31
32   This extension provides a function that reports memory allocated for live
33   GL objects. The memory usage only accounts for buffers, textures and renderbuffers.
34
35Issues
36
37   None.
38
39IP Status
40
41   No known issues.
42
43New Procedures and Functions
44
45   None
46
47New Tokens
48   Accepted by the <attribute> parameter of eglQueryContext
49
50   EGL_CONTEXT_MEMORY_USAGE_ANGLE   0x3462
51
52Additions to the EGL 1.3 Specification
53
54   If <attribute>=EGL_CONTEXT_MEMORY_USAGE_ANGLE is passed to eglQueryContext, then the
55   <value> pointer is expected to point to an array of 2 32-bit values. Upon a successful
56   return, value[0] and value[1]  will contain the low and high 32-bit parts of a 64-bit
57   value. This 64-bit value is the estimated memory usage of all live GL objects belonging
58   to the given context's shared group.
59
60New Implementation Dependent State
61
62   None
63
64Revision History
65
66    Version 1, 2024-12-10 (Le Hoang Quyen)
67       - Initial draft
68