Login  Register

Re: intent of reqPixelScale in GLCanvas

Posted by gouessej on Apr 18, 2023; 11:05am
URL: https://forum.jogamp.org/intent-of-reqPixelScale-in-GLCanvas-tp4042430p4042470.html

Sven Gothel wrote
Additionally, the general semantics are a bit odd and on Windows + Linux sort of reverse (like Matrix multiplication).
So this naturally adds to the confusion.
DirectXMath uses row-major order whereas OpenGL uses column-major order by default but some methods accept GL_TRUE for the "transpose" parameter. Is it what you meant?

Sven Gothel wrote
Other API abstractions we have are AFAIK not that difficult to my knowledge, or at least they are mostly straightforward.

Hmm, I saw no issue with the NEWT mouse pointer API when integrated it with GraphUI, we did that somewhat together back then AFAIK - consolidating touchpad + mouse to multi-pointer.

But of course, complexity is high when changing something in-between the public API and the platform-code, as side-effects are always possible and auto-testing certain UI feats are hard, especially interaction.
For the latter I used AWT-Robot and our own 'mouse control -> warp' .. still, its a big thing.

Hence hacking now on general simple UI layout and math is a breeze :)

But I will come back to this to fix it .. and I am glad that we have other testers like you here.
Thanks. I think that you see what I mean. I don't want to have to warp the pointer somehow to get relative mouse movements. The information I need are in LibInput but I'll need Udev too for joysticks.
Julien Gouesse | Personal blog | Website