Commit Graph

33 Commits

Author SHA1 Message Date
Sam Lantinga
902eba96d6 Use GL direct updates when possible
--HG--
branch : SDL-1.2
2007-07-07 19:22:27 +00:00
Sam Lantinga
a272a39184 Fixed bug #360
Fixed fullscreen video modes and improved the mouse grab code.

--HG--
branch : SDL-1.2
2007-07-07 19:20:28 +00:00
Sam Lantinga
cc9abb85bd Reverted mousewheel support in 1.2, since it breaks binary compatibility.
--HG--
branch : SDL-1.2
2007-07-06 13:39:03 +00:00
Sam Lantinga
9c3a477063 Fixed bug #382
Added horizontal scrolling support: SDL_BUTTON_WHEELLEFT (6) and SDL_BUTTON_WHEELRIGHT (7)

--HG--
branch : SDL-1.2
2007-07-06 09:15:43 +00:00
Ryan C. Gordon
d8fb6277e9 Chopped out some code to match changes in revision #2793 to fix build...but
I think this just breaks fullscreen YUV rendering.

--HG--
branch : SDL-1.2
2006-11-07 14:06:25 +00:00
Sam Lantinga
c5aad8550a Fixed formatting
--HG--
branch : SDL-1.2
2006-09-24 15:36:37 +00:00
Sam Lantinga
26d3de141a Fixed bug #286
Date: Thu, 9 Feb 2006 17:06:51 +0300
From: "Oleg K  [BeSman]"
Subject: BeOS SDL patches

Hello all. My name is Oleg K. [BeSman], Im a BeOS user from Russia.This mail
contain a BeOs-specific patches to SDL (implementation of InputGrabbing and
mouse_relative mode). See the source in attached file for details.

--HG--
branch : SDL-1.2
2006-09-24 15:31:42 +00:00
Sam Lantinga
201afd083a More general fix for bug #189
The clipping is done at a higher level, and the low level functions are
passed clipped rectangles.  Drivers which don't support source clipping
have not been changed, so the image will be squished instead of clipped,
but at least they will no longer crash when the destination rect was out
of bounds.
2006-04-17 06:47:23 +00:00
Sam Lantinga
a1a6152214 Date: Wed, 29 Mar 2006 17:26:55 +0200 CEST
From: "Fran���is Revol"
Subject: [SDL] BeOS port fix: PrintScreen key crashing

It seems the latest SDL crashes when someone hits the PrtScrn key in
ZETA (BeOS R6), somewhere it gets a negative value as key code (or a
big unsigned maybe ?), and uses it as an index in the keysym table...
I'll investigate the cause for the negative value, but it's always
better to check for bounds correctly when indexing a table. The
attached diff fixes it.

Fran���is Revol
--
Software Architect
yellowTAB GmbH
2006-03-31 06:16:20 +00:00
Sam Lantinga
e1ae9a0b81 Fixed bug #175
Removed obsolete .cvsignore files... whee!
2006-03-23 21:39:58 +00:00
Sam Lantinga
310df05e46 *** empty log message *** 2006-03-21 16:04:44 +00:00
Sam Lantinga
e9e9f43bc0 Added current_w and current_h to the SDL_VideoInfo structure, which is set to the desktop resolution during video intialization, and then set to the current resolution when a video mode is set.
SDL_SetVideoMode() now accepts 0 for width or height and will use the current video mode (or the desktop mode if no mode has been set.)
2006-03-15 17:46:41 +00:00
Sam Lantinga
61ae237dcb Catch the C++ and Objective C sources too... 2006-02-21 08:47:46 +00:00
Sam Lantinga
190b425364 Use consistent identifiers for the various platforms we support.
Make sure every source file includes SDL_config.h, so the proper system
headers are chosen.
2006-02-21 08:46:50 +00:00
Sam Lantinga
49255e3fa6 Fixes for BeOS and Solaris builds 2006-02-17 08:43:23 +00:00
Sam Lantinga
f05187e232 New configure-based build system. Still work in progress, but much improved 2006-02-16 10:11:48 +00:00
Sam Lantinga
769424426d More header massaging... works great on Windows. ;-) 2006-02-10 06:48:43 +00:00
Sam Lantinga
1e037cc218 Removed uses of stdlib.h and string.h 2006-02-07 09:29:18 +00:00
Sam Lantinga
02cc6c0f11 Use SDL_ prefixed versions of C library functions.
FIXME:
Change #include <stdlib.h> to #include "SDL_stdlib.h"
Change #include <string.h> to #include "SDL_string.h"
Make sure nothing else broke because of this...
2006-02-07 06:59:48 +00:00
Sam Lantinga
808a16717c Updated copyright information and removed rcs id lines (problematic in branch merges)
I batch edited these files, so please let me know if I've accidentally removed anybody's
credit here.
2006-02-01 06:32:25 +00:00
Sam Lantinga
f950d1bdc1 Date: Tue, 14 Dec 2004 12:08:30 +0100
From: Marcin Konicki
Subject: Re: [SDL] SDL 1.2.8 Prerelease

I'm sending small fix for BeOS, which prevents filling up SDL's message
queue too fast.
Without it, SDL receives "key down" messages from BeOS code, for each key
repeat (BeOS handles key repeats itself, and application can check if
received "key down" message from BeOS is first time key down, or if it's
repeat, and which repeat it is). Since there is no way for "sdl driver" to
turn off "default" SDL's key-repeat mechanism, they were working both at
the same time (and queue could be filled up very fast).
So this patch removes handling "key down" message from BeOS if it's
key_repeat "type".
2004-12-14 18:23:27 +00:00
Sam Lantinga
1fd5ea3b26 Date: Mon, 21 Jun 2004 16:52:47 +0200
From: Marcin Konicki
Subject: SDL 1.2.7 patch for BeOS (new input handling code)

I rewrote input handling code for BeOS. It should be faster now (i got
report that mouse is faster, keyboard should be too, but it's harder to
observe).

I'll try to add mouse wheel support too, soon.

Stefano Ceccherini (a.k.a Jack Burton) helped me beautify code (working
version was less clean), and it was he who asked me to write this thing ;).
2004-07-18 19:36:06 +00:00
Sam Lantinga
15eebb8ffd Date: Sat, 03 Jul 2004 02:23:48 +0200
From: Marcin Konicki
Subject: [PATCH] Add missing functions and bring back OpenGL

This patch adds missing functions:
IconifyWindow
GetWMInfo
GL_LoadLibrary
GL_GetProcAddress
GL_GetAttribute
GL_MakeCurrent

Adding GL_* functions brings back working OpenGL in SDL for BeOS :).
With addd GL_* functions there are few changes in Window class to handle
changes better.

Patch also fixes bug which freezed window when using MesaGL instead of
BeOS r5 GL - it just needed Window->Quit() added into BE_VideoQuit().
THX to Michael Weirauch (a.k.a emwe) who worked on that bug before and
found that it freezes because of lock somewhere.

THX to Matti "Mictlantecuhtli" Lev��nen for testing, Rod��ric Vicaire
(a.k.a. Ingenu) for OpenGL wisdom, and Stefano Ceccherini (a.k.a Jack
Burton) for asking me to fix SDL on BeOS :).
2004-07-18 19:14:33 +00:00
Sam Lantinga
32719e7429 Updated copyright information for 2004 (Happy New Year!) 2004-01-04 16:49:27 +00:00
Sam Lantinga
fa53565425 te: Mon, 15 Dec 2003 08:25:14 -0800 PST
From: "Andrew Bachmann"
Subject: libSDL patches for beos video

I created some patches to SDL:

1. YUV overlay support
2. maintain high refresh rate when changing resolutions to a lower resolution
2003-12-16 13:04:44 +00:00
Sam Lantinga
247f6e23bb Fixed spurious keypress at startup on BeOS 2002-04-11 18:22:05 +00:00
Sam Lantinga
df4885048e Updated copyright information for 2002 2002-03-06 11:23:08 +00:00
Sam Lantinga
acfcfd3e44 Updated the source with the correct e-mail address 2001-12-14 12:38:15 +00:00
Sam Lantinga
971133992f Fixed flashing the screen when creating a window on BeOS 2001-10-14 20:30:10 +00:00
Sam Lantinga
9f587f9b4f Removed debug info accidentally comitted 2001-07-21 18:36:37 +00:00
Sam Lantinga
003579a4fd Now returns an error if unable to open audio on BeOS
Fixed bugs in fullscreen/windowed mode changes, removed duplicated code.
2001-07-20 20:07:53 +00:00
Sam Lantinga
ffae27155e Changes since SDL 1.2.0 release 2001-04-26 16:50:19 +00:00
Sam Lantinga
5d2015c741 Initial revision 2001-04-26 16:45:43 +00:00