10#ifndef INCLUDED_VCL_INC_GRAPHIC_MANAGER_HXX
11#define INCLUDED_VCL_INC_GRAPHIC_MANAGER_HXX
14#include <rtl/strbuf.hxx>
15#include <rtl/ustring.hxx>
58 void dumpState(rtl::OStringBuffer& rState);
66 std::shared_ptr<ImpGraphic>
copy(std::shared_ptr<ImpGraphic>
const& pImpGraphic);
69 std::shared_ptr<ImpGraphic>
newInstance(std::shared_ptr<GfxLink>
const& rLink,
70 sal_Int32 nPageIndex = 0);
71 std::shared_ptr<ImpGraphic>
72 newInstance(
const std::shared_ptr<VectorGraphicData>& rVectorGraphicDataPtr);
void changeExisting(const ImpGraphic *pImpGraphic, sal_Int64 nOldSize)
o3tl::sorted_vector< ImpGraphic * > m_pImpGraphicList
std::shared_ptr< ImpGraphic > newInstance()
std::shared_ptr< ImpGraphic > copy(std::shared_ptr< ImpGraphic > const &pImpGraphic)
bool mbReducingGraphicMemory
DECL_LINK(SwapOutTimerHandler, Timer *, void)
void reduceGraphicMemory(std::unique_lock< std::mutex > &rGuard, bool bDropAll=false)
void loopGraphicsAndSwapOut(std::unique_lock< std::mutex > &rGuard, bool bDropAll)
void swappedOut(const ImpGraphic *pImpGraphic, sal_Int64 nSizeBytes)
static sal_Int64 getGraphicSizeBytes(const ImpGraphic *pImpGraphic)
void registerGraphic(const std::shared_ptr< ImpGraphic > &rImpGraphic)
void unregisterGraphic(ImpGraphic *pImpGraphic)
void swappedIn(const ImpGraphic *pImpGraphic, sal_Int64 nSizeBytes)
void dumpState(rtl::OStringBuffer &rState)
std::chrono::seconds mnAllowedIdleTime