LibreOffice Module canvas (master) 1
Namespaces | Macros | Functions
dx_9rm.cxx File Reference
#include <sal/config.h>
#include <sal/log.hxx>
#include <memory>
#include <string.h>
#include <basegfx/numeric/ftools.hxx>
#include <basegfx/point/b2ipoint.hxx>
#include <basegfx/range/b2irectangle.hxx>
#include <basegfx/vector/b2dsize.hxx>
#include <basegfx/vector/b2isize.hxx>
#include <com/sun/star/lang/NoSupportException.hpp>
#include <osl/thread.hxx>
#include <osl/time.h>
#include <comphelper/diagnose_ex.hxx>
#include <vcl/syschild.hxx>
#include <vcl/sysdata.hxx>
#include <vcl/window.hxx>
#include <canvas/elapsedtime.hxx>
#include <canvas/canvastools.hxx>
#include <rendering/icolorbuffer.hxx>
#include <rendering/irendermodule.hxx>
#include <rendering/isurface.hxx>
#include "dx_config.hxx"
#include "dx_impltools.hxx"
#include "dx_rendermodule.hxx"
Include dependency graph for dx_9rm.cxx:

Go to the source code of this file.

Namespaces

namespace  dxcanvas
 

Macros

#define MIN_TEXTURE_SIZE   (32)
 
#define VERTEX_BUFFER_SIZE   (341*3)
 

Functions

IDXRenderModuleSharedPtr dxcanvas::createRenderModule (const vcl::Window &rParent)
 Factory method, to create an IRenderModule instance for the given VCL window instance. More...
 

Macro Definition Documentation

◆ MIN_TEXTURE_SIZE

#define MIN_TEXTURE_SIZE   (32)

Definition at line 49 of file dx_9rm.cxx.

◆ VERTEX_BUFFER_SIZE

#define VERTEX_BUFFER_SIZE   (341*3)

Definition at line 53 of file dx_9rm.cxx.

Variable Documentation

◆ diffuse

DWORD diffuse

Definition at line 191 of file dx_9rm.cxx.

◆ mad3dpp

D3DPRESENT_PARAMETERS mad3dpp
private

Definition at line 184 of file dx_9rm.cxx.

◆ maMutex

::osl::Mutex maMutex
staticprivate

This object represents the DirectX state machine.

In order to serialize access to DirectX's global state, a global mutex is required.

Definition at line 166 of file dx_9rm.cxx.

◆ maNumVertices

std::size_t maNumVertices
private

Definition at line 195 of file dx_9rm.cxx.

◆ maPageSize

::basegfx::B2IVector maPageSize
private

Definition at line 183 of file dx_9rm.cxx.

◆ maReadIndex

std::size_t maReadIndex
private

Definition at line 197 of file dx_9rm.cxx.

◆ maSize

::basegfx::B2ISize maSize
private

◆ maVertexCache

vertexCache_t maVertexCache
private

Definition at line 177 of file dx_9rm.cxx.

◆ maWriteIndex

std::size_t maWriteIndex
private

Definition at line 196 of file dx_9rm.cxx.

◆ mbCanUseDynamicTextures

bool mbCanUseDynamicTextures
private

Definition at line 180 of file dx_9rm.cxx.

◆ mbError

bool mbError
private

Definition at line 181 of file dx_9rm.cxx.

◆ meType

PrimitiveType meType
private

Definition at line 182 of file dx_9rm.cxx.

◆ mhWnd

HWND mhWnd
private

Definition at line 168 of file dx_9rm.cxx.

◆ mnBeginSceneCount

int mnBeginSceneCount
private

Definition at line 179 of file dx_9rm.cxx.

◆ mnCount

std::size_t mnCount
private

Definition at line 178 of file dx_9rm.cxx.

◆ mpDevice

sal::systools::COMReference<IDirect3DDevice9> mpDevice
private

Definition at line 169 of file dx_9rm.cxx.

◆ mpDirect3D9

sal::systools::COMReference<IDirect3D9> mpDirect3D9
private

Definition at line 170 of file dx_9rm.cxx.

◆ mpSwapChain

sal::systools::COMReference<IDirect3DSwapChain9> mpSwapChain
private

Definition at line 171 of file dx_9rm.cxx.

◆ mpTexture

std::shared_ptr<canvas::ISurface> mpTexture
private

Definition at line 114 of file dx_9rm.cxx.

◆ mpVertexBuffer

sal::systools::COMReference<IDirect3DVertexBuffer9> mpVertexBuffer
private

Definition at line 172 of file dx_9rm.cxx.

◆ mpWindow

VclPtr<SystemChildWindow> mpWindow
private

Definition at line 174 of file dx_9rm.cxx.

◆ mrRenderModule

DXRenderModule& mrRenderModule
private

Definition at line 110 of file dx_9rm.cxx.

◆ rhw

float rhw

Definition at line 190 of file dx_9rm.cxx.

◆ u

float u

Definition at line 192 of file dx_9rm.cxx.

Referenced by canvas::ParametricPolyPolygon::create().

◆ v

float v

Definition at line 192 of file dx_9rm.cxx.

◆ x

float x

◆ y

float y

◆ z

float z

Definition at line 190 of file dx_9rm.cxx.