Commit graph

7271 commits

Author SHA1 Message Date
VperuS
24b0930381
Apply required changes 2017-11-20 06:14:44 +02:00
VperuS
376f3edfd7 Add xml docs based on HelpText 2017-11-18 18:45:42 +02:00
Jarl Gullberg
bbfc98853e
Merge pull request #662 from Frassle/outstr
Add required count attribute overrides
2017-11-02 11:29:43 +01:00
Fraser Waters
ea09f56740 Add missing count attribute to ExtGetProgramBinarySourceQCOM
Also extends Rewrite to understand the new syntax of "*name".
2017-11-02 09:28:36 +00:00
Fraser Waters
e55d7017e0 Add count attribute to GetTranslatedShaderSource out string parameter 2017-11-02 09:28:36 +00:00
Fraser Waters
0ff0fbf1f7 Add count attribute to GetPerfQueryInfoINTEL out string parameter 2017-11-02 09:28:36 +00:00
Fraser Waters
602045f085 Add count attributes to GetPerfCounterInfoINTEL out string/array parameters 2017-11-02 09:28:35 +00:00
Fraser Waters
62d1072f71 Override flow direction for glGetPerfQueryIdByNameINTEL
The function in the OpenGL specification is not const correct.
2017-11-02 09:28:34 +00:00
Fraser Waters
4cdaea4747 Fix bug in Rewrite that didn't detect missing CountAttributes 2017-11-02 09:28:34 +00:00
Jarl Gullberg
781cdd5a3b Merge pull request #661 from Frassle/bindfix
Binding Generator fixes related to legacy array overloads
2017-10-19 21:06:19 +02:00
Jarl Gullberg
870f1abf8e Merge pull request #652 from Nihlus/glwidget-glarea
Base GLWidget on GLArea instead of DrawingArea
2017-10-19 21:03:11 +02:00
Jarl Gullberg
f8585068ba Merge pull request #667 from anegostudios/doctyron
Fix broken manual link in README.md using archive.org
2017-10-19 20:59:55 +02:00
Tyron Madlener
09f7691b6e Use older version where more links work 2017-10-12 11:58:56 +02:00
Tyron Madlener
5b6851cc10 Fix dead manual link using archive.org 2017-10-12 11:55:41 +02:00
Fraser Waters
8efe765529 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.
2017-10-05 23:00:57 +01:00
Fraser Waters
386d4e6a19 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.
2017-10-05 15:32:40 +01:00
Fraser Waters
8ed1e20a7a Generate legacy overloads for GetProgramResourceiv 2017-10-05 15:29:56 +01:00
Fraser Waters
bf6d047b0c Generate legacy overloads for GetProgramResourceName 2017-10-05 15:27:42 +01:00
Fraser Waters
368c984288 Generate legacy overloads for GetProgramBinary 2017-10-05 15:20:24 +01:00
Fraser Waters
c2bd45f676 Generate legacy overloads for GetTranslatedShaderSource 2017-10-05 15:17:59 +01:00
Fraser Waters
168462b4ca Generate legacy overloads for QCOM_extended_get 2017-10-05 15:15:03 +01:00
Fraser Waters
7644d0c94a Generate legacy overloads for GetProgramPipelineInfoLog 2017-10-05 15:12:34 +01:00
Fraser Waters
1485a6b322 Remove unused GetPointerv overloads 2017-10-05 14:53:30 +01:00
Fraser Waters
7c85f82074 Generate legacy overloads for VertexAttrib1fv 2017-10-05 13:42:39 +01:00
Fraser Waters
e222486004 Generate legacy overloads for GetObjectPtrLabel 2017-10-05 13:42:39 +01:00
Fraser Waters
d9918639fb Generate legacy overloads for GetObjectLabel 2017-10-05 13:42:38 +01:00
Fraser Waters
bb456e47a8 Generate legacy overloads for EdgeFlagv 2017-10-05 12:54:04 +01:00
Fraser Waters
ffa26fb204 Add feature to Bind to generate legacy array overloads 2017-10-05 12:37:23 +01:00
Fraser Waters
6bd1f0e603 Remove ShaderSource override that had no effect 2017-10-04 22:26:49 +01:00
Fraser Waters
74822fb42f Removing some dead code in Bind
This change doesn't effect the output of Bind.
2017-10-04 20:02:22 +01:00
Fraser Waters
201849b888 Remove trailing whitespace from overrides.xml 2017-10-04 14:32:46 +01:00
Fraser Waters
cd0e300785 Merge pull request #641 from Frassle/vector
Add Distance[Squared] methods to Vector(2/3)[d]
2017-10-03 12:16:59 +01:00
Jarl Gullberg
9768febfab
Rename GraphicsContextFlags to ContextFlags and remove the setter. 2017-10-01 20:35:04 +02:00
Jarl Gullberg
881b7553d9
Enable error checking for debug contexts. 2017-10-01 20:16:45 +02:00
Jarl Gullberg
c8ca1f33df
Remove obsolete and redundant double buffering assignment. 2017-10-01 20:15:26 +02:00
Jarl Gullberg
cbae16b7a1
Correct formatting. 2017-10-01 20:14:53 +02:00
Jarl Gullberg
2caeaf40e1
Correct field naming. 2017-10-01 20:14:39 +02:00
Jarl Gullberg
6e40aebeb3
Remove GTK2 code.
GLArea is only properly supported for GTK >= 3.16.
2017-10-01 20:14:15 +02:00
Jarl Gullberg
72dedf5018
Revert addition of InternalsVisibleTo attribute for the OpenTK assembly. 2017-10-01 20:13:00 +02:00
Jarl Gullberg
d3f5a87809
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.
2017-10-01 20:11:58 +02:00
Jarl Gullberg
b1f90c380e
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.
2017-10-01 20:06:50 +02:00
Jarl Gullberg
db4546d896 Merge pull request #653 from Nihlus/getaddress-wgl-fix
Use Wgl::GetAddress instead of Wgl::GetProcAddress in Utilities
2017-09-24 12:05:56 +02:00
Jarl Gullberg
1f33a6dd84
Use Wgl::GetAddress instead of Wgl::GetProcAddress in Utilities. 2017-09-20 16:52:45 +02:00
Fraser Waters
4f9e057358 Add Distance[Squared] methods to Vector3[d] 2017-09-17 14:37:51 +01:00
Fraser Waters
9d596f674b Add Distance[Squared] methods to Vector2[d] 2017-09-17 14:37:51 +01:00
Fraser Waters
211fceddf7 Remove erroneous comment slashes 2017-09-17 14:34:20 +01:00
Jarl Gullberg
29863f13da
Removed redundant WindowInfo initializer. 2017-09-16 16:20:00 +02:00
Jarl Gullberg
5df8f47d18
Bump AppVeyor image to 2017 to support C# 7.0 language features 2017-09-15 18:33:31 +02:00
Jarl Gullberg
82f0d4a5fd
Add InternalsVisibleTo override in build script. 2017-09-15 18:14:32 +02:00
Jarl Gullberg
67a9669917
Bump language version to 7.0. 2017-09-15 16:57:46 +02:00