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 ...@@ -10,6 +10,7 @@ Contributors
Geoff Lang Geoff Lang
Olli Etuaho Olli Etuaho
Sunny Sachanandani
Contacts Contacts
...@@ -90,8 +91,9 @@ Additions to Chapter 3 of the EGL 1.5 Specification (EGL Functions and Errors) ...@@ -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_B8G8R8A8_UNORM_SRGB (support is optional),
DXGI_FORMAT_R8G8B8A8_TYPELESS (support is optional), DXGI_FORMAT_R8G8B8A8_TYPELESS (support is optional),
DXGI_FORMAT_B8G8R8A8_TYPELESS (support is optional), DXGI_FORMAT_B8G8R8A8_TYPELESS (support is optional),
DXGI_FORMAT_R16G16B16A16_FLOAT or DXGI_FORMAT_R16G16B16A16_FLOAT,
DXGI_FORMAT_R32G32B32A32_FLOAT. DXGI_FORMAT_R32G32B32A32_FLOAT or
DXGI_FORMAT_R10G10B10A2_UNORM.
-------------------------------------------------------------------------- --------------------------------------------------------------------------
Table egl.restrictions - Restrictions on D3D resources that can be used Table egl.restrictions - Restrictions on D3D resources that can be used
as a <buffer>. as a <buffer>.
...@@ -135,8 +137,10 @@ Issues ...@@ -135,8 +137,10 @@ Issues
Revision History 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 3, 2018/01/23 - added support for typeless textures.
Version 2, 2018/01/15 - clarified SRGB conversion handling. Version 2, 2018/01/15 - clarified SRGB conversion handling.
Version 1, 2016/10/05 - first draft. Version 1, 2016/10/05 - first draft.
\ No newline at end of file
...@@ -1326,6 +1326,7 @@ egl::Error Renderer11::getD3DTextureInfo(const egl::Config *configuration, ...@@ -1326,6 +1326,7 @@ egl::Error Renderer11::getD3DTextureInfo(const egl::Config *configuration,
case DXGI_FORMAT_B8G8R8A8_TYPELESS: case DXGI_FORMAT_B8G8R8A8_TYPELESS:
case DXGI_FORMAT_R16G16B16A16_FLOAT: case DXGI_FORMAT_R16G16B16A16_FLOAT:
case DXGI_FORMAT_R32G32B32A32_FLOAT: case DXGI_FORMAT_R32G32B32A32_FLOAT:
case DXGI_FORMAT_R10G10B10A2_UNORM:
break; break;
default: 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