当前位置:首页 > 报告详情

day2_7-洪彦彬-Kraftshade 大解密:我们是怎么让 Android 特效“动”起来的.pdf

上传人: 明**** 编号:1069831 2026-01-17 53页 3.96MB

1、Developed by JetBrainsKotlinKraftshade 大解密:我大解密:我們是怎麼讓們是怎麼讓 Android 特特效效“動動”起來的起來的彥彥彬彬2025 Kotlin 中开发者会About me-Android Taipei host-PicCollage Android dev-Speaker,Author and dancerPicCollage Company:來自矽谷、深耕台北的國際團隊,擅長用創意科技打造好玩 App 全球下載高達2.8億次PicCollage 拼貼趣的製作團隊;AI 剪影、影片特效等功能,讓靈感一鍵即成作品Explore 團隊打造新一代創

2、意 AI 產品,讓每個人都能輕鬆 Create,Connect,Celebrate About Why kraftshade-Existing library for Android is not maintain for a while.-We need a flexible way to build effectsHow to build effects on Android?-RenderScript-Deprecated-AGSL-Only available on View,no off-screen rendering-Vulkan-Only available for C+-Op

3、enGL-Cross-platform-很舊!但是堪用OpenGL render pipelinePart 1-簡介簡介Kraftshade basic components-KraftShadeEffectView-Shader-Pipeline DSLBrightness effectCircular Blur effectCombine effectsCombine effects with graphStepsThe Pipeline DSL-pipeline-SerialStep-graphStep-step-createBufferReferenceKraftShadeEffect

4、ViewKraftShadeAnimatedViewSave as BitmapPart 2-解解密密Smooth Animation key points-Use one dedicated GL Thread-Drive Animation with synchronizd TimeDedicatedGL ThreadPipeline Threading MainThreadGLThreadAnimationWith TimeAnimation with TimeInputSynchronize with TimeInputNested Scope HierarchyGlEnvDslSco

5、pe(Threading&GL Context Management)BasePipelineSetupScope(Pipeline Construction)PipelineRunningScope(Runtime Parameter Config)GLEnvDslScopePipelineSetupScopePipelineRunningScope-Update values every frame-The time should be exactly the same for calls at the same frame-When to render the next frameCha

6、llenges-Update values every frame-The time should be exactly the same for calls at the same frame-When to render the next frameChallengest=0.01t=0.02Input System with dirty flagKeeps VSync-ChoreographerOther advanced features-Modularization

word格式文档无特别注明外均可编辑修改,预览文件经过压缩,下载原文更清晰!
三个皮匠报告文库所有资源均是客户上传分享,仅供网友学习交流,未经上传用户书面授权,请勿作商用。
明日何其多
明**...

该用户很懒,什么也没介绍

客服
商务合作
小程序
服务号
折叠