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 |
|