James Chen
ee5faac763
Move logic of flipY and premultiplyAlpha from jsb_opengl_manual.cpp to CCGLUtils.cpp. (#1249)
* Native Renderer supports GL_UNPACK_FLIP_Y_WEBGL & GL_UNPACK_PREMULTIPLY_ALPHA_WEBGL.
And adds ccFlipYOrPremultiptyAlphaIfNeeded, ccIsUnpackFlipY, ccIsPremultiplyAlpha, ccPixelStorei GL utils.
* seval_to_TextureSubImageOption: uint16_t* -> uint32_t* since width * height * 4 may bigger than 65536 bytes.
* Move logic of flipY and premultiplyAlpha from jsb_opengl_manual.cpp to CCGLUtils.cpp.
* Reverts.
2018-05-18 15:53:28 +08:00
..
2018-02-01 15:20:01 +08:00
2018-03-07 14:31:46 +08:00
2018-02-01 15:20:01 +08:00
2018-02-01 15:20:01 +08:00
2018-02-01 15:20:01 +08:00
2018-02-01 15:20:01 +08:00
2018-02-01 15:20:01 +08:00
2018-05-17 14:05:05 +08:00
2018-02-08 10:40:29 +08:00
2018-03-12 15:34:45 +08:00
2018-03-07 14:31:46 +08:00
2018-02-01 15:20:01 +08:00
2018-02-01 15:20:01 +08:00
2018-05-18 15:53:28 +08:00
2018-05-18 15:53:28 +08:00
2018-03-14 10:28:03 +08:00
2018-03-07 14:31:46 +08:00
2018-03-07 14:31:46 +08:00
2018-03-07 17:06:15 +08:00
2018-02-01 15:20:01 +08:00
2018-02-01 15:20:01 +08:00
2018-02-01 15:20:01 +08:00
2018-03-07 14:31:46 +08:00
2018-02-08 10:40:29 +08:00
2018-03-09 16:20:48 +08:00
2018-02-01 15:20:01 +08:00
2018-05-18 15:53:28 +08:00
2018-05-17 14:05:05 +08:00
2018-03-19 18:11:13 +08:00
2018-03-09 16:20:48 +08:00
2018-03-17 09:48:32 +08:00
2018-03-17 09:48:32 +08:00
2018-02-08 10:40:29 +08:00
2018-02-08 10:40:29 +08:00
2018-02-08 10:40:29 +08:00
2018-02-01 15:20:01 +08:00
2018-02-08 10:40:29 +08:00
2018-03-07 14:31:46 +08:00
2018-03-14 10:28:03 +08:00
2018-03-07 14:31:46 +08:00
2018-03-07 14:31:46 +08:00
2018-03-07 14:31:46 +08:00
2018-03-14 10:28:03 +08:00
2018-03-07 14:31:46 +08:00
2018-03-07 17:06:15 +08:00
2018-03-09 12:37:27 +08:00
2018-03-14 10:28:03 +08:00
2016-03-31 23:50:02 +08:00
2016-03-31 23:50:02 +08:00
2016-03-31 23:50:02 +08:00
2016-08-04 16:04:41 +08:00
2016-03-31 23:50:02 +08:00
2018-02-01 15:20:01 +08:00
2018-02-01 15:20:01 +08:00
2016-03-31 23:50:02 +08:00
2016-03-31 23:50:02 +08:00
2018-02-01 15:20:01 +08:00
2018-03-17 11:22:56 +08:00