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
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
varon
9215744415
Merge pull request #650 from Frassle/half
...
Add some tests for the Half type
2017-09-13 12:19:48 +02:00
Fraser Waters
05abff631a
Add some tests for the Half type
2017-09-10 19:39:47 +01: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
a9f6b2c38c
Merge pull request #631 from Frassle/prtemplate
...
Add a pull request template
2017-09-03 01:20:38 +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
96ef07b229
Merge pull request #643 from Frassle/outoptimize
...
Optimize assignment to vector math out parameters
2017-08-30 13:13:42 +01: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
741a4cfaac
Change binding generator to emit BindingsNotRewrittenException rather than NotImplementedException
2017-08-28 17:09:43 +01:00
Fraser Waters
51a7f0abdb
Add BindingsNotRewrittenException
2017-08-28 17:09:18 +01:00
Jarl Gullberg
947162ce6c
Correct altered logic.
2017-08-28 17:01:05 +02:00
Jarl Gullberg
6eb77be281
Correct odd line breaks and remove duplicate debug option.
2017-08-28 16:58:44 +02:00
Jarl Gullberg
d7a6c0f3bd
Use 'a' instead of 'i' for the short assembly option.
2017-08-28 16:57:49 +02: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
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
Jarl Gullberg
975dfc32c7
Correct target command line arguments.
2017-08-19 18:26:34 +02:00
Jarl Gullberg
c0060bc681
Update options to the new v2 API.
2017-08-19 18:26:33 +02:00