зеркало из https://github.com/AvaloniaUI/angle.git
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: Geoff Lang <geofflang@chromium.org>
This commit is contained in:
Родитель
e0da9cefcd
Коммит
b8a8ffd3fc
|
@ -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.
|
||||
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:
|
||||
|
|
Загрузка…
Ссылка в новой задаче