8月5日

DDGPE::BltPrepare 

This method is an extension to its counterpart, the GPE::BltPrepare method. With the addition of DDGPEStandard

Header, your driver has the flexibility to choose different accelerated blit routines based on information that cannot be specified by GPEBltParms, such as

 DDGPEPixelFormat, which you can pass in using one of the reserved DWORDs in DDGPEStandard

Header.

Syntax

virtual void BltPrepare(
  DDGPEBltParms* pddgpeBltParms
);

Parameters

pddgpeBltParms

Pointer to a DDGPEBltParms structure.

http://msdn.microsoft.com/en-us/library/ee483618(v=winembedded.60).aspx



DDGPE::AllocSurface 

This method is an extension of its counterpart, the GPE::AllocSurface method. With the addition of the pixelFormat parameter or the pddgpeAllocSurfaceData, your driver 

can allocate many different types of surfaces, instead of a limited number of GPE surface types.

Syntax
 
// Surface memory allocation
virtual SCODE AllocSurface(
  DDGPESurf** ppSurf,
  int width,
  int height,
  EGPEFormat format,
  int surfaceFlags
)=0;
virtual SCODE AllocSurface(
  DDGPESurf** ppSurf,
  int width,
  int height,
  EGPEFormat format,
  EDDGPEPixelFormat pixelFormat,
  int surfaceFlags
);
virtual SCODE AllocSurface(
  DDGPESurf** ppSurf,
  DDGPEAllocSurfaceData* pddgpeAllocSurfaceData 
);

Parameters

ppSurf

Pointer to a new DDGP ESurf object.

width

The desired width of the surface.

height
The desired height of the surface.

format

The desired format of the surface.

pixelFormat

The desired pixel format of the surface.

surfaceFlags

GPE surface flags for the surface.

http://msdn.microsoft.com/en-us/library/ee485068(v=winembedded.60).aspx

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值