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
468542c3db
Moved OpenTK to source folder
2016-07-17 21:36:42 +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
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
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
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
Harry
f2d1bd1db5
Merge pull request #352 from mrhelmut/SDL2GamePadInstanceId
...
Fix SDL2 instance enumeration and mapping
2016-02-25 23:42:25 +01:00
Thomas Altenburger
6998f94a39
Fix SDL2 instance enumeration and mapping
2016-02-25 23:05:01 +01:00
Thomas Altenburger
0ab980bfe7
Deactivate screensaver on SDL2
2016-02-25 23:02:01 +01:00
amulware
05938d70ba
removed confusing Vector3 Matrix4 interactions introduced with #331
2016-02-25 16:38:00 +01:00
cra0zy
3d58a0b50a
Fix tabs/spaces and righthandtransform caused by #331
2016-02-20 21:01:39 +01:00
Matthias
96fb7b7846
Updated docs
2016-02-20 15:24:02 +02:00
Matthias
b14845a749
Added missing operator for Vector3 * Matrix4
2016-02-20 15:18:12 +02:00
Matthias
2989ea1c3a
Added operators for Mat * Vec
2016-02-20 15:16:37 +02:00
Matthias
22b33ab735
Added the non-ref RightHandedTransform
2016-02-20 15:06:18 +02:00
Matthias
256bf73c39
Added RightHandedTransform
2016-02-20 15:00:21 +02:00
Matthias
75d7e9c718
Swapped order of parameters for Vec Mat multiplication operator
2016-02-20 14:34:59 +02:00
Matthias
33d4731718
Merge remote-tracking branch 'upstream/develop' into develop
2016-02-20 13:44:23 +02:00
cra0zy
b944d92754
[Linux X11] Fix incorrect window state if it was set while the window was invisible
2016-02-19 18:06:09 +01:00
Thomas Altenburger
b29bc2f534
Fixes keyboard being recognized as 2 HID devices
2016-01-08 13:16:38 +01:00
Thomas Altenburger
8488bb6229
Fix HID WinRaw driver to handle PS4 controller
2016-01-08 11:43:39 +01:00
Thomas Altenburger
32b0c8e985
Fix PS4 controller mapping on Windows
2016-01-08 11:43:05 +01:00
Thomas Altenburger
d0efd76edf
Invert Y axis on all GamePad
2016-01-08 09:13:26 +01:00