platform/core/csapi/opentk.git
6 years agoAdded contribution guidelines.
Jarl Gullberg [Sun, 25 Jun 2017 17:24:37 +0000 (19:24 +0200)]
Added contribution guidelines.

6 years agoMerge pull request #700 from Frassle/stylecop
Jarl Gullberg [Sat, 30 Dec 2017 13:40:20 +0000 (14:40 +0100)]
Merge pull request #700 from Frassle/stylecop

Conditional stylecop activation

6 years agoMerge pull request #704 from Frassle/paket
Jarl Gullberg [Sat, 30 Dec 2017 13:40:05 +0000 (14:40 +0100)]
Merge pull request #704 from Frassle/paket

Update paket conditions and references

6 years agoRun paket install
Fraser Waters [Wed, 27 Dec 2017 22:25:07 +0000 (22:25 +0000)]
Run paket install

6 years agoAdd .paket/Paket.Restore.targets to .gitignore
Fraser Waters [Wed, 27 Dec 2017 21:28:34 +0000 (21:28 +0000)]
Add .paket/Paket.Restore.targets to .gitignore

6 years agoAdd ability to disable/enable stylecop rules
Fraser Waters [Wed, 27 Dec 2017 08:03:29 +0000 (08:03 +0000)]
Add ability to disable/enable stylecop rules

6 years agoFix StyleCop issues in GLControl
Fraser Waters [Wed, 27 Dec 2017 08:30:36 +0000 (08:30 +0000)]
Fix StyleCop issues in GLControl

6 years agoMerge pull request #703 from Nihlus/remove-bindings-from.git
Jarl Gullberg [Wed, 27 Dec 2017 20:52:42 +0000 (21:52 +0100)]
Merge pull request #703 from Nihlus/remove-bindings-from.git

Remove bindings from Git

6 years agoUse Path.Combine instead of absolute path.
Jarl Gullberg [Wed, 27 Dec 2017 20:22:37 +0000 (21:22 +0100)]
Use Path.Combine instead of absolute path.

6 years agoUpdate README.md
Jarl Gullberg [Wed, 27 Dec 2017 19:46:39 +0000 (20:46 +0100)]
Update README.md

6 years agoAdd binding generation as an additional onetime build step.
Jarl Gullberg [Wed, 27 Dec 2017 19:04:37 +0000 (20:04 +0100)]
Add binding generation as an additional onetime build step.

6 years agoRemove bindings from source control.
Jarl Gullberg [Wed, 27 Dec 2017 19:04:04 +0000 (20:04 +0100)]
Remove bindings from source control.

6 years agoMerge branch 'develop' of github.com:opentk/opentk into remove-bindings-from.git
Jarl Gullberg [Wed, 27 Dec 2017 18:48:33 +0000 (19:48 +0100)]
Merge branch 'develop' of github.com:opentk/opentk into remove-bindings-from.git

6 years agoAdd binding generation step to build script.
Jarl Gullberg [Wed, 27 Dec 2017 18:48:27 +0000 (19:48 +0100)]
Add binding generation step to build script.

6 years agoMerge pull request #698 from Frassle/specupdate
Jarl Gullberg [Wed, 27 Dec 2017 17:57:12 +0000 (18:57 +0100)]
Merge pull request #698 from Frassle/specupdate

Update bindings from OpenGL-Registry

6 years agoMerge pull request #663 from Frassle/issue656
Fraser Waters [Tue, 26 Dec 2017 21:24:03 +0000 (21:24 +0000)]
Merge pull request #663 from Frassle/issue656

Skip null entries when enumerating DeviceCollection

6 years agoAdd DebugProc to ES11
Fraser Waters [Tue, 26 Dec 2017 21:19:36 +0000 (21:19 +0000)]
Add DebugProc to ES11

6 years agoMerge pull request #699 from Frassle/testrm
Fraser Waters [Tue, 26 Dec 2017 19:50:09 +0000 (19:50 +0000)]
Merge pull request #699 from Frassle/testrm

Remove Test.API.Desktop

6 years agoRemove Test.API.Desktop
Fraser Waters [Tue, 26 Dec 2017 18:42:20 +0000 (18:42 +0000)]
Remove Test.API.Desktop

6 years agoRerun Generator.Bind
Fraser Waters [Tue, 26 Dec 2017 18:38:18 +0000 (18:38 +0000)]
Rerun Generator.Bind

6 years agoRegenerate signatures.xml from OpenGL-Registry
Fraser Waters [Tue, 26 Dec 2017 18:37:26 +0000 (18:37 +0000)]
Regenerate signatures.xml from OpenGL-Registry

Generated from commit 681c365c012ac9d3bcadd67de10af4730eb460e0

https://raw.githubusercontent.com/KhronosGroup/OpenGL-Registry/681c365c012ac9d3bcadd67de10af4730eb460e0/xml/gl.xml

6 years agoUpdate Converter README to refer to new github xml specs
Fraser Waters [Tue, 26 Dec 2017 18:33:30 +0000 (18:33 +0000)]
Update Converter README to refer to new github xml specs

6 years agoMerge pull request #695 from tzachshabtay/develop
Jarl Gullberg [Mon, 25 Dec 2017 23:15:24 +0000 (00:15 +0100)]
Merge pull request #695 from tzachshabtay/develop

 Game Window- allow configuring separate update thread

6 years agoGame Window- allow configuring separate update thread
Tzach Shabtay [Sat, 23 Dec 2017 06:58:07 +0000 (01:58 -0500)]
Game Window- allow configuring separate update thread

6 years agoMerge remote-tracking branch 'opentk/develop' into develop
Tzach Shabtay [Wed, 20 Dec 2017 03:35:10 +0000 (22:35 -0500)]
Merge remote-tracking branch 'opentk/develop' into develop

6 years agoMerge pull request #691 from SparkusK/develop
varon [Mon, 11 Dec 2017 09:40:16 +0000 (11:40 +0200)]
Merge pull request #691 from SparkusK/develop

Stop taking X locks on display when attempting MakeCurrent() calls.

6 years agoRemove a lock on a read-only operation, in IsCurrent()
Shane Kelly [Sat, 9 Dec 2017 10:19:41 +0000 (12:19 +0200)]
Remove a lock on a read-only operation, in IsCurrent()

6 years agoMerge branch 'develop' of https://github.com/opentk/opentk into develop
Shane Kelly [Sat, 9 Dec 2017 07:49:12 +0000 (09:49 +0200)]
Merge branch 'develop' of https://github.com/opentk/opentk into develop

6 years agoStop using DisplayLocks for every MakeCurrent context call.
Shane Kelly [Sat, 9 Dec 2017 07:39:44 +0000 (09:39 +0200)]
Stop using DisplayLocks for every MakeCurrent context call.

6 years agoMerge pull request #681 from VPeruS/missing-xml
varon [Wed, 6 Dec 2017 14:51:48 +0000 (16:51 +0200)]
Merge pull request #681 from VPeruS/missing-xml

Add xml docs based on HelpText

6 years agoEnglish grammar in comments
VperuS [Mon, 20 Nov 2017 23:40:51 +0000 (01:40 +0200)]
English grammar in comments

6 years agoApply required changes
VperuS [Mon, 20 Nov 2017 04:14:44 +0000 (06:14 +0200)]
Apply required changes

6 years agoAdd xml docs based on HelpText
VperuS [Sat, 18 Nov 2017 16:24:46 +0000 (18:24 +0200)]
Add xml docs based on HelpText

6 years agoMerge pull request #662 from Frassle/outstr
Jarl Gullberg [Thu, 2 Nov 2017 10:29:43 +0000 (11:29 +0100)]
Merge pull request #662 from Frassle/outstr

Add required count attribute overrides

6 years agoAdd missing count attribute to ExtGetProgramBinarySourceQCOM
Fraser Waters [Thu, 5 Oct 2017 17:28:36 +0000 (18:28 +0100)]
Add missing count attribute to ExtGetProgramBinarySourceQCOM

Also extends Rewrite to understand the new syntax of "*name".

6 years agoAdd count attribute to GetTranslatedShaderSource out string parameter
Fraser Waters [Thu, 5 Oct 2017 15:26:22 +0000 (16:26 +0100)]
Add count attribute to GetTranslatedShaderSource out string parameter

6 years agoAdd count attribute to GetPerfQueryInfoINTEL out string parameter
Fraser Waters [Thu, 5 Oct 2017 15:07:04 +0000 (16:07 +0100)]
Add count attribute to GetPerfQueryInfoINTEL out string parameter

6 years agoAdd count attributes to GetPerfCounterInfoINTEL out string/array parameters
Fraser Waters [Thu, 5 Oct 2017 14:46:15 +0000 (15:46 +0100)]
Add count attributes to GetPerfCounterInfoINTEL out string/array parameters

6 years agoOverride flow direction for glGetPerfQueryIdByNameINTEL
Fraser Waters [Wed, 4 Oct 2017 12:49:33 +0000 (13:49 +0100)]
Override flow direction for glGetPerfQueryIdByNameINTEL

The function in the OpenGL specification is not const correct.

6 years agoFix bug in Rewrite that didn't detect missing CountAttributes
Fraser Waters [Wed, 4 Oct 2017 10:35:26 +0000 (11:35 +0100)]
Fix bug in Rewrite that didn't detect missing CountAttributes

6 years agoMerge pull request #661 from Frassle/bindfix
Jarl Gullberg [Thu, 19 Oct 2017 19:06:19 +0000 (21:06 +0200)]
Merge pull request #661 from Frassle/bindfix

Binding Generator fixes related to legacy array overloads

6 years agoMerge pull request #652 from Nihlus/glwidget-glarea
Jarl Gullberg [Thu, 19 Oct 2017 19:03:11 +0000 (21:03 +0200)]
Merge pull request #652 from Nihlus/glwidget-glarea

Base GLWidget on GLArea instead of DrawingArea

6 years agoMerge pull request #667 from anegostudios/doctyron
Jarl Gullberg [Thu, 19 Oct 2017 18:59:55 +0000 (20:59 +0200)]
Merge pull request #667 from anegostudios/doctyron

Fix broken manual link in README.md using archive.org

6 years agoUse older version where more links work
Tyron Madlener [Thu, 12 Oct 2017 09:58:56 +0000 (11:58 +0200)]
Use older version where more links work

6 years agoFix dead manual link using archive.org
Tyron Madlener [Thu, 12 Oct 2017 09:55:41 +0000 (11:55 +0200)]
Fix dead manual link using archive.org

6 years agoSkip null entries when enumerating DeviceCollection
Fraser Waters [Thu, 5 Oct 2017 21:47:08 +0000 (22:47 +0100)]
Skip null entries when enumerating DeviceCollection

Fixes #656.

DeviceCollection used the underlying List<T>'s enumerator. But we replace
entries in the list with nulls to save memory movement. This commit adds a
custom enumerator that skips nulls in the list.

6 years agoFix bug where count overrides didn't effect ComputeSize
Fraser Waters [Thu, 5 Oct 2017 14:32:39 +0000 (15:32 +0100)]
Fix bug where count overrides didn't effect ComputeSize

ComputeSize and ElementCount should match each other (and they do when
read direct from XML spec files). However when using the override file to
change count only ElementCount was effected. This is now fixed so that
ComputeSize is set and also so that ElementCount gets reset to 0 if the
count value isn't an integer.

6 years agoGenerate legacy overloads for GetProgramResourceiv
Fraser Waters [Thu, 5 Oct 2017 14:29:56 +0000 (15:29 +0100)]
Generate legacy overloads for GetProgramResourceiv

6 years agoGenerate legacy overloads for GetProgramResourceName
Fraser Waters [Thu, 5 Oct 2017 14:27:42 +0000 (15:27 +0100)]
Generate legacy overloads for GetProgramResourceName

6 years agoGenerate legacy overloads for GetProgramBinary
Fraser Waters [Thu, 5 Oct 2017 14:20:24 +0000 (15:20 +0100)]
Generate legacy overloads for GetProgramBinary

6 years agoGenerate legacy overloads for GetTranslatedShaderSource
Fraser Waters [Thu, 5 Oct 2017 14:17:59 +0000 (15:17 +0100)]
Generate legacy overloads for GetTranslatedShaderSource

6 years agoGenerate legacy overloads for QCOM_extended_get
Fraser Waters [Thu, 5 Oct 2017 14:06:10 +0000 (15:06 +0100)]
Generate legacy overloads for QCOM_extended_get

6 years agoGenerate legacy overloads for GetProgramPipelineInfoLog
Fraser Waters [Thu, 5 Oct 2017 13:58:19 +0000 (14:58 +0100)]
Generate legacy overloads for GetProgramPipelineInfoLog

6 years agoRemove unused GetPointerv overloads
Fraser Waters [Thu, 5 Oct 2017 13:51:48 +0000 (14:51 +0100)]
Remove unused GetPointerv overloads

6 years agoGenerate legacy overloads for VertexAttrib1fv
Fraser Waters [Thu, 5 Oct 2017 12:41:25 +0000 (13:41 +0100)]
Generate legacy overloads for VertexAttrib1fv

6 years agoGenerate legacy overloads for GetObjectPtrLabel
Fraser Waters [Thu, 5 Oct 2017 12:31:04 +0000 (13:31 +0100)]
Generate legacy overloads for GetObjectPtrLabel

6 years agoGenerate legacy overloads for GetObjectLabel
Fraser Waters [Thu, 5 Oct 2017 11:33:07 +0000 (12:33 +0100)]
Generate legacy overloads for GetObjectLabel

6 years agoGenerate legacy overloads for EdgeFlagv
Fraser Waters [Thu, 5 Oct 2017 11:37:02 +0000 (12:37 +0100)]
Generate legacy overloads for EdgeFlagv

6 years agoAdd feature to Bind to generate legacy array overloads
Fraser Waters [Thu, 5 Oct 2017 11:33:19 +0000 (12:33 +0100)]
Add feature to Bind to generate legacy array overloads

6 years agoRemove ShaderSource override that had no effect
Fraser Waters [Wed, 4 Oct 2017 21:26:49 +0000 (22:26 +0100)]
Remove ShaderSource override that had no effect

6 years agoRemoving some dead code in Bind
Fraser Waters [Wed, 4 Oct 2017 19:00:53 +0000 (20:00 +0100)]
Removing some dead code in Bind

This change doesn't effect the output of Bind.

6 years agoRemove trailing whitespace from overrides.xml
Fraser Waters [Wed, 4 Oct 2017 13:32:19 +0000 (14:32 +0100)]
Remove trailing whitespace from overrides.xml

6 years agoMerge pull request #641 from Frassle/vector
Fraser Waters [Tue, 3 Oct 2017 11:16:59 +0000 (12:16 +0100)]
Merge pull request #641 from Frassle/vector

Add Distance[Squared] methods to Vector(2/3)[d]

6 years agoRename GraphicsContextFlags to ContextFlags and remove the setter.
Jarl Gullberg [Sun, 1 Oct 2017 18:35:04 +0000 (20:35 +0200)]
Rename GraphicsContextFlags to ContextFlags and remove the setter.

6 years agoEnable error checking for debug contexts.
Jarl Gullberg [Sun, 1 Oct 2017 18:16:45 +0000 (20:16 +0200)]
Enable error checking for debug contexts.

6 years agoRemove obsolete and redundant double buffering assignment.
Jarl Gullberg [Sun, 1 Oct 2017 18:15:26 +0000 (20:15 +0200)]
Remove obsolete and redundant double buffering assignment.

6 years agoCorrect formatting.
Jarl Gullberg [Sun, 1 Oct 2017 18:14:53 +0000 (20:14 +0200)]
Correct formatting.

6 years agoCorrect field naming.
Jarl Gullberg [Sun, 1 Oct 2017 18:14:39 +0000 (20:14 +0200)]
Correct field naming.

6 years agoRemove GTK2 code.
Jarl Gullberg [Sun, 1 Oct 2017 18:14:15 +0000 (20:14 +0200)]
Remove GTK2 code.

GLArea is only properly supported for GTK >= 3.16.

6 years agoRevert addition of InternalsVisibleTo attribute for the OpenTK assembly.
Jarl Gullberg [Sun, 1 Oct 2017 18:13:00 +0000 (20:13 +0200)]
Revert addition of InternalsVisibleTo attribute for the OpenTK assembly.

6 years agoOverride context creation in GLArea.
Jarl Gullberg [Sun, 1 Oct 2017 18:11:58 +0000 (20:11 +0200)]
Override context creation in GLArea.

This allows forward compatible and debug contexts to be created, and
provides more descriptive exceptions in the case where the context
cannot be created with the requested settings.

6 years agoAdd builtin frame time measurement.
Jarl Gullberg [Sun, 1 Oct 2017 18:06:50 +0000 (20:06 +0200)]
Add builtin frame time measurement.

GLArea automatically synchronizes to GDK's refresh rate, which may lead
to incorrect frame time measurements if it's not correctly measured.

This property is guaranteed to always contain the actual live frame
delta of the previous frame in render functions.

6 years agoMerge pull request #653 from Nihlus/getaddress-wgl-fix
Jarl Gullberg [Sun, 24 Sep 2017 10:05:56 +0000 (12:05 +0200)]
Merge pull request #653 from Nihlus/getaddress-wgl-fix

Use Wgl::GetAddress instead of Wgl::GetProcAddress in Utilities

6 years agoUse Wgl::GetAddress instead of Wgl::GetProcAddress in Utilities.
Jarl Gullberg [Wed, 20 Sep 2017 14:52:45 +0000 (16:52 +0200)]
Use Wgl::GetAddress instead of Wgl::GetProcAddress in Utilities.

6 years agoAdd Distance[Squared] methods to Vector3[d]
Fraser Waters [Sat, 26 Aug 2017 12:12:12 +0000 (13:12 +0100)]
Add Distance[Squared] methods to Vector3[d]

6 years agoAdd Distance[Squared] methods to Vector2[d]
Fraser Waters [Sat, 26 Aug 2017 11:58:22 +0000 (12:58 +0100)]
Add Distance[Squared] methods to Vector2[d]

6 years agoRemove erroneous comment slashes
Fraser Waters [Sat, 26 Aug 2017 12:09:38 +0000 (13:09 +0100)]
Remove erroneous comment slashes

6 years agoRemoved redundant WindowInfo initializer.
Jarl Gullberg [Sat, 16 Sep 2017 14:20:00 +0000 (16:20 +0200)]
Removed redundant WindowInfo initializer.

6 years agoBump AppVeyor image to 2017 to support C# 7.0 language features
Jarl Gullberg [Fri, 15 Sep 2017 16:33:31 +0000 (18:33 +0200)]
Bump AppVeyor image to 2017 to support C# 7.0 language features

6 years agoAdd InternalsVisibleTo override in build script.
Jarl Gullberg [Fri, 15 Sep 2017 16:14:32 +0000 (18:14 +0200)]
Add InternalsVisibleTo override in build script.

6 years agoBump language version to 7.0.
Jarl Gullberg [Fri, 15 Sep 2017 14:57:46 +0000 (16:57 +0200)]
Bump language version to 7.0.

6 years agoAdd explanatory comment.
Jarl Gullberg [Fri, 15 Sep 2017 10:57:28 +0000 (12:57 +0200)]
Add explanatory comment.

6 years agoRemove redundant MakeCurrent call.
Jarl Gullberg [Fri, 15 Sep 2017 10:44:47 +0000 (12:44 +0200)]
Remove redundant MakeCurrent call.

6 years agoUse GLArea MakeCurrent method in disposal as well.
Jarl Gullberg [Fri, 15 Sep 2017 10:42:57 +0000 (12:42 +0200)]
Use GLArea MakeCurrent method in disposal as well.

6 years agoUse GLArea MakeCurrent method.
Jarl Gullberg [Fri, 15 Sep 2017 10:42:28 +0000 (12:42 +0200)]
Use GLArea MakeCurrent method.

6 years agoRemove redundant SwapBuffers call, the base OnDrawn already does this.
Jarl Gullberg [Fri, 15 Sep 2017 10:41:36 +0000 (12:41 +0200)]
Remove redundant SwapBuffers call, the base OnDrawn already does this.

6 years agoRemove redundant MakeCurrent call, the base OnDrawn already does this.
Jarl Gullberg [Fri, 15 Sep 2017 10:41:23 +0000 (12:41 +0200)]
Remove redundant MakeCurrent call, the base OnDrawn already does this.

6 years agoRemove duplicate RenderFrame event (GLArea has one already).
Jarl Gullberg [Fri, 15 Sep 2017 10:40:21 +0000 (12:40 +0200)]
Remove duplicate RenderFrame event (GLArea has one already).

6 years agoRemove properties that are no longer relevant or used.
Jarl Gullberg [Fri, 15 Sep 2017 10:39:47 +0000 (12:39 +0200)]
Remove properties that are no longer relevant or used.

6 years agoRemove manual visual selection from the X11 initialization.
Jarl Gullberg [Fri, 15 Sep 2017 10:38:49 +0000 (12:38 +0200)]
Remove manual visual selection from the X11 initialization.

6 years agoAdd buffer flag selection.
Jarl Gullberg [Fri, 15 Sep 2017 10:37:28 +0000 (12:37 +0200)]
Add buffer flag selection.

6 years agoRemove GLVersion properties, and use the underlying GLArea implementation.
Jarl Gullberg [Fri, 15 Sep 2017 09:52:50 +0000 (11:52 +0200)]
Remove GLVersion properties, and use the underlying GLArea implementation.

6 years agoInitialize an OpenTK::GraphicsContext from the foreign GDK context.
Jarl Gullberg [Fri, 15 Sep 2017 09:51:11 +0000 (11:51 +0200)]
Initialize an OpenTK::GraphicsContext from the foreign GDK context.

6 years agoInherit from GLArea instead of DrawingArea.
Jarl Gullberg [Fri, 15 Sep 2017 09:21:22 +0000 (11:21 +0200)]
Inherit from GLArea instead of DrawingArea.

6 years agoAdd OpenTK.GLWidget as a friend assembly, allowing it to access internals.
Jarl Gullberg [Fri, 15 Sep 2017 09:21:10 +0000 (11:21 +0200)]
Add OpenTK.GLWidget as a friend assembly, allowing it to access internals.

6 years agoMerge pull request #650 from Frassle/half
varon [Wed, 13 Sep 2017 10:19:48 +0000 (12:19 +0200)]
Merge pull request #650 from Frassle/half

Add some tests for the Half type

6 years agoAdd some tests for the Half type
Fraser Waters [Sat, 9 Sep 2017 09:39:26 +0000 (10:39 +0100)]
Add some tests for the Half type

6 years agoMerge pull request #634 from Frassle/utf8
varon [Sun, 3 Sep 2017 09:29:55 +0000 (11:29 +0200)]
Merge pull request #634 from Frassle/utf8

Change BindingBase to use UTF8, not ASCII, strings

6 years agoMerge pull request #627 from Nihlus/rewrite-new-1-better-options
varon [Sun, 3 Sep 2017 09:28:09 +0000 (11:28 +0200)]
Merge pull request #627 from Nihlus/rewrite-new-1-better-options

Simplify option parsing for Generator.Rewrite

6 years agoMerge pull request #631 from Frassle/prtemplate
varon [Sat, 2 Sep 2017 23:20:38 +0000 (01:20 +0200)]
Merge pull request #631 from Frassle/prtemplate

Add a pull request template