diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2015-07-23 19:15:20 +0900 |
---|---|---|
committer | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2015-07-24 19:15:00 +0900 |
commit | 450727fdffa4a0dc3b2d4e635a5c1bc0411b3c36 (patch) | |
tree | 190bc9941d55a7706becf9acfe8940d468b5a6e2 /vcl/inc/unx/salgdi.h | |
parent | 79ebd13ffa69b6076d663089ba13f814aa80bcff (diff) |
tdf#92018 cache native controls for X11 OpenGL backend (for now)
Change-Id: I85c7cc01113bc4ac810c450a6460059463cc8e03
Diffstat (limited to 'vcl/inc/unx/salgdi.h')
-rw-r--r-- | vcl/inc/unx/salgdi.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/vcl/inc/unx/salgdi.h b/vcl/inc/unx/salgdi.h index 99fe40d87279..3e80153640ba 100644 --- a/vcl/inc/unx/salgdi.h +++ b/vcl/inc/unx/salgdi.h @@ -267,6 +267,12 @@ public: virtual void BeginPaint() SAL_OVERRIDE; virtual void EndPaint() SAL_OVERRIDE; + bool TryRenderCachedNativeControl(ControlCacheKey& aControlCacheKey, + int nX, int nY); + + bool RenderAndCacheNativeControl(X11Pixmap* pPixmap, X11Pixmap* pMask, int nX, int nY, + ControlCacheKey& aControlCacheKey); + // fill a pixmap from a screen region bool FillPixmapFromScreen( X11Pixmap* pPixmap, int nX, int nY ); |