This commit is contained in:
Vadim Rozenfeld 2014-06-30 21:41:18 +10:00
parent 81866f50f0
commit a64e05f525
3 changed files with 2 additions and 60 deletions

View File

@ -68,13 +68,3 @@ void __cdecl operator delete[](void* pObject)
ExFreePool(pObject); ExFreePool(pObject);
} }
} }
BaseObject::BaseObject(void)
{
}
BaseObject::~BaseObject(void)
{
}

View File

@ -57,14 +57,3 @@ _When_((PoolType & NonPagedPoolMustSucceed) != 0,
void* __cdecl operator new[](size_t Size, POOL_TYPE PoolType = PagedPool); void* __cdecl operator new[](size_t Size, POOL_TYPE PoolType = PagedPool);
void __cdecl operator delete(void* pObject); void __cdecl operator delete(void* pObject);
void __cdecl operator delete[](void* pObject); void __cdecl operator delete[](void* pObject);
// Pool allocation tag for the Sample Display Driver. All allocations use this tag.
class BaseObject
{
public:
BaseObject(void);
~BaseObject(void);
};

View File

@ -207,8 +207,7 @@ typedef struct _CURRENT_BDD_MODE
class QxlDod; class QxlDod;
class HwDeviceIntrface : class HwDeviceIntrface
public BaseObject
{ {
public: public:
virtual NTSTATUS QueryCurrentMode(PVIDEO_MODE RequestedMode) = 0; virtual NTSTATUS QueryCurrentMode(PVIDEO_MODE RequestedMode) = 0;
@ -304,7 +303,6 @@ typedef struct MspaceInfo {
enum { enum {
MSPACE_TYPE_DEVRAM, MSPACE_TYPE_DEVRAM,
MSPACE_TYPE_VRAM, MSPACE_TYPE_VRAM,
NUM_MSPACES, NUM_MSPACES,
}; };
@ -541,9 +539,7 @@ private:
UINT32 m_Pending; UINT32 m_Pending;
}; };
class QxlDod : class QxlDod {
public BaseObject
{
private: private:
DEVICE_OBJECT* m_pPhysicalDevice; DEVICE_OBJECT* m_pPhysicalDevice;
DXGKRNL_INTERFACE m_DxgkInterface; DXGKRNL_INTERFACE m_DxgkInterface;
@ -675,40 +671,7 @@ private:
D3DDDI_VIDEO_PRESENT_SOURCE_ID FindSourceForTarget(D3DDDI_VIDEO_PRESENT_TARGET_ID TargetId, BOOLEAN DefaultToZero); D3DDDI_VIDEO_PRESENT_SOURCE_ID FindSourceForTarget(D3DDDI_VIDEO_PRESENT_TARGET_ID TargetId, BOOLEAN DefaultToZero);
NTSTATUS IsVidPnSourceModeFieldsValid(CONST D3DKMDT_VIDPN_SOURCE_MODE* pSourceMode) const; NTSTATUS IsVidPnSourceModeFieldsValid(CONST D3DKMDT_VIDPN_SOURCE_MODE* pSourceMode) const;
NTSTATUS IsVidPnPathFieldsValid(CONST D3DKMDT_VIDPN_PRESENT_PATH* pPath) const; NTSTATUS IsVidPnPathFieldsValid(CONST D3DKMDT_VIDPN_PRESENT_PATH* pPath) const;
NTSTATUS RegisterHWInfo(); NTSTATUS RegisterHWInfo();
/*
NTSTATUS ExecutePresentDisplayOnly(_In_ BYTE* DstAddr,
_In_ UINT DstBitPerPixel,
_In_ BYTE* SrcAddr,
_In_ UINT SrcBytesPerPixel,
_In_ LONG SrcPitch,
_In_ ULONG NumMoves,
_In_ D3DKMT_MOVE_RECT* pMoves,
_In_ ULONG NumDirtyRects,
_In_ RECT* pDirtyRect,
_In_ D3DKMDT_VIDPN_PRESENT_PATH_ROTATION Rotation);
BYTE* GetRowStart(_In_ CONST BLT_INFO* pBltInfo, CONST RECT* pRect);
VOID GetPitches(_In_ CONST BLT_INFO* pBltInfo, _Out_ LONG* pPixelPitch, _Out_ LONG* pRowPitch);
VOID CopyBitsGeneric(
BLT_INFO* pDst,
CONST BLT_INFO* pSrc,
UINT NumRects,
_In_reads_(NumRects) CONST RECT *pRects);
VOID CopyBits32_32(
BLT_INFO* pDst,
CONST BLT_INFO* pSrc,
UINT NumRects,
_In_reads_(NumRects) CONST RECT *pRects);
VOID BltBits (
BLT_INFO* pDst,
CONST BLT_INFO* pSrc,
UINT NumRects,
_In_reads_(NumRects) CONST RECT *pRects);
VOID BlackOutScreen(D3DDDI_VIDEO_PRESENT_SOURCE_ID SourceId);
*/
}; };
NTSTATUS NTSTATUS