Closed Bug 1402922 Opened 7 years ago Closed 5 years ago

Remote WebGL rendering to the compositor

Categories

(Core :: Graphics: CanvasWebGL, defect, P3)

Unspecified
Windows
defect

Tracking

()

RESOLVED DUPLICATE of bug 1477756
Tracking Status
firefox57 --- unaffected
firefox58 --- affected

People

(Reporter: Alex_Gaynor, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [gfx-noted])

As a part of the sandboxing team's work into investigating the win32k-lockdown for our content process, I'm filing bugs on different areas of our code that use the win32k syscalls in the content process. Here's a sample stack from the webgl code:

    win32u!NtGdiDdDDISubmitCommand
    d3d11!NDXGI::CDevice::SubmitCommandCB+0x1b7
    igd10iumd64+0x13f69
    igd10iumd64+0x1196f
    igd10iumd64+0x10c49
    igd10iumd64+0x77c47
    igd10iumd64!GTPIN_IGC_MarkerForGTPin+0x6f324
    d3d11!CAsynchronous<ID3D11Asynchronous>::GetData<0,0>+0x86
    d3d11!CContext::TID3D11DeviceContext_GetData_<1>+0x67
    libGLESv2!rx::Renderer11::finish+0xf7
    libGLESv2!rx::Context11::finish+0x12
    libGLESv2!gl::Context::finish+0x16
    libGLESv2!gl::Finish+0x28
    xul!mozilla::gl::GLContext::AfterGLCall+0x28
    xul!mozilla::gl::GLContext::fGetStringi+0x66
    xul!mozilla::gl::GLContext::InitExtensions+0x7e
    xul!mozilla::gl::GLContext::InitWithPrefixImpl+0x21d6
    xul!mozilla::gl::GLContext::InitWithPrefix+0x50
    xul!mozilla::gl::GLContextEGL::Init+0x38
    xul!mozilla::gl::GLContextEGL::CreateGLContext+0x2e3
    xul!mozilla::gl::GLContextEGL::CreateEGLPBufferOffscreenContext+0x154
    xul!mozilla::gl::GLContextProviderEGL::CreateOffscreen+0xe5
    xul!mozilla::CreateGLWithANGLE+0x5c
    xul!mozilla::WebGLContext::CreateAndInitGLWith+0xc3
    xul!mozilla::WebGLContext::CreateAndInitGL+0x2af
    xul!mozilla::WebGLContext::SetDimensions+0x382
    xul!mozilla::dom::CanvasRenderingContextHelper::UpdateContext+0xd5
    xul!mozilla::dom::CanvasRenderingContextHelper::GetContext+0xfd
    xul!mozilla::dom::HTMLCanvasElement::GetContext+0x5f
    xul!mozilla::dom::HTMLCanvasElementBinding::getContext+0x140
    xul!mozilla::dom::GenericBindingMethod+0x191
Priority: -- → P3
Whiteboard: [gfx-noted]
Summary: Use of win32k APIs in content process for webgl → Remote WebGL rendering to the compositor
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.