thefiddler
15a79e5213
[Input] Improved GamePadButtons.ToString()
2014-09-11 12:51:48 +02:00
thefiddler
5c0923004a
[Win] Fixed axis, button and hat value updates
2014-09-11 12:51:48 +02:00
thefiddler
e3875527eb
[Win] Fixed axis range calculation
...
Values are now correctly scaled between [min, max]
2014-09-11 12:51:48 +02:00
thefiddler
f010e32570
[Win] Added HidP status codes
2014-09-11 12:51:48 +02:00
thefiddler
cbb2807959
[Win] Implemented joystick button updates
...
Due to the way we segregate axes from buttons, the easiest approach is
to retrieve the current button state via HidP_GetUsages().
Axes, buttons and hats are now allocated sequentially based on their
order of appearance in the device capability reports.
2014-09-11 12:51:48 +02:00
thefiddler
3fee0bd8d0
[Win] Raw input parsing moved to input drivers
2014-09-11 12:51:48 +02:00
thefiddler
a51a85c517
[Win] Added helper raw input methods
2014-09-11 12:51:48 +02:00
thefiddler
6d54edc389
[Win] Use DeviceCollection. Fix GUID detection
2014-09-11 12:51:48 +02:00
thefiddler
db01cac895
[Common] Use long for device keys
2014-09-11 12:51:48 +02:00
thefiddler
a8aabbf02c
[Win] Made internal struct non-public
2014-09-11 12:51:47 +02:00
thefiddler
8fddf8b669
[Win] Fixed axis/button detection
...
We can now discover button range collections.
2014-09-11 12:51:47 +02:00
thefiddler
f3b3b8860e
[Win] Improved HidP bindings
...
Marked arrays with [In] and [Out] as required. Fixes issues with
axis/button capabilities returning empty results.
Added bindings for link collection node transversal.
2014-09-11 12:51:47 +02:00
thefiddler
131de67459
Fixed minor compilation issues
2014-09-11 12:51:47 +02:00
Stefanos A
30d09a4300
[Win] Cleaned up public region
2014-09-11 12:51:47 +02:00
Stefanos A
9a25ddc14d
[Win] Corrected GetRawInputData invocation
2014-09-11 12:51:47 +02:00
Stefanos A
97b0275aa4
[Win] Removed WinMM joystick driver
2014-09-11 12:51:47 +02:00
Stefanos A
cec48ab20a
[Win] Completed raw input IJoystickDriver2
...
For improved safety, we are now using managed memory buffers instead of
stack allocations and pointers.
2014-09-11 12:51:47 +02:00
Stefanos A
f6b382c929
[Win] Reduce duplication in device enumeration
2014-09-11 12:51:47 +02:00
Stefanos A
e38fc0dff7
[Input] Added JoystickCapabilities.SetIsConnected
2014-09-11 12:51:47 +02:00
Stefanos A
27e80fcc9e
[Win] Completed WinRawJoystick implementation
2014-09-11 12:51:46 +02:00
Stefanos A
956691de31
[Win] Fixed RawHID struct definition
2014-09-11 12:51:46 +02:00
Stefanos A
94476b930e
[Common] Moved axis translation to common
2014-09-11 12:51:46 +02:00
Stefanos A
85e6b9f9ad
[Win] Wrapped additional HID APIs
2014-09-11 12:51:46 +02:00
Stefanos A
2c197f09e1
[Win] Cleanup Raw Input HID usage/pages
2014-09-11 12:51:46 +02:00
Stefanos A
cac96bbaf9
[Common] Cleaned up comments
2014-09-11 12:51:46 +02:00
Stefanos A
dc357604df
[Win] Added HidProtocol binding
2014-09-11 12:51:46 +02:00
Stefanos A
178305e1c1
[Common] Added HID usage page definitions
2014-09-11 12:51:46 +02:00
Stefanos A
18c02db7b0
[Win] Initial implementation of WinRawJoystick
2014-09-11 12:51:46 +02:00
Stefanos A
9cf3deea8c
[Win] Improve WinMM.GetCapabilities performance
...
Polling joyGetCaps is very very slow, so we should not do that every
time GetCapabilities is called. Instead, we should call joyGetCaps once
and cache the results.
We need to find a different way to implement hotplugging.
2014-09-11 12:51:46 +02:00
Stefanos A
c3b289ee9b
[Win] Implemented XInput vibration support
2014-09-11 12:51:46 +02:00
Stefanos A
06e63946cc
[Win] Separate keyboard/mouse & joystick drivers
...
Keyboard/mouse support comes through WinRawInput; joystick support
through CombinedJoystickDriver. These drivers are now instantiated
separately.
2014-09-11 12:51:45 +02:00
Stefanos A
5cfde8ff0f
[Win] Added combined XInput+WinMM joystick driver
...
Joystick devices will be queried through XInput first, with a fallback
to WinMM in case they are not recognized by the newer API.
2014-09-11 12:51:45 +02:00
Stefanos A
14d07a5952
[Win] Corrected XInput Guid in gamepad database
...
All XInput devices expose the same button layout, so they only need a
single entry in the gamepad configuration database.
2014-09-11 12:51:45 +02:00
Stefanos A
765ad9e05b
[Win] WinRawInput is IKeyboard/MouseDriver2
...
Since we do not use Raw Input for joystick devices, it does not make
sense to expose the IJoystickDriver2 interface through WinRawInput. This
keeps allows joystick and keyboard/mouse implementations to reside in
distinct, modular classes, instantiated separately through WinFactory.
2014-09-11 12:51:45 +02:00
Stefanos A
8968f7ff38
[Win] XInputJoystick is now IJoystickDriver2
...
The IGamePadDriver interface is now implemented using
MappedGamePadDriver on all platforms. This minimizes code duplication
and simplifies all input driver implementations, since we only need
backends for IJoystickDriver2.
2014-09-11 12:51:45 +02:00
Stefanos A
0e72cb3dd2
[OpenTK] Removed unused CreateGraphicsMode API
...
IPlatformFactory.CreateGraphicsMode is no longer used or required.
2014-09-11 12:51:45 +02:00
thefiddler
d6d6842730
Merge pull request #178 from thefiddler/mac_crash
...
[Mac] Avoid crash when combining with MonoMac/Xamarin.Mac
2014-09-11 12:42:20 +02:00
thefiddler
73fd8aca35
Merge pull request #179 from thefiddler/issue152
...
[ES][GL] Fix GetObjectLabel marked obsolete
2014-09-11 12:42:12 +02:00
thefiddler
1bba544cbe
[ES][GL] Fix GetObjectLabel marked obsolete
...
Fixes issue #152
2014-09-11 12:34:35 +02:00
thefiddler
6292ad4160
[Mac] Avoid calling finishLaunching multiple times
2014-09-11 12:21:05 +02:00
thefiddler
1080dec04d
[Mac] Do not modify existing mainMenu
...
If an application already has a custom main menu, avoid overwriting
that in OpenTK.
2014-09-11 12:07:53 +02:00
thefiddler
05e40b6f09
Merge pull request #177 from thefiddler/gw_input
...
[Input] Added GameWindow.Mouse/Keyboard.GetState()
2014-09-11 09:33:07 +02:00
thefiddler
c6989395df
[Input] Added GameWindow.Mouse/Keyboard.GetState()
...
GameWindow.Mouse/Keyboard hide OpenTK.Input.Mouse/Keyboard.
To simplify usage, the former now provide the same methods
as the latter.
2014-09-11 01:03:24 +02:00
thefiddler
410c06112a
[API] Fixed tests for nested types
2014-09-11 00:00:16 +02:00
thefiddler
978e2ccebb
[Convert] Update to v4.5 by default
2014-09-10 23:29:30 +02:00
thefiddler
a9f1b90997
[API] Update test to cover extensions
2014-09-10 23:29:15 +02:00
thefiddler
1c76024938
[ES][GL] Maintain compatibility with 1.1.4
2014-09-10 23:29:03 +02:00
Robert Rouhani
ee56a3506d
Added Matrix3[d].Add and Matrix4[d].CreateFromRotationMatrix
2014-09-09 13:21:11 -04:00
thefiddler
51a11092eb
[GL] Sync signatures with OpenGL 4.5
2014-09-03 20:56:43 +02:00
thefiddler
b9235e1b4c
[Bind] Remove default debug parameter
2014-09-03 20:55:42 +02:00
thefiddler
3805c3ad63
[Bind] Minor debug message beautification
2014-09-03 20:55:25 +02:00
thefiddler
a05ffb8654
[Bind] Hardcode some common OpenGL IHV names
...
These names are present in ES enums, even if no function uses them. We
need them for backwards-compatibility.
2014-09-02 13:04:14 +02:00
thefiddler
d036c50a15
[Bind] Use ES/1.1/obsolete.xml
2014-09-02 13:04:14 +02:00
thefiddler
1ef9b85e9a
[ES] Moved some ES 1.1 to ES/1.1/obsolete.xml
2014-09-02 13:04:14 +02:00
thefiddler
b45e9463fc
[GL] Removed duplicate enums
...
This duplication is no longer necessary, after the enum name
translation fix.
2014-09-02 13:04:14 +02:00
thefiddler
45c8d837a1
[Bind] Added ES 3.1 generator
2014-09-02 13:04:14 +02:00
thefiddler
5ec28b65be
[Bind] Do not re-translate translated enum names
2014-09-02 13:04:14 +02:00
thefiddler
d50bef3ba6
[GL] Fixed COMPRESSED_SRGB_ALPHA_BPTC_UNORM token
2014-09-02 13:04:14 +02:00
thefiddler
7cd2f0b1e6
[GL] Fixed TEXTURE_BINDING_RECTANGLE token
2014-09-02 13:04:14 +02:00
thefiddler
2410dda9a4
[GL] Removed duplicate bindings
2014-09-02 13:04:14 +02:00
thefiddler
bfcfb9a2ce
[GL] Added missing VertexAttribDPointerType enum
...
This enum used to be there, but somehow disappeared from the 4.5 specs.
It’s back now.
2014-09-02 13:04:14 +02:00
thefiddler
bcd76c7364
[ES] Implemented ES 3.1 binding generator
2014-09-02 13:04:13 +02:00
thefiddler
e959a99d95
[GL][ES] Implemented ARB_ES_3_1_compatibility
...
MemoryBarrier and MemoryBarrierByRegion now use the same enum name.
2014-09-02 13:04:13 +02:00
thefiddler
47e49c85b3
[ES] Typo corrections in the ES 3.1 bindings
2014-09-02 13:04:13 +02:00
thefiddler
a706a78cf5
[ES] Implemented bindings for ES 3.1 (2/2)
...
Implemented core functionality:
- KHR_shader_atomic_counters
- KHR_shader_image_load_store
- KHR_shader_storage_buffer_object
- KHR_stencil_texturing
- KHR_texture_gather
- KHR_texture_storage_multisample
- KHR_vertex_attrib_binding
2014-09-02 13:04:13 +02:00
thefiddler
dcca1d77ac
[ES] Implemented bindings for ES 3.1 (1/2)
...
Implemented core functionality:
- KHR_compute_shader
- KHR_draw_indirect
- KHR_explicit_uniform_location
- KHR_framebuffer_no_attachments
- KHR_program_interface_queries
- KHR_separate_shader_objects
2014-09-02 13:04:13 +02:00
thefiddler
d570eb2032
[Bind] Moved GL overrides to parent folder
2014-09-02 13:04:13 +02:00
thefiddler
0e0565098c
[GL] Added a missing enum
2014-09-02 13:04:13 +02:00
thefiddler
c6e8991872
[Bind] Allow multiple overrides files
...
Multiple overrides files allow us to split overrides by extension,
simplifying maintenance.
2014-09-02 13:04:13 +02:00
thefiddler
5e8357b17e
[GL] Implemented ARB_direct_state_access
...
See http://www.opengl.org/registry/specs/ARB/direct_state_access.txt
2014-09-02 13:04:13 +02:00
thefiddler
02d592c548
[GL] Added missing tokens for 4.2-4.4
2014-09-02 13:04:13 +02:00
thefiddler
398bcd40aa
[GL][ES] Implemented KHR_context_robustness
2014-09-02 13:04:12 +02:00
thefiddler
06269f2253
[GL] Implemented ARB_get_texture_sub_image
...
Also fixed KHR_context_flush_control tokens in OpenGL ES.
2014-09-02 13:04:12 +02:00
thefiddler
adffb47af2
[GL][ES] Implemented KHR_context_flush_control
2014-09-02 13:04:12 +02:00
thefiddler
056e586bb1
[GL] Implemented ARB_conditional_render_inverted
2014-09-02 13:04:12 +02:00
thefiddler
cde7061280
[GL] Implemented ARB_cull_distance
2014-09-02 13:04:12 +02:00
thefiddler
240a5a6e70
[GL][ES] Added tokens for backwards compatibility
...
The 4.5 spec moves BLEND_ADVANCED_COHERENT_KHR from
KHR_blend_equation_advanced to KHR_blend_equation_advanced_coherent.
Add a deprecated token to maintain binary compatibility.
2014-09-02 13:04:12 +02:00
thefiddler
b0192b7d15
[GL] Added ARB_clip_control
2014-09-02 13:04:12 +02:00
thefiddler
6bb7c1d406
Merge pull request #173 from thefiddler/buffersize_to_int
...
[Bind] Add int overloads to buffer size (IntPtr) parameters
2014-09-02 13:03:42 +02:00
thefiddler
a37057233f
[GL] Added int overload to DrawElements for OpenGL4
2014-09-02 10:54:31 +02:00
thefiddler
cbe0684d7f
[Bind] Add int overloads to buffer size (IntPtr) parameters
...
As a convenience, int overloads are provided for IntPtr size
parameters (corresponding to BufferSize or size_t). In the vast
majority of cases, a 32bit int is sufficient for buffer sizes,
so these overloads avoid the necessity of annoying (IntPtr) casts.
If more than 2^31-1 elements are required, the IntPtr overloads
remain available. (As always, this requires a 64bit runtime
environment.)
2014-09-02 09:48:39 +02:00
thefiddler
074a4ff807
[Rewrite] Cast int32 overloads to native int
...
Int32 parameters should be converted to native int when
the native signature expects the latter.
2014-09-01 18:09:46 +02:00
thefiddler
ffa3df29eb
[X11] Fixed core X11 scrolling and absolute y motions
2014-08-10 02:56:37 +02:00
thefiddler
9ae778a00f
[X11] Fixed absolute motion valuators
2014-08-09 22:09:32 +02:00
thefiddler
5a5607eaa5
[X11] Added strong-typed enum for XIValuatorInfo.mode
2014-08-09 22:09:16 +02:00
thefiddler
a3e47a2431
[X11] Check before using motion/scroll valuators
...
These valuators are not available on all systems. We now check
explicitly for support, instead of returning invalid results.
Additionally, unknown valuator names are now printed to the
debug log.
2014-08-09 21:47:09 +02:00
thefiddler
073ddf1bef
[X11] Added XGetAtomName() function
2014-08-09 21:46:55 +02:00
thefiddler
5444c0c8b8
[SDL] Workaround for a Mono crash in SDL.JoystickGetGUID
...
It appears that Mono 3.4.0 fails to marshal SDL_JoystickGUID
correctly when used as a return value. Changing the fixed buffer
to a couple of long fields allows the struct to be marshalled
correctly.
2014-08-09 21:17:49 +02:00
thefiddler
e243316e8e
[Input] Cleaned up line endings and joystick hat mapping
2014-07-29 23:21:37 +02:00
Andrew O'Connor
fe1d465b85
[Input][SDL] Fix JoystickHat bugs
...
On SDL, DPad inputs were not correctly translated from joystick
hat inputs.
Updated MappedGamePadDriver so that it will correctly recognize
combined joystick hat directions e.g. DPadLeft should be true when
DownLeft, Left, or UpLeft are returned from the joystick hat.
2014-07-27 14:54:36 +01:00
thefiddler
e5cd6a3b9e
[Input] Implemented JoystickHat GamePad mapping
2014-07-25 23:26:03 +02:00
thefiddler
7c55e4e9ec
[Input] Corrected invalid GUID in GamePad database
2014-07-24 01:10:22 +02:00
thefiddler
3e9b2005d1
[Input] Sync GamePad database with SDL 2.0.4
2014-07-24 00:19:41 +02:00
thefiddler
6db29562cc
[Mac] Release input driver before other resources
...
The input driver relies on the existence of a CFRunLoop. Releasing it
first ensures that a CFRunLoop is available for its complete life cycle.
2014-07-23 23:23:14 +02:00
thefiddler
f799530575
[Mac] Do not use autorelease pool
...
Avoids a potential crash on shutdown.
2014-07-23 23:22:00 +02:00
thefiddler
bb882fe700
[Mac] Correctly release mach port
...
The event tap is released automatically along with the mach port. Fixes
crash on shutdown.
2014-07-23 23:21:04 +02:00
thefiddler
15f87c15a1
[Graphics] Implemented structural equality
...
GraphicsContexts are now considered equal if they store the same
context handle. Debugging information is also improved.
2014-07-23 21:24:24 +02:00
thefiddler
29af70274d
[Mac] Removed stored delegate list
...
The stored delegate list would store delegates indefinitely, causing a
memory leak. It is now the responsibility of each class to maintain
references to any callback functions it defines.
2014-07-23 21:23:25 +02:00
thefiddler
8f30f77b30
[OpenTK] Removed the finalizer in OpenTK.Toolkit
...
This resolves crashes related to the platform factory being reset while
resources are still live.
2014-07-23 21:22:22 +02:00
thefiddler
8b1be5c49a
[OpenTK] Dispose() now clear the list of resources
2014-07-23 21:20:28 +02:00
thefiddler
57c2f89038
[Mac] Explicitly close removed devices
...
Devices are now explicitly closed when they a DeviceRemoved event is
received. Additionally, exceptions are no longer allowed to escape into
unmanaged code, where they might crash the runtime.
2014-07-23 21:19:46 +02:00
thefiddler
d12643cf44
[Mac] Mark callback calling convention
...
Callbacks are now explicitly marked as unmanaged pointers with the
correct (platform-defined) calling convention. Exceptions raised inside
these callbacks are no longer allowed to escape into unmanaged code,
where they will crash the runtime.
Additionally, the window is now only closed on the UI thread, and only
if it is actually open.
2014-07-23 21:18:34 +02:00
thefiddler
a6c4a7c9b5
[Mac] Only dispose context on UI thread
2014-07-23 21:15:16 +02:00
thefiddler
e5e9ae0929
[Mac]] Add NSApplication.IsUIThread property
...
This can be used to check whether it is safe to access UI components in
the calling thread.
2014-07-23 21:14:47 +02:00
thefiddler
050a93d4af
[Mac] Resource registration moved to the facades
2014-07-23 14:36:09 +02:00
thefiddler
ac2ae4a4bb
[Mac] Ensure Cocoa bindings are initialized first
2014-07-23 14:35:51 +02:00
thefiddler
6abca6ddf7
[OpenTK] Register GraphicsContext and NativeWindow
2014-07-23 14:35:33 +02:00
thefiddler
ab75ca05c4
[OpenTK] Added IPlatformFactory.RegisterResource()
2014-07-23 14:34:52 +02:00
thefiddler
5d66aaa034
[Mac] Do not set callback delegates to null
...
This is done automatically by the GC once they are eligible for
collection.
2014-07-23 10:10:37 +02:00
thefiddler
4093b39fac
[Mac] Store a reference to callback delegates
...
This avoids a potential crashes by the GC reclaiming the delegates
prematurely.
2014-07-23 10:10:08 +02:00
thefiddler
e81d8da068
[OpenTK] Reduce duplication in GraphicsContextBase
...
Inheritors now take advantage of base class functionality to avoid
duplicating finalizers and warning messages.
2014-07-23 10:08:57 +02:00
thefiddler
8f03b09dad
[Mac] Register platform resources for disposal
2014-07-23 09:21:28 +02:00
thefiddler
77a44b2c8e
[OpenTK] Add allocated resource registry
2014-07-23 09:21:20 +02:00
thefiddler
864cc84019
[Mac] Do not execute run loop prematurely
...
Fixes a potential crash when destroying and recreating OpenTK.Toolkit.
2014-07-23 09:20:51 +02:00
thefiddler
b0ceef3ec9
[OpenTK] Additional constructor and doc cleanup
2014-07-23 09:05:29 +02:00
thefiddler
0a0a5d0af7
[Mac] More defensive programming
...
CocoaNativeWindow now checks for and reports failures to allocate
resources in its constructor. Additionally, it no longer calls UI
methods in the finalizer thread, as those methods will crash on Cocoa.
2014-07-23 09:05:01 +02:00
thefiddler
7cc3e922ee
[OpenTK] Re-add static Factory constructor
...
There are static methods that rely on `OpenTK.Platform.Factory` having
a static constructor. We need to fix those first, before we can remove
this constructor.
2014-07-23 09:03:18 +02:00
thefiddler
9d6b6891e6
[Mac] CursorVisible should only apply when changed
...
This fixes an issue where `NativeWindow.Dispose()` would move the mouse
cursor.
2014-07-22 21:02:33 +02:00
thefiddler
0c4081f6ef
[Mac] Do not use Autorelease pool
2014-07-22 16:29:52 +02:00
thefiddler
5501689d37
[Mac] Added objc_disposeClassPair binding
2014-07-22 16:29:37 +02:00
thefiddler
0e40f63cf2
[Mac] Close CocoaNativeWindow in Dispose()
...
Also fix various memory management issues regarding the `MouseCursor`
and `Icon` properties.
2014-07-22 16:29:21 +02:00
thefiddler
7956126c8d
[Mac] Retain CFRunLoop while it is in use
2014-07-22 16:20:46 +02:00
thefiddler
42e4e0b27e
[Mac] Added CFRetain binding
2014-07-22 16:19:43 +02:00
thefiddler
35bdf16f85
[OpenTK] Correctly reinitialize platform factory
2014-07-22 14:29:20 +02:00
thefiddler
a047c08d3d
[Mac] Correctly shutdown HID input driver
2014-07-22 14:28:48 +02:00
thefiddler
2a84104262
Merge pull request #157 from thefiddler/warnfix
...
Fix all build warnings on VS2013 and Mono 3.4.0
2014-07-21 18:05:20 +02:00
thefiddler
7c98a9c58d
Merge pull request #156 from thefiddler/buildfix
...
Use "Preserve Newest" option on OpenTK.dll.config
2014-07-21 17:56:10 +02:00
thefiddler
4bde589225
Fixed compilation warnings on Mono 3.4.0
2014-07-21 17:55:12 +02:00
thefiddler
d739085cca
Fixed compilation warnings on Mono 3.4.0
2014-07-21 17:52:17 +02:00
thefiddler
333503d70e
Fixed compilation warnings on Mono 3.4.0
2014-07-21 17:48:14 +02:00
thefiddler
00b531fdef
Fixed compilation warnings on Mono 3.4.0
2014-07-21 17:46:39 +02:00
thefiddler
7a064c382a
[Examples] Fixed all warnings
2014-07-21 17:20:19 +02:00
thefiddler
98399c2f48
[Compat] Use Preserve Newest in dll.config
...
This speeds up compilation times significantly.
2014-07-21 16:55:07 +02:00
thefiddler
f0484879ef
[ES][GL] Regenerated bindings
2014-07-21 16:53:36 +02:00
thefiddler
ffd7682eeb
[ES][GL] Added missing documentation comments
2014-07-21 16:53:24 +02:00
thefiddler
093dd1d1ca
[Bind] Fixed an issue where CLS-compliance was incorrectly overriden
2014-07-21 16:53:02 +02:00
thefiddler
e0a3b73130
Cleaned up the remaining obsolete warnings
2014-07-21 16:49:24 +02:00
thefiddler
461fbce45f
Cleaned up a number of obsolete warnings
2014-07-21 16:39:58 +02:00
thefiddler
6d1149cccd
[GL] BufferObjects and TextureUnit are not obsolete
2014-07-21 16:34:21 +02:00
thefiddler
c046584aaf
[Bind] Implemented CLS-compliant checks for Enums
2014-07-21 16:25:21 +02:00
thefiddler
ead151ea4f
Fixed a large number of warnings
2014-07-21 16:03:37 +02:00
thefiddler
bf65005e7b
[Bind] Added Enum.Obsolete property
2014-07-21 16:02:56 +02:00
thefiddler
33c9fe5025
[ES] Marked obsolete enums as such
2014-07-21 16:02:32 +02:00
thefiddler
cab9e85386
[Bind] Enums can now be marked as obsolete
2014-07-21 16:02:18 +02:00
thefiddler
ec34d17b21
Fixed a large number of build warnings
2014-07-21 15:03:24 +02:00
thefiddler
6ab1a9db87
Use "Preserve Newest" option on OpenTK.dll.config
...
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.
2014-07-21 14:32:08 +02:00
thefiddler
f756b97ffb
[ES][GL] Regenerated bindings
2014-07-21 09:19:39 +02:00
thefiddler
5cac37a4f5
[GL] Synced with the July 2014 Khronos spec
...
This version fixes various issues in the OES_byte_coordinates extension
and improves the documentation on parameter lengths.
2014-07-21 09:19:29 +02:00
Stefanos A
0f1776bdd0
[X11] Use the correct visual info for the context
...
This also fixes a potential NRE.
2014-07-20 11:31:02 +02:00
Stefanos A
6fa70263cb
[X11] Fixed GLControl on nvidia binary drivers
...
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.
2014-07-20 11:28:43 +02:00