Ivan K
|
ad2eb74d83
LOGERROR -> URHO3D_LOGERROR
|
%!s(int64=10) %!d(string=hai) anos |
Ivan K
|
3a7e7f058e
LOGWARNING -> URHO3D_LOGWARNING
|
%!s(int64=10) %!d(string=hai) anos |
Ivan K
|
d53fc4b94b
LOGINFO -> URHO3D_LOGINFO
|
%!s(int64=10) %!d(string=hai) anos |
Ivan K
|
0c3f67abfe
LOGDEBUG -> URHO3D_LOGDEBUG
|
%!s(int64=10) %!d(string=hai) anos |
Ivan K
|
db15f0358e
PROFILE -> URHO3D_PROFILE
|
%!s(int64=10) %!d(string=hai) anos |
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.
|
%!s(int64=10) %!d(string=hai) anos |
Jukka Jylänki
|
fc0d427557
Add support for GPU hardware instancing on Emscripten. In WebGL 1 it is exposed by the ANGLE_instanced_arrays ( https://www.khronos.org/registry/webgl/extensions/ANGLE_instanced_arrays/ ) extension, and in WebGL 2, it is enabled in core.
|
%!s(int64=10) %!d(string=hai) anos |
Yao Wei Tjong 姚伟忠
|
e1341f7261
Replace the usage of Emscripten define and include to follow its norm.
|
%!s(int64=10) %!d(string=hai) anos |
Lasse Öörni
|
b6ff82571a
Remove glEnable & glDisable calls related to GL texture types, as they're not needed with GLSL shaders, which Urho3D uses always. Ensure that SetTextureForUpdate() also correctly unbinds the old texture type if it changes in the unit. Closes #922.
|
%!s(int64=10) %!d(string=hai) anos |
Jukka Jylänki
|
78514da22e
Add support for detecting ETC1 and PVRTC extensions in Emscripten/WebGL.
|
%!s(int64=10) %!d(string=hai) anos |
Yao Wei Tjong 姚伟忠
|
fa77a456f8
Reformat Urho3D source files to get rid of the indents on empty lines.
|
%!s(int64=10) %!d(string=hai) anos |
Lasse Öörni
|
1c4e6f43ff
Added the AMD equivalent for NvOptimusEnablement.
|
%!s(int64=10) %!d(string=hai) anos |
Yao Wei Tjong 姚伟忠
|
b1d6031673
Show root cause error from SDL when SDL fails to create main window.
|
%!s(int64=10) %!d(string=hai) anos |
Lasse Öörni
|
4c9005785b
Do not use float luminance formats, as they are deprecated on GL3. Instead return R16F & R32F formats (red channel only) to match Direct3D behavior. Closes #722.
|
%!s(int64=10) %!d(string=hai) anos |
Yao Wei Tjong 姚伟忠
|
b2c2bb372b
Attempt to suppress some of the compiler warnings from iOS 64bit build.
|
%!s(int64=10) %!d(string=hai) anos |
Lasse Öörni
|
8ea3476479
Bind the backbuffer FBO before cleaning up frame buffers.
|
%!s(int64=10) %!d(string=hai) anos |
Lasse Öörni
|
dae17d375c
Clean up OpenGL frame buffers when window size changes.
|
%!s(int64=10) %!d(string=hai) anos |
Lasse Öörni
|
5c448d6e1d
Support DXT1,3,5 on Emscripten. Simplify GL / GLES code path differences in OGLTexture.cpp.
|
%!s(int64=10) %!d(string=hai) anos |
Lasse Öörni
|
2961166acb
Graphics code cleanup. Remove the GraphicsFeatures event, as now the features can not change during runtime. Move all OpenGL extensions checks to CheckFeatureSupport(). Fix an AMD GLSL compilation bug, which caused buggy 4-sample shadows.
|
%!s(int64=10) %!d(string=hai) anos |
Lasse Öörni
|
b92372264b
Ensure that the OpenGL extensions are initialized after context recreation, and a valid VAO exists on GL3, before giving the GPU objects the chance to restore themselves.
|
%!s(int64=10) %!d(string=hai) anos |
Lasse Öörni
|
7666853b3a
Revert "Create depth-stencil texture instead of renderbuffer on OpenGL 3 / Intel / Windows to work around a driver bug." as the issue is fixed on the latest Intel driver. There was also a OpenGL 2 corrupted rendering bug related to clip planes on the earlier driver version, which was not fixable.
|
%!s(int64=10) %!d(string=hai) anos |
Lasse Öörni
|
d99fefa68b
Create depth-stencil texture instead of renderbuffer on OpenGL 3 / Intel / Windows to work around a driver bug.
|
%!s(int64=10) %!d(string=hai) anos |
Lasse Öörni
|
64600d5526
Enable GLEW experimental mode only on a 3.2+ context so that OpenGL 2 extensions can be checked strictly.
|
%!s(int64=10) %!d(string=hai) anos |
Lasse Öörni
|
b8c7c59eca
Configure amount of allowed bones for hardware skinning based on the rendering API. Allow 128 bones on Direct3D 11 & OpenGL 3. Add -mb (maxbones) parameter to AssetImporter & OgreImporter. When using OpenGL 3, allow deferred rendering to use different MRT formats without forcing an RGBA substitute rendertarget.
|
%!s(int64=10) %!d(string=hai) anos |
Lasse Öörni
|
81e6647b60
Clean up OpenGL Graphics class code. Use core functions for instancing on OpenGL 3. Do not enable/disable texture targets on OpenGL 3. Removed the framebuffer aging mechanism; instead framebuffers are cleaned up on context loss (resolution change.) Disable OpenGL constant buffer use by default (from Uniforms.glsl) as they were found to be slower in practice.
|
%!s(int64=10) %!d(string=hai) anos |
Lasse Öörni
|
7716b4860c
Use a reinterpret-cast trick to eliminate code duplication from Graphics::SetVertexBuffers(). Removed D3DCOMPILER_STRIP_PRIVATE_DATA flag as it may be undefined when compiling using the DirectX SDK.
|
%!s(int64=10) %!d(string=hai) anos |
Lasse Öörni
|
f4dc0bf149
If GL3 context creation fails, retry with GL2.
|
%!s(int64=10) %!d(string=hai) anos |
Lasse Öörni
|
227b2b03dc
Fix / simplify GL3 or GL2 detection.
|
%!s(int64=10) %!d(string=hai) anos |
Lasse Öörni
|
88b05c738f
Remember shader parameter sources inside individual ShaderPrograms to reduce redundant uniform assignments.
|
%!s(int64=10) %!d(string=hai) anos |
Lasse Öörni
|
42963a7300
Keep track of last bound VBO & UBO to avoid redundant binding.
|
%!s(int64=10) %!d(string=hai) anos |