Page 1 of 3

GapiDraw 3.5 dll for emulator

PostPosted: Dec 27, 2004 @ 9:36pm
by Kiyote

PostPosted: Dec 28, 2004 @ 7:56pm
by Johan

PostPosted: Jan 11, 2005 @ 5:39pm
by Guest

PostPosted: Jan 12, 2005 @ 4:24am
by Guest

PostPosted: Jan 12, 2005 @ 7:06am
by Guest
Alright, slow progress is better than no progress I guess ;)

PostPosted: Jan 12, 2005 @ 3:04pm
by Kiyote

PostPosted: Jan 12, 2005 @ 5:02pm
by Kiyote
Johan,

In GapiDraw.h, you have the line(193):
GDERR_FRAMETIMEOVERFLOW = ((HRESULT)0x486600f0)

Shouldn't that be 0xC86600f0?

Just wondering about the inconsistency. :)

PostPosted: Jan 12, 2005 @ 5:30pm
by Kiyote
Johan,

One more question for now. I don't suppose you have a list somewhere of what functions can return what error codes, do you?

ie -
Method:
CGapiSurface_CreateSurfaceFromMem
Can Return:
GDERR_OUTOFMEMORY
GDERR_INVALIDPARAMS
GDERR_INVALIDBITMAP

PostPosted: Jan 12, 2005 @ 5:56pm
by Johan
Kiyote: The first digit in the error codes describes the critical level of the return code. 4 is not an error (more of a notification), where C is an error. Values less than 0x8000 0000 are not "errors", but warnings. This is from the Microsoft DirectX standard.

The online documentation lists all possible return values for each function (CGapiSurface_CreateSurfaceFromMem is a wrapper for CGapiSurface::CreateSurface)

PostPosted: Jan 12, 2005 @ 8:50pm
by Kiyote

PostPosted: Jan 12, 2005 @ 10:10pm
by Johan

PostPosted: Jan 12, 2005 @ 10:34pm
by Kiyote

PostPosted: Jan 12, 2005 @ 11:13pm
by Johan

PostPosted: Jan 12, 2005 @ 11:39pm
by Guest

PostPosted: Jan 13, 2005 @ 2:39am
by Kiyote