Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
24 user(s) are online (17 user(s) are browsing Forums)

Members: 1
Guests: 23

hotrod, more...

Support us!

Headlines

Forum Index


Board index » All Posts (Capehill)




Re: SDL3
Just can't stay away
Just can't stay away


@walkero

sdl2/3benchmark is a simple tool to test SDL_Renderer subsystem, so this probably doesn't help if LiteXL is using frame buffer drawing.

Here are the links:

https://github.com/AmigaPorts/SDL/blob/SDL2/test/sdl2benchmark.c
https://github.com/AmigaPorts/SDL/blob/main/test/sdl3benchmark.c

Binaries should be in SDL2/3 release archives.

Go to top


Re: SDL3
Just can't stay away
Just can't stay away


@walkero

Yes, I just tested with sdl3benchmark, BUT, you need to enable profiling first. It's not very hard:

1) Read Profyler guide, it's awesome.
2) Build libprofyle.a and copy to SDK:local/newlib/lib/
3) Build SDL3 with -finstrument-functions added in Makefile.amigaos4
4) Build your app with -finstrument-functions and add -lprofyle
5) Start Profyler
6) Start your app
7) Quit your app
8) If you did 3), then it might take some time to get the results.

If you can't or don't want to do step 3, then I can provide you the libs later.

Go to top


Re: SDL3
Just can't stay away
Just can't stay away


@walkero

Debug variant has only serial debug added. Please use the non-debug lib for profiling to avoid logging overhead. Both libraries contain debug symbols.

CatComp vs. FlexCat: okay I will investigate this at some point.

Go to top


Re: SDL3
Just can't stay away
Just can't stay away


@walkero

With or without LITE_USE_SDL_RENDERER? If with LITE_USE_SDL_RENDERER, then does SDL_RENDER_DRIVER have impact?

Go to top


Re: SDL3
Just can't stay away
Just can't stay away


@walkero

It's a broad question. Did you have some specific subsystem / feature in mind?

Go to top


Re: Fractal Nova 1.1
Just can't stay away
Just can't stay away


@trixie

Here is the source code, under Zlib license:

https://github.com/capehill/fractal-nova

Go to top


Re: SDL3
Just can't stay away
Just can't stay away


SDL 3.2.14 is available: https://github.com/AmigaPorts/SDL/releases/tag/v3.2.14-amigaos4

Quote:

Fix 4th/5th buttons in global mouse state
Fix pointer visibility issue in relative mouse mode
Improve process code
Workaround testasyncio slowness


https://github.com/AmigaPorts/SDL/rele ... v3.2.14-amigaos4/SDL3.lha

Go to top


Re: SDL2
Just can't stay away
Just can't stay away


SDL 2.32.6 is available: https://github.com/AmigaPorts/SDL/releases/tag/v2.32.6-amigaos4

Changes:

Quote:

Fix pointer visibility issue in relative mouse mode
Fix 4th/5th buttons in global mouse state
Add AISS images to SDL2 prefs menu
Remove constructor/destructor workarounds


https://github.com/AmigaPorts/SDL/rele ... v2.32.6-amigaos4/SDL2.lha

Go to top


Re: MilkyTracker v1.05
Just can't stay away
Just can't stay away


@smarkusg

Good to hear it built OK.

Q: we can use LTO now? Which version of compiler is needed?

Go to top


Re: MilkyTracker v1.05
Just can't stay away
Just can't stay away


In case someone is interested to build MilkyTracker, here is a very rough guide. I have compiled some older versions natively using CMake, but since I don't have that on my current setup, I have been cross-compiling on Linux.

You need:

1) a working cross-compiler installation (adtools)
2) SDL2 headers + libs
3) git clone of https://github.com/capehill/MilkyTracker

Then you could create a build directory for cmake and configure project:

CMAKE_PREFIX_PATH=<your_path>/native-build/root-cross/ppc-amigaos/SDK/local/newlib cmake .. -DCMAKE_CROSSCOMPILING=ON -DCMAKE_FIND_ROOT_PATH=<your_path>/native-build/root-cross/bin/ -DCMAKE_CXX_COMPILER=ppc-amigaos-g++ -DCMAKE_C_COMPILER=ppc-amigaos-gcc -DFORCESDL=1 -DAMIGA=1 -DCMAKE_BUILD_TYPE=Release

If this worked, you can build it:

make -j8 VERBOSE=1

Go to top


Re: Fractal Nova 1.1
Just can't stay away
Just can't stay away


@trixie

Oh, and some ideas what Nova could do:

- a GPU synth
- Real-time image processing with shader plugins
- a ray marched game (so not polygon-based). On my bucket list.

Go to top


Re: Fractal Nova 1.1
Just can't stay away
Just can't stay away


@trixie

Totally possible. Need to add some license.

Nova sources are rare. I asked once GitHub copilot to generate code that creates fragment shader using Warp3D Nova. It came up with something distantly familiar but not quite right. Wonder how it got even that far.

Go to top


Re: Fractal Nova 1.1
Just can't stay away
Just can't stay away


Update after some time. Version 1.1 is in the upload queue with following changes:

- Add fullscreen mode
- Add icon tooltypes
- Add about requester
- Add iconification
- Add Control-C handling
- Remove command-line parameters
- Start using window.class
- Improve RMB menus
- Improve colour mapping
- Improve logger
- Improve some log messages
- Fix texture sampler resource leak
- Fix texture coordinate setup
- Fix some compiler warnings
- Fix some CppCheck issues
- Refactor code

Go to top


Re: Open Medal of Honor (BETA)
Just can't stay away
Just can't stay away


@rjd324

I haven't yet tried with Q3 but it worked with my test program.

By the way, if you use that old SDL2 and do "setenv SDL_MOUSE_RELATIVE_CURSOR_VISIBLE 1", you should be able to see if relative mode works at all. Probably not, because of missing implementation. (And please remember to delete variable later)

Go to top


Re: SDL3
Just can't stay away
Just can't stay away


3.2.8 is available https://github.com/AmigaPorts/SDL/releases/tag/v3.2.8-amigaos4

AmigaOS 4 main changes:

Quote:

Fix issue with window size after SetWindowPosition
Prefs: add AISS images to menus (#48)
Ignore destination alpha for target textures (#150)
Remove constructor / destructor workarounds
Improve OS4_DebugPrintF
sdl3benchmark: reset random seed before every test
Support SDL_PROP_APP_METADATA_NAME_STRING and SDL_HINT_APP_NAME (#115)
Improve timer resolution from milliseconds to microseconds
Cleanup code and makefiles


https://github.com/AmigaPorts/SDL/rele ... /v3.2.8-amigaos4/SDL3.lha

Go to top


Re: Dear ImGui
Just can't stay away
Just can't stay away


@FlynnTheAvatar

I suppose you mean the A500 emulator. Is it open source? I heard about that today so I can't say much.

@afxgroup

I'm planning to use this with some of my own software if I ever find time to work on those :/

@jabirulo

Yes, need to investigate is it SDL3 or ImGui issue.

@rjd324

Cool. I have tried Spacecadet but didn't realize that at time. Does it use OpenGL context or SDL_renderer backend? I noticed ImGui's SDL_Renderer uses geometry calls which cannot be properly implemented with CompositeTags due to missing vertex colors. Of course software, OpenGL or OpenGLES2 work with SDL_renderer too.

Go to top


Dear ImGui
Just can't stay away
Just can't stay away


https://github.com/ocornut/imgui

Here is a rough guide how to get it running using SDL2 or 3.

* Common

imconfig.h:

To fix colors, add:

#define IM_COL32_R_SHIFT 24
#define IM_COL32_G_SHIFT 16
#define IM_COL32_B_SHIFT 8
#define IM_COL32_A_SHIFT 0
#define IM_COL32_A_MASK 0x000000FF

Enable following to avoid code which uses fork():

#define IMGUI_DISABLE_DEFAULT_SHELL_FUNCTIONS

* MiniGL (example_sdl2_opengl2)

main.cpp:

Modify GL version to supported:

SDL_GL_SetAttribute(SDL_GL_CONTEXT_MAJOR_VERSION, 1);
SDL_GL_SetAttribute(SDL_GL_CONTEXT_MINOR_VERSION, 3);

* OpenGLES 2 (example_sdl2_opengl3, example_sdl3_opengl3)

Makefile:

Add:

-DIMGUI_IMPL_OPENGL_ES2

Demo: https://capehill.kapsi.fi/imgui/imgui_amigaos4.lha (MiniGL or OpenGLES2 required).

Go to top


Re: X5000/40 manual and RAM
Just can't stay away
Just can't stay away



Go to top


Re: Enhancer upgrades anymore?
Just can't stay away
Just can't stay away


I wonder if there is a chance to get some Nova fixes and features? For example float texture and cube map texture. And then those missing ops that fails shader compilation.

Go to top


Re: SDL2
Just can't stay away
Just can't stay away


2.32.0 RC1 is available: https://github.com/AmigaPorts/SDL/releases/tag/v2.32.0-rc1-amigaos4

Quote:

AmigaOS 4 -specific changes:

Support 4th and 5th mouse buttons
Add localized system menus to window (both SDL2 prefs and SDL2 shared object use now sdl2.catalog)
Support SDL_HINT_APP_NAME
Fix issue with audio recording cleanup
sdl2benchmark: reset random seed before every test


Download link: https://github.com/AmigaPorts/SDL/rele ... 2.0-rc1-amigaos4/SDL2.lha

Go to top



TopTop
(1) 2 3 4 ... 87 »




Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project