BlamKiwi / angleproject

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

Create a child window for the D3D11 swap chain. #961

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Experiment with creating a child window for the swap chain for D3D11.

User metrics show that at least 20% of our Chrome users are unable to use the 
D3D11 renderer because they lack DXGI 1.2 and cannot create a D3D11 swap chain 
for a window owned by another process.

 - Try with and without a WndProc, delayed resize may not be an issue.
 - Measure resize jank in Chrome

Original issue reported on code.google.com by geofflang@chromium.org on 30 Mar 2015 at 3:12

GoogleCodeExporter commented 9 years ago
Project: angle/angle
Branch : master
Author : Geoff Lang <geofflang@chromium.org>
Commit : b7f1a8b0ab3489a7463749e7fc088187bfafbd35

Code-Review  0 : Austin Kinross, Geoff Lang
Code-Review  +1: Jamie Madill
Code-Review  +2: John Bauman
Verified     0 : Austin Kinross, Jamie Madill, John Bauman
Verified     +1: Geoff Lang
Commit Queue   : Chumped
Change-Id      : I61931961f8cb86b47012edd2bc08d0e1e7a5d0f7
Reviewed-at    : https://chromium-review.googlesource.com/266515

Create a child window in SurfaceD3D when needed.

BUG=angleproject:961

src/libANGLE/renderer/d3d/DisplayD3D.cpp
src/libANGLE/renderer/d3d/DisplayD3D.h
src/libANGLE/renderer/d3d/RendererD3D.h
src/libANGLE/renderer/d3d/SurfaceD3D.cpp
src/libANGLE/renderer/d3d/SurfaceD3D.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

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

GoogleCodeExporter commented 9 years ago
Project: angle/angle
Branch : master
Author : Geoff Lang <geofflang@chromium.org>
Commit : d3b84ab51db09de238459b0dff2e8420c09aabf3

Code-Review  0 : Geoff Lang
Code-Review  +1: Jamie Madill
Code-Review  +2: John Bauman
Verified     0 : Jamie Madill, John Bauman
Verified     +1: Geoff Lang
Commit Queue   : Chumped
Change-Id      : I1d91323c758374de317179874320961385b10ae0
Reviewed-at    : https://chromium-review.googlesource.com/266658

Don't subclass windows in SurfaceD3D.

The subclassing was not used by chromium and caused problems for users
that wanted to use a window owned by another thread as an EGL surface.

BUG=angleproject:961

src/libANGLE/renderer/d3d/SurfaceD3D.cpp
src/libANGLE/renderer/d3d/SurfaceD3D.h

Original comment by bugdroid1@chromium.org on 28 Apr 2015 at 2:29

GoogleCodeExporter commented 9 years ago

Original comment by geofflang@chromium.org on 28 Apr 2015 at 2:30

GoogleCodeExporter commented 9 years ago
Project: angle/angle
Branch : master
Author : Geoff Lang <geofflang@chromium.org>
Commit : acb0a1a6d74100833dbccd49d3eca317b56fd004

Code-Review  +2: Geoff Lang
Verified     +1: Geoff Lang
Commit Queue   : Chumped
Change-Id      : I32053309a8384a27d1c2a991ddfaa195195f88c8
Reviewed-at    : https://chromium-review.googlesource.com/267637

Fix compile failure on build systems with UNICODE defined.

BUG=angleproject:961

src/libANGLE/renderer/d3d/DisplayD3D.cpp

Original comment by bugdroid1@chromium.org on 28 Apr 2015 at 2:41

GoogleCodeExporter commented 9 years ago
Project: angle/angle
Branch : master
Author : Geoff Lang <geofflang@chromium.org>
Commit : 30cb86d87c78272c3ec131ae270d063a8a77912e

Code-Review  0 : Geoff Lang
Code-Review  +2: Jamie Madill
Verified     0 : Jamie Madill
Verified     +1: Geoff Lang
Commit Queue   : Chumped
Change-Id      : I137d27bafc4d690b159ffef8cc69d6f1c5a05131
Reviewed-at    : https://chromium-review.googlesource.com/267681

Create a child window in SurfaceD3D when needed.

BUG=angleproject:961
BUG=angleproject:860

src/libANGLE/renderer/d3d/DisplayD3D.cpp
src/libANGLE/renderer/d3d/DisplayD3D.h
src/libANGLE/renderer/d3d/RendererD3D.h
src/libANGLE/renderer/d3d/SurfaceD3D.cpp
src/libANGLE/renderer/d3d/SurfaceD3D.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

Original comment by bugdroid1@chromium.org on 28 Apr 2015 at 7:04