Commit graph

7127 commits

Author SHA1 Message Date
Fraser Waters 6d3458d3ff Add a pull request template
Based on one from ArasP:
http://aras-p.info/blog/2017/05/07/Users-POV-and-Empathy/
2017-08-27 09:25:42 +01:00
Fraser Waters a498da9448 Fix mscorlib 4.0.0.0 reference added by Rewrite.exe 2017-08-26 22:17:04 +01:00
Fraser Waters fd4871aa87 Fix style errors in iPhoneOS project 2017-08-26 13:43:22 +01:00
Fraser Waters ee7f578253 Merge pull request #637 from VPeruS/macos-refresh-rate
Fix DisplayDevice.RefreshRate being 0 for some monitors on MacOS.

Use CoreVideo CVDisplayLink to get correct display refresh rate. Previous implementation can sometimes return 0 according to https://developer.apple.com/documentation/coregraphics/1454661-cgdisplaymodegetrefreshrate.
2017-08-26 12:49:52 +01:00
Fraser Waters 7b0f9adb0c Add build status to README 2017-08-22 13:20:45 +01:00
Fraser Waters ef9d07fcb5 Revert GLWidget back to 4.5 framework due to gtk3 dependency 2017-08-22 13:04:36 +01:00
Fraser Waters 1106a9ab07 Revert GLControl and GLWidget to target 2.0 framework 2017-08-22 11:54:02 +01:00
VperuS 404c0c3b4b Fix RefreshRate return 0 on MacOS 2017-08-17 08:32:22 +03:00
Jarl Gullberg a6f41bdf35 Merge pull request #618 from Nihlus/myget-continuous-nuget
Add continuous MyGet package feed
2017-08-14 19:11:19 +02:00
Jarl Gullberg df9cd1d2f1 Merge pull request #623 from Nihlus/enable-xml-doc-output
Enable XML documentation output for supporting projects
2017-08-14 19:11:07 +02:00
Fraser Waters e9e471f785 Fix out String parameters 2017-08-13 14:38:53 +01:00
Fraser Waters 8914faa216 Remove unused variables in Rewrite 2017-08-13 14:35:04 +01:00
Fraser Waters b4dc24cfcf Merge pull request #632 from UnknownShadow200/develop
X11DisplayDevice - Use XRRSizes array directly if dev.Bounds is empty
2017-08-08 17:53:41 +01:00
UnknownShadow200 9a299788d8 Missed one replacement of current_resolution_index to current_sizes_index 2017-08-08 10:03:38 +10:00
Fraser Waters d7c44693e7 Fix SA1000 in Platform\iPhoneOS\iPhoneOSGameView.cs
Fixes "The keyword 'typeof' must not be followed by a space."
2017-08-07 18:01:52 +01:00
UnknownShadow200 84dc4d207c X11DisplayDevice - Use XRRSizes array directly if dev.Bounds is empty
Directly indexing into the array returned from XRRSizes is the way khronos recommends at https://www.khronos.org/opengl/wiki/Programming_OpenGL_in_Linux:_Changing_the_Screen_Resolution

The old way was multiplying that index by depths.Length, as an index into the available_res list. This is incorrect because it doesn't account for when a display device has multiple refresh rates.
2017-08-08 00:13:23 +10:00
Fraser Waters 178508ac0e Merge pull request #625 from Frassle/opengl4.6
Add OpenGL 4.6 Support
2017-08-06 18:39:21 +01:00
Fraser Waters e331a6d5ca Merge pull request #624 from Nihlus/cocoa-machport-leak-fix
Fix leaking Cocoa Machports on macOS
2017-08-06 18:11:09 +01:00
Fraser Waters 2e88a735dc Fix casting bug introduced in 127c6fd6
A "&" operator was accidently removed when updating variables to
auto-properties.
2017-08-06 18:06:40 +01:00
Fraser Waters feb8e8f6e3 Merge pull request #630 from UnknownShadow200/develop
Allocate SystemDefaultCharSize instead of 1 byte per char for buffer used in WinGLNative.HandleDropFiles
2017-08-06 17:55:32 +01:00
UnknownShadow200 5f158997b8 Use Marshal.SystemDefaultCharSize instead of hardcoding 2 bytes per char
Also move Marshal.FreeHGlobal up because buffer doesn't need to persist after PtrToStringAuto was called.
2017-08-06 08:36:51 +10:00
UnknownShadow200 a3c0b05371 Allocate 2 instead of 1 byte per char for buffer used in WinGLNative.HandleDropFiles
DragQueryFile returns number of characters. Previously, a buffer of 'number of characters' bytes was being allocated.

This change fixes crashing when the platform uses a character set with more than one byte per character. (unicode charset has 2 bytes)

Fixes #626
2017-08-05 23:56:42 +10:00
Jarl Gullberg 9893283fc6
Correct documentation output directory. 2017-08-04 18:47:47 +02:00
Jarl Gullberg 77bca92a02
Use local variable instead of reusing the field. 2017-08-04 18:46:17 +02:00
Jarl Gullberg b0e7465f6c
Reuse selectors. 2017-08-04 18:40:16 +02:00
Jarl Gullberg c02e959f7a
Move early return out of the autorelease pool. 2017-08-04 18:39:44 +02:00
Fraser Waters 379b81e9e7 Update README and RELEASE_NOTES 2017-08-04 17:23:19 +01:00
Fraser Waters b9e03c99b3 Rerun Generator.Bind 2017-08-04 16:57:38 +01:00
Fraser Waters a29e342508 Add two new types to Generator.Bind
GLeglClientBufferEXT, and GLVULKANPROCNV. Both are mapped to IntPtrs.
2017-08-04 16:57:38 +01:00
Fraser Waters 7e5b937bc5 Regenerate signatures.xml from OpenGL-Registry
Generated from commit c21e602b9fda1d3bbaecb08194592f67e6a0649b
https://github.com/KhronosGroup/OpenGL-Registry/raw/master/xml/gl.xml
2017-08-04 16:57:38 +01:00
Jarl Gullberg af1e3bdf0f
Correct screwy formatting. 2017-08-04 17:41:45 +02:00
Jarl Gullberg 3cf07ff790
Broke the autorelease code out into a class and replaced the usage. 2017-08-04 17:38:26 +02:00
Jarl Gullberg a7ddb543a9
Moved the autorelease pool to the context. 2017-08-04 17:38:26 +02:00
Jarl Gullberg 5828203f8e
Implemented an autorelease pool for Cocoa's NativeWindow implementation. 2017-08-04 17:38:26 +02:00
Jarl Gullberg 446a484f7f
Correct missing parameter documentation. 2017-08-04 17:34:46 +02:00
Jarl Gullberg aa60aeb86a
Documented Options class in the converter. 2017-08-04 17:34:46 +02:00
Jarl Gullberg 7c85903456
Documented WrapperTypes enum. 2017-08-04 17:34:46 +02:00
Jarl Gullberg 8bd4de42a7
Documented FunctionBody class. 2017-08-04 17:34:46 +02:00
Jarl Gullberg 57ba670952
Add missing documentation, and pull indentation in by one. 2017-08-04 17:34:46 +02:00
Jarl Gullberg 77241fdbb3
Remove documentation for missing parameter. 2017-08-04 17:34:46 +02:00
Jarl Gullberg 337b6d4632
Enable XML documentation output for the supporting tools. 2017-08-04 17:34:46 +02:00
Jarl Gullberg 254f7e9bfb Merge pull request #620 from Nihlus/cleanup-9-symbol-spacing
[Cleanup] Symbol Spacing
2017-08-04 17:25:29 +02:00
Jarl Gullberg ead44aaf80
Add comment explaining the release notes overwrite. 2017-08-04 13:58:39 +02:00
Jarl Gullberg 3bfaeda99d
Correct arithmetic operator position. 2017-08-04 12:35:06 +02:00
Jarl Gullberg c06ce5658d
Correct equality comparsion operator position. 2017-08-04 12:35:06 +02:00
Jarl Gullberg 205cb307ec
Correct base call operator position. 2017-08-04 12:35:06 +02:00
Jarl Gullberg b08acb758a
Correct cast operator position. 2017-08-04 12:35:06 +02:00
Jarl Gullberg 5db88e0a8f
Correct cast operator position. 2017-08-04 12:35:06 +02:00
Jarl Gullberg af3aef4d9e
Remove redundant base constructor call. 2017-08-04 12:35:06 +02:00
Jarl Gullberg 7ac6812ce7
Enable SA1003. 2017-08-04 12:35:06 +02:00