Skip to content

Develop#13

Open
renanyoy wants to merge 329 commits intomasterfrom
develop
Open

Develop#13
renanyoy wants to merge 329 commits intomasterfrom
develop

Conversation

@renanyoy
Copy link

@renanyoy renanyoy commented May 6, 2015

No description provided.

[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.
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
thefiddler and others added 30 commits September 20, 2014 17:10
`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.
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.
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants