Closed Bug 1076020 Opened 10 years ago Closed 10 years ago

Update ANGLE to get "Enable MRT pixel shader rewriting."

Categories

(Core :: Graphics: CanvasWebGL, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla35

People

(Reporter: jrmuizel, Assigned: jrmuizel)

References

Details

This fixes a big performance problem on Intel & AMD
I would suggest we take chromium/2175
Blocks: 1079398
Assignee: nobody → jmuizelaar
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla35
This broke the "not CONFIG['MOZ_HAS_WINSDK_WITH_D3D']" case. It should either be removed or fixed. In the current state of affairs, it means it breaks seamonkey (again).
z:\mozilla-inbound\gfx\angle\src\common/NativeWindow.h(23) : error C2146: syntax error : missing ';' before identifier 'DXGISwapChain' z:\mozilla-inbound\gfx\angle\src\common/NativeWindow.h(23) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int z:\mozilla-inbound\gfx\angle\src\common/NativeWindow.h(23) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int z:\mozilla-inbound\gfx\angle\src\common/NativeWindow.h(24) : error C2146: syntax error : missing ';' before identifier 'DXGIFactory' z:\mozilla-inbound\gfx\angle\src\common/NativeWindow.h(24) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int z:\mozilla-inbound\gfx\angle\src\common/NativeWindow.h(24) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int z:\mozilla-inbound\gfx\angle\src\common/NativeWindow.h(40) : error C2061: syntax error : identifier 'ID3D11Device' z:\mozilla-inbound\gfx\angle\src\libGLESv2\../common/win32/NativeWindow.cpp(23) : error C2065: 'ID3D11Device' : undeclared identifier z:\mozilla-inbound\gfx\angle\src\libGLESv2\../common/win32/NativeWindow.cpp(23) : error C2065: 'device' : undeclared identifier z:\mozilla-inbound\gfx\angle\src\libGLESv2\../common/win32/NativeWindow.cpp(23) : error C2065: 'factory' : undeclared identifier z:\mozilla-inbound\gfx\angle\src\libGLESv2\../common/win32/NativeWindow.cpp(24) : error C2065: 'DXGI_FORMAT' : undeclared identifier z:\mozilla-inbound\gfx\angle\src\libGLESv2\../common/win32/NativeWindow.cpp(24) : error C2146: syntax error : missing ')' before identifier 'format' z:\mozilla-inbound\gfx\angle\src\libGLESv2\../common/win32/NativeWindow.cpp(24) : error C2761: 'HRESULT rx::NativeWindow::createSwapChain(void)' : member function redeclaration not allowed z:\mozilla-inbound\gfx\angle\src\libGLESv2\../common/win32/NativeWindow.cpp(25) : error C2059: syntax error : ')' z:\mozilla-inbound\gfx\angle\src\libGLESv2\../common/win32/NativeWindow.cpp(26) : error C2143: syntax error : missing ';' before '{' z:\mozilla-inbound\gfx\angle\src\libGLESv2\../common/win32/NativeWindow.cpp(26) : error C2447: '{' : missing function header (old-style formal list?) z:/mozilla-inbound/config/rules.mk:948: recipe for target 'Unified_cpp_angle_src_libGLESv20.obj' failed
This is with WinSDK 7.1. The failure goes away if I backout changeset 06823a8d8be6
I fixed my local SDK 7.1 build by wrapping parts of NativeWindow.h/cpp in #ifdef ANGLE_ENABLE_D3D11 in particular the two typesdefs and the declaration and definition of NativeWindow::createSwapChain.
Blocks: 1094097
No longer blocks: 1094097
Depends on: 1094097
Depends on: 1094047
I followed Neil's advice in comment 9 and now it builds. I can do this locally but I can't do that with the c-c and c-a Win32 builds/debugs. What is the right way of fixing this?
Flags: needinfo?(jmuizelaar)
Can we do a patch based on the approach?
Flags: needinfo?(jmuizelaar) → needinfo?(edwong)
Flags: needinfo?(ewong)
Flags: needinfo?(edwong)
(In reply to Jeff Muizelaar [:jrmuizel] from comment #11) > Can we do a patch based on the approach? Sure.
Flags: needinfo?(ewong)
You need to log in before you can comment on or make changes to this bug.