Jarl Gullberg
7fd3d75f6c
Remove bindings from source control.
2017-12-27 20:04:04 +01:00
Jarl Gullberg
991e36ca4f
Merge pull request #698 from Frassle/specupdate
...
Update bindings from OpenGL-Registry
2017-12-27 18:57:12 +01:00
Fraser Waters
9a40e81e73
Merge pull request #663 from Frassle/issue656
...
Skip null entries when enumerating DeviceCollection
2017-12-26 21:24:03 +00:00
Fraser Waters
0fc7f6d4aa
Add DebugProc to ES11
2017-12-26 21:19:36 +00:00
Fraser Waters
cea60cf034
Rerun Generator.Bind
2017-12-26 18:38:18 +00:00
Tzach Shabtay
0f9552e39a
Game Window- allow configuring separate update thread
2017-12-23 01:58:07 -05:00
Shane Kelly
e335698c07
Remove a lock on a read-only operation, in IsCurrent()
2017-12-09 12:19:41 +02:00
Shane Kelly
67563520ff
Stop using DisplayLocks for every MakeCurrent context call.
2017-12-09 09:39:44 +02: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
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
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
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
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
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
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
82f0d4a5fd
Add InternalsVisibleTo override in build script.
2017-09-15 18:14:32 +02:00
Jarl Gullberg
d4112a6e95
Add OpenTK.GLWidget as a friend assembly, allowing it to access internals.
2017-09-15 11:21:10 +02:00
varon
077d7c7098
Merge pull request #634 from Frassle/utf8
...
Change BindingBase to use UTF8, not ASCII, strings
2017-09-03 11:29:55 +02:00
varon
f3044c259a
Merge pull request #627 from Nihlus/rewrite-new-1-better-options
...
Simplify option parsing for Generator.Rewrite
2017-09-03 11:28:09 +02:00
varon
d9f8120f0d
Merge pull request #645 from winterhell/develop
...
Prevent crash when XInput is not present
2017-09-03 01:19:27 +02:00
varon
11c24a80d9
Merge pull request #644 from Frassle/rewriteexception
...
Add BindingsNotRewrittenException
2017-09-02 10:18:26 +02:00
Rosen Iliev
33ed6727bf
Update XInputJoystick.cs
...
Debug message for programmers
2017-08-31 10:47:56 +03:00
Rosen Iliev
8e5faec07c
Prevent crash when XInput is not present
...
Now returns from the function instead of throwing an exception
2017-08-30 18:10:56 +03:00
Fraser Waters
6cbaeee54a
Replace manually written code using NotImplementedException with BindingsNotRewrittenException
2017-08-28 17:14:21 +01:00
Fraser Waters
7ae39813f3
Rerun Bind.exe
2017-08-28 17:10:06 +01:00
Fraser Waters
51a7f0abdb
Add BindingsNotRewrittenException
2017-08-28 17:09:18 +01:00
Fraser Waters
4a31379f92
Add remarks about not reusing the same variable to ref/out methods
2017-08-28 15:52:04 +01:00
Fraser Waters
b1e30393a1
Optimize assignment to vector math out parameters
...
See #500 for more details.
Instead of using the pattern:
result = new Vector(x, y, z)
Which would allocate and copy a vector instance, instead assign the fields
directly:
result.X = x;
result.Y = y;
result.Z = z;
This should be a small improvment in performance.
2017-08-27 16:13:32 +01:00
Fraser Waters
fd4871aa87
Fix style errors in iPhoneOS project
2017-08-26 13:43:22 +01:00
Jarl Gullberg
3919e5f14f
Updated calls to Rewrite in the OpenTK project.
2017-08-19 18:26:33 +02:00
VperuS
404c0c3b4b
Fix RefreshRate return 0 on MacOS
2017-08-17 08:32:22 +03:00
Fraser Waters
440502746a
Change BindingBase to use UTF8, not ASCII, strings
...
From the OpenGL 4.6 core specification, section 22.2:
String queries return pointers to UTF-8 encoded,
null-terminated static strings describing properties of the
current GL context.
From the GLSL 4.6 specification, section 3.1:
The source character set used for the OpenGL shading languages
is Unicode in the UTF-8 encoding scheme.
It used to be that strings were ASCII, but ASCII is a safe subset of
UTF8 so any existing code that assumed strings were encoded as ASCII
will continue to work.
2017-08-13 17:44:26 +01:00
Fraser Waters
e9e471f785
Fix out String parameters
2017-08-13 14:38:53 +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