diff options
author | Alejandro Piñeiro <[email protected]> | 2017-01-13 16:23:05 -0200 |
---|---|---|
committer | Alejandro Piñeiro <[email protected]> | 2017-02-06 08:50:21 +0100 |
commit | 0fb0c57b15aa6b5f48ab3f8596241248e02d55e5 (patch) | |
tree | ed156f5488ef3da319c548eb3a5b99c681a01045 /src/gallium/winsys/freedreno/drm | |
parent | 0cd2a4737eb189fb37ff53c7583c8e4aa2d5a630 (diff) |
main/fbobject: implement new 4.5 pnames for GetFramebufferParameter
4.5 added new pnames allowed for GetFramebufferParameter, and
GetNamedFramebufferParameter.
From OpenGL 4.5 spec, section 9.2.3 "Framebuffer Object Queries" (quoting
the paragraph with only the new pnames, not all the supported):
"pname may also be one of DOUBLEBUFFER,
IMPLEMENTATION_COLOR_READ_FORMAT, IMPLEMENTATION_COLOR_READ_TYPE,
SAMPLES, SAMPLE_BUFFERS, or STEREO, indicating the corresponding
framebuffer-dependent state from table 23.73. Values of
framebuffer-dependent state are identical to those that would be
obtained were the framebuffer object bound and queried using the
simple state queries in that table. These values may be queried
from either a framebuffer object or a default framebuffer."
Fixes:
GL45-CTS.direct_state_access.framebuffers_get_parameters
Reviewed-by: Anuj Phogat <[email protected]>
Diffstat (limited to 'src/gallium/winsys/freedreno/drm')
0 files changed, 0 insertions, 0 deletions