bool CFX_RenderDevice::ContinueDIBits(CFX_ImageRenderer* handle,This was one of the layering violations behind this CL.
const CFX_ClipRgn* pClipRgn) const;Layering here, too. You get the idea.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
But Code Search shows these 2 classes are only instatiated inside cfx_agg_devicedriver.cpp. So unless Code Search is impcomplete, I would say the current state is the rest of the code-base puts up with these AGG-isms.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
const CFX_ClipRgn* pClipRgn) const;Layering here, too. You get the idea.
Using this as an example, if one looks at the callers and callers' callers, only the AGG .cpp files pass in non-null arguments. Other files either pass in nullptr, or pass in a value that was passed to them.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Yeah, this might be made to work, but searching for agg really shouldn't give any hits outside of agg ...
std::unique_ptr<CFX_ImageRenderer> agg_image_renderer);This kinda feels like a layering violation as well.
std::unique_ptr<CFX_ClipRgn> clip_rgn;this would be a layering violation as well.
std::unique_ptr<CFX_ImageRenderer> device_handle_;This feels like a layering violation as well.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Tom Sepez abandoned this change.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |