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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
gpu / GLES2 / extensions / CHROMIUM / CHROMIUM_resize.txt [blame]
Name
CHROMIUM_resize
Name Strings
GL_CHROMIUM_resize
Version
Last Modified Date: July 26, 2017
Dependencies
OpenGL ES 2.0 is required.
Overview
This extension allows a client to request that the output surface be
dynamically resized.
Issues
None
New Procedures and Functions
The command
glResizeCHROMIUM(GLint width,
GLint height,
GLfloat scale_factor,
GLcolorSpace color_space,
GLboolean alpha);
changes the current output surface to be changed.
<width> and <height> specify the dimensions for the surface in pixels.
<scale_factor> specifies the device scale factor for the surface.
<color_space> specifies the color space in which the pixels of the surface
should be interpreted by the display system. Note that this value does not
impact blending. All blending will be done on the raw pixel values. It is
valid to specify nullptr for <color_space>, which will be interpreted as
the default (invalid) color space.
<alpha> indicates whether or not the surface must allocate an alpha channel
Errors
A context lost will result when this call fails, either because of an
invalid parameter value or because of a runtime error such as an out of
memory condition.
New State
None.
Revision History
7/24/2017 Initial checkin. This extension had been in use for several
years without documentation prior to this.