yangqiaosheng / angleproject

Automatically exported from code.google.com/p/angleproject
Other
0 stars 0 forks source link

EGL_ANGLE_device_d3d is needed for applications that want to access the D3D device #935

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
EGL_ANGLE_device_d3d is needed for applications that want to access the D3D 
device directly associated with the configured EGL display.

Original issue reported on code.google.com by co...@microsoft.com on 4 Mar 2015 at 8:28

GoogleCodeExporter commented 9 years ago
Project: angle/angle
Branch : master
Author : Jamie Madill <jmadill@chromium.org>
Commit : 33d12cb9299324e260bd367b065953314d7c4847

Code-Review  0 : Cooper Partin, Geoff Lang, Shannon Woods
Code-Review  +2: Jamie Madill
Verified     0 : Cooper Partin, Geoff Lang, Shannon Woods
Verified     +1: Jamie Madill
Commit Queue   : Chumped
Change-Id      : I8079661f00d11717ed0e792c9fe8dc5c26f67dcc
Reviewed-at    : https://chromium-review.googlesource.com/252110

Add drafts for device query extensions.

These extensions give power apps the ability to query raw device
pointers from the EGL layer. EGL_EXT_device_query is based on
EGL_EXT_device_base, which is being split into device_query and
device_enumerate. We remove the device enumeration logic, and only
allow the app to query the current device from a display, which
matches how ANGLE works internally.

EGL_ANGLE_device_d3d gives the app the ability to query D3D
devices associated with a display.

BUG=angleproject:935

extensions/EGL_ANGLE_device_d3d.txt
extensions/EGL_EXT_device_query.txt

Original comment by bugdroid1@chromium.org on 1 Apr 2015 at 7:19

GoogleCodeExporter commented 9 years ago
Project  : angle/angle
Branch   : master
Author   : Cooper Partin <coopp@microsoft.com>
Committer: Geoff Lang <geofflang@chromium.org>
Commit   : 6dacaff4e03d4f6b4c444a3fff018c1297cd25ba

Code-Review  0 : Cooper Partin, Jamie Madill, Shannon Woods
Code-Review  +2: Geoff Lang
Verified     0 : Geoff Lang, Jamie Madill, Shannon Woods
Verified     +1: Cooper Partin
Commit Queue   : Chumped
Change-Id      : Id1560b0887fa5882b9858af7bad9043ada67038d
Reviewed-at    : https://chromium-review.googlesource.com/251610

Add extension EGL_ANGLE_device_d3d

Access to the D3D device is needed for some advanced scenarios.
New entry points eglQueryDisplayAttribANGLE and
eglQueryDeviceAttribANGLE have been added in this change
to implement this extension.

BUG=angleproject:935

include/EGL/eglext.h
src/libANGLE/Caps.cpp
src/libANGLE/Caps.h
src/libANGLE/Device.cpp
src/libANGLE/Device.h
src/libANGLE/Display.cpp
src/libANGLE/Display.h
src/libANGLE/renderer/DeviceImpl.cpp
src/libANGLE/renderer/DeviceImpl.h
src/libANGLE/renderer/DisplayImpl.h
src/libANGLE/renderer/d3d/DeviceD3D.cpp
src/libANGLE/renderer/d3d/DeviceD3D.h
src/libANGLE/renderer/d3d/DisplayD3D.cpp
src/libANGLE/renderer/d3d/DisplayD3D.h
src/libANGLE/renderer/d3d/RendererD3D.h
src/libANGLE/renderer/d3d/d3d11/Renderer11.cpp
src/libANGLE/renderer/d3d/d3d11/Renderer11.h
src/libANGLE/renderer/d3d/d3d9/Renderer9.cpp
src/libANGLE/renderer/d3d/d3d9/Renderer9.h
src/libANGLE/renderer/gl/wgl/DisplayWGL.cpp
src/libANGLE/renderer/gl/wgl/DisplayWGL.h
src/libEGL/libEGL.cpp
src/libEGL/libEGL.def
src/libGLESv2.gypi
src/libGLESv2/entry_points_egl.cpp
src/libGLESv2/entry_points_egl_ext.cpp
src/libGLESv2/entry_points_egl_ext.h
src/tests/angle_end2end_tests.gypi
src/tests/end2end_tests/QueryDisplayAttribTest.cpp
util/com_utils.h
util/util.gyp

Original comment by bugdroid1@chromium.org on 14 Apr 2015 at 2:31

GoogleCodeExporter commented 9 years ago
Project  : angle/angle
Branch   : master
Author   : Cooper Partin <coopp@microsoft.com>
Committer: Jamie Madill <jmadill@chromium.org>
Commit   : 97d61eb51c9a99731f3d726a3c6ba7668baf3253

Code-Review  0 : Cooper Partin, Geoff Lang
Code-Review  +2: Jamie Madill
Verified     0 : Geoff Lang
Verified     +1: Cooper Partin, Jamie Madill
Commit Queue   : Chumped
Change-Id      : Ie39e86a2b6c6d8d05a08964b2907fb9fba5dec13
Reviewed-at    : https://chromium-review.googlesource.com/265591

Add extension EGL_ANGLE_device_d3d

Access to the D3D device is needed for some advanced scenarios.
New entry points eglQueryDisplayAttribANGLE and
eglQueryDeviceAttribANGLE have been added in this change
to implement this extension.

BUG=angleproject:935

include/EGL/eglext.h
src/libANGLE/Caps.cpp
src/libANGLE/Caps.h
src/libANGLE/Device.cpp
src/libANGLE/Device.h
src/libANGLE/Display.cpp
src/libANGLE/Display.h
src/libANGLE/renderer/DeviceImpl.cpp
src/libANGLE/renderer/DeviceImpl.h
src/libANGLE/renderer/DisplayImpl.h
src/libANGLE/renderer/d3d/DeviceD3D.cpp
src/libANGLE/renderer/d3d/DeviceD3D.h
src/libANGLE/renderer/d3d/DisplayD3D.cpp
src/libANGLE/renderer/d3d/DisplayD3D.h
src/libANGLE/renderer/d3d/RendererD3D.h
src/libANGLE/renderer/d3d/d3d11/Renderer11.cpp
src/libANGLE/renderer/d3d/d3d11/Renderer11.h
src/libANGLE/renderer/d3d/d3d9/Renderer9.cpp
src/libANGLE/renderer/d3d/d3d9/Renderer9.h
src/libANGLE/renderer/gl/wgl/DisplayWGL.cpp
src/libANGLE/renderer/gl/wgl/DisplayWGL.h
src/libEGL/libEGL.cpp
src/libEGL/libEGL.def
src/libGLESv2.gypi
src/libGLESv2/entry_points_egl.cpp
src/libGLESv2/entry_points_egl_ext.cpp
src/libGLESv2/entry_points_egl_ext.h
src/tests/angle_end2end_tests.gypi
src/tests/end2end_tests/QueryDisplayAttribTest.cpp
util/com_utils.h
util/util.gyp

Original comment by bugdroid1@chromium.org on 14 Apr 2015 at 5:38