26 Commits

Author SHA1 Message Date
Konstantin Koch
f081f8632a two commits were missing, both by KorsarNek:
"Removed the SupportedPlatformsImpl classes and replaced them with a new SupportedPlatforms attribute on the assembly level.
Removed a few class constructors which could cause problems when loading a game.
Made ResetElapsedTime in the game class reset to 0 instead of TimeSpan.MinValue.
Removed the restriction in the InputDeviceFactory for which InputDevices are supported.
Added a Logger for Metro which works with the current Logger implementation.
Changed that when a platform is recognized that is higher than Windows 8, it gets treated like Windows 8, not like Windows 7.
Due to the SupportedPlatforms change, the assembly loader is now faster in finding out which assemblies contains addIns. For not Metro system, it's also added that a warning gets written if an AddIn references a different ANX version than that of the running assembly.
OpenGL and DirectX have been updated to the newest versions.
XAudio system uses now the same SharpDX version as all the other systems.
ParameterBuffer for WindowsMetro gets now correctly created by considering the size constraints for constant buffers.
Fixed an erroneous finalizer in the xaudio system.
Made the metro projects convert to Windows 8.1, as Windows 8.0 is not supported by the newer SharpDX versions. It's now also necessary to use at least Visual Studio 2013 to build the Metro versions.
Made the samples work again on Windows."

"Fixed the creation of the swap chain for windows metro and removed the dependency of the Metro Rendersystem onto the Metro Platformsytem.
All occurrences of WindowHandles have been replaced with a custom WindowHandle type which should work out of the box in most cases, but does still represent a breaking change to XNA.
The ProjectConverter for Metro was adjusted so that with just changing the way the application is initialized, most projects that worked with ANX before should now work under win rt. The sample SimpleNoContent does now work out of the box for win rt, after a project conversion.
The application name for win rt apps is now a guid, the display name stayed the same though. That's to be more compliant with the way win rt apps are normally created.
The default namespace and namespace of the classes for the Sample "SimpleNoContent" is renamed from "SimpleModernUI" to "SimpleNoContent".
With the new way win rt apps are initialized for ANX, it's necessary to first create the WindowsGameHost for WinRT with a handler how to create the game instance and give that to the CoreApplication object to run it.
Also took care of a few annoying bugs when working with win rt and ANX where no InputDevices could be created on the first frame (Issue #1164 ) and that it wasn't possible to use the localfolder of the application on the first update and all the other stuff for which an instance of the Application class was necessary."
2015-03-29 13:48:33 +02:00
Glatzemann
4096a16846 some minor GL3 RenderSystem tweaking 2015-03-15 01:12:23 +01:00
SND\AstrorEnales_cp
663dff347d - Added a new Sample to test all AlphaTestEffect behaviours
- Working on some tests
2015-03-15 01:11:46 +01:00
SND\AstrorEnales_cp
646c2e5b79 - Fixed the Curve class Oscillate mode and all Curve tests are now passing!
- Added the missing Serializable attribute to the Curve class
- Added some more Development attributes
2015-03-15 01:11:41 +01:00
Glatzemann
5ac399a71d added lots of developer attributes 2015-03-15 01:11:36 +01:00
Glatzemann
41f26acf5b fixed issue #1019 in DX10 and DX11 RenderSystems 2015-03-15 01:11:08 +01:00
SND\AstrorEnales_cp
e3be0183e0 - Fixed that a Dx10 effect can be used with multiple techniques
- Implemented DualTextureEffect 100% and added a Sample for it
- Finished the DualTexture.fx for Dx10 (others are coming soon)
- Some other preparations for built in shaders
2012-09-05 19:50:10 +00:00
SND\AstrorEnales_cp
32af20abf4 Fixed bug 569: Setting graphics.SynchronizeWithVerticalRetrace in ctor fails 2012-09-03 21:33:45 +00:00
SND\AstrorEnales_cp
845d8ec716 - Further implemented the Dispose chain which now prevents the OpenGL gd from leaking (still some work required)
- Logging OpenGL version on Device Reset with GL3 RenderSystem
2012-08-30 12:05:40 +00:00
SND\AstrorEnales_cp
734679616b - Added ILRepack
- Refactored the AddIn-System to allow merged assemblies (for metro, android, etc. later on)
- Added empty PsVita Sound and Media System modules
- Fixed 2 small missing excludes in the build script
- Cleaned the License headers in the shader files
- Some other refactorings
2012-08-25 17:27:45 +00:00
SND\AstrorEnales_cp
67a2c482fd - Working on Metro conversion (adding the AppxManifest automatically)
- Working on Graphics initialization on Metro (already clearing with a bit of hacking!)
2012-08-13 11:23:26 +00:00
SND\AstrorEnales_cp
5505f7dcbf - Added PlatformSystem Plugins layer
- Started Windows, Metro and Linux Platform-Plugins
- Moved the RecordingSample to the Samples folder
- Started two samples for using the graphics device in a WinForms and Wpf Editor
- Refactorings in the AddIn-System
- Moved the Window initialization-code to the Platform modules
- Changed the License text in all code files which is now way smaller
- Started ProjectConverter tool which converts all the projects and solution to the target configuration
- Changed the SupportedPlatform names in the Resource files
- Changed the WIN8 define to WINDOWSMETRO which is actually meant
- Removed NLog and started our own Logger class
- Many more stuff...
2012-08-09 09:45:04 +00:00
Glatzemann
7b1c3d402c - added the RenderSystem.Windows.Metro with a bunch of new files (NOT WORKING currently)
- changed many things in ANX.Framework core assembly to make it compile using VS2011 and .NET 4.5 for Win8 (not finished yet)
2012-02-21 07:52:20 +00:00
Glatzemann
9994697275 fixed issue #517 ("Wrong render size after applying changes")
fixed issue #518 ("DepthStencilBuffer resizing")
fixed issue #471 ("SpriteBatch crash")
2011-12-09 08:46:25 +00:00
Glatzemann
8e69296c4d added basic GraphicsResource tracking
native objects of Effect, VertexBuffer, IndexBuffer, DynamicVertexBuffer and DynamicIndexBuffer are recreated now after destroying GraphicsDevice
2011-12-07 08:40:40 +00:00
Glatzemann
6a43f4c2d0 fixed a major bug in AddInSystemFactory which prevented loading of AddIns 2011-12-01 11:20:49 +00:00
Glatzemann
22346e47b0 implemented feature #461 (GraphicsDeviceManager: Screen size and FullScreen mode not working) 2011-11-30 13:58:55 +00:00
Glatzemann
a2baf45eff - added StencilBuffer sample
- added new media files and licensing information
- some work on GraphicsDeviceManager to solve issue #461
- RenderSystemDX10: implemented DepthStencilBuffer handling
- fixed default size of GameWindow and BackBuffer to 800x480
2011-11-29 13:05:37 +00:00
Glatzemann
5ddd0955b4 - swapped values of PreferredBackBufferWidth and PreferredBackBufferHeight (issue #464)
- more work on RenderTargets. The green rectangle is now rendering in RenderTarget sample (feature #463)
2011-11-28 16:33:22 +00:00
Glatzemann
d8d88b141c added new target "create_packages" in build script
PreferredBackBufferWidth and PreferredBackBufferHeight are returning values now
added EffectPass handling
applying effects is not a workaround anymore
2011-11-22 14:51:30 +00:00
Glatzemann
f06890de59 reading used GraphicsProfile out of game assembly
some work on Kinect InputSystem (Dispose, fetching of RGB image)
changed handling of native textures (providing data for Texture2D at the moment)
implemented SetData methods for Texture2D
basic Dispose handling of Texture and Texture2D implemented
RenderSystemDX10: moved FormatSize method to FormatConverter to avoid duplicated code
RenderSystemGL3 is BROKEN in this version. New texture handling needs to be adapted.
2011-11-11 07:29:49 +00:00
Glatzemann
4408acf3e8 updated to current repository head of SharpDX (Release version)
fixed some issues in DX10 RenderSystem due to the SharpDX update
2011-11-10 14:35:12 +00:00
Glatzemann
0a8bdbb9b0 Resizing of RenderWindow using PresentationParameters and GraphicsDevice.Reset implemented. See TextRendering as example. But: GraphicsDevice.Reset is very incomplete at the moment. 2011-11-09 19:39:21 +00:00
Glatzemann
ded4cb1857 RenderSystem DX10: moved all type translations to a static class
extended the IRenderSystemCreator interface to obtain available GraphicsAdapters of a render system
enumeration of GraphicsAdapters implemented for DirectX 10 RenderSystem
enumeration of DisplayModes implemented for DirectX 10 RenderSystem
improved GraphicsDeviceManager
2011-11-03 12:37:07 +00:00
Glatzemann
2177c31d66 GraphicsDeviceManager is now marked as complete by ANXStatusComparer but there are still many NotImplementedException in this class. 2011-11-02 16:36:34 +00:00
Glatzemann
8326720ee3 initial import 2011-10-31 05:36:24 +00:00