Sam Lantinga
c05ca3687f
Added SDL_GL_ExtensionSupported()
...
Use GL_ARB_texture_rectangle in the OpenGL renderer, if supported.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401971
2006-07-22 21:58:17 +00:00
Sam Lantinga
f4ac9ed70c
Query the maximum texture size for the D3D renderer.
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401970
2006-07-22 21:17:37 +00:00
Sam Lantinga
75ff5f31f2
If the OpenGL renderer is selected for a non-OpenGL window, recreate the window with OpenGL enabled.
...
Added OpenGL renderer error checking.
Use fast-path texture formats in the OpenGL renderer.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401969
2006-07-22 21:02:57 +00:00
Sam Lantinga
68df2209ba
Switch OpenGL contexts when switching render contexts.
...
Query the maximum texture size and show the current render parameters.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401968
2006-07-22 19:51:48 +00:00
Sam Lantinga
5c1901a93d
Fixed OpenGL blend modes, added power of 2 texture code
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401967
2006-07-22 19:03:31 +00:00
Sam Lantinga
46ad1ad5d6
Bug fixes to the OpenGL renderer
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401966
2006-07-22 18:01:56 +00:00
Sam Lantinga
2fe561616a
Convert SDL_malloc to SDL_calloc if appropriate, slightly faster on operating systems which map the zero page for memory allocations.
...
OpenGL renderer in progress
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401965
2006-07-22 08:33:18 +00:00
Sam Lantinga
2b538200ba
Fixed to compile while the OpenGL renderer is under construction
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401964
2006-07-19 08:46:57 +00:00
Sam Lantinga
397be19fd2
Starting on the OpenGL renderer...
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401963
2006-07-19 07:18:45 +00:00
Sam Lantinga
cfe0a80302
Implemented scaling in the D3D renderer
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401962
2006-07-19 05:45:42 +00:00
Sam Lantinga
9eea51e280
Implemented blend modes in the D3D renderer
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401961
2006-07-19 05:03:21 +00:00
Sam Lantinga
f2c829616b
Implemented multi-window OpenGL program with test framework.
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401960
2006-07-19 04:24:41 +00:00
Sam Lantinga
3b997f233d
Added a test program framework for easy initialization.
...
Started work on multi-window OpenGL demo
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401959
2006-07-18 07:49:51 +00:00
Sam Lantinga
e0a8c14a39
Implemented Windows OpenGL support
...
Fixed slowdown enumerating display modes, which was hosing OpenGL as well...
Removed SDL_ from the render driver prefixes
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401958
2006-07-17 06:47:33 +00:00
Sam Lantinga
2eed452d04
Setting up the OpenGL support
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401957
2006-07-16 09:34:01 +00:00
Sam Lantinga
89484fea07
Create a fake desktop mode for windowed mode apps
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401956
2006-07-16 03:35:44 +00:00
Sam Lantinga
104c5abf24
Fixed building on Mac OS X without the Carbon and Cocoa video drivers
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401955
2006-07-16 03:32:06 +00:00
Sam Lantinga
0bd0f1331b
Look at environment variables in SDL_VideoInit() and SDL_AudioInit()
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401954
2006-07-15 19:30:18 +00:00
Sam Lantinga
a73c49024f
Implemented fully featured dummy renderer
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401953
2006-07-15 19:29:42 +00:00
Sam Lantinga
d5d8761b60
Streamlined the API a bit and optimized the software renderer.
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401952
2006-07-15 09:46:36 +00:00
Sam Lantinga
dfe1ea2171
Changed the name of the dummy renderer
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401951
2006-07-14 08:24:43 +00:00
Sam Lantinga
0212981bc2
Prefer the D3D renderer over GDI, at least for testing.
...
Added support for the SDL_VIDEO_RENDERER environment variable to pick the desired render driver.
Implemented WritePixels support for the D3D renderer.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401950
2006-07-14 08:22:45 +00:00
Sam Lantinga
e920af3d1b
Yay! D3D renderer works!
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401949
2006-07-14 07:41:16 +00:00
Sam Lantinga
5877021286
More of the Direct3D renderer is implemented, I'm not sure why it's not showing texture copies yet...
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401948
2006-07-14 06:40:53 +00:00
Sam Lantinga
38e7a926a2
Updated Visual C++ 2005 project
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401947
2006-07-13 08:15:35 +00:00
Sam Lantinga
9cbad57c92
Removed libc dependency on Windows again, to fix building with Visual C++ 2005 Express Edition.
...
Fixed performance problem with testsprite2 on the D3D driver.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401946
2006-07-13 08:13:02 +00:00
Sam Lantinga
ddce62b162
First stab at a D3D renderer, only 30FPS so far... ?
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401945
2006-07-12 09:25:17 +00:00
Sam Lantinga
8b10359107
debug cleanup
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401944
2006-07-12 08:09:57 +00:00
Sam Lantinga
4beaa4e63c
Playing around, trying to find a fast path with GDI
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401943
2006-07-12 07:01:35 +00:00
Sam Lantinga
d1be2d9e1c
Solved the performance problems by introducing the concept of a single-buffered
...
display, which is a fast path used for the whole-surface SDL 1.2 API.
Solved the flicker problems by implementing a backbuffer in the GDI renderer.
Unfortunately, now using the GDI renderer with a backbuffer and HBITMAPs is
significantly slower than SDL's surface code. *sigh*
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401942
2006-07-12 06:39:26 +00:00
Sam Lantinga
58d76aea10
Updated the snapshot build target to reflect the new source location
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401940
2006-07-10 21:23:51 +00:00
Sam Lantinga
0f030a1802
SDL 1.2 is moving to a branch, and SDL 1.3 is becoming the head.
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401938
2006-07-10 21:04:37 +00:00
Patrice Mandin
91a32b77a2
sdl.pc is in build directory, not source
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401925
2006-07-06 18:01:37 +00:00
Sam Lantinga
bcc7227e38
Include sdl.pc in the development RPM
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401915
2006-06-27 04:58:26 +00:00
Sam Lantinga
650269aca5
Added 1.2.11 patch notes
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401914
2006-06-27 04:33:31 +00:00
Sam Lantinga
862de2d82b
Fixed libiconv detection
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401911
2006-06-26 16:20:51 +00:00
Sam Lantinga
5b2feecb99
Fixed problem with nasm hidden visibility detection
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401909
2006-06-26 16:15:21 +00:00
Sam Lantinga
cb4f15a094
Almost added Mac OS X nasm support
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401905
2006-06-26 05:27:15 +00:00
Sam Lantinga
554dd3b64b
------- Comment #5 From Marc Peter 2006-06-25 18:03 [reply] -------
...
Created an attachment (id=142) [edit]
updated makefiles for 1.2.11 release
The new Watcom-Win32.zip
- includes the new testcursor test, and
- doesn't link to dxguid.lib anymore (by defining INITGUID for
SDL_dx5events.c),
to fix issue with stack calling convention (-6s can now be used instead of
-6r
in CFLAGS).
------- Comment #6 From Marc Peter 2006-06-25 18:12 [reply] -------
Created an attachment (id=143) [edit]
updated README.Watcom for 1.2.11
- lists new testcursor test
- mentions possibility to build with -6s (stack calling convention) instead
of -6r (register calling convention)
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401903
2006-06-26 01:33:53 +00:00
Sam Lantinga
36aa150ca6
Updated version to SDL 1.2.1
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401902
2006-06-25 18:26:15 +00:00
Sam Lantinga
8c7a772ffd
Updated the version to 1.2.11
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401901
2006-06-25 18:07:34 +00:00
Sam Lantinga
59b92bf98c
--HG--
...
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401899
2006-06-25 17:14:39 +00:00
Sam Lantinga
2c01718695
Fixed including stdint.h with gcc on Win32
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401898
2006-06-25 17:12:08 +00:00
Sam Lantinga
d856d38658
Fix for bug #240
...
Christian Walther contributed Cocoa cursor code.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401897
2006-06-24 17:36:55 +00:00
Sam Lantinga
642baf6edb
Fixed bug #258
...
Account for the menu height in AdjustWindowRectEx()
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401892
2006-06-24 04:30:01 +00:00
Sam Lantinga
684d11f9fd
Fixed bug #255
...
Fixed memory leaks in the windib driver.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401890
2006-06-24 03:41:14 +00:00
Sam Lantinga
9f57178bfb
Fixed bug #260
...
Fixed SDL_GL_SWAP_CONTROL on Windows, and the query on Linux
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401888
2006-06-24 01:59:43 +00:00
Sam Lantinga
ccd4d68be0
Default the X11 dynamically loading on if the OS loader loads libraries
...
with their private symbols hidden. If that isn't the case, and someone
tries to enable it anyway, spit out a warning and don't let them do it.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401884
2006-06-23 08:39:05 +00:00
Ryan C. Gordon
90b3fbb429
Swizzle ALSA channels for 5.1 output to match DirectSound and CoreAudio.
...
Untested, but potentially fixes Bugzilla #110 .
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401883
2006-06-23 08:35:48 +00:00
Sam Lantinga
d9c54aecc1
Fixed bug #69
...
Hopefully this takes care of most of the audio dropouts in Windows
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401882
2006-06-23 08:15:47 +00:00