Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
33 user(s) are online (21 user(s) are browsing Forums)

Members: 1
Guests: 32

billyfish, more...

Support us!

Headlines

 
  Register To Post  

« 1 2 (3)
Re: Fresh version of Grafx2
Just can't stay away
Just can't stay away


See User information
@walkero

Texture color modulation couldn't be done with CompositeTags. But OpenGL(ES2) supports it.

If application uses color modulation heavily, please try with software/opengles2.

Go to top
Re: Fresh version of Grafx2
Site Builder
Site Builder


See User information
@Capehill
Thank you for that info. I will compile it again and give it a go.

Follow me on
Ko-fi, Twitter, YouTube, Twitch
Go to top
Re: Fresh version of Grafx2
Not too shy to talk
Not too shy to talk


See User information
@walkero

Quote:
I think it was SDL_SetTextureColorMod()


I checked a few things today but I didn't come across anything wrong with the SDL2 related code.
But I noticed the same thing as in your video what is occurring with me . The SDL2 version even when you do nothing eats a lot of CPU for you and me.
SDL1 in non-use mode eats about 1%CPU and SDL2 about 20-30%.
It is possible that the main loop or things related to the Event, the SDL_Delay setting in the program itself are causing the problem.

Go to top
Re: Fresh version of Grafx2
Site Builder
Site Builder


See User information
What I found today is the same version of Grafx 2.9 compiled with SDL2 works a little bit faster when the SDL driver is set to software that to any of the opengl ones, which seems weird.

But the best performance comes when using the SDL1 version of the app, with the SDL driver set to software and the batch being enabled.

Follow me on
Ko-fi, Twitter, YouTube, Twitch
Go to top
Re: Fresh version of Grafx2
Just popping in
Just popping in


See User information
Not sure if it helps or not. I use 2.8 and it has performance problems when i draw a circle. But only if i have "compositing" enabled in the SDL Config (prefs/SDL). With "software" enabled, it runs well..

And if you disable "effects" (compositing) in GUI Prefs, it is faster again.. Compositing in window mode on OS4 does not work well. Maybe a Vsync issue (in Super Star Blast Window mode -> faster without effects turned on in GUI )

Go to top
Re: Fresh version of Grafx2
Home away from home
Home away from home


See User information
@imagodespira

compositing is only fast, if bitmap is in vram, and destination is in vram, if the source bitmap is in system memory, and destination is vram it’s not fast.

Compositing has many ways to compose a source on to a destination, not sure if all modes are fast, and not sure, on older graphic card there seams be performance problem in 16bit.

(NutsAboutAmiga)

Basilisk II for AmigaOS4
AmigaInputAnywhere
Excalibur
and other tools and apps.
Go to top
Re: Fresh version of Grafx2
Just can't stay away
Just can't stay away


See User information
@walkero

Grafx2 seems to lock texture for updating and then it uses a bunch of memcpys to upload data to VRAM. It would be an interesting test to replace lock/memcpys/unlock by SDL_UpdateTexture which does one Blit call.

Go to top
Re: Fresh version of Grafx2
Home away from home
Home away from home


See User information
@Capehill

Yes, that should help.

(NutsAboutAmiga)

Basilisk II for AmigaOS4
AmigaInputAnywhere
Excalibur
and other tools and apps.
Go to top

  Register To Post
« 1 2 (3)

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project