ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/BasiliskII/src/SDL/video_sdl.cpp
Revision 1.22 - (view) (annotate) - [select for diffs]
2005-11-29T23:20:31Z (18 years, 7 months ago) by gbeauche
Branch: MAIN
CVS Tags: nigel-build-17
Changes since 1.21: +13 -0 lines
Diff to previous 1.21
Protect the SDL events queue when changing the cursor map in SheepShaver,
aka fix "Xlib: unexpected async reply" messages in SDL/x11 builds.

Revision 1.21 - (view) (annotate) - [select for diffs]
2005-11-21T23:38:46Z (18 years, 7 months ago) by gbeauche
Branch: MAIN
Changes since 1.20: +26 -9 lines
Diff to previous 1.20
Remove obsolete Cygwin/X11 addressing hack. Fix DirectX fullscreen mode
with hardware surface. On the other hand, DIB (SDL_VIDEODRIVER=windib)
always seems the fastest on my system for both windowed and fullscreen
modes.

Revision 1.20 - (view) (annotate) - [select for diffs]
2005-06-14T22:35:42Z (19 years ago) by gbeauche
Branch: MAIN
Changes since 1.19: +49 -19 lines
Diff to previous 1.19
Support USE_CPU_EMUL_SERVICES in SDL/video driver. Only trigger ethernet
interrupt in one_tick() if no pthreads at all are used, i.e. ether_dummy
is effective in that case. Otherwise, don't trigger ethernet again if
pthreads are available (and ether_unix) and cpu emul services are active.

Revision 1.19 - (view) (annotate) - [select for diffs]
2005-06-06T21:20:28Z (19 years, 1 month ago) by gbeauche
Branch: MAIN
Changes since 1.18: +177 -28 lines
Diff to previous 1.18
Add experimental fullscreen SDL video graphics. Map Windows keys to Option.

Revision 1.18 - (view) (annotate) - [select for diffs]
2005-03-20T23:43:17Z (19 years, 3 months ago) by gbeauche
Branch: MAIN
Changes since 1.17: +7 -7 lines
Diff to previous 1.17
more sdl key conversions

Revision 1.17 - (view) (annotate) - [select for diffs]
2005-03-19T05:34:15Z (19 years, 3 months ago) by gbeauche
Branch: MAIN
Changes since 1.16: +10 -2 lines
Diff to previous 1.16
SDL_ListModes() sometimes does not return a sorted list from largest to
smallest screen dimensions (e.g. on windows)

Revision 1.16 - (view) (annotate) - [select for diffs]
2005-03-17T00:19:39Z (19 years, 3 months ago) by gbeauche
Branch: MAIN
Changes since 1.15: +4 -0 lines
Diff to previous 1.15
Default to BasiliskII_keycodes file on Windows if user wants keycodes but
no keycodefile is specified

Revision 1.15 - (view) (annotate) - [select for diffs]
2005-01-30T21:42:14Z (19 years, 5 months ago) by gbeauche
Branch: MAIN
Changes since 1.14: +1 -1 lines
Diff to previous 1.14
Happy New Year!

Revision 1.14 - (view) (annotate) - [select for diffs]
2005-01-22T17:41:33Z (19 years, 5 months ago) by gbeauche
Branch: MAIN
Changes since 1.13: +7 -3 lines
Diff to previous 1.13
fix parsing of the keycode table

Revision 1.13 - (view) (annotate) - [select for diffs]
2004-11-28T19:31:11Z (19 years, 7 months ago) by gbeauche
Branch: MAIN
Changes since 1.12: +53 -21 lines
Diff to previous 1.12
Always use vm_acquire* to allocate frame buffers, so that cygwin/x86 version
can have a chance in case VOSF is not profitable (on video mode switches)
Improve video mode switches in SheepShaver/SDL, aka avoid crashes on win32
as there is apparently no thread canceleation algorithm used in SDL/win32.

Revision 1.12 - (view) (annotate) - [select for diffs]
2004-07-27T21:40:52Z (19 years, 11 months ago) by gbeauche
Branch: MAIN
Changes since 1.11: +10 -4 lines
Diff to previous 1.11
Try to fix 16 bpp over 32 bpp on MacOS X.

Revision 1.11 - (view) (annotate) - [select for diffs]
2004-07-02T06:08:01Z (20 years ago) by gbeauche
Branch: MAIN
Changes since 1.10: +0 -363 lines
Diff to previous 1.10
NQD moved to SheepShaver src/gfxaccel.cpp

Revision 1.10 - (view) (annotate) - [select for diffs]
2004-06-29T21:50:22Z (20 years ago) by gbeauche
Branch: MAIN
Changes since 1.9: +5 -5 lines
Diff to previous 1.9
Don't try to make a cast value an lvalue (Brian Johnson). Add some explicit
casts to (int) in order to avaoid this warning:
warning: comparison between `const enum video_depth' and `enum <anonymous>'

Revision 1.9 - (view) (annotate) - [select for diffs]
2004-06-27T17:31:21Z (20 years ago) by gbeauche
Branch: MAIN
Changes since 1.8: +55 -11 lines
Diff to previous 1.8
Force processing of modifier keys through SDL keysyms. Fix mapping of
Option & Command keys on MacOS X. Fix scroll lock on MacOS X too.

Revision 1.8 - (view) (annotate) - [select for diffs]
2004-06-26T17:20:35Z (20 years ago) by gbeauche
Branch: MAIN
Changes since 1.7: +1 -2 lines
Diff to previous 1.7
Fix video_vosf_init() for BasiliskII/SDL

Revision 1.7 - (view) (annotate) - [select for diffs]
2004-06-26T15:22:01Z (20 years ago) by gbeauche
Branch: MAIN
Changes since 1.6: +39 -23 lines
Diff to previous 1.6
Add heuristic to deitermine run-time effect of VOSF acceleration, and
disable it if it turns out to not be profitable

Revision 1.6 - (view) (annotate) - [select for diffs]
2004-06-24T22:38:42Z (20 years ago) by gbeauche
Branch: MAIN
Changes since 1.5: +29 -6 lines
Diff to previous 1.5
Enable hardware cursor acceleration in SheepShaver/SDL version too.

Revision 1.5 - (view) (annotate) - [select for diffs]
2004-06-24T21:46:55Z (20 years ago) by gbeauche
Branch: MAIN
Changes since 1.4: +69 -16 lines
Diff to previous 1.4
Try to get maximum display width by assuming that would match maximum
possible resolution for fullscreen+hwsurface. Fix, termination of VModes[].
Really handle "windowmodes" prefs item, but this needs code factoring.

Revision 1.4 - (view) (annotate) - [select for diffs]
2004-06-24T15:25:57Z (20 years ago) by gbeauche
Branch: MAIN
Changes since 1.3: +751 -76 lines
Diff to previous 1.3
Initial SDL support for SheepShaver, though it seems to slow down the
emulator somehow. Also use better timing in redraw_func().

Revision 1.3 - (view) (annotate) - [select for diffs]
2004-06-23T22:55:47Z (20 years ago) by gbeauche
Branch: MAIN
Changes since 1.2: +2 -4 lines
Diff to previous 1.2
SDL_WaitThread() works better when the thread arg is valid. ;-)

Revision 1.2 - (view) (annotate) - [select for diffs]
2004-06-23T22:37:33Z (20 years ago) by gbeauche
Branch: MAIN
Changes since 1.1: +16 -3 lines
Diff to previous 1.1
Fix events processing on MacOS X, though mouse motion is still not smooth
enough.

Revision 1.1 - (view) (annotate) - [select for diffs]
2004-06-23T13:47:20Z (20 years ago) by gbeauche
Branch: MAIN
Initial SDL support.

Convenience Links

Links to HEAD: (view) (annotate) Links to nigel-build-17: (view) (annotate)

Compare Revisions

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.

  Diffs between and
  Type of Diff should be a