22#include <com/sun/star/awt/Rectangle.hpp>
23#include <com/sun/star/rendering/XGraphicDevice.hpp>
24#include <com/sun/star/rendering/XBufferController.hpp>
44 const css::awt::Rectangle& rRect,
52 const css::uno::Reference< css::rendering::XGraphicDevice >& rDevice,
53 const css::geometry::IntegerSize2D& size );
55 const css::uno::Reference< css::rendering::XGraphicDevice >& rDevice,
56 const css::geometry::IntegerSize2D& size );
58 const css::uno::Reference< css::rendering::XGraphicDevice >& rDevice,
59 const css::geometry::IntegerSize2D& size );
61 const css::uno::Reference< css::rendering::XGraphicDevice >& rDevice,
62 const css::geometry::IntegerSize2D& size );
65 bool showBuffer(
bool bIsVisible,
bool bUpdateAll );
Product of this component's factory.
bool switchBuffer(bool bIsVisible, bool bUpdateAll)
IDXRenderModuleSharedPtr mpRenderModule
Our encapsulation interface to DirectX.
void notifySizeUpdate(const css::awt::Rectangle &rBounds)
void init(vcl::Window &rWindow, SpriteCanvas &rSpriteCanvas, const css::awt::Rectangle &rRect, bool bFullscreen)
void disposing()
Dispose all internal references.
SpriteCanvas * mpSpriteCanvas
Pointer to sprite canvas (owner of this helper), needed to create bitmaps.
const std::shared_ptr< canvas::ISurfaceProxyManager > & getSurfaceProxy() const
bool showBuffer(bool bIsVisible, bool bUpdateAll)
css::uno::Reference< css::rendering::XVolatileBitmap > createVolatileBitmap(const css::uno::Reference< css::rendering::XGraphicDevice > &rDevice, const css::geometry::IntegerSize2D &size)
css::uno::Reference< css::rendering::XBitmap > createCompatibleAlphaBitmap(const css::uno::Reference< css::rendering::XGraphicDevice > &rDevice, const css::geometry::IntegerSize2D &size)
css::uno::Reference< css::rendering::XVolatileBitmap > createVolatileAlphaBitmap(const css::uno::Reference< css::rendering::XGraphicDevice > &rDevice, const css::geometry::IntegerSize2D &size)
std::shared_ptr< canvas::ISurfaceProxyManager > mpSurfaceProxyManager
Instance passing out HW textures.
css::uno::Any isAccelerated() const
const DXSurfaceBitmapSharedPtr & getBackBuffer() const
DXSurfaceBitmapSharedPtr mpBackBuffer
void resizeBackBuffer(const ::basegfx::B2ISize &rNewSize)
css::uno::Reference< css::rendering::XBitmap > createCompatibleBitmap(const css::uno::Reference< css::rendering::XGraphicDevice > &rDevice, const css::geometry::IntegerSize2D &size)
const IDXRenderModuleSharedPtr & getRenderModule() const
void dumpScreenContent() const
called when DumpScreenContent property is enabled on XGraphicDevice, and writes out bitmaps of curren...
std::shared_ptr< DXSurfaceBitmap > DXSurfaceBitmapSharedPtr
std::shared_ptr< IDXRenderModule > IDXRenderModuleSharedPtr