axmol/cocos/renderer/backend
coulsonwang 7ee0b65bb6 [Feature] fix spirte, label test when EGL context lost (#19612)
* [BugFix] fix compile error

* [Feature] fix spirte, label test when EGL context lost

* [Feature] map uniform location

* [Feature] remove unneeded codes

* [Feature] add BufferManager

* [Feature] fix compile error

* [Feature] add files

* [Feature] remove unneeded codes

* [Feature] no need to release opengl resource

* [Feature] update BufferManager

* 1. reCreate frame buffer when needed.
2. initial texture when come back to foreground

* [Feature] add Program and Buffer event listener

* [FixTerrain] need check location had used before

* fix compile error

* add updateTextureDescrptor function for TextureMTL, since TextureMTL creation was move to Texture2D constructor.

* [FixDrawNode] record buffer data when needed

* [FixShaderTest] add nullptr judgement

* [FixShaderText] no need to reCreate ProgramState when come back to foreground

* [FixRenderTexture] retain the render texture image

* [Feature] optimize buffer memory

* fix compile error

* fix CI test fail
2019-04-29 18:51:45 -07:00
..
metal [Feature] fix spirte, label test when EGL context lost (#19612) 2019-04-29 18:51:45 -07:00
opengl [Feature] fix spirte, label test when EGL context lost (#19612) 2019-04-29 18:51:45 -07:00
Backend.h metal support for cocos2d-x (#19305) 2019-01-18 15:08:25 +08:00
BlendState.cpp metal support for cocos2d-x (#19305) 2019-01-18 15:08:25 +08:00
BlendState.h metal support for cocos2d-x (#19305) 2019-01-18 15:08:25 +08:00
Buffer.h [3d] add meshcommand (#19472) 2019-03-07 17:30:11 +08:00
CommandBuffer.cpp metal support for cocos2d-x (#19305) 2019-01-18 15:08:25 +08:00
CommandBuffer.h [Feature] CaptureScreen works (#19547) 2019-03-27 18:09:26 -07:00
DepthStencilState.cpp metal support for cocos2d-x (#19305) 2019-01-18 15:08:25 +08:00
DepthStencilState.h metal support for cocos2d-x (#19305) 2019-01-18 15:08:25 +08:00
Device.cpp metal support for cocos2d-x (#19305) 2019-01-18 15:08:25 +08:00
Device.h [Feature] add DeviceInfo for querying implementation limits. 2019-03-14 15:58:55 +08:00
DeviceInfo.h [Feature] fix CI test fail 2019-03-15 11:13:40 +08:00
Macros.h metal support for cocos2d-x (#19305) 2019-01-18 15:08:25 +08:00
Program.cpp metal support for cocos2d-x (#19305) 2019-01-18 15:08:25 +08:00
Program.h [Feature] fix spirte, label test when EGL context lost (#19612) 2019-04-29 18:51:45 -07:00
ProgramCache.cpp [Feature] fix spirte, label test when EGL context lost (#19612) 2019-04-29 18:51:45 -07:00
ProgramCache.h [Feature] fix spirte, label test when EGL context lost (#19612) 2019-04-29 18:51:45 -07:00
ProgramState.cpp [Feature] fix spirte, label test when EGL context lost (#19612) 2019-04-29 18:51:45 -07:00
ProgramState.h [Feature] fix spirte, label test when EGL context lost (#19612) 2019-04-29 18:51:45 -07:00
RenderPassDescriptor.cpp fix depth/stencil validation failed in iPhoneX (#19458) 2019-03-04 15:09:34 +08:00
RenderPassDescriptor.h [MaterialSystemTest] When depth testing is disabled, writes to the depth buffer are also disabled. No need to do depth test in such case. (#19582) 2019-04-08 18:56:05 -07:00
RenderPipeline.h [bugfix] GL vertex attribute layout incorrect (#19484) 2019-03-12 10:37:52 +08:00
RenderPipelineDescriptor.h [bugfix] GL vertex attribute layout incorrect (#19484) 2019-03-12 10:37:52 +08:00
ShaderCache.cpp metal support for cocos2d-x (#19305) 2019-01-18 15:08:25 +08:00
ShaderCache.h metal support for cocos2d-x (#19305) 2019-01-18 15:08:25 +08:00
ShaderModule.cpp metal support for cocos2d-x (#19305) 2019-01-18 15:08:25 +08:00
ShaderModule.h [Feature] fix spirte, label test when EGL context lost (#19612) 2019-04-29 18:51:45 -07:00
StringUtils.cpp metal support for cocos2d-x (#19305) 2019-01-18 15:08:25 +08:00
StringUtils.h metal support for cocos2d-x (#19305) 2019-01-18 15:08:25 +08:00
Texture.cpp [Feature] fix spirte, label test when EGL context lost (#19612) 2019-04-29 18:51:45 -07:00
Texture.h [Feature] fix spirte, label test when EGL context lost (#19612) 2019-04-29 18:51:45 -07:00
Types.cpp Update cocos/renderer/backend/Types.cpp 2019-03-15 17:28:57 +08:00
Types.h add uniform callback 2019-03-15 14:44:28 +08:00
VertexLayout.cpp [3d] terrain impl & test case (#19442) 2019-02-27 17:16:25 +08:00
VertexLayout.h Issue19416 (#19427) 2019-02-22 14:06:26 +08:00