The SDL forums have moved to discourse.libsdl.org.
This is just a read-only archive of the previous forums, to keep old links working.


SDL Forum Index
SDL
Simple Directmedia Layer Forums
libSDL 2 porting problem to OpenVMS
Alphaer


Joined: 16 Apr 2015
Posts: 3
Hello!

I need you help so much,

I'm libSDL OpenVMS porting man, I succesfully port and support libSDL 1.2 branch,
but has some troubles with libSDL 2

I see
"couldnt create renderer, couldnt find matching render driver" when start TESTDRAW2

After debugging

I see that get_visualinfo()
accepts from X11_XMatchVisualInfo
this values:

red_mask=7
green_mask=56
blue_mask=192 (decimal)
(in the XVisualInfo structure)

I just decompite it to binary and see

00000111
00111000
11000000

is it BGR233 ?

it seems is not supported in libSDL ?
Any help would be great

--
libSDL 2 porting problem to OpenVMS
Ryan C. Gordon
Guest

Quote:
I just decompite it to binary and see

00000111
00111000
11000000

is it BGR233 ?

8-bit color is the best OpenVMS offers?

--ryan.



_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
libSDL 2 porting problem to OpenVMS
Alphaer


Joined: 16 Apr 2015
Posts: 3
some OpenVMS workstations has 16/24/32 bit color
but some servers, and some workstations has only 8 bit. I'm excited to make it working on the total set of systems.


Среда, 22 апреля 2015, 15:51 -04:00 от "Ryan C. Gordon":
Quote:

Quote:
I just decompite it to binary and see

00000111
00111000
11000000

is it BGR233 ?

8-bit color is the best OpenVMS offers?

--ryan.



_______________________________________________
SDL mailing list
[url=/compose?To=][/url]
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org




libSDL 2 porting problem to OpenVMS
Alphaer


Joined: 16 Apr 2015
Posts: 3
Can you help me to make support for BGR233?


Четверг, 23 апреля 2015, 13:36 +03:00 от Alexey Chupahin:
Quote:
some OpenVMS workstations has 16/24/32 bit color
but some servers, and some workstations has only 8 bit. I'm excited to make it working on the total set of systems.


Среда, 22 апреля 2015, 15:51 -04:00 от "Ryan C. Gordon":
Quote:

Quote:
I just decompite it to binary and see

00000111
00111000
11000000

is it BGR233 ?

8-bit color is the best OpenVMS offers?

--ryan.



_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org






_______________________________________________
SDL mailing list
[url=/compose?To=][/url]
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org