Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix issue that label is blurred on iOS/mac os #1775

Merged
merged 1 commit into from Jul 20, 2019

Conversation

@minggo
Copy link
Contributor

commented Jul 20, 2019

No description provided.

@@ -543,7 +543,7 @@ void unMultiplyAlpha(unsigned char* ptr, ssize_t size)
#define SEND_DATA_TO_JS(CB, IMPL) \
if (CB) \
{ \
auto& data = [IMPL getDataRef]; \
Data data([IMPL getDataRef]); \

This comment has been minimized.

Copy link
@jareguo

jareguo Jul 20, 2019

Contributor

这样会不会导致性能又降下来?如果会,有没有办法在多行文本完全渲染完后,由 JS 发一个调用进行批量反预乘呢?那样的话,如果只有单行,就不需要进行数据拷贝了、

This comment has been minimized.

Copy link
@minggo

minggo Jul 22, 2019

Author Contributor

底层的函数不知道是单行还是多行,而且不知道什么时候结束然后一次性处理。

@jareguo

This comment has been minimized.

Copy link
Contributor

commented Jul 20, 2019

先合并了。我发个补丁版,不然影响太大

@jareguo jareguo merged commit 53a77f0 into cocos-creator:v2.1.3 Jul 20, 2019
1 check passed
1 check passed
continuous-integration/travis-ci/pr The Travis CI build passed
Details
@minggo minggo deleted the minggo:mac-ios-label-issue branch Aug 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.