Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
80 user(s) are online (58 user(s) are browsing Forums)

Members: 1
Guests: 79

DrProton, more...

Headlines

Forum Index


Board index » All Posts (davec555)




Re: wb2filer v0.2
Just popping in
Just popping in


@kas1e understood but it means I have to manually run every time. Commodity means could load on system startup but be able to stop if decided once running.

Go to top


Re: wb2filer v0.2
Just popping in
Just popping in


@kas1e making it a commodity is good as you can then quit/enable/disable as required, right?

Go to top


Re: SDL2
Just popping in
Just popping in


@Capehill I want to be able to pop an open window to a public screen

Go to top


Re: SDL2
Just popping in
Just popping in


Is it possible to use window.class's WINDOW_PopupGadget with SDL2 programs?

Would be very handy to be able to add some functionality via that gadget.

Any info appreciated.

Dave

Go to top


Re: Problems with AmiUpdate
Just popping in
Just popping in


@Rigo Would be happy to chip in. Do you have a patreon/PayPal or anything like that?

Also, any updates to the publicly available CodeBench or a way to at least get the newest you compiled?

Dave

Go to top


Re: Maintainer(s) for libsdl2_* libraries for AOS4
Just popping in
Just popping in


@rjd324 Thankyou for the info. Greatly appreciated.

After tracking down all lib references required for the compile, for everyone else's reference, you need to have installed and accessable in your SDK the libs for libfreetype, libharfbuzz libpng16 and libz.

So makefile line would be something like this:
$(CC) glfont.c -o glfont -lSDL2 -lSDL2_ttf -lfreetype -lharfbuzz -lpng16 -lz -lpthread

Dave

Go to top


Re: Maintainer(s) for libsdl2_* libraries for AOS4
Just popping in
Just popping in


Howdy,
Any change of including the example code as source and with makefile?

I tried to compile a version of glfont.c that I downloaded off the sdl2 branch on github, but I'm getting heaps of errors along the lines of:
/SDK/local/newlib/lib/libSDL2_ttf.a(libSDL2_ttf_la-SDL_ttf.o): In function `TTF_initFontMetrics':
/home/michael/SDL2_ttf-2.20.2/SDL_ttf.c:1961: undefined reference to 
`FT_MulFix'


and so on (ie, heap of undefined references and pointing to Michael's layout (I'm sure its just been compiled in with debug info)).

Go to top


Re: Maintainer(s) for libsdl2_* libraries for AOS4
Just popping in
Just popping in


@MickJT wow. Don't know how I missed that. Thanks!

Go to top


Re: Maintainer(s) for libsdl2_* libraries for AOS4
Just popping in
Just popping in


@MickJT any possibility of updating sdl_ttf?

Go to top


Re: GL4ES: another OpenGL over OpenGLES2 emulation - some tech. info and porting progress
Just popping in
Just popping in


@samo79Quote:
samo79 wrote:@davec555

A bugreport


Assumed so

And will do.

Dave

Go to top


Re: GL4ES: another OpenGL over OpenGLES2 emulation - some tech. info and porting progress
Just popping in
Just popping in


@kas1eQuote:
kas1e wrote:@Dave
Can you maybe create a BZ on ptitSebs site for with explain what you find, etc ?


What is a BZ?

Go to top


Re: GL4ES: another OpenGL over OpenGLES2 emulation - some tech. info and porting progress
Just popping in
Just popping in


Quote:
davec555 wrote:@kas1e
Looks like it might be this commit that broke things:
https://github.com/ptitSeb/gl4es/commi ... 0c1885df6f3097446f68f4083

commit previous to this is running at fast speed, but this one slows to a crawl.

Dave


So the offending line in gl4es.c is (line 253 of newest version):
glstate->list.active->use_vbo_array = 2;

If you comment that out (even on the newest commit), then everything runs at speed.

Dave

Go to top


Re: GL4ES: another OpenGL over OpenGLES2 emulation - some tech. info and porting progress
Just popping in
Just popping in


@kas1e
Looks like it might be this commit that broke things:
https://github.com/ptitSeb/gl4es/commi ... 0c1885df6f3097446f68f4083

commit previous to this is running at fast speed, but this one slows to a crawl.

Dave

Go to top


Re: Updater tool: latest releases and updates
Just popping in
Just popping in


@ktadd
Thankyou. I was looking under system with show updates (which makes sense, but now I know where to look).


Uwhy under Packages does it not list installed version versus remote version?



Thanks again.
Dave

Go to top


Re: GL4ES: another OpenGL over OpenGLES2 emulation - some tech. info and porting progress
Just popping in
Just popping in


@kas1e Howdy.

I tried the newly kas1e comnpiled newlib version but its still slow (slower than software only rendering actually).

My code isn't ready for prime time yet, but I did notice a couple of differences in the GL4ESBANNER output, so not sure if that is relevant.

old sdk gl4es:

LIBGLInitialising gl4es
LIBGL
v1.1.5 built on Apr 17 2021 23:02:30
LIBGL
Using GLES 2.0 backend
LIBGL
Using Warp3DNova.library v54 revision 16
LIBGL
Using OGLES2.library v3 revision 3
LIBGL
OGLES2 Library and Interface open successfuly
LIBGL
Targeting OpenGL 2.1
LIBGL
NPOT texture handled in hardware
LIBGL
Not trying to batch small subsequent glDrawXXXX
LIBGL
: try to use VBO
LIBGL
Force texture for Attachment color0 on FBO
LIBGL
Hack to trigger a SwapBuffers when a Full Framebuffer Blit on default FBO is done
LIBGL
Current folder is:Work:Programming/displwo
LIBGL
Hardware test on current Context...
LIBGLHardware Full NPOT detected and used
LIBGL
Extension GL_EXT_blend_minmax  detected and used
LIBGL
FBO are in core, and so used
LIBGL
PointSprite are in core, and so used
LIBGL
CubeMap are in core, and so used
LIBGL
BlendColor is in core, and so used
LIBGL
Blend Substract is in core, and so used
LIBGL
Blend Function and Equation Separation is in core, and so used
LIBGL
Texture Mirrored Repeat is in core, and so used
LIBGL
Extension GL_OES_mapbuffer  detected
LIBGL
Extension GL_OES_element_index_uint  detected and used
LIBGL
Extension GL_OES_packed_depth_stencil  detected and used
LIBGL
Extension GL_EXT_texture_format_BGRA8888  detected and used
LIBGL
Extension GL_OES_texture_float  detected and used
LIBGL
Extension GL_AOS4_texture_format_RGB332 detected
LIBGL
Extension GL_AOS4_texture_format_RGB332REV detected
LIBGL
Extension GL_AOS4_texture_format_RGBA1555REV detected and used
LIBGL
Extension GL_AOS4_texture_format_RGBA8888 detected and used
LIBGL
Extension GL_AOS4_texture_format_RGBA8888REV detected and used
LIBGL
high precision float in fragment shader available and used
LIBGL
Extension GL_EXT_frag_depth  detected and used
LIBGL
Max vertex attrib16
LIBGL
Max texture size16384
LIBGL
Max Varying Vector32
LIBGL
Texture Units16/16 (hardware32), Max lights8Max planes6
LIBGL
Extension GL_EXT_texture_filter_anisotropic  detected and used
LIBGL
Max Anisotropic filtering16
LIBGL
Max Color AttachmentsDraw buffers1
LIBGL
Hardware vendor is A-EON Technology LtdWritten by Daniel 'Daytona675x' M  ener GoldenCode.eu
LIBGL
GLSL 300 es supported
LIBGL
GLSL 310 es supported and used


new kas1e newlib compile:

LIBGLInitialising gl4es
LIBGL
v1.1.5 built on Sep 26 2023 07:40:34
LIBGL
Using GLES 2.0 backend
LIBGL
Using Warp3DNova.library v54 revision 16
LIBGL
Using OGLES2.library v3 revision 3
LIBGL
OGLES2 Library and Interface open successfuly
LIBGL
Targeting OpenGL 2.1
LIBGL
Not trying to batch small subsequent glDrawXXXX
LIBGL
: try to use VBO
LIBGL
Force texture for Attachment color0 on FBO
LIBGL
Hack to trigger a SwapBuffers when a Full Framebuffer Blit on default FBO is done
LIBGL
Current folder is:Work:Programming/displwo
LIBGL
Loaded a PSA with 2 Precompiled Programs
LIBGL
Hardware test on current Context...
LIBGLHardware Full NPOT detected and used
LIBGL
Extension GL_EXT_blend_minmax  detected and used
LIBGL
FBO are in core, and so used
LIBGL
PointSprite are in core, and so used
LIBGL
CubeMap are in core, and so used
LIBGL
BlendColor is in core, and so used
LIBGL
Blend Subtract is in core, and so used
LIBGL
Blend Function and Equation Separation is in core, and so used
LIBGL
Texture Mirrored Repeat is in core, and so used
LIBGL
Extension GL_OES_mapbuffer  detected
LIBGL
Extension GL_OES_element_index_uint  detected and used
LIBGL
Extension GL_OES_packed_depth_stencil  detected and used
LIBGL
Extension GL_EXT_texture_format_BGRA8888  detected and used
LIBGL
Extension GL_OES_texture_float  detected and used
LIBGL
Extension GL_AOS4_texture_format_RGB332 detected
LIBGL
Extension GL_AOS4_texture_format_RGB332REV detected
LIBGL
Extension GL_AOS4_texture_format_RGBA1555REV detected and used
LIBGL
Extension GL_AOS4_texture_format_RGBA8888 detected and used
LIBGL
Extension GL_AOS4_texture_format_RGBA8888REV detected and used
LIBGL
high precision float in fragment shader available and used
LIBGL
Extension GL_EXT_frag_depth  detected and used
LIBGL
Max vertex attrib16
LIBGL
Extension GL_OES_get_program_binary  detected and used
LIBGL
Number of supported Program Binary Format1
LIBGL
Max texture size16384
LIBGL
Max Varying Vector32
LIBGL
Texture Units16/16 (hardware32), Max lights8Max planes6
LIBGL
Extension GL_EXT_texture_filter_anisotropic  detected and used
LIBGL
Max Anisotropic filtering16
LIBGL
Max Color AttachmentsDraw buffers1
LIBGL
Hardware vendor is A-EON Technology LtdWritten by Daniel 'Daytona675x' M  ener GoldenCode.eu
LIBGL
GLSL 300 es supported and used

Go to top


Re: Updater tool: latest releases and updates
Just popping in
Just popping in


Where do I find it?

I run Updater but it doesn't appear in the list

Dave

Go to top


Re: GL4ES: another OpenGL over OpenGLES2 emulation - some tech. info and porting progress
Just popping in
Just popping in


@kas1e I haven't tried as my program, and sdl2 are compiled with newlib. Assuming you can't link a clib2 with newlibs

Go to top


Re: GL4ES: another OpenGL over OpenGLES2 emulation - some tech. info and porting progress
Just popping in
Just popping in


@kas1e thankyou for the info. Very much appreciated.

Quote:

Quote:

Also, when testing my compiled version of libgl4es.a it works way slower than yours. Any ideas about that?


How you detect that it is slower ? On what tests ? And what versions do you compare : my one from SDK, or my one which i uploaded there in previous message ? The one in SDK is for newlib and a 10-15 months old one, and the one i upload few posts back are for latest version of experemental-in-progress clib2 and from recent gl4es repo (which may have regression too, of course).

Maybe you didn't reboot when test and some LIBGL_* left_overs from Huno's EGL_Wrap in ENV: left, or, maybe you build debug version by default with -gstabs and without optimization turned on by some reasons ?


It was on program that I wrote. It's about as fast as a software only renderer when linking against the lib I compiled versus yours which runs nice and fast. I am using newlib and your version is from your sdk archive. I compiled using your instructions but obviously using a new clone of gl4es. Is there any chance you could do a new build for newlib so I can have a direct lib to compare against (file size etc) to help see what's going on?

Thanks again,
Dave

Go to top


Re: GL4ES: another OpenGL over OpenGLES2 emulation - some tech. info and porting progress
Just popping in
Just popping in


@kas1e Looks like I got gl4es built. How did you build GLU_gl4es?
Also when testing my compiled version of libgl4es.a it works way slower than yours. Any ideas about that?

Thanks for any insight,
Dave


Edited by davec555 on 2023/9/22 7:20:23
Go to top


Re: GL4ES: another OpenGL over OpenGLES2 emulation - some tech. info and porting progress
Just popping in
Just popping in


@kas1e
Is there a new build of SDL2_gl4es ?

Last one is pretty old. Or, are there any instructions on how to build with updated releases?
Finally, what is the latest gl4es available?

Thanks for all the work you do to make it easier for everyone else.

Dave

Go to top



TopTop
(1) 2 »




Powered by XOOPS 2.0 © 2001-2023 The XOOPS Project