Stefanos A.
8d7ba31e0c
Cleaned up instructions for Converter.exe
2013-12-06 18:28:38 +01:00
Stefanos A.
f32aee7497
ClientRectangle should not affect window location
...
Fixes issue #13
2013-12-05 17:44:13 +01:00
Stefanos A.
1812024594
Move installer to destination directory
...
This reduces the garbage left behind by the installer generation script.
2013-12-05 12:05:26 +01:00
Stefanos A.
e27d349b2e
Streamlined nsis installer
...
OpenAL is now included in the Dependencies/ folder and NShader is no
longer linked to by the installer.
2013-12-05 12:04:58 +01:00
Stefanos A.
85f081778b
Ignore generated installers
2013-12-05 12:04:15 +01:00
Stefanos A.
6a8ee08024
Corrected zip build script
...
Excluded items are now really excluded.
2013-12-05 11:42:01 +01:00
Stefanos A.
ca36c6f26a
Workaround for #5
...
WS_CLIPCHILDREN and WS_CLIPSIBLINGS appear to cause flickering on
specific video cards. OpenGL appears to work correctly without these, so
we'll disable them to return to OpenTK 1.0 behavior.
2013-12-02 23:39:36 +01:00
Stefanos A.
58ab194ba8
Fixed centering for non DPI-aware applications
2013-12-02 23:37:22 +01:00
Stefanos A.
c480911843
DPI-scaling should affect resolution
...
The correct resolution will now be reported depending on whether the
application is DPI-aware.
2013-12-02 23:37:00 +01:00
Stefanos A.
d215075bff
High-resolution mode is enabled by default
2013-12-02 22:34:39 +01:00
Stefanos A.
1475b3d427
Made DPI-awareness configurable (issue #6 )
...
It is now possible to indicate that an application is not DPI-aware. In
that case, OpenTK will let the operating system handle DPI scaling. This
results in worse visuals (pixel doubling) but allows non DPI-aware
applications to continue working.
2013-12-02 22:18:16 +01:00
Stefanos A.
32a5e0fc50
Add test for new text input events
2013-11-22 18:25:30 +01:00
Elias Holzer
6ee04b2ff9
Implemented KeyPress event for Sdl2NativeWindow.
2013-11-22 18:05:11 +01:00
Elias Holzer
f851d8887c
Implemented KeyDown and KeyUp events for Sdl2NativeWindow.
2013-11-22 18:04:53 +01:00
Elias Holzer
38532804ec
Enabled KeyDown and KeyUp events in NativeWindow.
2013-11-22 18:03:17 +01:00
Stefanos A.
e2404d2cfc
Fix "CursorVisible bugs"
...
When we enter the modal resize loop on Windows with ClipCursor set, we
cause a feedback loop where every resize causes the cursor to move and
every move causes a new resize. To fix this, we need to ungrab the
cursor when we are enter the modal loop.
2013-11-22 14:10:21 +01:00
Stefanos A.
24aa7893b8
Updated release notes
2013-11-22 00:32:42 +01:00
Stefanos A.
5acd38c4f6
Updated todo list
2013-11-21 19:44:12 +01:00
Stefanos A.
fef8a9e840
Updated build instructions.
2013-11-21 09:34:34 +01:00
Stefanos A.
b7af883cff
Fix exceptions on reused OpenGL context handles
...
Implementations may reuse OpenGL context handles that have been
destroyed. If a context is finalized but not Disposed, then OpenTK may
keep a reference to the old context handle, causing a crash when the
same handle is returned for a new context. To fix that, new context
handles will now replace old handles in case of a clash.
2013-11-21 09:34:06 +01:00
Stefanos A.
08701d318c
Destroy SDL window when finalized
...
SDL_DestroyWindow must be called on the main thread. If the window is
finalized, the finalizer will push a CLOSE event to the event loop
(thread-safe) and the window will be destroyed on the main thread.
2013-11-21 09:31:32 +01:00
Stefanos A.
75d4f3d07c
Fixed #5
...
We need to release the cursor before closing a GameWindow, otherwise
subsequent GameWindows may fail to receive mouse events.
2013-11-20 18:05:45 +01:00
Stefanos A.
486130c01e
Toolkit.Init() now returns a concrete class
...
This gives us room for expansion in the future, if necessary.
2013-11-20 13:12:42 +01:00
Stefanos A.
1d19a80b53
Removed incorrect comment
2013-11-20 13:05:49 +01:00
Stefanos A.
48803bb4d6
Fixed #4
...
Sdl2InputDriver.Dispose() would call SDL_DelEventWatch with a different
"user_data" parameter than SDL_AdEventWatch. This caused the EventFilter
to remain registered and subsequently crash when closing and reopening a
window.
2013-11-20 09:10:12 +01:00
Stefanos A
255f4e9083
Completed compatibility overloads for OpenTK 1.0
2013-11-20 08:16:07 +01:00
Stefanos A
02120f429f
Do not trim 's' from Groups
2013-11-20 08:16:06 +01:00
Stefanos A.
8c5887e996
Aligned GL core and compat enums
2013-11-18 18:51:38 +01:00
Stefanos A.
a34407f440
Removed stale QuickStart project
...
Instead of QuickStart.sln, we should provide proper templates.
2013-11-18 18:38:03 +01:00
Stefanos A.
32828ecd8a
Do not call SDL.GetVersion unless requested
2013-11-18 18:35:23 +01:00
Stefanos A
635bb85313
Reverted 'h' suffix detection
...
This causes too many breaking changes in the NV namespace.
2013-11-18 18:32:36 +01:00
Stefanos A
ac0fab7760
More compatibility overloads for OpenGL
2013-11-18 18:32:36 +01:00
Stefanos A
5d4c42672f
Improved suffix detection. Support index-based parameter overloading.
2013-11-18 18:32:34 +01:00
Stefanos A.
e7f70330b2
Implemented IEquatable<ColorFormat>
...
This eliminates memory allocations when storing and comparing
ColorFormat structures.
2013-11-18 13:49:06 +01:00
Stefanos A
3d50554903
Added OpenGL overloads for OpenTK-1.0 compatibility
2013-11-18 13:28:44 +01:00
Stefanos A
e572f418af
Added compatibility overloads for ES 2.0
2013-11-18 01:10:01 +01:00
Stefanos A
01d40c551a
Aligned FBO API with desktop OpenGL
2013-11-17 23:57:38 +01:00
Stefanos A
0865b0f200
Allow overriding of function names
2013-11-17 23:56:51 +01:00
Stefanos A
359dc5b2dc
Added OpenGL ES 2.0 documentation
2013-11-17 23:56:37 +01:00
Stefanos A
fbcae3b2fe
Removed debugging code
2013-11-17 21:27:22 +01:00
Stefanos A
b652145977
Handle overloads with different element counts
2013-11-17 21:27:09 +01:00
Stefanos A
c175a486fc
Improved and documented IEquatable vs IComparable
2013-11-17 21:26:28 +01:00
Stefanos A
358bcd4f88
Regenerated bindings
2013-11-17 01:49:10 +01:00
Stefanos A
13d3bdb47f
OpenGL overrides for compatibility
...
Added overrides to maintain backwards compatibility with
OpenTK.Graphics.OpenGL.GL. These were generated
through the apitest tool.
2013-11-17 01:49:07 +01:00
Stefanos A
f8a81f396e
Cleaned up ending trim regex
...
Trim regex will now correctly match GetInteger64 and other functions
ending in "64". It also uses a correct ending anchor to avoid matches
in the middle of a function name.
2013-11-17 01:49:07 +01:00
Stefanos A
fd910e6a6c
Added int/uint to the c# typemap
2013-11-17 01:49:07 +01:00
Stefanos A
afd076a83d
Speed up enum code generator
...
Scan through the list of wrappers once, instead of multiple times, in
order to find out which functions use which enums. This speeds up enum
generation tremendously.
2013-11-17 01:49:07 +01:00
Stefanos A.
d9afed2d10
Setup correct class style for OpenGL
...
On Windows, we need to have a CS_OWNDC class style on windows with
OpenGL contexts attached. In Windows.Forms, we can set this via the
Control.CreateParams property. See
https://www.opengl.org/wiki/Creating_an_OpenGL_Context_(WGL)
2013-11-16 22:38:17 +01:00
Stefanos A
f9deeaead7
Improved compatibility with OpenTK 1.0
...
Added overloads for enumerations with name changes. Reduced differences
between ES and GL APIs.
2013-11-15 01:59:50 +01:00
Stefanos A
cdd6259fee
Removed debug leftovers
2013-11-14 23:38:17 +01:00