Name Description Size Coverage
CMakeLists.txt 10048 -
direct2d.json 31 -
qwindowsdirect2dbackingstore.cpp ! \class QWindowsDirect2DBackingStore \brief Backing store for windows. \internal 2834 -
qwindowsdirect2dbackingstore.h 979 -
qwindowsdirect2dbitmap.cpp 5082 -
qwindowsdirect2dbitmap.h 1249 -
qwindowsdirect2dcontext.cpp 5473 -
qwindowsdirect2dcontext.h 1161 -
qwindowsdirect2ddevicecontext.cpp 3101 -
qwindowsdirect2ddevicecontext.h Convenience class for handling device contexts. We have to call BeginDraw before anything can happen, and EndDraw once we're done, for every frame and pretty much any kind of operation. Unfortunately, these calls cannot be interleaved, and there is no way to check what state a device context is in. The end result is that the following throws an error if we don't track it: QPixmap pmap; QPainter painter(&pmap); pmap.clear(); Here BeginDraw would first be called through the paint device, then when we clear the pixmap we would have to call it again. There is no way to know what state the device context is in when performing the clear, and activating the dc is an error. Bummer. Hence we keep a reference count here and only activate/deactivate the device if the refcount is zero. In a nutshell: Do not call BeginDraw/EndDraw yourself on the device pointer, do so through the begin/end members below. 2183 -
qwindowsdirect2dhelpers.h 1809 -
qwindowsdirect2dintegration.cpp 5255 -
qwindowsdirect2dintegration.h 1321 -
qwindowsdirect2dnativeinterface.cpp 862 -
qwindowsdirect2dnativeinterface.h 593 -
qwindowsdirect2dpaintdevice.cpp 2893 -
qwindowsdirect2dpaintdevice.h 1129 -
qwindowsdirect2dpaintengine.cpp 61225 -
qwindowsdirect2dpaintengine.h 3494 -
qwindowsdirect2dplatformpixmap.cpp 4394 -
qwindowsdirect2dplatformpixmap.h 1637 -
qwindowsdirect2dplatformplugin.cpp 988 -
qwindowsdirect2dwindow.cpp 10150 -
qwindowsdirect2dwindow.h 1308 -