thefiddler
9f39aa1b88
[Mac] Optimized MacOSKeyCode translation
...
This also reduces memory allocations on startup by ~10K.
2014-04-25 12:14:26 +02:00
thefiddler
4ae65c86ff
[GL] Added missing GetPName.MaxPatchVertices
2014-04-25 11:11:42 +02:00
thefiddler
824f238973
[Mac] Removed most legacy Carbon code
2014-04-24 13:48:26 +02:00
thefiddler
5f44f3d491
[Mac] Removed unused Carbon APIs
2014-04-24 13:48:26 +02:00
thefiddler
cdd88e6f7e
[Mac] Migrated AglContext to OpenTK.GLControl
2014-04-24 13:48:26 +02:00
thefiddler
3475582c30
[Mac] Mouse coordinates are reported in pixels
2014-04-24 13:47:30 +02:00
thefiddler
e0848f9d6d
[Mac] SendFloat should use _fpret on i386
2014-04-24 13:47:30 +02:00
thefiddler
3250cbbc91
[Mac] Use scrollFactor variable
2014-04-24 13:47:30 +02:00
thefiddler
a2212f0184
[Mac] Fixed a warning related to volatile UniqueId
...
Also changed the class name to OpenTK_GameWindow
2014-04-24 13:47:30 +02:00
thefiddler
acb7dd27a7
[Mac] Window should be invisible on startup
...
Also fixes the initial position of the window.
2014-04-24 13:47:30 +02:00
thefiddler
ef4cfbdd4b
Merge branch 'pr/101' into develop
2014-04-24 13:45:17 +02:00
Olle Håkansson
64fb043b77
Licensed files under MIT/X11.
2014-04-24 13:45:06 +02:00
thefiddler
b0eedc122d
[Mac] Avoid class conflicts for multiple windows
...
When creating multiple windows, their classes must have different class
names or they will fail to construct.
This commit ensures their names are unique. It also fixes a potential
memory leak in the Icon setter.
2014-04-24 13:45:06 +02:00
thefiddler
287c2b3415
[Mac] Add CocoaContext.GetGraphicsMode via CGL
...
Once the context is constructed, we use GetGraphicsMode to retrieve the
exact GraphicsMode that was selected by CocoaContext.
2014-04-24 13:45:06 +02:00
Olle Håkansson
2943bdfecb
Fixed too high mouse scrolling speed.
2014-04-24 13:45:06 +02:00
Olle Håkansson
4573db2ceb
Much improved handling of window/border states.
2014-04-24 13:45:06 +02:00
Olle Håkansson
df6caa3cbb
Fixed missing Mode value in CocoaContext.
...
Crashed E.g. GameWindow States example.
2014-04-24 13:45:06 +02:00
Olle Håkansson
ddcc8df5ec
Fixed the HelloGL3 example for the Mac.
...
Upped versions to make it work on Mac; think this should not be a
problem for most other machines.
2014-04-24 13:45:05 +02:00
Olle Håkansson
374ce26186
Added a helper for creating cocoa window infos.
2014-04-24 13:45:05 +02:00
Olle Håkansson
86a5399534
Register mouse drag as well as move.
2014-04-24 13:45:05 +02:00
Olle Håkansson
46856dc21d
Closing should occur in ProcessEvents.
2014-04-24 13:45:05 +02:00
Olle Håkansson
ed87814a7f
Cleanups.
2014-04-24 13:45:05 +02:00
Olle Håkansson
3798d268dc
Fixed mouse position not being received.
2014-04-24 13:45:05 +02:00
Olle Håkansson
9183e3ae0d
Fixed crashes from callbacks.
2014-04-24 13:45:05 +02:00
Olle Håkansson
d1fb2597bb
Better handling of maximized window.
...
Used the “zoom” command before, but it has some limitations (e.g. no
event when zoom is done).
2014-04-24 13:45:05 +02:00
Olle Håkansson
7c3872531e
Disabled capturing when changing resolution.
...
Might be off here, but without capturing it seems like we get a
behaviour closer to that of the PC.
2014-04-24 13:45:05 +02:00
Olle Håkansson
50ed0ee9da
Bug fixes.
2014-04-24 13:45:05 +02:00
Olle Håkansson
63d0d057c5
Better fullscreen handling.
2014-04-24 13:45:05 +02:00
Olle Håkansson
59d7889ce0
Restored most window functionality.
2014-04-24 13:45:05 +02:00
Olle Håkansson
5457651676
Fixed swap interval.
2014-04-24 13:45:04 +02:00
Olle Håkansson
6c6beae4fc
Setup listening for window events.
2014-04-24 13:45:04 +02:00
Olle Håkansson
5e1b7c82ab
Cocoa bindings through libobjc.dylib
2014-04-24 13:45:04 +02:00
thefiddler
4ce1289d85
Merge branch 'es_docs' into develop
2014-04-02 09:27:23 +02:00
thefiddler
985aca3752
[Examples] Test mouse input under heavy load
2014-04-01 09:49:56 +02:00
thefiddler
74cff79d64
Merge remote-tracking branch 'frassle/issue76' into develop
2014-04-01 09:39:48 +02:00
thefiddler
d292d44b90
[Math] Replaced tab characters with spaces
2014-03-31 18:20:08 +02:00
thefiddler
e4fd62c0ff
Merge branch 'pr/84' into develop
2014-03-31 18:19:18 +02:00
thefiddler
bd920a15f2
[Bind] Corrected CSharpSpecWriter output and warning messages
...
CSharpSpecWriter now correctly outputs doc summaries on ARB_imaging
functions that do not have a version/deprecation string. Additionally,
it no longer warns about documentation parameter mismatches for
parameters matching C# keywords.
2014-03-31 17:40:15 +02:00
thefiddler
d68c31a561
[Bind] Move documentation generation to DocProcessor class
...
This de-duplicates a large amount of code that is shared between the
various ISpecWriter implementations.
2014-03-31 17:09:30 +02:00
thefiddler
8001d62599
[Bind] Make documentation output closer to previous xslt implementation
2014-03-31 10:10:56 +02:00
thefiddler
9012101e8c
[Bind] Propagate ComputeSize attribute in cloned Parameters
2014-03-31 10:09:33 +02:00
thefiddler
e11b7ca993
[Bind] More aggressive trimming of documentation strings
2014-03-31 09:51:15 +02:00
thefiddler
570d08fff1
[Bind] Add NoIndent option to BindStreamWriter
2014-03-31 09:50:51 +02:00
thefiddler
61791c91db
[Bind] Do not skip parameters in documentation
...
Multiple parameters may share a single description. The DocProcessor
will now correctly generate DocumentationParameters for each of them.
2014-03-30 19:16:30 +02:00
thefiddler
d1b99219ba
[Compatibility] Don't generate xml documentation
2014-03-30 11:01:30 +02:00
thefiddler
21b328992a
[Bind] Remove xmlns to simplify xpath processing
2014-03-30 11:01:03 +02:00
thefiddler
243f41b83f
[Bind] Use DocumentationParameter instead of KeyValuePair
2014-03-30 10:43:30 +02:00
thefiddler
bd9f760f4b
[Bind] Merge GL2 and GL4 documentation into one
2014-03-30 10:29:50 +02:00
thefiddler
033e0b7155
[Bind] Concatenate multiline documentation
2014-03-30 10:29:11 +02:00
thefiddler
67b0ead68b
[Bind] Process documentation from subdirectories
...
Instead of using xslt, we now process the documentation in code. This
allows us to fix mismatches from e.g. invalid parameter names that
sometimes creep in the specs.
2014-03-28 20:08:38 +01:00