Commit Graph

10 Commits

Author SHA1 Message Date
caryliu dd8a8246b7 Optimize the code by PR comments. 2019-06-27 18:15:41 +08:00
owen d7a88d240e Sync native renderer to v2.3 2019-05-16 19:33:23 +08:00
leda 19ab61b252 refine TODO & FIXME flag (#1450)
* change TODO to REFINE

* change REFINE:cjh to REFINE

* change FIXME to IDEA

* improve format
2018-08-10 12:52:00 +08:00
minggo 8a76997242 adapt mac resolution (#1248) 2018-05-18 11:57:12 +08:00
minggo 4a13d0e15e Downsample (#1245)
* support render texture

* use texture unit 0

* add functions to set device pixel ratio

* add ccDeleteBuffers again

* fix according comments
2018-05-17 14:05:05 +08:00
James Chen b34b517435 DeviceGraphics::getInstance fix. 2018-04-19 13:41:08 +08:00
James Chen a0543f099c Renderer also uses cached version of bindBuffer, bindTexture, activeTexture, deleteBuffer, deleteTexture 2018-04-16 11:43:17 +08:00
James Chen 8dc0f35714 [ios] Fixes bugs about multisampling and GL_DEPTCH_STENCIL_ATTACHMENT (#1175)
* [ios] Fixes bugs about multisampling.

* [ios] Should use opengl es2

* Fixes compilation issues in DeviceGraphics after switching back to opengles2.

* glFramebufferRenderbuffer GL_DEPTH_STENCIL_ATTACHMENT fix in webgl binding.

* Comment some code of invoking opengles3.0 methods in gfx/Texture2D.cpp.
2018-03-30 17:44:08 +08:00
minggo e99f2401fd fix viewport issue on retina displays (#1130)
* fix viewport issue on retina displays

* remove include file
2018-02-24 18:13:03 +08:00
minggo 802e48080e New renderer (#1097)
* build work on mac

* build ok on iOS

* fix compiling error on android

* fix android link error
2018-02-08 10:40:29 +08:00