Here is the complete list of changes in GapiDraw 1.02:
Major Improvements
- GapiDraw now supports the PocketPC, the PocketPC2002 and the Smartphone emulators!
- GapiDraw now supports BMP, GIF, JPG, and PNG on all platforms. Images can be loaded from file, memory or resource.
- GapiDraw Extensions! CGapiSurface now has GetBuffer() and ReleaseBuffer() which allows for easy low level bit manipulation. You can now directly access both the display and the surfaces used by GapiDraw! Check the new GDPlasma demo (which is an MFC-free demo) for sample code.
- Extreme performance improvement on stationary computers in both fullscreen and window mode! Try the demo GDDemoXP in SVGA fullscreen mode!
- Significantly improved performance in all CGapiSurface operations except the most simple ones.
- Significantly improved performance for AlphaBlt and AlphaBltFast (More than 3.5x speed improvement in both operations).
- Significantly improved performance when Opacity is being used in all operations (more than 2.5x speed improvement)
- 16-bit bitmaps were previously rendered as 15-bit. With 1.02 they are now rendered using the full 565 color range (65k colors).
SDK Additions
- New sample application - GDPlasma - written in plain C/C++ without MFC.
- Support for Smartphone display resolution on stationary computers (176x220) in all orientations.
- FontMaker.exe by MetalShard Inc (http://www.metalshard.com) is now included to quickly create correctly kerned fonts.
- Improved font format! The bitmap font format now also supports character kerning in both directions (see CBitmapFont documentation for details). It's now possible to easily create correctly kerned italic fonts.
- Support for a new, simpler font format: GDCREATEFONT_SIMPLEBITMAP. Just draw some font letters and it's ready for use! See the demos GDHelloGapi and GDPlasmaDemo for sample code.
- CGapiInput now has CloseInput() and OpenInput() to manually disable/enable the exclusive keyboard lock when switching between applications.
- AlphaBlt and AlphaBlt now uses QuickOpacity if Opacity is set to 128
- It is now possible to set a color key before calling CreateSurface (previously it was reset to zero during CreateSurface)
SDK Changes ( !! IMPORTANT !! )
- RLE-Encoded BMP images are no longer supported. Change your picture format to plain BMP, GIF, PNG or JPG.
- CreateSurface(HINSTANCE hInstance, DWORD dwResourceID) is now CreateSurface(HINSTANCE hInstance, DWORD dwResourceID, const TCHAR* pResourceType = NULL). See documentation for details.
- CGapiBitmapFont::InitializeFont renamed to CGapiBitmapFont::CreateFont
- For performance reasons, AlphaBlt / AlphaBltFast now only uses the GREEN component of the Alpha bitmap. Make sure your alpha maps contain a GREEN channel.
- Removed "const TCHAR* pImageType" from some CreateSurface variants since it was not used and is no longer necessary.
- The screen is now always opened in FULLSCREEN mode on all Windows CE devices.
- Changes to SetPixels (again). The changes are:
(a) GDSETPIXEL_OPACITY renamed to GDPIXEL_OPACITY
(b) GDSETPIXEL_DISABLED renamed to GDPIXEL_DISABLED
(c) Changed both function calls from "SetPixels(..., BOOL bFixedPoint)" to "SetPixels(..., DWORD dwFlags)".
(Use the new flag GDSETPIXELS_FIXEDPOINT to use fixed point)
Minor SDK Changes
- CGapiBitmapFont::CreateFont now returns GDERR_INVALIDBITMAP if the font bitmap was invalid.
- When drawing a rotated, colorfilled rectangle using Blt, Blt will now use source surface size if pSrcRect is NULL.
Bug fixes
- GetDC / ReleaseDC did previously not work correctly if the surface had an odd pixel width.
- On stationary computers, CGapiDisplay::SetDisplayMode did previously return GDERR_OUTOFMEMORY if it was called before OpenDisplay.
- On stationary computers, keyboard mapping was incorrect when running in windowed landscape mode.
- The display could not be re-opened if it had been closed once (using the CGapiDisplay destructor).
- Drawing directly to the display in landscape mode #2 on the IPAQ would cause GapiDraw to crash.
- Switching between fullscreen and "desktop mode" on stationary computers would previously cause the primary surface to be lost.
- Some BMP images were in some cases previously rendered incorrectly.
/Johan
Major Improvements
- GapiDraw now supports the PocketPC, the PocketPC2002 and the Smartphone emulators!
- GapiDraw now supports BMP, GIF, JPG, and PNG on all platforms. Images can be loaded from file, memory or resource.
- GapiDraw Extensions! CGapiSurface now has GetBuffer() and ReleaseBuffer() which allows for easy low level bit manipulation. You can now directly access both the display and the surfaces used by GapiDraw! Check the new GDPlasma demo (which is an MFC-free demo) for sample code.
- Extreme performance improvement on stationary computers in both fullscreen and window mode! Try the demo GDDemoXP in SVGA fullscreen mode!
- Significantly improved performance in all CGapiSurface operations except the most simple ones.
- Significantly improved performance for AlphaBlt and AlphaBltFast (More than 3.5x speed improvement in both operations).
- Significantly improved performance when Opacity is being used in all operations (more than 2.5x speed improvement)
- 16-bit bitmaps were previously rendered as 15-bit. With 1.02 they are now rendered using the full 565 color range (65k colors).
SDK Additions
- New sample application - GDPlasma - written in plain C/C++ without MFC.
- Support for Smartphone display resolution on stationary computers (176x220) in all orientations.
- FontMaker.exe by MetalShard Inc (http://www.metalshard.com) is now included to quickly create correctly kerned fonts.
- Improved font format! The bitmap font format now also supports character kerning in both directions (see CBitmapFont documentation for details). It's now possible to easily create correctly kerned italic fonts.
- Support for a new, simpler font format: GDCREATEFONT_SIMPLEBITMAP. Just draw some font letters and it's ready for use! See the demos GDHelloGapi and GDPlasmaDemo for sample code.
- CGapiInput now has CloseInput() and OpenInput() to manually disable/enable the exclusive keyboard lock when switching between applications.
- AlphaBlt and AlphaBlt now uses QuickOpacity if Opacity is set to 128
- It is now possible to set a color key before calling CreateSurface (previously it was reset to zero during CreateSurface)
SDK Changes ( !! IMPORTANT !! )
- RLE-Encoded BMP images are no longer supported. Change your picture format to plain BMP, GIF, PNG or JPG.
- CreateSurface(HINSTANCE hInstance, DWORD dwResourceID) is now CreateSurface(HINSTANCE hInstance, DWORD dwResourceID, const TCHAR* pResourceType = NULL). See documentation for details.
- CGapiBitmapFont::InitializeFont renamed to CGapiBitmapFont::CreateFont
- For performance reasons, AlphaBlt / AlphaBltFast now only uses the GREEN component of the Alpha bitmap. Make sure your alpha maps contain a GREEN channel.
- Removed "const TCHAR* pImageType" from some CreateSurface variants since it was not used and is no longer necessary.
- The screen is now always opened in FULLSCREEN mode on all Windows CE devices.
- Changes to SetPixels (again). The changes are:
(a) GDSETPIXEL_OPACITY renamed to GDPIXEL_OPACITY
(b) GDSETPIXEL_DISABLED renamed to GDPIXEL_DISABLED
(c) Changed both function calls from "SetPixels(..., BOOL bFixedPoint)" to "SetPixels(..., DWORD dwFlags)".
(Use the new flag GDSETPIXELS_FIXEDPOINT to use fixed point)
Minor SDK Changes
- CGapiBitmapFont::CreateFont now returns GDERR_INVALIDBITMAP if the font bitmap was invalid.
- When drawing a rotated, colorfilled rectangle using Blt, Blt will now use source surface size if pSrcRect is NULL.
Bug fixes
- GetDC / ReleaseDC did previously not work correctly if the surface had an odd pixel width.
- On stationary computers, CGapiDisplay::SetDisplayMode did previously return GDERR_OUTOFMEMORY if it was called before OpenDisplay.
- On stationary computers, keyboard mapping was incorrect when running in windowed landscape mode.
- The display could not be re-opened if it had been closed once (using the CGapiDisplay destructor).
- Drawing directly to the display in landscape mode #2 on the IPAQ would cause GapiDraw to crash.
- Switching between fullscreen and "desktop mode" on stationary computers would previously cause the primary surface to be lost.
- Some BMP images were in some cases previously rendered incorrectly.
/Johan