Steve Checkoway
|
961e2008fa
|
Unused header.
|
2007-05-08 11:57:28 +00:00 |
|
Steve Checkoway
|
a0077d5f22
|
Just poking around at code because I can't sleep.
|
2007-05-08 11:53:39 +00:00 |
|
Steve Checkoway
|
e8cf81a759
|
Spacing.
|
2006-09-15 18:21:12 +00:00 |
|
Steve Checkoway
|
80218aa4dc
|
Disable screen saver while running.
|
2006-06-11 12:10:52 +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 |
|
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 |
|
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 |
|
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 |
|
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 |
|
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 |
|
Steve Checkoway
|
ca51dc9bd3
|
Apple decided to deprecate two perfectly good functions, replace them with lower level dyld code and use two-level namespace lookup instead.
|
2006-01-15 12:21:19 +00:00 |
|
Steve Checkoway
|
d42617abf1
|
Remove unused.
|
2006-01-15 11:07:30 +00:00 |
|
Steve Checkoway
|
7034879a79
|
Use SMMainThread with LLW_Cocoa. This fixes just about every GUI issue. For some reason, mousing over the button does not highlight them. Other than that, everything seems to work.
|
2006-01-15 05:30:48 +00:00 |
|
Steve Checkoway
|
08173c6510
|
Handle swap interval in LLW_Cocoa itself.
|
2006-01-14 23:22:18 +00:00 |
|
Steve Checkoway
|
ca85424ec5
|
Fix memory leak, set OGL parameters.
|
2006-01-14 22:56:23 +00:00 |
|
Steve Checkoway
|
07168018d1
|
Closing the window quits the program. Fix focus issues.
|
2006-01-14 10:40:09 +00:00 |
|
Steve Checkoway
|
713ecb81ce
|
Full screen works. Mouse hiding works. A few GUI issues remain. For example, closing the window does nothing more than close the window.
|
2006-01-14 10:08:42 +00:00 |
|
Steve Checkoway
|
7aa6310339
|
Make this usable. Some issues still exist. E.g., full screen does not work yet.
|
2006-01-14 05:49:26 +00:00 |
|
Steve Checkoway
|
3a820b1c76
|
This code is a work in progress and does not currently work.
|
2006-01-14 01:09:33 +00:00 |
|
Steve Checkoway
|
f4e1603411
|
Add files incase I want to work on this in Washington...on my laptop. (Never develop on a laptop, compiling drains my battery faster than anything else.)
|
2005-12-15 11:48:16 +00:00 |
|