-
Notifications
You must be signed in to change notification settings - Fork 464
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
LayerStyle supports deferred rendering. #2607
Conversation
…pdate_tgfx # Conflicts: # DEPS resolved by a09147a version # test/baseline/version.json
@@ -17,6 +17,8 @@ | |||
///////////////////////////////////////////////////////////////////////////////////////////////// | |||
|
|||
#include "LayerStylesFilter.h" | |||
#include <tgfx/core/Surface.h> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
不用尖括号
} | ||
context->flush(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这里删掉
int textureCoordHandle = -1; | ||
}; | ||
|
||
class EffectProgram : public tgfx::RuntimeProgram { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
RuntimeFilter
|
||
namespace pag { | ||
|
||
class AlphaEdgeDetectEffectUniforms : public Uniforms { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
都改名为Filter,避免和PAG的Effect概念冲突。
No description provided.