Open Bug 1233248 Opened 9 years ago Updated 2 years ago

Make CompositorD3D11::HandleError available outside of that class

Categories

(Core :: Graphics, defect, P3)

43 Branch
All
Windows
defect

Tracking

()

People

(Reporter: milan, Unassigned)

Details

(Whiteboard: [gfx-noted])

CompositorD3D11::HandleError is quite useful, since it lets us handle different errors in one place - sometimes assert, sometimes crash, sometimes warn and proceed.  See bug 1188019 comment 12 for a suggestion of the other places that could use that type of functionality - we may want to extract and put this into a common place.
Files where this would help:

  DrawTargetD2D1.cpp
  SourceSurfaceD2D1.cpp
  TextureD3D11.cpp
Whiteboard: [gfx-noted]
Two of these files are in gfx/2d, so it would need to be something that is accessible from there, though not part of the Moz2D interface.
Priority: -- → P3
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.