Hash :
c898ec1a
Author :
Date :
2019-11-04T15:20:18
Add EGL GGP extensions.
This CL adds two new extensions:
* EGL_ANGLE_ggp_stream_descriptor:
Introduces a new attribute to CreateWindowSurface. Allows the app
to pass in a stream descriptor to VkCreateSurfaceKHR.
Mirrors VK_GGP_stream_descriptor_surface.
* EGL_ANGLE_swap_with_frame_token:
Introduces a new function 'eglSwapBuffersWithFrameTokenANGLE'. This
allows the app to pass a GGP frame token down to vkQueuePresentKHR.
Mirrors VK_GGP_frame_token.
Bug: angleproject:4078
Change-Id: I4313ac4c264e68999905049f661bc64b44f72fab
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1897315
Commit-Queue: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Cody Northrop <cnorthrop@google.com>
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 61 62 63 64 65 66 67 68 69 70 71 72 73
Name
ANGLE_ggp_stream_descriptor
Name Strings
EGL_ANGLE_ggp_stream_descriptor
Contributors
Jamie Madill
Contacts
Jamie Madill, Google Inc. (jmadill 'at' google.com)
Status
Draft
Version
Version 1, November 3, 2019
Number
EGL Extension #??
Dependencies
This extension is written against the wording of the EGL 1.5
Specification.
Overview
This extension allows initializing an EGL Window surface backed by a
VkSurfaceKHR with a Google Games Platform GgpStreamDescriptor.
It is based on the Vulkan extension VK_GGP_stream_descriptor_surface.
New Types
None
New Procedures and Functions
None
New Tokens
Accepted as an attribute name in the <attrib_list> argument to
eglCreateSurfaceKHR:
EGL_GGP_STREAM_DESCRIPTOR_ANGLE 0x348B
Additions to the EGL 1.5 Specification
Add the following to section 3.5.1 "Creating On-Screen Rendering Surfaces":
EGL_GGP_STREAM_DESCRIPTOR_ANGLE indicates a GgpStreamDescriptor referring
to the GGP stream descriptor to associate with the surface. If
EGL_GGP_STREAM_DESCRIPTOR_ANGLE is not specified a default stream
descriptor will be used.
Issues
None yet.
Revision History
Rev. Date Author Changes
---- ------------- --------- ----------------------------------------
1 Nov 3, 2019 jmadill Initial version