Glenn Maynard
|
3df37c19cc
|
reset to the old mode, not to mode 0
|
2007-02-21 09:33:13 +00:00 |
|
Glenn Maynard
|
fce7550184
|
fix wrong GetPRocAddress causing infinite recursion
(How was this never hit in two years?)
|
2007-02-21 06:35:39 +00:00 |
|
Steve Checkoway
|
f0c7d92fb5
|
Revert glSwapInterval since it does not actually do what I thought it did. Re-enable nVidia hack.
|
2007-02-20 22:28:52 +00:00 |
|
Glenn Maynard
|
972cb25f97
|
when creating a new window for the first time, we have a new device
|
2007-02-13 06:09:46 +00:00 |
|
Glenn Maynard
|
17c32b90c2
|
Make* -> Driver::Create. Having these floating in arch.h isn't
useful; if you create the class, you need the class definition to
free it, and anyone creating a class is probably going to use it,
too.
|
2006-12-17 07:41:21 +00:00 |
|
Glenn Maynard
|
3461ab8c4e
|
split out MakeLowLevelWindow
|
2006-12-17 06:42:47 +00:00 |
|
Steve Checkoway
|
027b94d2c1
|
Use descriptive names.
|
2006-12-07 13:00:30 +00:00 |
|
Steve Checkoway
|
d92dcfc6f7
|
Delete the gl contexts when we create new ones or shut down.
|
2006-12-07 12:03:48 +00:00 |
|
Steve Checkoway
|
93be46923a
|
Simplify. Do not use Open/CloseMask for the MapNotify events.
|
2006-12-07 11:51:42 +00:00 |
|
Steve Checkoway
|
a1ae4ce45a
|
Improve readability by removing all X11Helper::s.
|
2006-12-07 11:00:24 +00:00 |
|
Steve Checkoway
|
a62c3a88b1
|
Update. Make sure all windows are destroyed.
|
2006-12-07 10:53:50 +00:00 |
|
Steve Checkoway
|
0d10c76e87
|
Unscatter arch includes.
|
2006-11-17 18:25:20 +00:00 |
|
Glenn Maynard
|
b77024f3bc
|
include
|
2006-09-18 22:45:42 +00:00 |
|
Glenn Maynard
|
1f7fe1afd3
|
include
|
2006-09-18 22:24:18 +00:00 |
|
Glenn Maynard
|
6a1db3af03
|
remove old sdl stuff
|
2006-09-15 23:52:37 +00:00 |
|
Steve Checkoway
|
e8cf81a759
|
Spacing.
|
2006-09-15 18:21:12 +00:00 |
|
Steve Checkoway
|
8e8aa6cfb6
|
Applied patch to handle vsync. I cannot test this. I get 1 fps windowed and it does not hit 1 in full screen.
|
2006-08-10 04:43:34 +00:00 |
|
Chris Danford
|
48b147f7b4
|
localize error string
add logging to try and diagnose software renderer detection isn't working
|
2006-08-03 09:14:37 +00:00 |
|
Glenn Maynard
|
3197d4ead9
|
unused params
|
2006-07-28 21:06:13 +00:00 |
|
Glenn Maynard
|
98591e9fc1
|
call Create() in CreateRenderTarget
|
2006-07-28 21:03:57 +00:00 |
|
Glenn Maynard
|
7f434a638f
|
OpenGL RTT interface; X11 Pbuffer implementation (GL_ARB_pixel_buffer_object coming soon)
|
2006-07-26 03:39:01 +00:00 |
|
Glenn Maynard
|
ac2163a049
|
fix warning
|
2006-07-01 03:24:12 +00:00 |
|
Glenn Maynard
|
fa0af16dea
|
typo
|
2006-06-24 22:32:27 +00:00 |
|
Steve Checkoway
|
80218aa4dc
|
Disable screen saver while running.
|
2006-06-11 12:10:52 +00:00 |
|
Steve Checkoway
|
bb1d5d4c05
|
Fix iFPS != 0 assertion, at least when a nonzero rate is returned. (Not sure what LCD displays will report.)
|
2006-03-20 19:59:11 +00:00 |
|
Steve Checkoway
|
9e7ba6ff9d
|
Fix Checkobug 1: If we cannot go full screen unless we have focus.
|
2006-03-10 23:21:37 +00:00 |
|
Steve Checkoway
|
1214a91649
|
SetHasFocus if we are the active application when the LLW is created, otherwise if the user switches to a different application before LLW is brought on screen then input is still registered (because we're bypassing the standard event model and getting the events directly from the hardware).
Also, ensure that the actual video mode params are set at all times and that the rate parameter is never zero.
|
2006-03-03 11:57:38 +00:00 |
|
Glenn Maynard
|
1a67cca345
|
If we have a window, g_pContext is set; if not, it's NULL. Avoid redundantly tracking state, when it can be clearly derived from other state; it introduces ways that the class might be in an inconsistent state and adds bookkeeping.
|
2006-02-25 21:05:19 +00:00 |
|
Steve Checkoway
|
b09d333d14
|
Add placeholder.
|
2006-02-11 09:31:39 +00:00 |
|
Steve Checkoway
|
d449ca554c
|
Add stretch hint.
|
2006-02-07 08:34:36 +00:00 |
|
Steve Checkoway
|
a65d13c6d1
|
class -> typedef set.
|
2006-02-07 08:29:36 +00:00 |
|
Steve Checkoway
|
2ea7e8c897
|
GetMonitorAspectRatio.
|
2006-02-07 08:08:37 +00:00 |
|
Chris Danford
|
ddbe74e1e2
|
add GetMonitorAspectRatio
|
2006-02-07 04:39:48 +00:00 |
|
Chris Danford
|
f904f05fcc
|
add GetMonitorAspectRatio
|
2006-02-07 04:28:24 +00:00 |
|
Steve Checkoway
|
aef7bdf3c1
|
Cleanup.
|
2006-01-27 10:35:56 +00:00 |
|
Steve Checkoway
|
00429b8c9d
|
Add license.
|
2006-01-27 10:33:07 +00:00 |
|
Steve Checkoway
|
6ac24c8cda
|
Fix concurrent rendering while windowed. Also shutdown fullscreen cleanly and fix memory leak.
|
2006-01-27 10:30:24 +00:00 |
|
Glenn Maynard
|
f4f326f893
|
implement concurrent rendering on X11. Still a little flickery when switching in and out of threaded mode; not sure why yet.
|
2006-01-27 09:21:43 +00:00 |
|
Glenn Maynard
|
eb0e1f4295
|
add an overload which is called from the main thread, just before using the concurrent rendering thread
|
2006-01-27 09:13:03 +00:00 |
|
Glenn Maynard
|
1a070c7a0c
|
fix comment
|
2006-01-24 21:15:35 +00:00 |
|
Steve Checkoway
|
bf42e5a4d7
|
I forgot to test concurrent rendering in windowed mode. It isn't working so remove it for now.
|
2006-01-22 03:18:28 +00:00 |
|
Steve Checkoway
|
79faafb593
|
CString -> RString
|
2006-01-22 02:50:56 +00:00 |
|
Chris Danford
|
7f821e8cfc
|
CString -> RString
|
2006-01-22 01:00:06 +00:00 |
|
Steve Checkoway
|
2dc6a8fa66
|
Cleanup and use core graphics directly to swap buffers rather than going though the overhead of the obj-c calls.
|
2006-01-21 13:40:01 +00:00 |
|
Steve Checkoway
|
3f5c921357
|
Implement concurrent rendering.
|
2006-01-21 13:33:04 +00:00 |
|
Steve Checkoway
|
297949b7c5
|
If the OGL context changes, we must set the display mode and we must set vsync.
|
2006-01-21 13:00:51 +00:00 |
|
Steve Checkoway
|
5150e3a9c3
|
Don't shutdown full screen if attempt fails. It's possible other attempts will be made in full screen. Going back and forth causes unnecessary flickering.
|
2006-01-20 11:36:26 +00:00 |
|
Steve Checkoway
|
cdd1f94019
|
Don't attempt to change the display modes unless it's needed. (It's most likely a no-op, but don't even bother.)
|
2006-01-20 11:33:07 +00:00 |
|
Steve Checkoway
|
6b236cee94
|
Simplify.
|
2006-01-20 11:19:25 +00:00 |
|
Chris Danford
|
65aff05a13
|
fix compile
|
2006-01-20 08:33:27 +00:00 |
|