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 |
|
Steve Checkoway
|
a123e5bc76
|
Return a const reference rather than a copy.
|
2006-01-19 08:20:41 +00:00 |
|
Steve Checkoway
|
5676e10e33
|
Attempt to handle the OGL contexts more gracefully.
|
2006-01-18 08:44:52 +00:00 |
|
Steve Checkoway
|
378a8a2adc
|
m([:upper:][:alpha:]*) -> m_\1
|
2006-01-18 02:48:10 +00:00 |
|
Steve Checkoway
|
562501ac78
|
Attempt at concurrent rendering. It seems to cause the computer to crash, so commented out. Clearly, I'm doing something wrong but I'm not sure what.
|
2006-01-17 09:33:14 +00:00 |
|
Steve Checkoway
|
3a10c521de
|
Hack around using actual video mode params to store preferences.
|
2006-01-17 08:35:51 +00:00 |
|
Steve Checkoway
|
ec789f1473
|
Use a buffered window. This fixes the last of the GUI issues. Allows resizing and is very careful to update the graphics context only in the main thread (in this case, SM's main thread, not the GUI thread). It does so by managing the NSOpenGLContext explicitly rather than using NSOpenGLView to do it for us.
|
2006-01-17 06:10:33 +00:00 |
|
Steve Checkoway
|
6edba40152
|
Do neither. Just copy the value.
|
2006-01-17 04:20:02 +00:00 |
|
Glenn Maynard
|
9404d25a0e
|
cleanup
|
2006-01-17 03:25:25 +00:00 |
|
Glenn Maynard
|
5e010c8f23
|
minor style tweaks
|
2006-01-17 02:08:32 +00:00 |
|
Glenn Maynard
|
b1015f0458
|
We allow this in Windows, and I don't see any reason to disallow it ...
|
2006-01-17 02:03:07 +00:00 |
|
Glenn Maynard
|
918dac41ab
|
cleanup
|
2006-01-17 02:00:27 +00:00 |
|