28 Commits

Author SHA1 Message Date
Konstantin Koch
55ab328f79 Updated BasicEffectSample, DualTextureSample, KeyboardSample and MultiRenderTarget. Also reduced the memory usage for multiple rendertargets
Also did some Refactoring for Classes that implement and use
INativeBuffer.
The memory usage reduction for rendertargets resulted in some
refactoring of the directx texture classes.
Also added DebugNames for some DirectX resources in case of a debug
build.
2015-09-30 21:31:15 +02:00
Glatzemann
37075c7e90 added "CurrentDisplayMode" of DefaultAdapter for GL3, DX10 and DX11 (issue #1194) 2015-03-15 01:12:51 +01:00
Glatzemann
076f3c4fa1 applied patch #13676 by clcrutch 2015-03-15 01:12:48 +01:00
Glatzemann
6e01932070 fixed some Windows 8 (non ModernUI mode) issues:
- made DX10 RenderSystem available
- fixed adapter enumeration in DX10 and DX11 RenderSystems
- fixed GamePad initialization error handling on Windows 8 when XInput 1.3 is not installed
2015-03-15 01:12:06 +01:00
SND\AstrorEnales_cp
be01038e1f Fixed the DisplayMode class which was way too accessible!
Added Tests for:
- DisplayMode
- VertexElement
- VertexPositionColor (GetHashCode still fails)
- VertexPositionColorTexture (GetHashCode still fails)
- VertexPositionTexture
- VertexPositionNormalTexture
2015-03-15 01:11:49 +01:00
SND\AstrorEnales_cp
db82358d24 - Changed access modifiers in DisplayModeCollection to match Xna signature and fixed the usage of that class
- Implemented Properties of EffectParameter
- Fixed OutOfRange behaviour in multiple collection files in graphics to match xna behaviour (which just returns null)
- Implemented some methods in collection classes
2015-03-15 01:11:38 +01:00
Glatzemann
188bda28a5 - added new sample "SimpleNoContent" to test some things on Windows 8 without ContentPipeline
- tweaked the build-script for better support on Windows 8
- fixed bug #1016 (with a workaround. new issue will follow)
- fixed some render system issues on Windows 8
2015-03-15 01:11:22 +01:00
Glatzemann
d98c0890f9 - fixed some issues in build system
- removed ANX.BaseDirectX and replaced it using shared source files
- renamed ANX.Framework.Windows.DX10 to ANX.RenderSystem.Windows.DX10
- some refactoring in ANX.RenderSystem.Windows.DX10
- some refactoring in ANX.RenderSystem.Windows.DX11
- fixed some minor issues in DX10 stock shader generation
- fixed sample projects

There's still an issue with the AddIn-System: The WindowsGame sample does not work currently.
2015-03-15 01:10:50 +01:00
SND\AstrorEnales_cp
0251a7a2e7 Wrote the Skinned.fx shader for Dx10, Dx11 and Metro (the class however is not yet implemented) 2012-09-09 19:59:18 +00:00
SND\AstrorEnales_cp
e0165985b3 Even more refactorings in Dx11 and Dx10 RenderSystems and added the ANX.BaseDirectX project which unifies a lot of code from both RenderSystems and even more in the near future. 2012-09-07 09:48:45 +00:00
SND\AstrorEnales_cp
3316d46dba - Implemented some GetData methods in the Vertex and Index Buffer implementations
- Added developer, PercentageComplete and TestState attributes
- Added Event to the FrameworkDispatcher which will be used by the components that need it (audio etc.)
- Some more refactorings, regions, etc.
2012-09-04 21:36:46 +00:00
SND\AstrorEnales_cp
28f3010330 Added IOcclusionQuery interface and implemented the base OcclusionQuery class and the GL3 implementation. 2012-09-03 21:54:12 +00:00
Glatzemann
c04709e3b4 - Fixed a bug when closing the RenderWindow. Rendering wasn't stopped immediately when the window starts to close. This was a problem when using OpenGL RenderSystem because it crashed. (Thanks Kevin)
- Fixed an issue with shader language in SpriteBatch
2012-08-29 12:11:03 +00:00
Glatzemann
de0232177e XNAEXT: added a ConstantBuffer class and interfaces to the RenderSystem. Everything compiles fine but the RenderSystem does not create unmanaged buffers because it needs to be implemented. 2012-08-29 10:48:21 +00:00
Glatzemann
7eb3e5241e - prepared ContentPipeline to load EffectFiles for the different TargetProfile's. Currently HLSL_FX is working fine and GLSL_FX is prepared (needs testing).
- ContentPipeline effects now have a EffectSourceLanguage parameter
2012-08-27 18:42:54 +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
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
SND\AstrorEnales_cp
7546ff78d0 - Added INativeIndexBuffer and INativeVertexBuffer
- All methods in Vertex and IndexBuffer now call the native methods
- Nearly all methods in Texture2D now call the native methods
2012-02-19 13:41:02 +00:00
SND\AstrorEnales_cp
30499fac83 - Added the parent Vertex and IndexBuffer to the Native implementation Create methods.
- OpenGL Vertex and IndexBuffer now decide whether it's a dynamic or a static buffer.
2012-02-19 10:32:17 +00:00
SND\AstrorEnales_cp
1cebf6f91e - Introduced new MediaSystem creator (handling the whole Media namespace)
- Made the plugin handling internally way simpler (no tons of duplicated code anymore)
- Added empty MediaSystem to have a default for now (Windows.OpenAL)
- Added a PercentageCompleteAttribute which will be used to mark the current state of a class (0-100%)
2012-02-15 19:48:46 +00:00
Glatzemann
95b2968294 Sorting of AddIns implemented. 2011-12-15 14:58:56 +00:00
Glatzemann
e1076f8984 added DX11 stock shaders to build system
updated StockShaderCodeGenerator (sscg) to support DX11 shaders
updated the DX11 RenderSystem to be on par with the DX10 RenderSystem (it is currently not working completly because of some issues with shaders)
2011-12-14 11:49:04 +00:00
Glatzemann
0e1d271195 refactored AddInSystem (testing needed)
implemented feature #469 (Default AddIn override)
2011-12-06 09:11:26 +00:00
Glatzemann
3879d450b4 added SharpDX.Diagnostics to AddIns using SharpDX for explicit error messages
added information about OperatingSystem and Version to AddInSystemFactory
added IsSupported field to AddIn Creators
AddInSystemFactory now only loads supported AddIns
added Metadata resource files to all AddIns containing information about supported platforms.
2011-12-01 06:28:41 +00:00
Glatzemann
4b58957ca5 fixed issue #454 (InputSystem loaded too late)
fixed issue #466 (RenderSystem loaded too late)
2011-11-30 09:56:34 +00:00
Glatzemann
0d196c2f53 Started implementing RenderTargets for RenderSystem DX10. The target is creatable and usable but the Texture of the RenderTarget is currently empty. 2011-11-28 16:06:52 +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
44b2f9efef restored missing projects in new location 2011-11-16 14:27:53 +00:00