Please enable JavaScript to view this site.

FALCON/EAGLE user manual 4.62

Navigation: Software description > Possible image output modes

Migration of existing DirectDraw functions to Direct3D functions

Scroll Previous Top Next More

For information on the DirectRenderer function see is_DirectRenderer()

Existing DirectDraw fucntions

Corresponding new DirectRenderer functions

is_SetDisplayMode(h, <DirectDraw Modus>)

is_SetDisplayMode(h, IS_SET_DM_DIRECT3D);

is_EnableDDOverlay()

none (omitted)

is_ShowDDOverlay()

is_DirectRenderer(h, DR_SHOW_OVERLAY, NULL, NULL);

is_HideDDOverlay()

is_DirectRenderer(h, DR_HIDE_OVERLAY, NULL, NULL);

is_DisableDDOverlay(h)

none (omitted)

is_GetDC()

is_DirectRenderer(h, DR_GET_OVERLAY_DC, (void*)&hDC, sizeof(HDC));

is_ReleaseDC()

is_DirectRenderer(h, DR_RELEASE_OVERLAY_DC, NULL, NULL);

is_GetDDOvlSurface()

none (omitted)

is_LockDDMem()

none (omitted)

is_UnlockDDMem()

none (omitted)

is_LockDDOverlayMem()

none (omitted)

is_UnlockDDOverlayMem()

none (omitted)

is_OvlSurfaceOffWhileMove()

none (omitted)

is_ScaleDDOverlay()

none (omitted)

is_SetDDUpdateTime()

none (omitted)

is_SetHwnd()

is_DirectRenderer(h, DR_SET_HWND, (void*)&hwnd, sizeof(HWND));

is_SetKeyColor(h, R, G, B)

UINT KeyColor[3];

KeyColor[0] = R;

KeyColor[1] = G;

KeyColor[2] = B;

is_DirectRenderer(h, DR_SET_OVERLAY_KEY_COLOR, (void*)KeyColor, sizeof (KeyColor));

is_SetKeyOffset()

none (omitted)

is_UpdateDisplay()

none (omitted)

is_PrepareStealVideo(<init>)

INT nFormat = <color format>;
is_DirectRenderer(h, DR_SET_STEAL_FORMAT, &nFormat, sizeof(INT)))

is_PrepareStealVideo(<exit>)

INT nFormat = -1;
is_DirectRenderer(h, DR_SET_STEAL_FORMAT, &nFormat, sizeof(INT)))

is_StealVideo()

INT nWait = IS_WAIT;
is_DirectRenderer(h, DR_STEAL_NEXT_FRAME, &nWait, sizeof(INT));