Commit graph

5945 commits

Author SHA1 Message Date
Jonas Boesch 9d29c8c19b Added AngleWindowInfo and AnglePlatformFactory
Both WindowInfo and PlatformFactory wrap the actual platform-specific WindowInfo and PlatformFactory.

For offscreen rendering, AngleWindowInfo can be used with a DummyWindowInfo.

The API to add additional surfaces was added to IAngleWindowInfo, since all those calls need the Display parameter that is only available on EglWindowInfo (which is not exposed to users).
2016-11-28 12:21:18 +01:00
Jonas Boesch df66598182 Added Angle-related enums and definitions
+ GraphicsContextFlags now has Angle and Offscreen flags.
+ Egl now has PLATFORM_ANGLE related const ints.
+ Added eglGetPlatformDisplayEXT p/invoke definition
+ Added eglQuerySurfacePointerANGLE p/invoke definition
+ EglWindowInfo.CreatePbufferSurface was commented out. Enabled and fixed it.
+ GraphicsContextFlags.Offscreen will make the context create a PbufferSurface instead of a WindowSurface in EglContext
+ SurfaceType enum to select surface type for SelectGraphicsMode
2016-11-28 12:20:59 +01:00
varon f817941635 Moved Tests.API.Desktop to Tests folder. 2016-07-17 21:37:49 +02:00
varon 69af2d69e5 Moved OpenTK.Tests to tests folder 2016-07-17 21:37:25 +02:00
varon 468542c3db Moved OpenTK to source folder 2016-07-17 21:36:42 +02:00
varon bb355b6011 moved GlWidget to source folder 2016-07-17 21:36:27 +02:00
varon 3a800fb61f moved GLControl to src folder 2016-07-17 21:36:09 +02:00
varon 80b8e23620 Moved Generator.Rewrite to src folder 2016-07-17 21:35:51 +02:00
varon 0fc4bc8d7e Moved Build.UpdateVersion to src folder 2016-07-17 21:35:34 +02:00
varon 0fe698bcd3 Moved Convert project to src folder 2016-07-17 21:35:03 +02:00
varon 5e712d35fa Moved Bind project to src filder 2016-07-17 21:33:48 +02:00
Harry 3ffaac51d4 Merge pull request #169 from thefiddler/waitsync_fix
[GL] Fixed GL.WaitSync return value
2016-07-16 14:25:54 +02:00
Harry edd117e3a5 Merge pull request #404 from SiliconStudio/context_tostring_fixes
Context tostring fixes
2016-07-16 13:28:05 +02:00
MorituriTeSalutant dde2da6c00 Added NONE as an option in BufferStorageFlags
None is a desirable option in this enum because it's used much like
BufferUsageHint.StaticDraw for ARB_Buffer_Storage. Using it explicitly
in user code is more clear than 0, and makes it more clear to the
inexperienced author that none is an option.
2016-07-16 13:10:29 +02:00
MorituriTeSalutant c5a13766ac Fixed the Enum types for glDrawElements* functions and regenerated the bindings. 2016-07-16 13:08:28 +02:00
Harry 6f12ddd31c Merge pull request #367 from jpbruyere/develop
[SDL2] Don't test Stereo Mode when setting STENCIL_SIZE
2016-07-16 12:11:37 +02:00
varon ec36b5754c Removed OpenTK Samples 2016-07-15 13:33:33 +02:00
varon b1b543849e Removed OpenTK Examples 2016-07-15 13:33:15 +02:00
varon 0d9b1115f3 Removed OpenTK.Compatibility 2016-07-15 13:32:15 +02:00
Harry 9cd0e4e96f Merge pull request #399 from SiliconStudio/sdl2_lazy_input
[SDL2] Initialize input driver lazily
2016-07-06 14:24:36 +02:00
Virgile Bello d0006ce4fa EglContext: directly use Handle when creating exception message 2016-06-22 17:47:49 +09:00
Virgile Bello 2fefc6632d GraphicsContextBase.ToString() was easily crashing or recursing infinitely 2016-06-22 17:47:44 +09:00
Virgile Bello 6d0165b75d [SDL2] Initialize input driver lazily (to avoid setting global SDL input filter callback when not needed) 2016-06-21 13:51:43 +09:00
Virgile Bello bcddc07c9f Initial support for Android/iOS 2016-06-08 15:15:59 +09:00
Varon f81b846a03 Updated version to 1.2 2016-05-26 00:25:10 +02:00
varon aa41971b3b Merge pull request #392 from varon/nuget-package-dev
Add a pre-release NuGet package
2016-05-25 23:51:05 +02:00
Varon 23f719bad5 updated nuget version to include '-pre' tag 2016-05-24 19:13:55 +02:00
Virgile Bello 1652cf0d23 Egl: Fix context sharing 2016-05-20 17:22:59 +09:00
Virgile Bello 623cfa7e9d Egl: Unset context when calling MakeCurrent(null) 2016-05-20 16:55:50 +09:00
Virgile Bello 695dcd4d60 Egl & Cocoa: Don't change context when creating/deleting them 2016-05-20 12:55:28 +09:00
cra0zy 1b6fdd28ca
Remove duplicate test files 2016-05-11 10:47:17 +02:00
William Deich 8e3986174e NUnit Tests from Manuli and Wcdeich4 (#373)
* NUnit Tests from Manuli and Wcdeich4
2016-04-21 17:28:37 +02:00
Harry 8fc672ad73 Merge pull request #370 from amulware/improve-gethashcode
improved GetHashCode overrides of float/double Math types, closes #355
2016-03-28 11:20:08 +02:00
amulware e4c6f521e2 improved GetHashCode override of all float and double based Vector/Matrix/Quaternion/Box types 2016-03-16 08:11:13 +01:00
cra0zy 89e6c31a78 Fix axis range 2016-03-16 00:23:42 +01:00
Harry dc54e9bc02 Merge pull request #354 from mrhelmut/RetinaMouseFix2TK
Scaling mouse coordinate to match Retina scaling
2016-03-14 17:29:54 +01:00
jp ef2aed1e4e [SDL2] Don't test Stereo Mode when setting STENCIL_SIZE 2016-03-11 06:48:22 +01:00
Paul Scharf 1c4a18332a Merge pull request #356 from skkestrel/develop
improvements to Math/Box2 and addition of Math/Box2d
2016-03-08 06:03:58 +01:00
kevin 44adf713d2 update license headers 2016-03-07 13:03:03 -08:00
kevin 01bbb0ef34 update license text for Box2* 2016-03-07 12:42:33 -08:00
kevin e0d4fd2e81 remove FromCorners, add Contains overloads 2016-03-06 14:01:11 -08:00
Harry e1ab8f135f Merge pull request #347 from TD25/develop
Fixed few bugs related to getting mouse coordinates
2016-03-06 15:59:46 +01:00
TD25 e5ab1ae791 Fixed few bugs related to getting mouse coordinates 2016-03-06 18:47:19 +02:00
kevin adeda6b7d1 distinguish between Translate and Translated 2016-03-02 20:35:20 -08:00
kevin 1e81187aeb normalize indentation 2016-03-02 20:27:03 -08:00
kevin 9a923954f6 add double precision Box2 2016-03-02 20:22:52 -08:00
kevin 3008a25ef3 add more functionality to Box2 2016-03-02 18:56:43 -08:00
mrhelmut 7b73fe4193 Scaling mouse coordinate to match Retina scaling 2016-02-29 17:22:31 +01:00
Thomas Altenburger f996c8d2c7 Gamepad mapping update 2016-02-26 11:01:32 +01:00
Paul Scharf 15d0dc647b Merge pull request #350 from mrhelmut/GamePadYFix
Invert Y axis on all GamePad
2016-02-26 10:00:21 +01:00