Commit b8a8ffd3 by Sunny Sachanandani Committed by Commit Bot

Add support for RGB10A2 in eglCreatePbufferFromClientBuffer

Bug: chromium:937108 Change-Id: I689562ebff9f9f85ecb8af918bbb788b16b0f91b Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1565420 Commit-Queue: Geoff Lang <geofflang@chromium.org> Reviewed-by: 's avatarGeoff Lang <geofflang@chromium.org>
parent e0da9cef
......@@ -10,6 +10,7 @@ Contributors
Geoff Lang
Olli Etuaho
Sunny Sachanandani
Contacts
......@@ -90,8 +91,9 @@ Additions to Chapter 3 of the EGL 1.5 Specification (EGL Functions and Errors)
DXGI_FORMAT_B8G8R8A8_UNORM_SRGB (support is optional),
DXGI_FORMAT_R8G8B8A8_TYPELESS (support is optional),
DXGI_FORMAT_B8G8R8A8_TYPELESS (support is optional),
DXGI_FORMAT_R16G16B16A16_FLOAT or
DXGI_FORMAT_R32G32B32A32_FLOAT.
DXGI_FORMAT_R16G16B16A16_FLOAT,
DXGI_FORMAT_R32G32B32A32_FLOAT or
DXGI_FORMAT_R10G10B10A2_UNORM.
--------------------------------------------------------------------------
Table egl.restrictions - Restrictions on D3D resources that can be used
as a <buffer>.
......@@ -135,8 +137,10 @@ Issues
Revision History
Version 4, 2019/04/15 - added support for DXGI_FORMAT_R10G10B10A2_UNORM.
Version 3, 2018/01/23 - added support for typeless textures.
Version 2, 2018/01/15 - clarified SRGB conversion handling.
Version 1, 2016/10/05 - first draft.
\ No newline at end of file
Version 1, 2016/10/05 - first draft.
......@@ -1326,6 +1326,7 @@ egl::Error Renderer11::getD3DTextureInfo(const egl::Config *configuration,
case DXGI_FORMAT_B8G8R8A8_TYPELESS:
case DXGI_FORMAT_R16G16B16A16_FLOAT:
case DXGI_FORMAT_R32G32B32A32_FLOAT:
case DXGI_FORMAT_R10G10B10A2_UNORM:
break;
default:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment