Conversation
[KMS] Implement Linux/KMS platform
Windows are now unmapped before being destroyed.
OpenTK will now use the same GLXFBConfig to create the INativeWindow and IGraphicsContext on Linux/X11. This resolves an issue where OpenGL 3.x contexts could not be created on some graphics drivers (e.g. nvidia binary.)
Nvidia drivers fail in Glx.MakeCurrent() when using a 32bpp visual on a window created with a 24bpp visual. Since we do not know the actual visual until after the context is constructed, the solution is to implicitly use 24bpp when 32bpp is requested. The loss of the alpha channel does not have a user-visible effect, since WinForms do not support translucent windows on X11.
This also fixes a potential NRE.
[X11] INativeWindow fixes
This version fixes various issues in the OES_byte_coordinates extension and improves the documentation on parameter lengths.
OpenTK.dll.config was previously set to be always copied to the output directory. This caused constant rebuilds in Visual Studio. Setting this to "Preserve Newest" improves build times significantly.
[ES][GL] Sync with July 2014 specification
[Docs] Updated documentation for July 2014 release
`DeviceCollection.GetEnumerator()` now returns a struct IEnumerable<T> directly to avoid boxing. Additionally, we can now use `DeviceCollection[int]` as a shortcut to `FromIndex(int)`.
HIDInput.Dispose() would remove elements from a DeviceCollection during iteration. This results in an exception. We are now using a plain for-loop instead.
WinFactory.Dispose() could crash with a NRE when the joystick driver has not been initialized. Fixed by checking for null before disposing the input driver.
[Win] Avoid NRE in WinFactory.Dispose()
Issue reported at http://www.opentk.com/node/3805 We must not throw exceptions from a finalizer, as this leads to the runtime forcibly taking down the application.
[AL] Fix runtime crash when OpenAL not available
…g proper vec3 and pitch-yaw-roll constructors, and also added similar static helper functions. I unit tested them locally and the results match to the calculator found from the bottom of this web page: http://www.euclideanspace.com/maths/geometry/rotations/conversions/eulerToQuaternion/index.htm
The IsPressed field was never updated as the pressed parameter was never used.
Update MouseEventArgs.cs
Added support for Euler angles in Quaternion structs
Fixes warnings [#61] about missing documentation on public members.
Fixes warnings [#61] by removing an unused field.
Fixes warnings [#61] by removing some unused variables and an unused field. Field was private so no inheritance concerns.
Fixes warnings [#61] by disabling unused field warnings for two structures in HidProtocol. These fields aren't currently used by OpenTK but the stuctures are used in native marshalling so must match the documented structures perfectly.
[Issue #61] Fix warnings.
When running under NUnit GetEntryAssembly returns null. In this case we instead search through the AppDomain for an assembly that matches the AppDomain name.
[X11] GetEntryAssembly may be null.
Colorspace conversion functions.
If the legacy keyboard device receives a key down event with IsRepeat set it will only raise it's own key down event if it's KeyRepeat field is set to true. This is as documented, regression casused by refactoring. Fixes issue #201. Also change the GameWindowState example to show setting of KeyRepeat to true and false and how that changes the event counts for the legacy and new keyboard devices.
[Input] Legacy keyboard respects the KeyRepeat field. Fixes #201.
Fixes #209. Negating short.MinValue would cause a wrap around back to short.MinValue. This resulted in joystick inputs like 0.8, 0.9, -1.00031.
Clarify OpenTK.dll.config use for #217
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.