bpd1069 / naclports

Automatically exported from code.google.com/p/naclports
0 stars 0 forks source link

DOSBox fullscreen please #79

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. make dosbox
2. run httpd server
3. open http://localhost:5103/.../dosbox.html
4. press alt-enter

- What is the expected output?

You'd expect dosbox to go fullscreen

- What do you see instead?

No change.

- What version of the product are you using? On what operating system?

Head revision of naclports of pepper_30 (canary)

- Please provide any additional information below:

I'm partway through making fullscreen work. See attached patches for SDL and 
for DOSBox. They're pretty hacky, just meant to inspire you guys, not 
suggesting these as official patches :)

I made quite a few changes to SDL_PepperInstance before I realized that it's 
not used, it's DOSBox's pepper_instance. But the principle is the same; the 
DidChangeView method call is passed to SDL_naclvideo.cc even if the 
width/height didn't change but the fullscreenness did.

So this gets dosbox to go fullscreen, but not to scale to the full screen size. 
I'm hoping there's some trivial nacl that will keep the front buffer the modest 
640x400 size, but will scale it up to fullscreen. Otherwise I could scale the 
embed at the html level somehow.

Original issue reported on code.google.com by ho...@google.com on 26 Aug 2013 at 5:01

Attachments: