Recent

Author Topic: BGRABitmap slow on WinCE  (Read 3126 times)

SonnyBoyXXl

  • Jr. Member
  • **
  • Posts: 57
BGRABitmap slow on WinCE
« on: September 26, 2017, 09:24:27 am »
HI folks,

I'm currently working on a WinCE program and want to use the great BGRABitmap library. The program is working. But it is very, very slow.
A tried some of the examples coming with CodeTyphon. The FPS goes down to around 3 frames per second.
Standard WinAPI drawings on CE are fast. It's a 1GHz ARM 7 processor.
I tried also double buffering, but also very slow.
What can be the reason?

Thx!

Thaddy

  • Hero Member
  • *****
  • Posts: 14211
  • Probably until I exterminate Putin.
Re: BGRABitmap slow on WinCE
« Reply #1 on: September 26, 2017, 11:30:39 am »
Probably that BGRA does not take advantage of the graphics card on your device?
Did you try optimizing the compiler settings for fpu?
Usually use opengles on wince or use standard GDI. That automatically supports the graphics card.
It may depend on your device though. But maybe BGRA even supports Opengl/opengles?
Specialize a type, not a var.

SonnyBoyXXl

  • Jr. Member
  • **
  • Posts: 57
Re: BGRABitmap slow on WinCE
« Reply #2 on: September 26, 2017, 07:01:07 pm »
also tried now on Raspberry Pi v3. But also slow, even if a little bit faster.
Plama (Test Nr 10) of function test has 4 FPS, on Win7 PC it's around 100 FPS.

I will now try to adjust the compiler settings.

RAW

  • Hero Member
  • *****
  • Posts: 868
Re: BGRABitmap slow on WinCE
« Reply #3 on: September 26, 2017, 08:50:26 pm »
There is a CodeTyphon Graphics32 version for WinCE, isn't it ?
Maybe it's worth a try...  :)
Windows 7 Pro (x64 Sp1) & Windows XP Pro (x86 Sp3).

SonnyBoyXXl

  • Jr. Member
  • **
  • Posts: 57
Re: BGRABitmap slow on WinCE
« Reply #4 on: September 27, 2017, 08:46:35 pm »
I tried now to compile with settings -CfVFPV3_D16, but I get now the error "Fatal: Can't find unit system used by test".
Without the switch compiling is okay. what could be the reason?

fredycc

  • Sr. Member
  • ****
  • Posts: 264
Re: BGRABitmap slow on WinCE
« Reply #5 on: October 16, 2017, 04:28:28 pm »
Hi @SonnyBoyXXl, I had the same problem with version 1 of raspberry, I could never solve the same problem.  :(

Regards

 

TinyPortal © 2005-2018