LibreOffice Module canvas (master)  1
Public Member Functions | Private Attributes | List of all members
canvas::SurfaceProxyManager Class Reference
Inheritance diagram for canvas::SurfaceProxyManager:
[legend]
Collaboration diagram for canvas::SurfaceProxyManager:
[legend]

Public Member Functions

 SurfaceProxyManager (const std::shared_ptr< IRenderModule > &rRenderModule)
 
virtual std::shared_ptr< ISurfaceProxycreateSurfaceProxy (const std::shared_ptr< IColorBuffer > &pBuffer) const override
 the whole idea is build around the concept that you create some arbitrary buffer which contains the image data and tell the texture manager about it. More...
 
- Public Member Functions inherited from canvas::ISurfaceProxyManager
virtual ~ISurfaceProxyManager ()
 

Private Attributes

PageManagerSharedPtr mpPageManager
 

Detailed Description

Definition at line 29 of file surfaceproxymanager.cxx.

Constructor & Destructor Documentation

canvas::SurfaceProxyManager::SurfaceProxyManager ( const std::shared_ptr< IRenderModule > &  rRenderModule)
inlineexplicit

Definition at line 33 of file surfaceproxymanager.cxx.

Member Function Documentation

virtual std::shared_ptr<ISurfaceProxy> canvas::SurfaceProxyManager::createSurfaceProxy ( const std::shared_ptr< IColorBuffer > &  pBuffer) const
inlineoverridevirtual

the whole idea is build around the concept that you create some arbitrary buffer which contains the image data and tell the texture manager about it.

from there on you can draw this image using any kind of graphics api you want. in the technical sense we allocate some space in local videomemory or AGP memory which will be filled on demand, which means if there exists any rendering operation that needs to read from this memory location. this method creates a logical hardware surface object which uses the given color buffer as the image source. internally this texture may be distributed to several real hardware surfaces.

Implements canvas::ISurfaceProxyManager.

Definition at line 51 of file surfaceproxymanager.cxx.

References mpPageManager.

Member Data Documentation

PageManagerSharedPtr canvas::SurfaceProxyManager::mpPageManager
private

Definition at line 60 of file surfaceproxymanager.cxx.

Referenced by createSurfaceProxy().


The documentation for this class was generated from the following file: