VBoxDispD3D.h revision 81dc61a8e0ebf66739d72c58670851a37e7f6819
/** @file
*
* VBoxVideo Display D3D User mode dll
*
* Copyright (C) 2010 Oracle Corporation
*
* This file is part of VirtualBox Open Source Edition (OSE), as
* available from http://www.virtualbox.org. This file is free software;
* General Public License (GPL) as published by the Free Software
* Foundation, in version 2 as it comes in the "COPYING" file of the
* VirtualBox OSE distribution. VirtualBox OSE is distributed in the
* hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
*/
#ifndef ___VBoxDispD3D_h___
#define ___VBoxDispD3D_h___
#include "VBoxDispD3DIf.h"
#include "../../Miniport/wddm/VBoxVideoIf.h"
#define VBOXWDDMDISP_MAX_VERTEX_STREAMS 16
#ifdef VBOX_WITH_VIDEOHWACCEL
typedef struct VBOXDISPVHWA_INFO
{
/* represents settings secific to
* display device (head) on the multiple-head graphics card
* currently used for 2D (overlay) only since in theory its settings
* can differ per each frontend's framebuffer. */
typedef struct VBOXWDDMDISP_HEAD
{
#endif
typedef struct VBOXWDDMDISP_ADAPTER
{
#ifdef VBOX_WITH_VIDEOHWACCEL
#endif
typedef struct VBOXWDDMDISP_CONTEXT
{
struct VBOXWDDMDISP_DEVICE *pDevice;
typedef struct VBOXWDDMDISP_STREAMSOURCEUM
{
typedef struct VBOXWDDMDISP_INDICIESUM
{
struct VBOXWDDMDISP_ALLOCATION;
typedef struct VBOXWDDMDISP_STREAM_SOURCE_INFO
{
typedef struct VBOXWDDMDISP_INDICES_INFO
{
typedef struct VBOXWDDMDISP_SCREEN
{
struct VBOXWDDMDISP_RESOURCE *pRenderTargetRc;
struct VBOXWDDMDISP_RESOURCE *pDstSharedRc;
typedef struct VBOXWDDMDISP_DEVICE
{
#ifndef VBOXWDDM_WITH_VISIBLE_FB
#endif
/* number of StreamSources set */
/* need to cache the ViewPort data because IDirect3DDevice9::SetViewport
* is split into two calls : SetViewport & SetZRange */
typedef struct VBOXWDDMDISP_LOCKINFO
{
union {
};
typedef enum
{
typedef struct VBOXWDDMDISP_ALLOCATION
{
void* pvMem;
/* object type is defined by enmD3DIfType enum */
typedef struct VBOXWDDMDISP_RESOURCE
{
typedef struct VBOXWDDMDISP_TSS_LOOKUP
{
typedef struct VBOXWDDMDISP_OVERLAY
{
#endif /* #ifndef ___VBoxDispD3D_h___ */