14 Commits

Author SHA1 Message Date
Konstantin Koch
3cd7efbba4 Migrated StencilBuffer example and removed memory leaks for DX10 and DX11
Remove build message saying that a content file is still valid and will
be skipped.
Use OnApply for Effects, instead of an internal PreBindSetParameters.
Removed unnecessary dependencies from EffectParameterCollection and
EffectTechniqueCollection.
Moved Apply from INativeEffect to INativeEffectPass as Apply can only be
called on an EffectPass.
Added IDisposable to many Native object interfaces.
Added an InputLayoutManager so the InputLayouts don't get created on
every call.
Increased the amount of shared code for the GraphicsDevice between DX10
and DX11.
Simplified the amount of stuff the Draw calls do.
It's possible to use specific renderPasses when drawing and the drawing
methods of the GraphicsDevice don't draw all effectPasses of an effec
anymore.
Fixed the bug that a DynamicVertexBuffer created a staging buffer when
setting Elements for DX10 and DX11, which was unnecessary. Also it
didn't create a staging before for normal VertexBuffers which made it
not possible to set data there.
Implement EffectAnnotations for DX10.
Fixed SetRenderTargets for DX11.
2015-10-14 23:59:27 +02:00
Konstantin Koch
85322e2363 Migrated Primitives, RecordingSample, RenderTarget and SimpleSprite. Also implemented DynamicBuffers and fixed many Dispose functions
increased the amount of shared code between vertex and index buffers
fixed GraphicsDevice.Reset() which didn't save the provided presentation
parameters and the backbuffer was still bound after the recent changes
about the rendertargets
Vertex and IndexBuffers that get dynamically generated for the UserDraw
methods dispose the buffers now
Added DebugNames to Index and VertexBuffers and their Dynamic version.
2015-10-04 21:30:00 +02: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
5ac399a71d added lots of developer attributes 2015-03-15 01:11:36 +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
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
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
1441ae2704 Fixed some signatures and added all methods to the INativeEffectParameter interface.
- Implemented some of the Get methods in the EffectParameterGL3
2012-01-16 15:03:28 +00:00
SND\AstrorEnales_cp
b6bd56bab6 Implemented GLSL shader techniques 2012-01-16 13:48:21 +00:00
Glatzemann
5eaba32696 fixed issue #524 ("Sprites are disappearing after some frames") 2011-12-12 08:50:49 +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
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
972f7121e8 renamed CurrentCreator to DefaultCreator project wide
extended InputSystem selector in WindowsGame sample
fixed some interface issues in XInput InputSystem
added FormatConvert to InputSystem XInput to translate GamePadButtons from XInput to ANX
2011-11-11 15:21:41 +00:00
Glatzemann
8326720ee3 initial import 2011-10-31 05:36:24 +00:00