Eugene Kozlov
|
de249a1963
Remove casts around nullptr.
|
8 years ago |
Eugene Kozlov
|
5a2bec95f1
Automatic upgrade: override, typedef to using, 0 to nullptr.
|
8 years ago |
Lasse Öörni
|
18df5b8525
Also send highdpi parameter in window resize event on D3D9/D3D11 to match OpenGL behavior.
|
8 years ago |
Lasse Öörni
|
fb6492a948
Reposition the window also in borderless mode if it's sized as large as the monitor bounds.
|
8 years ago |
Pengfei Li
|
353fc4d7b3
Consider the initial position for the borderless window
|
8 years ago |
PredatorMF
|
1bbcdbc42e
Add missing monitor/refresh rate members initialization
|
8 years ago |
Lasse Öörni
|
90e95ab2e3
Update documentation. Add contributor credit. Minor code comment fixes.
|
8 years ago |
PredatorMF
|
7190e053c4
Fix fullscreen mode not using the correct monitor
|
8 years ago |
PredatorMF
|
2bef979152
Add monitor and refreshrate parameters to E_SCREENMODE
|
8 years ago |
PredatorMF
|
11c8bf9d16
Fix DX11 renderer with monitor/refresh rate options
|
8 years ago |
Lasse Öörni
|
0cc2bf595e
Fix multisample quality handling on D3D11 feature level 10.0. Closes #1792.
|
9 years ago |
TheComet
|
be4dc04f9a
Removing SDL_INIT_NOPARACHUTE, it does nothing in SDL 2.x
|
9 years ago |
TheComet
|
10c878b42b
fixes #1781 - Moved SDL_Init() into Context class
|
9 years ago |
urho3d-travis-ci
|
ee054a1507
Travis CI: bump copyright to 2017.
|
9 years ago |
Lasse Öörni
|
1bb6d3d1ac
Support for mipmapped rendertargets & automatic mip regeneration after rendering. Renderer allocated screen buffers are not mipmapped, but a manually created rendertarget texture will be (like regular textures), unless disabled by calling SetNumLevels(1).
|
9 years ago |
Lasse Öörni
|
f8ebf2dbc9
Line antialiasing support in Graphics, Material, DebugRenderer classes. Closes #1627.
|
9 years ago |
Lasse Öörni
|
72c2e82ee8
Support for bool & int constants in materials on OpenGL & Direct3D11. Added int uniform support to OpenGL. Removed code duplication for setting a Variant shader parameter.
|
9 years ago |
Lasse Öörni
|
fc42e5d98e
Merge branch 'multisample-textures'
|
9 years ago |
Lasse Öörni
|
3a5a85151e
Instead of specific fix in Material, convert double Variants to float on demand in Graphics::SetShaderParameter(). Closes #1621.
|
9 years ago |
Lasse Öörni
|
c923476847
Merge branch 'master' into multisample-textures
|
9 years ago |
Lasse Öörni
|
37e002e58b
D3D11 multisampled cube texture. Refactoring / cleanup of D3D error logging and GPU object release.
|
9 years ago |
Lasse Öörni
|
a1e2bc9bd3
Make shader cache location configurable, default "urho3d/shadercache" in app preferences, to avoid writing to write-protected installation directory by default. Instructions in porting notes to restore earlier behavior. ShaderCacheDir & PackageCacheDir parameters added to engine startup parameters. Fix GetResourceFileName() function to return the unmodified filename if it's absolute and exists. Remove unnecessary mutex lock from GetResourceFileName(). Remove some code duplication from Graphics class implementations. Closes #1610.
|
9 years ago |
Lasse Öörni
|
a7f3c61bdf
Multisampled texture on D3D11.
|
9 years ago |
Lasse Öörni
|
b22768227f
Possibility to enable alpha-to-coverage in either pass or material (all passes). Requires D3D11 or OpenGL and hardware multisampling enabled. Seems to look slightly different on D3D / OpenGL. Fixed depth bias not being copied in Material::Clone(). Closes #1578.
|
9 years ago |
Lasse Öörni
|
83acf5bc14
Optional per-texture specifiable max. anisotropy level. Closes #1563.
|
9 years ago |
Lasse Öörni
|
489f759e00
Fix slope-scale depth bias potentially not creating new rasterizer state on D3D11 due to poor hashing. Remove mistaken adjustment of slope-scale bias on OpenGL. Now behavior should be uniform between D3D9/D3D11/OpenGL. Closes #1547.
|
9 years ago |
Lasse Öörni
|
91f4489e07
Fix hardwareShadowSupport returning false on OpenGL, which would make it impossible to switch to 1-sample shadow mode. However, deliberately disable 1-sample mode from mobile NinjaSnowWar to achieve similar quality to desktops.
|
9 years ago |
Lasse Öörni
|
56ba0def78
Add Graphics::SetDither(). Closes #1489.
|
9 years ago |
Lasse Öörni
|
28ed7c1706
Remove ambiguous WeakPtr initialization from Graphics class. Closes #1459.
|
9 years ago |
Lasse Öörni
|
fd5bac385a
Since the SDL window is not API-specific, move it into Graphics from GraphicsImpl to simplify code.
|
9 years ago |