Lasse Öörni
|
2e44b0b350
Squashed commit of the following:
|
9 years ago |
Lasse Öörni
|
49400b4b19
Fix using SDL booleans instead of window flags in SDL_SetWindowFullscreen(). Does not change actual behavior since SDL_TRUE & SDL_WINDOW_FULLSCREEN both equal 1.
|
9 years ago |
Lasse Öörni
|
2203cd41a6
Hack fix for window always getting maximized after fullscreen -> windowed change on D3D9 & D3D11.
|
9 years ago |
Lasse Öörni
|
181c24e380
Since D3D9/11 graphics systems don't initialize OpenGL, it's arguably incorrect to call SDL_GL_GetDrawableSize. Use SDL_GetWindowSize instead. Correct line endings in Drawable2D.
|
9 years ago |
reattiva
|
88d403b9b8
Added Texture2DArray.
|
9 years ago |
Lasse Öörni
|
9abc4712a6
Remove unneeded GetD3DColor() function from D3D11 code.
|
9 years ago |
Yao Wei Tjong 姚伟忠
|
5bcd5e4b1d
Merge SDL 2.0.4
|
10 years ago |
Lasse Öörni
|
d9a295a595
Re-enable the unsigned/signed mismatch warning. Code cleanup.
|
9 years ago |
urho3d-travis-ci
|
c4f6f315ff
Travis CI: bump copyright to 2016.
|
10 years ago |
Lasse Öörni
|
a3ba4d8ff6
Check HRESULT and log error with it included in case of failure in D3D9/D3D11 code. Clean up releasing GPU objects. Clean up Texture3D to not have a RenderSurface, since it can't be rendered to. Fixed missing Lua Texture3D binding. Fixed binding of Texture3D SetSize() in AngelScript. Added checks to Texture2D/3D SetSize() that zero or negative size is not specified. Closes #1092.
|
10 years ago |
Lasse Öörni
|
21f896fa49
Add possibility to set buffer type Variants as a shader parameter (will be interpreted as an array of floats.)
|
10 years ago |
Lasse Öörni
|
675aa9c94c
Since it was encountered in the wild (#1092), make failure to create the read-only depth stencil view only result in a warning instead of error, and fallback to the normal view if read-only view is not available. It is only needed when sampling and depth-testing the same texture in the HWDepth renderpaths.
|
10 years ago |
Lasse Öörni
|
45c11acd6c
Create a read-only depth stencil view and use it when depth write is disabled to allow simultaneous sampling of the depth buffer in pixel shader. Closes #1076.
|
10 years ago |
Lasse Öörni
|
e4b6749880
Convert primitive type to point list regardless of draw call specified primitive type to emulate point fill mode on D3D11. Closes #1028.
|
10 years ago |
Ivan K
|
4b015f3c51
LOGERRORF -> URHO3D_LOGERRORF
|
10 years ago |
Ivan K
|
c9a77c8d56
LOGDEBUGF -> URHO3D_LOGDEBUGF
|
10 years ago |
Ivan K
|
ad2eb74d83
LOGERROR -> URHO3D_LOGERROR
|
10 years ago |
Ivan K
|
3a7e7f058e
LOGWARNING -> URHO3D_LOGWARNING
|
10 years ago |
Ivan K
|
d53fc4b94b
LOGINFO -> URHO3D_LOGINFO
|
10 years ago |
Ivan K
|
0c3f67abfe
LOGDEBUG -> URHO3D_LOGDEBUG
|
10 years ago |
Ivan K
|
db15f0358e
PROFILE -> URHO3D_PROFILE
|
10 years ago |
Lasse Öörni
|
da81b99ca3
Do not return a resolution list containing 1x1 on Emscripten, rather return empty. Do not check fullscreen mode validity if the resolution list is empty.
|
10 years ago |
Lasse Öörni
|
7c5e441e89
Fixed Graphics::ResolveToTexture() to support less than full screen viewport on D3D11. Fixed missing release of source texture in failure case with a multisampled screenshot. Closes #882.
|
10 years ago |
Lasse Öörni
|
87e882e261
Fix Graphics::ResolveToTexture() erroneously reading current rendertarget instead of backbuffer on D3D11. Work around less-than-fullscreen viewport not resolving properly on D3D11.
|
10 years ago |
Lasse Öörni
|
a626021d95
Fixes for VS texture fetch on D3D11.
|
10 years ago |
Yao Wei Tjong 姚伟忠
|
1a5268f427
Reformat D3D9 and D3D11 source files.
|
10 years ago |
Yao Wei Tjong 姚伟忠
|
fa77a456f8
Reformat Urho3D source files to get rid of the indents on empty lines.
|
10 years ago |
Lasse Öörni
|
d44feb37ec
Ensure replace blend mode before rendering quad geometry to emulate partial rendertarget clear on D3D11. Closes #764.
|
10 years ago |
Lasse Öörni
|
1c4e6f43ff
Added the AMD equivalent for NvOptimusEnablement.
|
10 years ago |
Yao Wei Tjong 姚伟忠
|
b1d6031673
Show root cause error from SDL when SDL fails to create main window.
|
10 years ago |