diff --git a/native/build/cocos2d_libs.xcodeproj/project.pbxproj b/native/build/cocos2d_libs.xcodeproj/project.pbxproj index 9b14608446..e801a9bf5e 100644 --- a/native/build/cocos2d_libs.xcodeproj/project.pbxproj +++ b/native/build/cocos2d_libs.xcodeproj/project.pbxproj @@ -7,298 +7,36 @@ objects = { /* Begin PBXBuildFile section */ + 0418549F228D7E5700F8DF31 /* ParticleSimulator.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 0418549D228D7E5700F8DF31 /* ParticleSimulator.cpp */; }; + 041854A0228D7E5700F8DF31 /* ParticleSimulator.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 0418549D228D7E5700F8DF31 /* ParticleSimulator.cpp */; }; + 041854A1228D7E5700F8DF31 /* ParticleSimulator.h in Headers */ = {isa = PBXBuildFile; fileRef = 0418549E228D7E5700F8DF31 /* ParticleSimulator.h */; }; + 041854A2228D7E5700F8DF31 /* ParticleSimulator.h in Headers */ = {isa = PBXBuildFile; fileRef = 0418549E228D7E5700F8DF31 /* ParticleSimulator.h */; }; + 041854A5228D7E7300F8DF31 /* jsb_cocos2dx_particle_auto.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 041854A3228D7E7200F8DF31 /* jsb_cocos2dx_particle_auto.hpp */; }; + 041854A6228D7E7300F8DF31 /* jsb_cocos2dx_particle_auto.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 041854A3228D7E7200F8DF31 /* jsb_cocos2dx_particle_auto.hpp */; }; + 041854A7228D7E7300F8DF31 /* jsb_cocos2dx_particle_auto.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 041854A4228D7E7300F8DF31 /* jsb_cocos2dx_particle_auto.cpp */; }; + 041854A8228D7E7300F8DF31 /* jsb_cocos2dx_particle_auto.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 041854A4228D7E7300F8DF31 /* jsb_cocos2dx_particle_auto.cpp */; }; + 042058CD22A61B340092DE5D /* RenderDataList.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 042058CB22A61B340092DE5D /* RenderDataList.cpp */; }; + 042058CE22A61B340092DE5D /* RenderDataList.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 042058CB22A61B340092DE5D /* RenderDataList.cpp */; }; + 042058CF22A61B340092DE5D /* RenderDataList.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 042058CC22A61B340092DE5D /* RenderDataList.hpp */; }; + 042058D022A61B340092DE5D /* RenderDataList.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 042058CC22A61B340092DE5D /* RenderDataList.hpp */; }; + 0431A06922CCA441003356C9 /* AssemblerSprite.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 0431A06722CCA441003356C9 /* AssemblerSprite.cpp */; }; + 0431A06A22CCA441003356C9 /* AssemblerSprite.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 0431A06722CCA441003356C9 /* AssemblerSprite.cpp */; }; + 0431A06B22CCA441003356C9 /* AssemblerSprite.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 0431A06822CCA441003356C9 /* AssemblerSprite.hpp */; }; + 0431A06C22CCA441003356C9 /* AssemblerSprite.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 0431A06822CCA441003356C9 /* AssemblerSprite.hpp */; }; + 0431A06F22CCA7C1003356C9 /* SimpleSprite2D.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 0431A06D22CCA7C1003356C9 /* SimpleSprite2D.cpp */; }; + 0431A07022CCA7C1003356C9 /* SimpleSprite2D.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 0431A06D22CCA7C1003356C9 /* SimpleSprite2D.cpp */; }; + 0431A07122CCA7C1003356C9 /* SimpleSprite2D.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 0431A06E22CCA7C1003356C9 /* SimpleSprite2D.hpp */; }; + 0431A07222CCA7C1003356C9 /* SimpleSprite2D.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 0431A06E22CCA7C1003356C9 /* SimpleSprite2D.hpp */; }; 04355816217EADF300B9C056 /* IOBuffer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04355814217EADF300B9C056 /* IOBuffer.cpp */; }; 04355817217EADF300B9C056 /* IOBuffer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04355814217EADF300B9C056 /* IOBuffer.cpp */; }; 04355818217EADF300B9C056 /* IOBuffer.h in Headers */ = {isa = PBXBuildFile; fileRef = 04355815217EADF300B9C056 /* IOBuffer.h */; }; 04355819217EADF300B9C056 /* IOBuffer.h in Headers */ = {isa = PBXBuildFile; fileRef = 04355815217EADF300B9C056 /* IOBuffer.h */; }; - 044DE378227552520037572E /* VertexEffectDelegate.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 044DE376227552520037572E /* VertexEffectDelegate.cpp */; }; - 044DE379227552520037572E /* VertexEffectDelegate.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 044DE376227552520037572E /* VertexEffectDelegate.cpp */; }; - 044DE37A227552520037572E /* VertexEffectDelegate.h in Headers */ = {isa = PBXBuildFile; fileRef = 044DE377227552520037572E /* VertexEffectDelegate.h */; }; - 044DE37B227552520037572E /* VertexEffectDelegate.h in Headers */ = {isa = PBXBuildFile; fileRef = 044DE377227552520037572E /* VertexEffectDelegate.h */; }; - 046AA90E223B4761005191A4 /* SkeletonClipping.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA880223B4743005191A4 /* SkeletonClipping.h */; }; - 046AA90F223B4761005191A4 /* SkeletonClipping.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA880223B4743005191A4 /* SkeletonClipping.h */; }; - 046AA910223B4761005191A4 /* SpineObject.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA881223B4743005191A4 /* SpineObject.h */; }; - 046AA911223B4761005191A4 /* SpineObject.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA881223B4743005191A4 /* SpineObject.h */; }; - 046AA912223B4761005191A4 /* PathConstraintData.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA882223B4743005191A4 /* PathConstraintData.h */; }; - 046AA913223B4761005191A4 /* PathConstraintData.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA882223B4743005191A4 /* PathConstraintData.h */; }; - 046AA914223B4761005191A4 /* PathConstraintPositionTimeline.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 046AA883223B4743005191A4 /* PathConstraintPositionTimeline.cpp */; }; - 046AA915223B4761005191A4 /* PathConstraintPositionTimeline.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 046AA883223B4743005191A4 /* PathConstraintPositionTimeline.cpp */; }; - 046AA916223B4761005191A4 /* Pool.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA884223B4743005191A4 /* Pool.h */; }; - 046AA917223B4761005191A4 /* Pool.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA884223B4743005191A4 /* Pool.h */; }; - 046AA918223B4761005191A4 /* Atlas.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA885223B4744005191A4 /* Atlas.h */; }; - 046AA919223B4761005191A4 /* Atlas.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA885223B4744005191A4 /* Atlas.h */; }; - 046AA91A223B4761005191A4 /* IkConstraintData.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA886223B4744005191A4 /* IkConstraintData.h */; }; - 046AA91B223B4761005191A4 /* IkConstraintData.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA886223B4744005191A4 /* IkConstraintData.h */; }; - 046AA91C223B4761005191A4 /* TwoColorTimeline.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA887223B4744005191A4 /* TwoColorTimeline.h */; }; - 046AA91D223B4761005191A4 /* TwoColorTimeline.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA887223B4744005191A4 /* TwoColorTimeline.h */; }; - 046AA91E223B4761005191A4 /* AttachmentTimeline.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA888223B4744005191A4 /* AttachmentTimeline.h */; }; - 046AA91F223B4761005191A4 /* AttachmentTimeline.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA888223B4744005191A4 /* AttachmentTimeline.h */; }; - 046AA920223B4761005191A4 /* IkConstraintData.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 046AA889223B4744005191A4 /* IkConstraintData.cpp */; }; - 046AA921223B4761005191A4 /* IkConstraintData.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 046AA889223B4744005191A4 /* IkConstraintData.cpp */; }; - 046AA922223B4761005191A4 /* DrawOrderTimeline.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 046AA88A223B4744005191A4 /* DrawOrderTimeline.cpp */; }; - 046AA923223B4761005191A4 /* DrawOrderTimeline.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 046AA88A223B4744005191A4 /* DrawOrderTimeline.cpp */; }; - 046AA924223B4761005191A4 /* Event.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 046AA88B223B4744005191A4 /* Event.cpp */; }; - 046AA925223B4761005191A4 /* Event.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 046AA88B223B4744005191A4 /* Event.cpp */; }; - 046AA926223B4761005191A4 /* AnimationState.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 046AA88C223B4745005191A4 /* AnimationState.cpp */; }; - 046AA927223B4761005191A4 /* AnimationState.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 046AA88C223B4745005191A4 /* AnimationState.cpp */; }; - 046AA928223B4761005191A4 /* RotateTimeline.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 046AA88D223B4745005191A4 /* RotateTimeline.cpp */; }; - 046AA929223B4761005191A4 /* RotateTimeline.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 046AA88D223B4745005191A4 /* RotateTimeline.cpp */; }; - 046AA92A223B4761005191A4 /* SpineString.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA88E223B4745005191A4 /* SpineString.h */; }; - 046AA92B223B4761005191A4 /* SpineString.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA88E223B4745005191A4 /* SpineString.h */; }; - 046AA92C223B4761005191A4 /* IkConstraint.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA88F223B4745005191A4 /* IkConstraint.h */; }; - 046AA92D223B4761005191A4 /* IkConstraint.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA88F223B4745005191A4 /* IkConstraint.h */; }; - 046AA92E223B4761005191A4 /* ScaleTimeline.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA890223B4745005191A4 /* ScaleTimeline.h */; }; - 046AA92F223B4761005191A4 /* ScaleTimeline.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA890223B4745005191A4 /* ScaleTimeline.h */; }; - 046AA930223B4761005191A4 /* MixDirection.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA891223B4745005191A4 /* MixDirection.h */; }; - 046AA931223B4761005191A4 /* MixDirection.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA891223B4745005191A4 /* MixDirection.h */; }; - 046AA932223B4761005191A4 /* EventData.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 046AA892223B4746005191A4 /* EventData.cpp */; }; - 046AA933223B4761005191A4 /* EventData.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 046AA892223B4746005191A4 /* EventData.cpp */; }; - 046AA934223B4761005191A4 /* AttachmentTimeline.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 046AA893223B4746005191A4 /* AttachmentTimeline.cpp */; }; - 046AA935223B4761005191A4 /* AttachmentTimeline.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 046AA893223B4746005191A4 /* AttachmentTimeline.cpp */; }; - 046AA936223B4761005191A4 /* CurveTimeline.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 046AA894223B4746005191A4 /* CurveTimeline.cpp */; }; - 046AA937223B4761005191A4 /* CurveTimeline.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 046AA894223B4746005191A4 /* CurveTimeline.cpp */; }; - 046AA938223B4761005191A4 /* DeformTimeline.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA895223B4746005191A4 /* DeformTimeline.h */; }; - 046AA939223B4761005191A4 /* DeformTimeline.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA895223B4746005191A4 /* DeformTimeline.h */; }; - 046AA93A223B4761005191A4 /* PathConstraintData.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 046AA896223B4746005191A4 /* PathConstraintData.cpp */; }; - 046AA93B223B4761005191A4 /* PathConstraintData.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 046AA896223B4746005191A4 /* PathConstraintData.cpp */; }; - 046AA93C223B4761005191A4 /* Timeline.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 046AA897223B4746005191A4 /* Timeline.cpp */; }; - 046AA93D223B4761005191A4 /* Timeline.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 046AA897223B4746005191A4 /* Timeline.cpp */; }; - 046AA93E223B4761005191A4 /* VertexAttachment.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 046AA898223B4747005191A4 /* VertexAttachment.cpp */; }; - 046AA93F223B4761005191A4 /* VertexAttachment.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 046AA898223B4747005191A4 /* VertexAttachment.cpp */; }; - 046AA940223B4761005191A4 /* Slot.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA899223B4747005191A4 /* Slot.h */; }; - 046AA941223B4761005191A4 /* Slot.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA899223B4747005191A4 /* Slot.h */; }; - 046AA942223B4761005191A4 /* Updatable.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA89A223B4747005191A4 /* Updatable.h */; }; - 046AA943223B4761005191A4 /* Updatable.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA89A223B4747005191A4 /* Updatable.h */; }; - 046AA944223B4761005191A4 /* PathConstraintMixTimeline.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA89B223B4747005191A4 /* PathConstraintMixTimeline.h */; }; - 046AA945223B4761005191A4 /* PathConstraintMixTimeline.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA89B223B4747005191A4 /* PathConstraintMixTimeline.h */; }; - 046AA946223B4761005191A4 /* Attachment.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 046AA89C223B4747005191A4 /* Attachment.cpp */; }; - 046AA947223B4761005191A4 /* Attachment.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 046AA89C223B4747005191A4 /* Attachment.cpp */; }; - 046AA948223B4761005191A4 /* Skeleton.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 046AA89D223B4747005191A4 /* Skeleton.cpp */; }; - 046AA949223B4761005191A4 /* Skeleton.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 046AA89D223B4747005191A4 /* Skeleton.cpp */; }; - 046AA94A223B4761005191A4 /* AnimationState.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA89E223B4748005191A4 /* AnimationState.h */; }; - 046AA94B223B4761005191A4 /* AnimationState.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA89E223B4748005191A4 /* AnimationState.h */; }; - 046AA94C223B4761005191A4 /* Extension.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA89F223B4748005191A4 /* Extension.h */; }; - 046AA94D223B4761005191A4 /* Extension.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA89F223B4748005191A4 /* Extension.h */; }; - 046AA94E223B4761005191A4 /* PathAttachment.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA8A0223B4748005191A4 /* PathAttachment.h */; }; - 046AA94F223B4761005191A4 /* PathAttachment.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA8A0223B4748005191A4 /* PathAttachment.h */; }; - 046AA950223B4761005191A4 /* Constraint.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 046AA8A1223B4748005191A4 /* Constraint.cpp */; }; - 046AA951223B4761005191A4 /* Constraint.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 046AA8A1223B4748005191A4 /* Constraint.cpp */; }; - 046AA952223B4761005191A4 /* PathConstraintSpacingTimeline.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA8A2223B4748005191A4 /* PathConstraintSpacingTimeline.h */; }; - 046AA953223B4761005191A4 /* PathConstraintSpacingTimeline.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA8A2223B4748005191A4 /* PathConstraintSpacingTimeline.h */; }; - 046AA954223B4761005191A4 /* ColorTimeline.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA8A3223B4749005191A4 /* ColorTimeline.h */; }; - 046AA955223B4761005191A4 /* ColorTimeline.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA8A3223B4749005191A4 /* ColorTimeline.h */; }; - 046AA956223B4761005191A4 /* PathConstraint.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA8A4223B4749005191A4 /* PathConstraint.h */; }; - 046AA957223B4761005191A4 /* PathConstraint.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA8A4223B4749005191A4 /* PathConstraint.h */; }; - 046AA958223B4761005191A4 /* PathConstraintSpacingTimeline.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 046AA8A5223B4749005191A4 /* PathConstraintSpacingTimeline.cpp */; }; - 046AA959223B4761005191A4 /* PathConstraintSpacingTimeline.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 046AA8A5223B4749005191A4 /* PathConstraintSpacingTimeline.cpp */; }; - 046AA95A223B4761005191A4 /* TextureLoader.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA8A6223B4749005191A4 /* TextureLoader.h */; }; - 046AA95B223B4761005191A4 /* TextureLoader.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA8A6223B4749005191A4 /* TextureLoader.h */; }; - 046AA95C223B4761005191A4 /* TwoColorTimeline.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 046AA8A7223B4749005191A4 /* TwoColorTimeline.cpp */; }; - 046AA95D223B4761005191A4 /* TwoColorTimeline.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 046AA8A7223B4749005191A4 /* TwoColorTimeline.cpp */; }; - 046AA95E223B4761005191A4 /* Vertices.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA8A8223B474A005191A4 /* Vertices.h */; }; - 046AA95F223B4761005191A4 /* Vertices.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA8A8223B474A005191A4 /* Vertices.h */; }; - 046AA960223B4761005191A4 /* SkeletonBinary.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA8A9223B474A005191A4 /* SkeletonBinary.h */; }; - 046AA961223B4761005191A4 /* SkeletonBinary.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA8A9223B474A005191A4 /* SkeletonBinary.h */; }; - 046AA962223B4761005191A4 /* LinkedMesh.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 046AA8AA223B474A005191A4 /* LinkedMesh.cpp */; }; - 046AA963223B4761005191A4 /* LinkedMesh.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 046AA8AA223B474A005191A4 /* LinkedMesh.cpp */; }; - 046AA964223B4761005191A4 /* RTTI.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA8AB223B474A005191A4 /* RTTI.h */; }; - 046AA965223B4761005191A4 /* RTTI.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA8AB223B474A005191A4 /* RTTI.h */; }; - 046AA966223B4761005191A4 /* MixBlend.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA8AC223B474A005191A4 /* MixBlend.h */; }; - 046AA967223B4761005191A4 /* MixBlend.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA8AC223B474A005191A4 /* MixBlend.h */; }; - 046AA968223B4761005191A4 /* BoneData.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA8AD223B474B005191A4 /* BoneData.h */; }; - 046AA969223B4761005191A4 /* BoneData.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA8AD223B474B005191A4 /* BoneData.h */; }; - 046AA96A223B4761005191A4 /* TransformConstraint.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA8AE223B474B005191A4 /* TransformConstraint.h */; }; - 046AA96B223B4761005191A4 /* TransformConstraint.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA8AE223B474B005191A4 /* TransformConstraint.h */; }; - 046AA96C223B4761005191A4 /* MathUtil.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA8AF223B474B005191A4 /* MathUtil.h */; }; - 046AA96D223B4761005191A4 /* MathUtil.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA8AF223B474B005191A4 /* MathUtil.h */; }; - 046AA96E223B4761005191A4 /* SkeletonBinary.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 046AA8B0223B474B005191A4 /* SkeletonBinary.cpp */; }; - 046AA96F223B4761005191A4 /* SkeletonBinary.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 046AA8B0223B474B005191A4 /* SkeletonBinary.cpp */; }; - 046AA970223B4761005191A4 /* Timeline.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA8B1223B474C005191A4 /* Timeline.h */; }; - 046AA971223B4761005191A4 /* Timeline.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA8B1223B474C005191A4 /* Timeline.h */; }; - 046AA972223B4761005191A4 /* TransformConstraintTimeline.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA8B2223B474C005191A4 /* TransformConstraintTimeline.h */; }; - 046AA973223B4761005191A4 /* TransformConstraintTimeline.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA8B2223B474C005191A4 /* TransformConstraintTimeline.h */; }; - 046AA974223B4761005191A4 /* TimelineType.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA8B3223B474C005191A4 /* TimelineType.h */; }; - 046AA975223B4761005191A4 /* TimelineType.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA8B3223B474C005191A4 /* TimelineType.h */; }; - 046AA976223B4761005191A4 /* AtlasAttachmentLoader.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 046AA8B4223B474C005191A4 /* AtlasAttachmentLoader.cpp */; }; - 046AA977223B4761005191A4 /* AtlasAttachmentLoader.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 046AA8B4223B474C005191A4 /* AtlasAttachmentLoader.cpp */; }; - 046AA978223B4761005191A4 /* VertexEffect.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 046AA8B5223B474D005191A4 /* VertexEffect.cpp */; }; - 046AA979223B4761005191A4 /* VertexEffect.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 046AA8B5223B474D005191A4 /* VertexEffect.cpp */; }; - 046AA97A223B4761005191A4 /* RotateMode.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA8B6223B474D005191A4 /* RotateMode.h */; }; - 046AA97B223B4761005191A4 /* RotateMode.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA8B6223B474D005191A4 /* RotateMode.h */; }; - 046AA97C223B4761005191A4 /* SkeletonJson.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA8B7223B474D005191A4 /* SkeletonJson.h */; }; - 046AA97D223B4761005191A4 /* SkeletonJson.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA8B7223B474D005191A4 /* SkeletonJson.h */; }; - 046AA97E223B4761005191A4 /* AttachmentType.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA8B8223B474D005191A4 /* AttachmentType.h */; }; - 046AA97F223B4761005191A4 /* AttachmentType.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA8B8223B474D005191A4 /* AttachmentType.h */; }; - 046AA980223B4761005191A4 /* Skin.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 046AA8B9223B474E005191A4 /* Skin.cpp */; }; - 046AA981223B4761005191A4 /* Skin.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 046AA8B9223B474E005191A4 /* Skin.cpp */; }; - 046AA982223B4761005191A4 /* Vector.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA8BA223B474E005191A4 /* Vector.h */; }; - 046AA983223B4761005191A4 /* Vector.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA8BA223B474E005191A4 /* Vector.h */; }; - 046AA984223B4761005191A4 /* ShearTimeline.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 046AA8BB223B474E005191A4 /* ShearTimeline.cpp */; }; - 046AA985223B4761005191A4 /* ShearTimeline.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 046AA8BB223B474E005191A4 /* ShearTimeline.cpp */; }; - 046AA986223B4761005191A4 /* Bone.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA8BC223B474E005191A4 /* Bone.h */; }; - 046AA987223B4761005191A4 /* Bone.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA8BC223B474E005191A4 /* Bone.h */; }; - 046AA988223B4761005191A4 /* TextureLoader.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 046AA8BD223B474F005191A4 /* TextureLoader.cpp */; }; - 046AA989223B4761005191A4 /* TextureLoader.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 046AA8BD223B474F005191A4 /* TextureLoader.cpp */; }; - 046AA98A223B4761005191A4 /* PointAttachment.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 046AA8BE223B474F005191A4 /* PointAttachment.cpp */; }; - 046AA98B223B4761005191A4 /* PointAttachment.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 046AA8BE223B474F005191A4 /* PointAttachment.cpp */; }; - 046AA98C223B4761005191A4 /* EventTimeline.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 046AA8BF223B474F005191A4 /* EventTimeline.cpp */; }; - 046AA98D223B4761005191A4 /* EventTimeline.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 046AA8BF223B474F005191A4 /* EventTimeline.cpp */; }; - 046AA98E223B4761005191A4 /* BoneData.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 046AA8C0223B474F005191A4 /* BoneData.cpp */; }; - 046AA98F223B4761005191A4 /* BoneData.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 046AA8C0223B474F005191A4 /* BoneData.cpp */; }; - 046AA990223B4761005191A4 /* RotateTimeline.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA8C1223B4750005191A4 /* RotateTimeline.h */; }; - 046AA991223B4761005191A4 /* RotateTimeline.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA8C1223B4750005191A4 /* RotateTimeline.h */; }; - 046AA992223B4761005191A4 /* Json.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 046AA8C2223B4750005191A4 /* Json.cpp */; }; - 046AA993223B4761005191A4 /* Json.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 046AA8C2223B4750005191A4 /* Json.cpp */; }; - 046AA994223B4761005191A4 /* VertexAttachment.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA8C3223B4750005191A4 /* VertexAttachment.h */; }; - 046AA995223B4761005191A4 /* VertexAttachment.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA8C3223B4750005191A4 /* VertexAttachment.h */; }; - 046AA996223B4761005191A4 /* IkConstraintTimeline.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 046AA8C4223B4750005191A4 /* IkConstraintTimeline.cpp */; }; - 046AA997223B4761005191A4 /* IkConstraintTimeline.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 046AA8C4223B4750005191A4 /* IkConstraintTimeline.cpp */; }; - 046AA998223B4761005191A4 /* Atlas.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 046AA8C5223B4751005191A4 /* Atlas.cpp */; }; - 046AA999223B4761005191A4 /* Atlas.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 046AA8C5223B4751005191A4 /* Atlas.cpp */; }; - 046AA99A223B4761005191A4 /* dll.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA8C6223B4751005191A4 /* dll.h */; }; - 046AA99B223B4761005191A4 /* dll.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA8C6223B4751005191A4 /* dll.h */; }; - 046AA99C223B4761005191A4 /* HashMap.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA8C7223B4751005191A4 /* HashMap.h */; }; - 046AA99D223B4761005191A4 /* HashMap.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA8C7223B4751005191A4 /* HashMap.h */; }; - 046AA99E223B4761005191A4 /* AttachmentLoader.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 046AA8C8223B4751005191A4 /* AttachmentLoader.cpp */; }; - 046AA99F223B4761005191A4 /* AttachmentLoader.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 046AA8C8223B4751005191A4 /* AttachmentLoader.cpp */; }; - 046AA9A0223B4761005191A4 /* BlendMode.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA8C9223B4752005191A4 /* BlendMode.h */; }; - 046AA9A1223B4761005191A4 /* BlendMode.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA8C9223B4752005191A4 /* BlendMode.h */; }; - 046AA9A2223B4761005191A4 /* SpineObject.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 046AA8CA223B4752005191A4 /* SpineObject.cpp */; }; - 046AA9A3223B4761005191A4 /* SpineObject.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 046AA8CA223B4752005191A4 /* SpineObject.cpp */; }; - 046AA9A4223B4761005191A4 /* TranslateTimeline.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 046AA8CB223B4752005191A4 /* TranslateTimeline.cpp */; }; - 046AA9A5223B4761005191A4 /* TranslateTimeline.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 046AA8CB223B4752005191A4 /* TranslateTimeline.cpp */; }; - 046AA9A6223B4761005191A4 /* SlotData.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 046AA8CC223B4752005191A4 /* SlotData.cpp */; }; - 046AA9A7223B4761005191A4 /* SlotData.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 046AA8CC223B4752005191A4 /* SlotData.cpp */; }; - 046AA9A8223B4761005191A4 /* spine.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA8CD223B4753005191A4 /* spine.h */; }; - 046AA9A9223B4761005191A4 /* spine.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA8CD223B4753005191A4 /* spine.h */; }; - 046AA9AA223B4761005191A4 /* RegionAttachment.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 046AA8CE223B4753005191A4 /* RegionAttachment.cpp */; }; - 046AA9AB223B4761005191A4 /* RegionAttachment.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 046AA8CE223B4753005191A4 /* RegionAttachment.cpp */; }; - 046AA9AC223B4761005191A4 /* Extension.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 046AA8CF223B4753005191A4 /* Extension.cpp */; }; - 046AA9AD223B4761005191A4 /* Extension.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 046AA8CF223B4753005191A4 /* Extension.cpp */; }; - 046AA9AE223B4761005191A4 /* VertexEffect.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA8D0223B4753005191A4 /* VertexEffect.h */; }; - 046AA9AF223B4761005191A4 /* VertexEffect.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA8D0223B4753005191A4 /* VertexEffect.h */; }; - 046AA9B0223B4761005191A4 /* Slot.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 046AA8D1223B4754005191A4 /* Slot.cpp */; }; - 046AA9B1223B4761005191A4 /* Slot.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 046AA8D1223B4754005191A4 /* Slot.cpp */; }; - 046AA9B2223B4761005191A4 /* AnimationStateData.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA8D2223B4754005191A4 /* AnimationStateData.h */; }; - 046AA9B3223B4761005191A4 /* AnimationStateData.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA8D2223B4754005191A4 /* AnimationStateData.h */; }; - 046AA9B4223B4761005191A4 /* PositionMode.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA8D3223B4754005191A4 /* PositionMode.h */; }; - 046AA9B5223B4761005191A4 /* PositionMode.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA8D3223B4754005191A4 /* PositionMode.h */; }; - 046AA9B6223B4761005191A4 /* HasRendererObject.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA8D4223B4754005191A4 /* HasRendererObject.h */; }; - 046AA9B7223B4761005191A4 /* HasRendererObject.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA8D4223B4754005191A4 /* HasRendererObject.h */; }; - 046AA9B8223B4761005191A4 /* AttachmentLoader.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA8D5223B4755005191A4 /* AttachmentLoader.h */; }; - 046AA9B9223B4761005191A4 /* AttachmentLoader.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA8D5223B4755005191A4 /* AttachmentLoader.h */; }; - 046AA9BA223B4761005191A4 /* TransformConstraint.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 046AA8D6223B4755005191A4 /* TransformConstraint.cpp */; }; - 046AA9BB223B4761005191A4 /* TransformConstraint.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 046AA8D6223B4755005191A4 /* TransformConstraint.cpp */; }; - 046AA9BC223B4761005191A4 /* TransformConstraintTimeline.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 046AA8D7223B4755005191A4 /* TransformConstraintTimeline.cpp */; }; - 046AA9BD223B4761005191A4 /* TransformConstraintTimeline.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 046AA8D7223B4755005191A4 /* TransformConstraintTimeline.cpp */; }; - 046AA9BE223B4761005191A4 /* DrawOrderTimeline.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA8D8223B4755005191A4 /* DrawOrderTimeline.h */; }; - 046AA9BF223B4762005191A4 /* DrawOrderTimeline.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA8D8223B4755005191A4 /* DrawOrderTimeline.h */; }; - 046AA9C0223B4762005191A4 /* SkeletonBounds.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA8D9223B4755005191A4 /* SkeletonBounds.h */; }; - 046AA9C1223B4762005191A4 /* SkeletonBounds.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA8D9223B4755005191A4 /* SkeletonBounds.h */; }; - 046AA9C2223B4762005191A4 /* ContainerUtil.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA8DA223B4756005191A4 /* ContainerUtil.h */; }; - 046AA9C3223B4762005191A4 /* ContainerUtil.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA8DA223B4756005191A4 /* ContainerUtil.h */; }; - 046AA9C4223B4762005191A4 /* BoundingBoxAttachment.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 046AA8DB223B4756005191A4 /* BoundingBoxAttachment.cpp */; }; - 046AA9C5223B4762005191A4 /* BoundingBoxAttachment.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 046AA8DB223B4756005191A4 /* BoundingBoxAttachment.cpp */; }; - 046AA9C6223B4762005191A4 /* SkeletonJson.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 046AA8DC223B4756005191A4 /* SkeletonJson.cpp */; }; - 046AA9C7223B4762005191A4 /* SkeletonJson.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 046AA8DC223B4756005191A4 /* SkeletonJson.cpp */; }; - 046AA9C8223B4762005191A4 /* SlotData.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA8DD223B4756005191A4 /* SlotData.h */; }; - 046AA9C9223B4762005191A4 /* SlotData.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA8DD223B4756005191A4 /* SlotData.h */; }; - 046AA9CA223B4762005191A4 /* SpacingMode.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA8DE223B4756005191A4 /* SpacingMode.h */; }; - 046AA9CB223B4762005191A4 /* SpacingMode.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA8DE223B4756005191A4 /* SpacingMode.h */; }; - 046AA9CC223B4762005191A4 /* Event.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA8DF223B4757005191A4 /* Event.h */; }; - 046AA9CD223B4762005191A4 /* Event.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA8DF223B4757005191A4 /* Event.h */; }; - 046AA9CE223B4762005191A4 /* RTTI.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 046AA8E0223B4757005191A4 /* RTTI.cpp */; }; - 046AA9CF223B4762005191A4 /* RTTI.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 046AA8E0223B4757005191A4 /* RTTI.cpp */; }; - 046AA9D0223B4762005191A4 /* Constraint.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA8E1223B4757005191A4 /* Constraint.h */; }; - 046AA9D1223B4762005191A4 /* Constraint.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA8E1223B4757005191A4 /* Constraint.h */; }; - 046AA9D2223B4762005191A4 /* Debug.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA8E2223B4757005191A4 /* Debug.h */; }; - 046AA9D3223B4762005191A4 /* Debug.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA8E2223B4757005191A4 /* Debug.h */; }; - 046AA9D4223B4762005191A4 /* ClippingAttachment.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA8E3223B4757005191A4 /* ClippingAttachment.h */; }; - 046AA9D5223B4762005191A4 /* ClippingAttachment.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA8E3223B4757005191A4 /* ClippingAttachment.h */; }; - 046AA9D6223B4762005191A4 /* CurveTimeline.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA8E4223B4758005191A4 /* CurveTimeline.h */; }; - 046AA9D7223B4762005191A4 /* CurveTimeline.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA8E4223B4758005191A4 /* CurveTimeline.h */; }; - 046AA9D8223B4762005191A4 /* SkeletonBounds.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 046AA8E5223B4758005191A4 /* SkeletonBounds.cpp */; }; - 046AA9D9223B4762005191A4 /* SkeletonBounds.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 046AA8E5223B4758005191A4 /* SkeletonBounds.cpp */; }; - 046AA9DA223B4762005191A4 /* TranslateTimeline.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA8E6223B4758005191A4 /* TranslateTimeline.h */; }; - 046AA9DB223B4762005191A4 /* TranslateTimeline.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA8E6223B4758005191A4 /* TranslateTimeline.h */; }; - 046AA9DC223B4762005191A4 /* Triangulator.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 046AA8E7223B4758005191A4 /* Triangulator.cpp */; }; - 046AA9DD223B4762005191A4 /* Triangulator.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 046AA8E7223B4758005191A4 /* Triangulator.cpp */; }; - 046AA9DE223B4762005191A4 /* Animation.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA8E8223B4759005191A4 /* Animation.h */; }; - 046AA9DF223B4762005191A4 /* Animation.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA8E8223B4759005191A4 /* Animation.h */; }; - 046AA9E0223B4762005191A4 /* TransformConstraintData.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA8E9223B4759005191A4 /* TransformConstraintData.h */; }; - 046AA9E1223B4762005191A4 /* TransformConstraintData.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA8E9223B4759005191A4 /* TransformConstraintData.h */; }; - 046AA9E2223B4762005191A4 /* PathConstraintMixTimeline.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 046AA8EA223B4759005191A4 /* PathConstraintMixTimeline.cpp */; }; - 046AA9E3223B4762005191A4 /* PathConstraintMixTimeline.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 046AA8EA223B4759005191A4 /* PathConstraintMixTimeline.cpp */; }; - 046AA9E4223B4762005191A4 /* PathAttachment.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 046AA8EB223B4759005191A4 /* PathAttachment.cpp */; }; - 046AA9E5223B4762005191A4 /* PathAttachment.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 046AA8EB223B4759005191A4 /* PathAttachment.cpp */; }; - 046AA9E6223B4762005191A4 /* Skin.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA8EC223B4759005191A4 /* Skin.h */; }; - 046AA9E7223B4762005191A4 /* Skin.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA8EC223B4759005191A4 /* Skin.h */; }; - 046AA9E8223B4762005191A4 /* Color.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA8ED223B475A005191A4 /* Color.h */; }; - 046AA9E9223B4762005191A4 /* Color.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA8ED223B475A005191A4 /* Color.h */; }; - 046AA9EA223B4762005191A4 /* Json.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA8EE223B475A005191A4 /* Json.h */; }; - 046AA9EB223B4762005191A4 /* Json.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA8EE223B475A005191A4 /* Json.h */; }; - 046AA9EC223B4762005191A4 /* TransformMode.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA8EF223B475A005191A4 /* TransformMode.h */; }; - 046AA9ED223B4762005191A4 /* TransformMode.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA8EF223B475A005191A4 /* TransformMode.h */; }; - 046AA9EE223B4762005191A4 /* SkeletonData.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA8F0223B475A005191A4 /* SkeletonData.h */; }; - 046AA9EF223B4762005191A4 /* SkeletonData.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA8F0223B475A005191A4 /* SkeletonData.h */; }; - 046AA9F0223B4762005191A4 /* MathUtil.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 046AA8F1223B475B005191A4 /* MathUtil.cpp */; }; - 046AA9F1223B4762005191A4 /* MathUtil.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 046AA8F1223B475B005191A4 /* MathUtil.cpp */; }; - 046AA9F2223B4762005191A4 /* Skeleton.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA8F2223B475B005191A4 /* Skeleton.h */; }; - 046AA9F3223B4762005191A4 /* Skeleton.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA8F2223B475B005191A4 /* Skeleton.h */; }; - 046AA9F4223B4762005191A4 /* PathConstraintPositionTimeline.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA8F3223B475B005191A4 /* PathConstraintPositionTimeline.h */; }; - 046AA9F5223B4762005191A4 /* PathConstraintPositionTimeline.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA8F3223B475B005191A4 /* PathConstraintPositionTimeline.h */; }; - 046AA9F6223B4762005191A4 /* AnimationStateData.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 046AA8F4223B475B005191A4 /* AnimationStateData.cpp */; }; - 046AA9F7223B4762005191A4 /* AnimationStateData.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 046AA8F4223B475B005191A4 /* AnimationStateData.cpp */; }; - 046AA9F8223B4762005191A4 /* TransformConstraintData.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 046AA8F5223B475B005191A4 /* TransformConstraintData.cpp */; }; - 046AA9F9223B4762005191A4 /* TransformConstraintData.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 046AA8F5223B475B005191A4 /* TransformConstraintData.cpp */; }; - 046AA9FA223B4762005191A4 /* Attachment.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA8F6223B475C005191A4 /* Attachment.h */; }; - 046AA9FB223B4762005191A4 /* Attachment.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA8F6223B475C005191A4 /* Attachment.h */; }; - 046AA9FC223B4762005191A4 /* Triangulator.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA8F7223B475C005191A4 /* Triangulator.h */; }; - 046AA9FD223B4762005191A4 /* Triangulator.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA8F7223B475C005191A4 /* Triangulator.h */; }; - 046AA9FE223B4762005191A4 /* EventData.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA8F8223B475C005191A4 /* EventData.h */; }; - 046AA9FF223B4762005191A4 /* EventData.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA8F8223B475C005191A4 /* EventData.h */; }; - 046AAA00223B4762005191A4 /* Updatable.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 046AA8F9223B475C005191A4 /* Updatable.cpp */; }; - 046AAA01223B4762005191A4 /* Updatable.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 046AA8F9223B475C005191A4 /* Updatable.cpp */; }; - 046AAA02223B4762005191A4 /* SkeletonClipping.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 046AA8FA223B475D005191A4 /* SkeletonClipping.cpp */; }; - 046AAA03223B4762005191A4 /* SkeletonClipping.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 046AA8FA223B475D005191A4 /* SkeletonClipping.cpp */; }; - 046AAA04223B4762005191A4 /* LinkedMesh.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA8FB223B475D005191A4 /* LinkedMesh.h */; }; - 046AAA05223B4762005191A4 /* LinkedMesh.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA8FB223B475D005191A4 /* LinkedMesh.h */; }; - 046AAA06223B4762005191A4 /* BoundingBoxAttachment.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA8FC223B475D005191A4 /* BoundingBoxAttachment.h */; }; - 046AAA07223B4762005191A4 /* BoundingBoxAttachment.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA8FC223B475D005191A4 /* BoundingBoxAttachment.h */; }; - 046AAA08223B4762005191A4 /* IkConstraint.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 046AA8FD223B475D005191A4 /* IkConstraint.cpp */; }; - 046AAA09223B4762005191A4 /* IkConstraint.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 046AA8FD223B475D005191A4 /* IkConstraint.cpp */; }; - 046AAA0A223B4762005191A4 /* ClippingAttachment.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 046AA8FE223B475D005191A4 /* ClippingAttachment.cpp */; }; - 046AAA0B223B4762005191A4 /* ClippingAttachment.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 046AA8FE223B475D005191A4 /* ClippingAttachment.cpp */; }; - 046AAA0C223B4762005191A4 /* MeshAttachment.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA8FF223B475E005191A4 /* MeshAttachment.h */; }; - 046AAA0D223B4762005191A4 /* MeshAttachment.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA8FF223B475E005191A4 /* MeshAttachment.h */; }; - 046AAA0E223B4762005191A4 /* PathConstraint.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 046AA900223B475E005191A4 /* PathConstraint.cpp */; }; - 046AAA0F223B4762005191A4 /* PathConstraint.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 046AA900223B475E005191A4 /* PathConstraint.cpp */; }; - 046AAA10223B4762005191A4 /* DeformTimeline.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 046AA901223B475E005191A4 /* DeformTimeline.cpp */; }; - 046AAA11223B4762005191A4 /* DeformTimeline.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 046AA901223B475E005191A4 /* DeformTimeline.cpp */; }; - 046AAA12223B4762005191A4 /* EventTimeline.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA902223B475E005191A4 /* EventTimeline.h */; }; - 046AAA13223B4762005191A4 /* EventTimeline.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA902223B475E005191A4 /* EventTimeline.h */; }; - 046AAA14223B4762005191A4 /* IkConstraintTimeline.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA903223B475F005191A4 /* IkConstraintTimeline.h */; }; - 046AAA15223B4762005191A4 /* IkConstraintTimeline.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA903223B475F005191A4 /* IkConstraintTimeline.h */; }; - 046AAA16223B4762005191A4 /* Animation.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 046AA904223B475F005191A4 /* Animation.cpp */; }; - 046AAA17223B4762005191A4 /* Animation.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 046AA904223B475F005191A4 /* Animation.cpp */; }; - 046AAA18223B4762005191A4 /* ShearTimeline.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA905223B475F005191A4 /* ShearTimeline.h */; }; - 046AAA19223B4762005191A4 /* ShearTimeline.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA905223B475F005191A4 /* ShearTimeline.h */; }; - 046AAA1A223B4762005191A4 /* SkeletonData.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 046AA906223B475F005191A4 /* SkeletonData.cpp */; }; - 046AAA1B223B4762005191A4 /* SkeletonData.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 046AA906223B475F005191A4 /* SkeletonData.cpp */; }; - 046AAA1C223B4762005191A4 /* ScaleTimeline.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 046AA907223B4760005191A4 /* ScaleTimeline.cpp */; }; - 046AAA1D223B4762005191A4 /* ScaleTimeline.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 046AA907223B4760005191A4 /* ScaleTimeline.cpp */; }; - 046AAA1E223B4762005191A4 /* ColorTimeline.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 046AA908223B4760005191A4 /* ColorTimeline.cpp */; }; - 046AAA1F223B4762005191A4 /* ColorTimeline.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 046AA908223B4760005191A4 /* ColorTimeline.cpp */; }; - 046AAA20223B4762005191A4 /* Bone.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 046AA909223B4760005191A4 /* Bone.cpp */; }; - 046AAA21223B4762005191A4 /* Bone.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 046AA909223B4760005191A4 /* Bone.cpp */; }; - 046AAA22223B4762005191A4 /* RegionAttachment.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA90A223B4760005191A4 /* RegionAttachment.h */; }; - 046AAA23223B4762005191A4 /* RegionAttachment.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA90A223B4760005191A4 /* RegionAttachment.h */; }; - 046AAA24223B4762005191A4 /* PointAttachment.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA90B223B4761005191A4 /* PointAttachment.h */; }; - 046AAA25223B4762005191A4 /* PointAttachment.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA90B223B4761005191A4 /* PointAttachment.h */; }; - 046AAA26223B4762005191A4 /* MeshAttachment.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 046AA90C223B4761005191A4 /* MeshAttachment.cpp */; }; - 046AAA27223B4762005191A4 /* MeshAttachment.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 046AA90C223B4761005191A4 /* MeshAttachment.cpp */; }; - 046AAA28223B4762005191A4 /* AtlasAttachmentLoader.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA90D223B4761005191A4 /* AtlasAttachmentLoader.h */; }; - 046AAA29223B4762005191A4 /* AtlasAttachmentLoader.h in Headers */ = {isa = PBXBuildFile; fileRef = 046AA90D223B4761005191A4 /* AtlasAttachmentLoader.h */; }; + 044597F422D332D800924443 /* Extension.h in Headers */ = {isa = PBXBuildFile; fileRef = 044597F322D332D700924443 /* Extension.h */; }; + 044597F522D332D800924443 /* Extension.h in Headers */ = {isa = PBXBuildFile; fileRef = 044597F322D332D700924443 /* Extension.h */; }; + 045F672822A50A8D0033F7BD /* RenderData.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 045F672622A50A8C0033F7BD /* RenderData.cpp */; }; + 045F672922A50A8D0033F7BD /* RenderData.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 045F672622A50A8C0033F7BD /* RenderData.cpp */; }; + 045F672A22A50A8D0033F7BD /* RenderData.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 045F672722A50A8C0033F7BD /* RenderData.hpp */; }; + 045F672B22A50A8D0033F7BD /* RenderData.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 045F672722A50A8C0033F7BD /* RenderData.hpp */; }; 046B688A219FA61200B33469 /* MiddlewareManager.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 046B6888219FA61200B33469 /* MiddlewareManager.cpp */; }; 046B688B219FA61200B33469 /* MiddlewareManager.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 046B6888219FA61200B33469 /* MiddlewareManager.cpp */; }; 046B688C219FA61200B33469 /* MiddlewareManager.h in Headers */ = {isa = PBXBuildFile; fileRef = 046B6889219FA61200B33469 /* MiddlewareManager.h */; }; @@ -317,22 +55,6 @@ 046B68AD21A294B100B33469 /* jsb_cocos2dx_spine_auto.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 046B68AA21A294B100B33469 /* jsb_cocos2dx_spine_auto.hpp */; }; 046B68AE21A294B100B33469 /* jsb_cocos2dx_spine_auto.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 046B68AB21A294B100B33469 /* jsb_cocos2dx_spine_auto.cpp */; }; 046B68AF21A294B100B33469 /* jsb_cocos2dx_spine_auto.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 046B68AB21A294B100B33469 /* jsb_cocos2dx_spine_auto.cpp */; }; - 046E03EF21804E6B00B24E2D /* SkeletonAnimation.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 046E03E121804E6A00B24E2D /* SkeletonAnimation.cpp */; }; - 046E03F021804E6B00B24E2D /* SkeletonAnimation.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 046E03E121804E6A00B24E2D /* SkeletonAnimation.cpp */; }; - 046E03F121804E6B00B24E2D /* SkeletonAnimation.h in Headers */ = {isa = PBXBuildFile; fileRef = 046E03E221804E6A00B24E2D /* SkeletonAnimation.h */; }; - 046E03F221804E6B00B24E2D /* SkeletonAnimation.h in Headers */ = {isa = PBXBuildFile; fileRef = 046E03E221804E6A00B24E2D /* SkeletonAnimation.h */; }; - 046E03F321804E6B00B24E2D /* spine-cocos2dx.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 046E03E321804E6A00B24E2D /* spine-cocos2dx.cpp */; }; - 046E03F421804E6B00B24E2D /* spine-cocos2dx.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 046E03E321804E6A00B24E2D /* spine-cocos2dx.cpp */; }; - 046E03F521804E6B00B24E2D /* spine-cocos2dx.h in Headers */ = {isa = PBXBuildFile; fileRef = 046E03E421804E6A00B24E2D /* spine-cocos2dx.h */; }; - 046E03F621804E6B00B24E2D /* spine-cocos2dx.h in Headers */ = {isa = PBXBuildFile; fileRef = 046E03E421804E6A00B24E2D /* spine-cocos2dx.h */; }; - 046E03F721804E6B00B24E2D /* SkeletonRenderer.h in Headers */ = {isa = PBXBuildFile; fileRef = 046E03E521804E6A00B24E2D /* SkeletonRenderer.h */; }; - 046E03F821804E6B00B24E2D /* SkeletonRenderer.h in Headers */ = {isa = PBXBuildFile; fileRef = 046E03E521804E6A00B24E2D /* SkeletonRenderer.h */; }; - 046E03F921804E6B00B24E2D /* SkeletonRenderer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 046E03E621804E6A00B24E2D /* SkeletonRenderer.cpp */; }; - 046E03FA21804E6B00B24E2D /* SkeletonRenderer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 046E03E621804E6A00B24E2D /* SkeletonRenderer.cpp */; }; - 046E03FB21804E6B00B24E2D /* AttachmentVertices.h in Headers */ = {isa = PBXBuildFile; fileRef = 046E03E721804E6A00B24E2D /* AttachmentVertices.h */; }; - 046E03FC21804E6B00B24E2D /* AttachmentVertices.h in Headers */ = {isa = PBXBuildFile; fileRef = 046E03E721804E6A00B24E2D /* AttachmentVertices.h */; }; - 046E03FD21804E6B00B24E2D /* AttachmentVertices.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 046E03E821804E6A00B24E2D /* AttachmentVertices.cpp */; }; - 046E03FE21804E6B00B24E2D /* AttachmentVertices.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 046E03E821804E6A00B24E2D /* AttachmentVertices.cpp */; }; 046E06142185B37100B24E2D /* CCArmatureDisplay.h in Headers */ = {isa = PBXBuildFile; fileRef = 046E060B2185B37000B24E2D /* CCArmatureDisplay.h */; }; 046E06152185B37100B24E2D /* CCArmatureDisplay.h in Headers */ = {isa = PBXBuildFile; fileRef = 046E060B2185B37000B24E2D /* CCArmatureDisplay.h */; }; 046E06162185B37100B24E2D /* CCSlot.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 046E060C2185B37000B24E2D /* CCSlot.cpp */; }; @@ -505,22 +227,378 @@ 046E0710218B01EF00B24E2D /* jsb_dragonbones_manual.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 046E070D218B01EF00B24E2D /* jsb_dragonbones_manual.cpp */; }; 046E0711218B01EF00B24E2D /* jsb_dragonbones_manual.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 046E070E218B01EF00B24E2D /* jsb_dragonbones_manual.hpp */; }; 046E0712218B01EF00B24E2D /* jsb_dragonbones_manual.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 046E070E218B01EF00B24E2D /* jsb_dragonbones_manual.hpp */; }; + 0482F199228D87970019ECF7 /* RenderFlow.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 0482F184228D87900019ECF7 /* RenderFlow.hpp */; }; + 0482F19A228D87970019ECF7 /* RenderFlow.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 0482F184228D87900019ECF7 /* RenderFlow.hpp */; }; + 0482F19B228D87970019ECF7 /* ModelBatcher.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 0482F185228D87910019ECF7 /* ModelBatcher.cpp */; }; + 0482F19C228D87970019ECF7 /* ModelBatcher.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 0482F185228D87910019ECF7 /* ModelBatcher.cpp */; }; + 0482F19D228D87970019ECF7 /* scene-bindings.h in Headers */ = {isa = PBXBuildFile; fileRef = 0482F186228D87910019ECF7 /* scene-bindings.h */; }; + 0482F19E228D87970019ECF7 /* scene-bindings.h in Headers */ = {isa = PBXBuildFile; fileRef = 0482F186228D87910019ECF7 /* scene-bindings.h */; }; + 0482F19F228D87970019ECF7 /* Assembler.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 0482F187228D87920019ECF7 /* Assembler.cpp */; }; + 0482F1A0228D87970019ECF7 /* Assembler.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 0482F187228D87920019ECF7 /* Assembler.cpp */; }; + 0482F1A1228D87970019ECF7 /* NodeProxy.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 0482F188228D87920019ECF7 /* NodeProxy.cpp */; }; + 0482F1A2228D87970019ECF7 /* NodeProxy.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 0482F188228D87920019ECF7 /* NodeProxy.cpp */; }; + 0482F1A3228D87970019ECF7 /* CustomAssembler.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 0482F189228D87920019ECF7 /* CustomAssembler.hpp */; }; + 0482F1A4228D87970019ECF7 /* CustomAssembler.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 0482F189228D87920019ECF7 /* CustomAssembler.hpp */; }; + 0482F1A5228D87970019ECF7 /* MeshBuffer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 0482F18A228D87920019ECF7 /* MeshBuffer.cpp */; }; + 0482F1A6228D87970019ECF7 /* MeshBuffer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 0482F18A228D87920019ECF7 /* MeshBuffer.cpp */; }; + 0482F1A7228D87970019ECF7 /* NodeProxy.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 0482F18B228D87930019ECF7 /* NodeProxy.hpp */; }; + 0482F1A8228D87970019ECF7 /* NodeProxy.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 0482F18B228D87930019ECF7 /* NodeProxy.hpp */; }; + 0482F1A9228D87970019ECF7 /* StencilManager.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 0482F18C228D87930019ECF7 /* StencilManager.hpp */; }; + 0482F1AA228D87970019ECF7 /* StencilManager.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 0482F18C228D87930019ECF7 /* StencilManager.hpp */; }; + 0482F1AB228D87970019ECF7 /* AssemblerBase.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 0482F18D228D87930019ECF7 /* AssemblerBase.cpp */; }; + 0482F1AC228D87970019ECF7 /* AssemblerBase.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 0482F18D228D87930019ECF7 /* AssemblerBase.cpp */; }; + 0482F1AD228D87970019ECF7 /* MaskAssembler.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 0482F18E228D87940019ECF7 /* MaskAssembler.hpp */; }; + 0482F1AE228D87970019ECF7 /* MaskAssembler.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 0482F18E228D87940019ECF7 /* MaskAssembler.hpp */; }; + 0482F1B1228D87970019ECF7 /* ModelBatcher.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 0482F190228D87940019ECF7 /* ModelBatcher.hpp */; }; + 0482F1B2228D87970019ECF7 /* ModelBatcher.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 0482F190228D87940019ECF7 /* ModelBatcher.hpp */; }; + 0482F1B3228D87970019ECF7 /* MaskAssembler.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 0482F191228D87950019ECF7 /* MaskAssembler.cpp */; }; + 0482F1B4228D87970019ECF7 /* MaskAssembler.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 0482F191228D87950019ECF7 /* MaskAssembler.cpp */; }; + 0482F1B5228D87970019ECF7 /* RenderFlow.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 0482F192228D87950019ECF7 /* RenderFlow.cpp */; }; + 0482F1B6228D87970019ECF7 /* RenderFlow.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 0482F192228D87950019ECF7 /* RenderFlow.cpp */; }; + 0482F1B7228D87970019ECF7 /* StencilManager.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 0482F193228D87950019ECF7 /* StencilManager.cpp */; }; + 0482F1B8228D87970019ECF7 /* StencilManager.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 0482F193228D87950019ECF7 /* StencilManager.cpp */; }; + 0482F1BB228D87970019ECF7 /* MeshBuffer.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 0482F195228D87960019ECF7 /* MeshBuffer.hpp */; }; + 0482F1BC228D87970019ECF7 /* MeshBuffer.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 0482F195228D87960019ECF7 /* MeshBuffer.hpp */; }; + 0482F1BD228D87970019ECF7 /* CustomAssembler.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 0482F196228D87960019ECF7 /* CustomAssembler.cpp */; }; + 0482F1BE228D87970019ECF7 /* CustomAssembler.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 0482F196228D87960019ECF7 /* CustomAssembler.cpp */; }; + 0482F1BF228D87970019ECF7 /* Assembler.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 0482F197228D87960019ECF7 /* Assembler.hpp */; }; + 0482F1C0228D87970019ECF7 /* Assembler.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 0482F197228D87960019ECF7 /* Assembler.hpp */; }; + 0482F1C1228D87970019ECF7 /* AssemblerBase.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 0482F198228D87970019ECF7 /* AssemblerBase.hpp */; }; + 0482F1C2228D87970019ECF7 /* AssemblerBase.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 0482F198228D87970019ECF7 /* AssemblerBase.hpp */; }; + 04886B4122CE22F2008CEB66 /* SlicedSprite2D.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04886B3F22CE22F2008CEB66 /* SlicedSprite2D.cpp */; }; + 04886B4222CE22F2008CEB66 /* SlicedSprite2D.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04886B3F22CE22F2008CEB66 /* SlicedSprite2D.cpp */; }; + 04886B4322CE22F2008CEB66 /* SlicedSprite2D.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 04886B4022CE22F2008CEB66 /* SlicedSprite2D.hpp */; }; + 04886B4422CE22F2008CEB66 /* SlicedSprite2D.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 04886B4022CE22F2008CEB66 /* SlicedSprite2D.hpp */; }; + 0494CFD422BEFC6D00B73B79 /* ParallelTask.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 0494CFD222BEFC6D00B73B79 /* ParallelTask.cpp */; }; + 0494CFD522BEFC6D00B73B79 /* ParallelTask.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 0494CFD222BEFC6D00B73B79 /* ParallelTask.cpp */; }; + 0494CFD622BEFC6D00B73B79 /* ParallelTask.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 0494CFD322BEFC6D00B73B79 /* ParallelTask.hpp */; }; + 0494CFD722BEFC6D00B73B79 /* ParallelTask.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 0494CFD322BEFC6D00B73B79 /* ParallelTask.hpp */; }; 04AF62FF219190ED00AED9DE /* TypedArrayPool.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04AF62FD219190ED00AED9DE /* TypedArrayPool.cpp */; }; 04AF6300219190ED00AED9DE /* TypedArrayPool.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04AF62FD219190ED00AED9DE /* TypedArrayPool.cpp */; }; 04AF6301219190ED00AED9DE /* TypedArrayPool.h in Headers */ = {isa = PBXBuildFile; fileRef = 04AF62FE219190ED00AED9DE /* TypedArrayPool.h */; }; 04AF6302219190ED00AED9DE /* TypedArrayPool.h in Headers */ = {isa = PBXBuildFile; fileRef = 04AF62FE219190ED00AED9DE /* TypedArrayPool.h */; }; + 04DBD31522AE2D8200DBE4CD /* VertexEffectDelegate.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD30922AE2D8000DBE4CD /* VertexEffectDelegate.h */; }; + 04DBD31622AE2D8200DBE4CD /* VertexEffectDelegate.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD30922AE2D8000DBE4CD /* VertexEffectDelegate.h */; }; + 04DBD31722AE2D8200DBE4CD /* SkeletonRenderer.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD30A22AE2D8000DBE4CD /* SkeletonRenderer.h */; }; + 04DBD31822AE2D8200DBE4CD /* SkeletonRenderer.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD30A22AE2D8000DBE4CD /* SkeletonRenderer.h */; }; + 04DBD31922AE2D8200DBE4CD /* AttachmentVertices.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04DBD30B22AE2D8000DBE4CD /* AttachmentVertices.cpp */; }; + 04DBD31A22AE2D8200DBE4CD /* AttachmentVertices.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04DBD30B22AE2D8000DBE4CD /* AttachmentVertices.cpp */; }; + 04DBD31B22AE2D8200DBE4CD /* SkeletonAnimation.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04DBD30C22AE2D8000DBE4CD /* SkeletonAnimation.cpp */; }; + 04DBD31C22AE2D8200DBE4CD /* SkeletonAnimation.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04DBD30C22AE2D8000DBE4CD /* SkeletonAnimation.cpp */; }; + 04DBD31D22AE2D8200DBE4CD /* SkeletonAnimation.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD30D22AE2D8100DBE4CD /* SkeletonAnimation.h */; }; + 04DBD31E22AE2D8200DBE4CD /* SkeletonAnimation.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD30D22AE2D8100DBE4CD /* SkeletonAnimation.h */; }; + 04DBD31F22AE2D8200DBE4CD /* AttachmentVertices.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD30E22AE2D8100DBE4CD /* AttachmentVertices.h */; }; + 04DBD32022AE2D8200DBE4CD /* AttachmentVertices.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD30E22AE2D8100DBE4CD /* AttachmentVertices.h */; }; + 04DBD32122AE2D8200DBE4CD /* VertexEffectDelegate.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04DBD30F22AE2D8100DBE4CD /* VertexEffectDelegate.cpp */; }; + 04DBD32222AE2D8200DBE4CD /* VertexEffectDelegate.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04DBD30F22AE2D8100DBE4CD /* VertexEffectDelegate.cpp */; }; + 04DBD32322AE2D8200DBE4CD /* SkeletonDataMgr.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD31022AE2D8100DBE4CD /* SkeletonDataMgr.h */; }; + 04DBD32422AE2D8200DBE4CD /* SkeletonDataMgr.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD31022AE2D8100DBE4CD /* SkeletonDataMgr.h */; }; + 04DBD32522AE2D8200DBE4CD /* SkeletonRenderer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04DBD31122AE2D8100DBE4CD /* SkeletonRenderer.cpp */; }; + 04DBD32622AE2D8200DBE4CD /* SkeletonRenderer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04DBD31122AE2D8100DBE4CD /* SkeletonRenderer.cpp */; }; + 04DBD32722AE2D8200DBE4CD /* SkeletonDataMgr.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04DBD31222AE2D8100DBE4CD /* SkeletonDataMgr.cpp */; }; + 04DBD32822AE2D8200DBE4CD /* SkeletonDataMgr.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04DBD31222AE2D8100DBE4CD /* SkeletonDataMgr.cpp */; }; + 04DBD32922AE2D8200DBE4CD /* spine-cocos2dx.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04DBD31322AE2D8100DBE4CD /* spine-cocos2dx.cpp */; }; + 04DBD32A22AE2D8200DBE4CD /* spine-cocos2dx.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04DBD31322AE2D8100DBE4CD /* spine-cocos2dx.cpp */; }; + 04DBD32B22AE2D8200DBE4CD /* spine-cocos2dx.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD31422AE2D8100DBE4CD /* spine-cocos2dx.h */; }; + 04DBD32C22AE2D8200DBE4CD /* spine-cocos2dx.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD31422AE2D8100DBE4CD /* spine-cocos2dx.h */; }; + 04DBD3BB22AE2DBD00DBE4CD /* Pool.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD32D22AE2DA200DBE4CD /* Pool.h */; }; + 04DBD3BC22AE2DBD00DBE4CD /* Pool.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD32D22AE2DA200DBE4CD /* Pool.h */; }; + 04DBD3BD22AE2DBD00DBE4CD /* Attachment.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD32E22AE2DA200DBE4CD /* Attachment.h */; }; + 04DBD3BE22AE2DBD00DBE4CD /* Attachment.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD32E22AE2DA200DBE4CD /* Attachment.h */; }; + 04DBD3BF22AE2DBD00DBE4CD /* AnimationStateData.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD32F22AE2DA300DBE4CD /* AnimationStateData.h */; }; + 04DBD3C022AE2DBD00DBE4CD /* AnimationStateData.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD32F22AE2DA300DBE4CD /* AnimationStateData.h */; }; + 04DBD3C122AE2DBD00DBE4CD /* TextureLoader.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD33022AE2DA300DBE4CD /* TextureLoader.h */; }; + 04DBD3C222AE2DBD00DBE4CD /* TextureLoader.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD33022AE2DA300DBE4CD /* TextureLoader.h */; }; + 04DBD3C322AE2DBD00DBE4CD /* VertexEffect.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04DBD33122AE2DA300DBE4CD /* VertexEffect.cpp */; }; + 04DBD3C422AE2DBD00DBE4CD /* VertexEffect.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04DBD33122AE2DA300DBE4CD /* VertexEffect.cpp */; }; + 04DBD3C522AE2DBD00DBE4CD /* MixDirection.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD33222AE2DA300DBE4CD /* MixDirection.h */; }; + 04DBD3C622AE2DBD00DBE4CD /* MixDirection.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD33222AE2DA300DBE4CD /* MixDirection.h */; }; + 04DBD3C722AE2DBD00DBE4CD /* HasRendererObject.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD33322AE2DA300DBE4CD /* HasRendererObject.h */; }; + 04DBD3C822AE2DBD00DBE4CD /* HasRendererObject.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD33322AE2DA300DBE4CD /* HasRendererObject.h */; }; + 04DBD3C922AE2DBD00DBE4CD /* AtlasAttachmentLoader.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04DBD33422AE2DA300DBE4CD /* AtlasAttachmentLoader.cpp */; }; + 04DBD3CA22AE2DBD00DBE4CD /* AtlasAttachmentLoader.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04DBD33422AE2DA300DBE4CD /* AtlasAttachmentLoader.cpp */; }; + 04DBD3CB22AE2DBD00DBE4CD /* Atlas.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04DBD33522AE2DA300DBE4CD /* Atlas.cpp */; }; + 04DBD3CC22AE2DBD00DBE4CD /* Atlas.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04DBD33522AE2DA300DBE4CD /* Atlas.cpp */; }; + 04DBD3CD22AE2DBD00DBE4CD /* Bone.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04DBD33622AE2DA300DBE4CD /* Bone.cpp */; }; + 04DBD3CE22AE2DBD00DBE4CD /* Bone.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04DBD33622AE2DA300DBE4CD /* Bone.cpp */; }; + 04DBD3CF22AE2DBD00DBE4CD /* Triangulator.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD33722AE2DA300DBE4CD /* Triangulator.h */; }; + 04DBD3D022AE2DBD00DBE4CD /* Triangulator.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD33722AE2DA300DBE4CD /* Triangulator.h */; }; + 04DBD3D122AE2DBD00DBE4CD /* EventData.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD33822AE2DA400DBE4CD /* EventData.h */; }; + 04DBD3D222AE2DBD00DBE4CD /* EventData.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD33822AE2DA400DBE4CD /* EventData.h */; }; + 04DBD3D322AE2DBD00DBE4CD /* RotateTimeline.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD33922AE2DA400DBE4CD /* RotateTimeline.h */; }; + 04DBD3D422AE2DBD00DBE4CD /* RotateTimeline.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD33922AE2DA400DBE4CD /* RotateTimeline.h */; }; + 04DBD3D522AE2DBD00DBE4CD /* ColorTimeline.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD33A22AE2DA400DBE4CD /* ColorTimeline.h */; }; + 04DBD3D622AE2DBD00DBE4CD /* ColorTimeline.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD33A22AE2DA400DBE4CD /* ColorTimeline.h */; }; + 04DBD3D722AE2DBD00DBE4CD /* PathAttachment.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04DBD33B22AE2DA400DBE4CD /* PathAttachment.cpp */; }; + 04DBD3D822AE2DBD00DBE4CD /* PathAttachment.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04DBD33B22AE2DA400DBE4CD /* PathAttachment.cpp */; }; + 04DBD3D922AE2DBD00DBE4CD /* Constraint.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD33C22AE2DA400DBE4CD /* Constraint.h */; }; + 04DBD3DA22AE2DBD00DBE4CD /* Constraint.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD33C22AE2DA400DBE4CD /* Constraint.h */; }; + 04DBD3DB22AE2DBD00DBE4CD /* TranslateTimeline.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD33D22AE2DA400DBE4CD /* TranslateTimeline.h */; }; + 04DBD3DC22AE2DBD00DBE4CD /* TranslateTimeline.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD33D22AE2DA400DBE4CD /* TranslateTimeline.h */; }; + 04DBD3DD22AE2DBD00DBE4CD /* SkeletonData.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD33E22AE2DA400DBE4CD /* SkeletonData.h */; }; + 04DBD3DE22AE2DBD00DBE4CD /* SkeletonData.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD33E22AE2DA400DBE4CD /* SkeletonData.h */; }; + 04DBD3DF22AE2DBD00DBE4CD /* RotateTimeline.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04DBD33F22AE2DA500DBE4CD /* RotateTimeline.cpp */; }; + 04DBD3E022AE2DBD00DBE4CD /* RotateTimeline.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04DBD33F22AE2DA500DBE4CD /* RotateTimeline.cpp */; }; + 04DBD3E122AE2DBD00DBE4CD /* AttachmentTimeline.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD34022AE2DA500DBE4CD /* AttachmentTimeline.h */; }; + 04DBD3E222AE2DBD00DBE4CD /* AttachmentTimeline.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD34022AE2DA500DBE4CD /* AttachmentTimeline.h */; }; + 04DBD3E322AE2DBD00DBE4CD /* BlendMode.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD34122AE2DA500DBE4CD /* BlendMode.h */; }; + 04DBD3E422AE2DBD00DBE4CD /* BlendMode.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD34122AE2DA500DBE4CD /* BlendMode.h */; }; + 04DBD3E522AE2DBD00DBE4CD /* PointAttachment.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04DBD34222AE2DA500DBE4CD /* PointAttachment.cpp */; }; + 04DBD3E622AE2DBD00DBE4CD /* PointAttachment.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04DBD34222AE2DA500DBE4CD /* PointAttachment.cpp */; }; + 04DBD3E722AE2DBD00DBE4CD /* PathConstraintMixTimeline.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD34322AE2DA500DBE4CD /* PathConstraintMixTimeline.h */; }; + 04DBD3E822AE2DBD00DBE4CD /* PathConstraintMixTimeline.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD34322AE2DA500DBE4CD /* PathConstraintMixTimeline.h */; }; + 04DBD3E922AE2DBD00DBE4CD /* Debug.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD34422AE2DA500DBE4CD /* Debug.h */; }; + 04DBD3EA22AE2DBD00DBE4CD /* Debug.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD34422AE2DA500DBE4CD /* Debug.h */; }; + 04DBD3EB22AE2DBD00DBE4CD /* CurveTimeline.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD34522AE2DA600DBE4CD /* CurveTimeline.h */; }; + 04DBD3EC22AE2DBD00DBE4CD /* CurveTimeline.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD34522AE2DA600DBE4CD /* CurveTimeline.h */; }; + 04DBD3ED22AE2DBD00DBE4CD /* Timeline.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04DBD34622AE2DA600DBE4CD /* Timeline.cpp */; }; + 04DBD3EE22AE2DBD00DBE4CD /* Timeline.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04DBD34622AE2DA600DBE4CD /* Timeline.cpp */; }; + 04DBD3EF22AE2DBD00DBE4CD /* Extension.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04DBD34722AE2DA600DBE4CD /* Extension.cpp */; }; + 04DBD3F022AE2DBD00DBE4CD /* Extension.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04DBD34722AE2DA600DBE4CD /* Extension.cpp */; }; + 04DBD3F122AE2DBD00DBE4CD /* MathUtil.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD34822AE2DA600DBE4CD /* MathUtil.h */; }; + 04DBD3F222AE2DBD00DBE4CD /* MathUtil.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD34822AE2DA600DBE4CD /* MathUtil.h */; }; + 04DBD3F322AE2DBD00DBE4CD /* TimelineType.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD34922AE2DA600DBE4CD /* TimelineType.h */; }; + 04DBD3F422AE2DBD00DBE4CD /* TimelineType.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD34922AE2DA600DBE4CD /* TimelineType.h */; }; + 04DBD3F522AE2DBD00DBE4CD /* ClippingAttachment.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD34A22AE2DA600DBE4CD /* ClippingAttachment.h */; }; + 04DBD3F622AE2DBD00DBE4CD /* ClippingAttachment.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD34A22AE2DA600DBE4CD /* ClippingAttachment.h */; }; + 04DBD3F722AE2DBD00DBE4CD /* PathConstraintMixTimeline.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04DBD34B22AE2DA700DBE4CD /* PathConstraintMixTimeline.cpp */; }; + 04DBD3F822AE2DBD00DBE4CD /* PathConstraintMixTimeline.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04DBD34B22AE2DA700DBE4CD /* PathConstraintMixTimeline.cpp */; }; + 04DBD3F922AE2DBD00DBE4CD /* Event.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD34C22AE2DA700DBE4CD /* Event.h */; }; + 04DBD3FA22AE2DBD00DBE4CD /* Event.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD34C22AE2DA700DBE4CD /* Event.h */; }; + 04DBD3FB22AE2DBD00DBE4CD /* Animation.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD34D22AE2DA700DBE4CD /* Animation.h */; }; + 04DBD3FC22AE2DBD00DBE4CD /* Animation.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD34D22AE2DA700DBE4CD /* Animation.h */; }; + 04DBD3FD22AE2DBD00DBE4CD /* HashMap.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD34E22AE2DA700DBE4CD /* HashMap.h */; }; + 04DBD3FE22AE2DBD00DBE4CD /* HashMap.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD34E22AE2DA700DBE4CD /* HashMap.h */; }; + 04DBD3FF22AE2DBD00DBE4CD /* EventTimeline.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD34F22AE2DA700DBE4CD /* EventTimeline.h */; }; + 04DBD40022AE2DBD00DBE4CD /* EventTimeline.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD34F22AE2DA700DBE4CD /* EventTimeline.h */; }; + 04DBD40122AE2DBD00DBE4CD /* AtlasAttachmentLoader.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD35022AE2DA800DBE4CD /* AtlasAttachmentLoader.h */; }; + 04DBD40222AE2DBD00DBE4CD /* AtlasAttachmentLoader.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD35022AE2DA800DBE4CD /* AtlasAttachmentLoader.h */; }; + 04DBD40322AE2DBD00DBE4CD /* Skin.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD35122AE2DA800DBE4CD /* Skin.h */; }; + 04DBD40422AE2DBD00DBE4CD /* Skin.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD35122AE2DA800DBE4CD /* Skin.h */; }; + 04DBD40522AE2DBD00DBE4CD /* BoundingBoxAttachment.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD35222AE2DA800DBE4CD /* BoundingBoxAttachment.h */; }; + 04DBD40622AE2DBD00DBE4CD /* BoundingBoxAttachment.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD35222AE2DA800DBE4CD /* BoundingBoxAttachment.h */; }; + 04DBD40722AE2DBD00DBE4CD /* SkeletonClipping.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04DBD35322AE2DA800DBE4CD /* SkeletonClipping.cpp */; }; + 04DBD40822AE2DBD00DBE4CD /* SkeletonClipping.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04DBD35322AE2DA800DBE4CD /* SkeletonClipping.cpp */; }; + 04DBD40922AE2DBD00DBE4CD /* IkConstraintData.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD35422AE2DA800DBE4CD /* IkConstraintData.h */; }; + 04DBD40A22AE2DBD00DBE4CD /* IkConstraintData.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD35422AE2DA800DBE4CD /* IkConstraintData.h */; }; + 04DBD40B22AE2DBD00DBE4CD /* SpineString.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD35522AE2DA800DBE4CD /* SpineString.h */; }; + 04DBD40C22AE2DBD00DBE4CD /* SpineString.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD35522AE2DA800DBE4CD /* SpineString.h */; }; + 04DBD40D22AE2DBD00DBE4CD /* VertexAttachment.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04DBD35622AE2DA900DBE4CD /* VertexAttachment.cpp */; }; + 04DBD40E22AE2DBD00DBE4CD /* VertexAttachment.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04DBD35622AE2DA900DBE4CD /* VertexAttachment.cpp */; }; + 04DBD40F22AE2DBD00DBE4CD /* TransformConstraintTimeline.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD35722AE2DA900DBE4CD /* TransformConstraintTimeline.h */; }; + 04DBD41022AE2DBD00DBE4CD /* TransformConstraintTimeline.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD35722AE2DA900DBE4CD /* TransformConstraintTimeline.h */; }; + 04DBD41122AE2DBD00DBE4CD /* Constraint.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04DBD35822AE2DA900DBE4CD /* Constraint.cpp */; }; + 04DBD41222AE2DBD00DBE4CD /* Constraint.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04DBD35822AE2DA900DBE4CD /* Constraint.cpp */; }; + 04DBD41322AE2DBD00DBE4CD /* Triangulator.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04DBD35922AE2DA900DBE4CD /* Triangulator.cpp */; }; + 04DBD41422AE2DBD00DBE4CD /* Triangulator.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04DBD35922AE2DA900DBE4CD /* Triangulator.cpp */; }; + 04DBD41522AE2DBD00DBE4CD /* MathUtil.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04DBD35A22AE2DA900DBE4CD /* MathUtil.cpp */; }; + 04DBD41622AE2DBD00DBE4CD /* MathUtil.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04DBD35A22AE2DA900DBE4CD /* MathUtil.cpp */; }; + 04DBD41722AE2DBD00DBE4CD /* BoneData.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04DBD35B22AE2DAA00DBE4CD /* BoneData.cpp */; }; + 04DBD41822AE2DBD00DBE4CD /* BoneData.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04DBD35B22AE2DAA00DBE4CD /* BoneData.cpp */; }; + 04DBD41922AE2DBD00DBE4CD /* IkConstraint.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04DBD35C22AE2DAA00DBE4CD /* IkConstraint.cpp */; }; + 04DBD41A22AE2DBD00DBE4CD /* IkConstraint.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04DBD35C22AE2DAA00DBE4CD /* IkConstraint.cpp */; }; + 04DBD41B22AE2DBD00DBE4CD /* SlotData.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04DBD35D22AE2DAA00DBE4CD /* SlotData.cpp */; }; + 04DBD41C22AE2DBD00DBE4CD /* SlotData.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04DBD35D22AE2DAA00DBE4CD /* SlotData.cpp */; }; + 04DBD41D22AE2DBD00DBE4CD /* TextureLoader.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04DBD35E22AE2DAA00DBE4CD /* TextureLoader.cpp */; }; + 04DBD41E22AE2DBD00DBE4CD /* TextureLoader.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04DBD35E22AE2DAA00DBE4CD /* TextureLoader.cpp */; }; + 04DBD41F22AE2DBD00DBE4CD /* Animation.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04DBD35F22AE2DAA00DBE4CD /* Animation.cpp */; }; + 04DBD42022AE2DBD00DBE4CD /* Animation.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04DBD35F22AE2DAA00DBE4CD /* Animation.cpp */; }; + 04DBD42122AE2DBD00DBE4CD /* SkeletonData.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04DBD36022AE2DAB00DBE4CD /* SkeletonData.cpp */; }; + 04DBD42222AE2DBD00DBE4CD /* SkeletonData.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04DBD36022AE2DAB00DBE4CD /* SkeletonData.cpp */; }; + 04DBD42322AE2DBD00DBE4CD /* SlotData.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD36122AE2DAB00DBE4CD /* SlotData.h */; }; + 04DBD42422AE2DBD00DBE4CD /* SlotData.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD36122AE2DAB00DBE4CD /* SlotData.h */; }; + 04DBD42522AE2DBD00DBE4CD /* PathConstraint.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04DBD36222AE2DAB00DBE4CD /* PathConstraint.cpp */; }; + 04DBD42622AE2DBD00DBE4CD /* PathConstraint.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04DBD36222AE2DAB00DBE4CD /* PathConstraint.cpp */; }; + 04DBD42722AE2DBD00DBE4CD /* VertexEffect.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD36322AE2DAB00DBE4CD /* VertexEffect.h */; }; + 04DBD42822AE2DBD00DBE4CD /* VertexEffect.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD36322AE2DAB00DBE4CD /* VertexEffect.h */; }; + 04DBD42922AE2DBD00DBE4CD /* RegionAttachment.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04DBD36422AE2DAC00DBE4CD /* RegionAttachment.cpp */; }; + 04DBD42A22AE2DBD00DBE4CD /* RegionAttachment.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04DBD36422AE2DAC00DBE4CD /* RegionAttachment.cpp */; }; + 04DBD42B22AE2DBD00DBE4CD /* IkConstraintData.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04DBD36522AE2DAC00DBE4CD /* IkConstraintData.cpp */; }; + 04DBD42C22AE2DBD00DBE4CD /* IkConstraintData.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04DBD36522AE2DAC00DBE4CD /* IkConstraintData.cpp */; }; + 04DBD42D22AE2DBD00DBE4CD /* PathConstraintSpacingTimeline.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD36622AE2DAC00DBE4CD /* PathConstraintSpacingTimeline.h */; }; + 04DBD42E22AE2DBD00DBE4CD /* PathConstraintSpacingTimeline.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD36622AE2DAC00DBE4CD /* PathConstraintSpacingTimeline.h */; }; + 04DBD42F22AE2DBD00DBE4CD /* Json.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04DBD36722AE2DAC00DBE4CD /* Json.cpp */; }; + 04DBD43022AE2DBD00DBE4CD /* Json.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04DBD36722AE2DAC00DBE4CD /* Json.cpp */; }; + 04DBD43122AE2DBD00DBE4CD /* Color.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD36822AE2DAC00DBE4CD /* Color.h */; }; + 04DBD43222AE2DBD00DBE4CD /* Color.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD36822AE2DAC00DBE4CD /* Color.h */; }; + 04DBD43322AE2DBD00DBE4CD /* Skin.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04DBD36922AE2DAD00DBE4CD /* Skin.cpp */; }; + 04DBD43422AE2DBD00DBE4CD /* Skin.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04DBD36922AE2DAD00DBE4CD /* Skin.cpp */; }; + 04DBD43522AE2DBD00DBE4CD /* RotateMode.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD36A22AE2DAD00DBE4CD /* RotateMode.h */; }; + 04DBD43622AE2DBD00DBE4CD /* RotateMode.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD36A22AE2DAD00DBE4CD /* RotateMode.h */; }; + 04DBD43722AE2DBD00DBE4CD /* TranslateTimeline.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04DBD36B22AE2DAD00DBE4CD /* TranslateTimeline.cpp */; }; + 04DBD43822AE2DBD00DBE4CD /* TranslateTimeline.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04DBD36B22AE2DAD00DBE4CD /* TranslateTimeline.cpp */; }; + 04DBD43922AE2DBD00DBE4CD /* Updatable.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD36C22AE2DAD00DBE4CD /* Updatable.h */; }; + 04DBD43A22AE2DBD00DBE4CD /* Updatable.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD36C22AE2DAD00DBE4CD /* Updatable.h */; }; + 04DBD43B22AE2DBD00DBE4CD /* TransformConstraint.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04DBD36D22AE2DAD00DBE4CD /* TransformConstraint.cpp */; }; + 04DBD43C22AE2DBD00DBE4CD /* TransformConstraint.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04DBD36D22AE2DAD00DBE4CD /* TransformConstraint.cpp */; }; + 04DBD43D22AE2DBD00DBE4CD /* SkeletonBinary.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD36E22AE2DAE00DBE4CD /* SkeletonBinary.h */; }; + 04DBD43E22AE2DBD00DBE4CD /* SkeletonBinary.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD36E22AE2DAE00DBE4CD /* SkeletonBinary.h */; }; + 04DBD43F22AE2DBD00DBE4CD /* DrawOrderTimeline.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04DBD36F22AE2DAE00DBE4CD /* DrawOrderTimeline.cpp */; }; + 04DBD44022AE2DBD00DBE4CD /* DrawOrderTimeline.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04DBD36F22AE2DAE00DBE4CD /* DrawOrderTimeline.cpp */; }; + 04DBD44122AE2DBD00DBE4CD /* PathAttachment.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD37022AE2DAE00DBE4CD /* PathAttachment.h */; }; + 04DBD44222AE2DBD00DBE4CD /* PathAttachment.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD37022AE2DAE00DBE4CD /* PathAttachment.h */; }; + 04DBD44322AE2DBD00DBE4CD /* PathConstraint.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD37122AE2DAE00DBE4CD /* PathConstraint.h */; }; + 04DBD44422AE2DBD00DBE4CD /* PathConstraint.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD37122AE2DAE00DBE4CD /* PathConstraint.h */; }; + 04DBD44522AE2DBD00DBE4CD /* AnimationState.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04DBD37222AE2DAE00DBE4CD /* AnimationState.cpp */; }; + 04DBD44622AE2DBD00DBE4CD /* AnimationState.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04DBD37222AE2DAE00DBE4CD /* AnimationState.cpp */; }; + 04DBD44722AE2DBD00DBE4CD /* Skeleton.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04DBD37322AE2DAF00DBE4CD /* Skeleton.cpp */; }; + 04DBD44822AE2DBD00DBE4CD /* Skeleton.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04DBD37322AE2DAF00DBE4CD /* Skeleton.cpp */; }; + 04DBD44922AE2DBD00DBE4CD /* DrawOrderTimeline.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD37422AE2DAF00DBE4CD /* DrawOrderTimeline.h */; }; + 04DBD44A22AE2DBD00DBE4CD /* DrawOrderTimeline.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD37422AE2DAF00DBE4CD /* DrawOrderTimeline.h */; }; + 04DBD44B22AE2DBD00DBE4CD /* IkConstraintTimeline.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD37522AE2DAF00DBE4CD /* IkConstraintTimeline.h */; }; + 04DBD44C22AE2DBD00DBE4CD /* IkConstraintTimeline.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD37522AE2DAF00DBE4CD /* IkConstraintTimeline.h */; }; + 04DBD44D22AE2DBD00DBE4CD /* SpacingMode.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD37622AE2DAF00DBE4CD /* SpacingMode.h */; }; + 04DBD44E22AE2DBD00DBE4CD /* SpacingMode.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD37622AE2DAF00DBE4CD /* SpacingMode.h */; }; + 04DBD44F22AE2DBD00DBE4CD /* Json.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD37722AE2DAF00DBE4CD /* Json.h */; }; + 04DBD45022AE2DBD00DBE4CD /* Json.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD37722AE2DAF00DBE4CD /* Json.h */; }; + 04DBD45122AE2DBD00DBE4CD /* AnimationStateData.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04DBD37822AE2DAF00DBE4CD /* AnimationStateData.cpp */; }; + 04DBD45222AE2DBD00DBE4CD /* AnimationStateData.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04DBD37822AE2DAF00DBE4CD /* AnimationStateData.cpp */; }; + 04DBD45322AE2DBD00DBE4CD /* TransformConstraintTimeline.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04DBD37922AE2DB000DBE4CD /* TransformConstraintTimeline.cpp */; }; + 04DBD45422AE2DBD00DBE4CD /* TransformConstraintTimeline.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04DBD37922AE2DB000DBE4CD /* TransformConstraintTimeline.cpp */; }; + 04DBD45522AE2DBD00DBE4CD /* Vertices.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD37A22AE2DB000DBE4CD /* Vertices.h */; }; + 04DBD45622AE2DBD00DBE4CD /* Vertices.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD37A22AE2DB000DBE4CD /* Vertices.h */; }; + 04DBD45722AE2DBD00DBE4CD /* AttachmentLoader.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD37B22AE2DB000DBE4CD /* AttachmentLoader.h */; }; + 04DBD45822AE2DBD00DBE4CD /* AttachmentLoader.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD37B22AE2DB000DBE4CD /* AttachmentLoader.h */; }; + 04DBD45922AE2DBD00DBE4CD /* PointAttachment.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD37C22AE2DB000DBE4CD /* PointAttachment.h */; }; + 04DBD45A22AE2DBD00DBE4CD /* PointAttachment.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD37C22AE2DB000DBE4CD /* PointAttachment.h */; }; + 04DBD45B22AE2DBD00DBE4CD /* Timeline.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD37D22AE2DB000DBE4CD /* Timeline.h */; }; + 04DBD45C22AE2DBD00DBE4CD /* Timeline.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD37D22AE2DB000DBE4CD /* Timeline.h */; }; + 04DBD45D22AE2DBD00DBE4CD /* SkeletonBinary.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04DBD37E22AE2DB100DBE4CD /* SkeletonBinary.cpp */; }; + 04DBD45E22AE2DBD00DBE4CD /* SkeletonBinary.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04DBD37E22AE2DB100DBE4CD /* SkeletonBinary.cpp */; }; + 04DBD45F22AE2DBD00DBE4CD /* Event.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04DBD37F22AE2DB100DBE4CD /* Event.cpp */; }; + 04DBD46022AE2DBD00DBE4CD /* Event.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04DBD37F22AE2DB100DBE4CD /* Event.cpp */; }; + 04DBD46122AE2DBD00DBE4CD /* TwoColorTimeline.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD38022AE2DB100DBE4CD /* TwoColorTimeline.h */; }; + 04DBD46222AE2DBD00DBE4CD /* TwoColorTimeline.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD38022AE2DB100DBE4CD /* TwoColorTimeline.h */; }; + 04DBD46322AE2DBD00DBE4CD /* PathConstraintData.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04DBD38122AE2DB100DBE4CD /* PathConstraintData.cpp */; }; + 04DBD46422AE2DBD00DBE4CD /* PathConstraintData.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04DBD38122AE2DB100DBE4CD /* PathConstraintData.cpp */; }; + 04DBD46522AE2DBD00DBE4CD /* ScaleTimeline.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD38222AE2DB100DBE4CD /* ScaleTimeline.h */; }; + 04DBD46622AE2DBD00DBE4CD /* ScaleTimeline.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD38222AE2DB100DBE4CD /* ScaleTimeline.h */; }; + 04DBD46722AE2DBD00DBE4CD /* TransformConstraintData.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD38322AE2DB200DBE4CD /* TransformConstraintData.h */; }; + 04DBD46822AE2DBD00DBE4CD /* TransformConstraintData.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD38322AE2DB200DBE4CD /* TransformConstraintData.h */; }; + 04DBD46922AE2DBD00DBE4CD /* ShearTimeline.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04DBD38422AE2DB200DBE4CD /* ShearTimeline.cpp */; }; + 04DBD46A22AE2DBD00DBE4CD /* ShearTimeline.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04DBD38422AE2DB200DBE4CD /* ShearTimeline.cpp */; }; + 04DBD46B22AE2DBD00DBE4CD /* AttachmentTimeline.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04DBD38522AE2DB200DBE4CD /* AttachmentTimeline.cpp */; }; + 04DBD46C22AE2DBD00DBE4CD /* AttachmentTimeline.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04DBD38522AE2DB200DBE4CD /* AttachmentTimeline.cpp */; }; + 04DBD46D22AE2DBD00DBE4CD /* ScaleTimeline.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04DBD38622AE2DB200DBE4CD /* ScaleTimeline.cpp */; }; + 04DBD46E22AE2DBD00DBE4CD /* ScaleTimeline.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04DBD38622AE2DB200DBE4CD /* ScaleTimeline.cpp */; }; + 04DBD46F22AE2DBD00DBE4CD /* TransformConstraintData.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04DBD38722AE2DB200DBE4CD /* TransformConstraintData.cpp */; }; + 04DBD47022AE2DBD00DBE4CD /* TransformConstraintData.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04DBD38722AE2DB200DBE4CD /* TransformConstraintData.cpp */; }; + 04DBD47122AE2DBD00DBE4CD /* Bone.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD38822AE2DB300DBE4CD /* Bone.h */; }; + 04DBD47222AE2DBD00DBE4CD /* Bone.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD38822AE2DB300DBE4CD /* Bone.h */; }; + 04DBD47322AE2DBD00DBE4CD /* AttachmentType.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD38922AE2DB300DBE4CD /* AttachmentType.h */; }; + 04DBD47422AE2DBD00DBE4CD /* AttachmentType.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD38922AE2DB300DBE4CD /* AttachmentType.h */; }; + 04DBD47522AE2DBD00DBE4CD /* MeshAttachment.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD38A22AE2DB300DBE4CD /* MeshAttachment.h */; }; + 04DBD47622AE2DBD00DBE4CD /* MeshAttachment.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD38A22AE2DB300DBE4CD /* MeshAttachment.h */; }; + 04DBD47722AE2DBD00DBE4CD /* Atlas.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD38B22AE2DB300DBE4CD /* Atlas.h */; }; + 04DBD47822AE2DBD00DBE4CD /* Atlas.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD38B22AE2DB300DBE4CD /* Atlas.h */; }; + 04DBD47922AE2DBD00DBE4CD /* PositionMode.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD38C22AE2DB300DBE4CD /* PositionMode.h */; }; + 04DBD47A22AE2DBD00DBE4CD /* PositionMode.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD38C22AE2DB300DBE4CD /* PositionMode.h */; }; + 04DBD47B22AE2DBD00DBE4CD /* AnimationState.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD38D22AE2DB400DBE4CD /* AnimationState.h */; }; + 04DBD47C22AE2DBD00DBE4CD /* AnimationState.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD38D22AE2DB400DBE4CD /* AnimationState.h */; }; + 04DBD47D22AE2DBD00DBE4CD /* DeformTimeline.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04DBD38E22AE2DB400DBE4CD /* DeformTimeline.cpp */; }; + 04DBD47E22AE2DBD00DBE4CD /* DeformTimeline.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04DBD38E22AE2DB400DBE4CD /* DeformTimeline.cpp */; }; + 04DBD47F22AE2DBD00DBE4CD /* PathConstraintSpacingTimeline.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04DBD38F22AE2DB400DBE4CD /* PathConstraintSpacingTimeline.cpp */; }; + 04DBD48022AE2DBD00DBE4CD /* PathConstraintSpacingTimeline.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04DBD38F22AE2DB400DBE4CD /* PathConstraintSpacingTimeline.cpp */; }; + 04DBD48122AE2DBD00DBE4CD /* PathConstraintPositionTimeline.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD39022AE2DB400DBE4CD /* PathConstraintPositionTimeline.h */; }; + 04DBD48222AE2DBD00DBE4CD /* PathConstraintPositionTimeline.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD39022AE2DB400DBE4CD /* PathConstraintPositionTimeline.h */; }; + 04DBD48322AE2DBD00DBE4CD /* PathConstraintData.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD39122AE2DB400DBE4CD /* PathConstraintData.h */; }; + 04DBD48422AE2DBD00DBE4CD /* PathConstraintData.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD39122AE2DB400DBE4CD /* PathConstraintData.h */; }; + 04DBD48522AE2DBD00DBE4CD /* EventTimeline.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04DBD39222AE2DB500DBE4CD /* EventTimeline.cpp */; }; + 04DBD48622AE2DBD00DBE4CD /* EventTimeline.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04DBD39222AE2DB500DBE4CD /* EventTimeline.cpp */; }; + 04DBD48722AE2DBD00DBE4CD /* MixBlend.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD39322AE2DB500DBE4CD /* MixBlend.h */; }; + 04DBD48822AE2DBD00DBE4CD /* MixBlend.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD39322AE2DB500DBE4CD /* MixBlend.h */; }; + 04DBD48922AE2DBD00DBE4CD /* IkConstraintTimeline.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04DBD39422AE2DB500DBE4CD /* IkConstraintTimeline.cpp */; }; + 04DBD48A22AE2DBD00DBE4CD /* IkConstraintTimeline.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04DBD39422AE2DB500DBE4CD /* IkConstraintTimeline.cpp */; }; + 04DBD48B22AE2DBD00DBE4CD /* CurveTimeline.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04DBD39522AE2DB500DBE4CD /* CurveTimeline.cpp */; }; + 04DBD48C22AE2DBD00DBE4CD /* CurveTimeline.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04DBD39522AE2DB500DBE4CD /* CurveTimeline.cpp */; }; + 04DBD48D22AE2DBD00DBE4CD /* Slot.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD39622AE2DB500DBE4CD /* Slot.h */; }; + 04DBD48E22AE2DBD00DBE4CD /* Slot.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD39622AE2DB500DBE4CD /* Slot.h */; }; + 04DBD48F22AE2DBD00DBE4CD /* Vector.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD39722AE2DB600DBE4CD /* Vector.h */; }; + 04DBD49022AE2DBD00DBE4CD /* Vector.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD39722AE2DB600DBE4CD /* Vector.h */; }; + 04DBD49122AE2DBD00DBE4CD /* ShearTimeline.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD39822AE2DB600DBE4CD /* ShearTimeline.h */; }; + 04DBD49222AE2DBD00DBE4CD /* ShearTimeline.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD39822AE2DB600DBE4CD /* ShearTimeline.h */; }; + 04DBD49322AE2DBD00DBE4CD /* SkeletonJson.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD39922AE2DB600DBE4CD /* SkeletonJson.h */; }; + 04DBD49422AE2DBD00DBE4CD /* SkeletonJson.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD39922AE2DB600DBE4CD /* SkeletonJson.h */; }; + 04DBD49522AE2DBD00DBE4CD /* SpineObject.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD39A22AE2DB600DBE4CD /* SpineObject.h */; }; + 04DBD49622AE2DBD00DBE4CD /* SpineObject.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD39A22AE2DB600DBE4CD /* SpineObject.h */; }; + 04DBD49922AE2DBD00DBE4CD /* TransformMode.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD39C22AE2DB700DBE4CD /* TransformMode.h */; }; + 04DBD49A22AE2DBD00DBE4CD /* TransformMode.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD39C22AE2DB700DBE4CD /* TransformMode.h */; }; + 04DBD49B22AE2DBD00DBE4CD /* EventData.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04DBD39D22AE2DB700DBE4CD /* EventData.cpp */; }; + 04DBD49C22AE2DBD00DBE4CD /* EventData.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04DBD39D22AE2DB700DBE4CD /* EventData.cpp */; }; + 04DBD49D22AE2DBD00DBE4CD /* SkeletonJson.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04DBD39E22AE2DB700DBE4CD /* SkeletonJson.cpp */; }; + 04DBD49E22AE2DBD00DBE4CD /* SkeletonJson.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04DBD39E22AE2DB700DBE4CD /* SkeletonJson.cpp */; }; + 04DBD49F22AE2DBD00DBE4CD /* ColorTimeline.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04DBD39F22AE2DB700DBE4CD /* ColorTimeline.cpp */; }; + 04DBD4A022AE2DBD00DBE4CD /* ColorTimeline.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04DBD39F22AE2DB700DBE4CD /* ColorTimeline.cpp */; }; + 04DBD4A122AE2DBD00DBE4CD /* Attachment.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04DBD3A022AE2DB700DBE4CD /* Attachment.cpp */; }; + 04DBD4A222AE2DBD00DBE4CD /* Attachment.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04DBD3A022AE2DB700DBE4CD /* Attachment.cpp */; }; + 04DBD4A322AE2DBD00DBE4CD /* AttachmentLoader.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04DBD3A122AE2DB800DBE4CD /* AttachmentLoader.cpp */; }; + 04DBD4A422AE2DBD00DBE4CD /* AttachmentLoader.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04DBD3A122AE2DB800DBE4CD /* AttachmentLoader.cpp */; }; + 04DBD4A522AE2DBD00DBE4CD /* LinkedMesh.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04DBD3A222AE2DB800DBE4CD /* LinkedMesh.cpp */; }; + 04DBD4A622AE2DBD00DBE4CD /* LinkedMesh.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04DBD3A222AE2DB800DBE4CD /* LinkedMesh.cpp */; }; + 04DBD4A722AE2DBD00DBE4CD /* RegionAttachment.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD3A322AE2DB800DBE4CD /* RegionAttachment.h */; }; + 04DBD4A822AE2DBD00DBE4CD /* RegionAttachment.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD3A322AE2DB800DBE4CD /* RegionAttachment.h */; }; + 04DBD4A922AE2DBD00DBE4CD /* SpineObject.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04DBD3A422AE2DB800DBE4CD /* SpineObject.cpp */; }; + 04DBD4AA22AE2DBD00DBE4CD /* SpineObject.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04DBD3A422AE2DB800DBE4CD /* SpineObject.cpp */; }; + 04DBD4AB22AE2DBD00DBE4CD /* Slot.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04DBD3A522AE2DB800DBE4CD /* Slot.cpp */; }; + 04DBD4AC22AE2DBD00DBE4CD /* Slot.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04DBD3A522AE2DB800DBE4CD /* Slot.cpp */; }; + 04DBD4AD22AE2DBD00DBE4CD /* BoundingBoxAttachment.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04DBD3A622AE2DB800DBE4CD /* BoundingBoxAttachment.cpp */; }; + 04DBD4AE22AE2DBD00DBE4CD /* BoundingBoxAttachment.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04DBD3A622AE2DB800DBE4CD /* BoundingBoxAttachment.cpp */; }; + 04DBD4AF22AE2DBD00DBE4CD /* MeshAttachment.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04DBD3A722AE2DB900DBE4CD /* MeshAttachment.cpp */; }; + 04DBD4B022AE2DBD00DBE4CD /* MeshAttachment.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04DBD3A722AE2DB900DBE4CD /* MeshAttachment.cpp */; }; + 04DBD4B122AE2DBD00DBE4CD /* TwoColorTimeline.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04DBD3A822AE2DB900DBE4CD /* TwoColorTimeline.cpp */; }; + 04DBD4B222AE2DBD00DBE4CD /* TwoColorTimeline.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04DBD3A822AE2DB900DBE4CD /* TwoColorTimeline.cpp */; }; + 04DBD4B322AE2DBD00DBE4CD /* ContainerUtil.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD3A922AE2DB900DBE4CD /* ContainerUtil.h */; }; + 04DBD4B422AE2DBD00DBE4CD /* ContainerUtil.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD3A922AE2DB900DBE4CD /* ContainerUtil.h */; }; + 04DBD4B522AE2DBD00DBE4CD /* RTTI.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04DBD3AA22AE2DB900DBE4CD /* RTTI.cpp */; }; + 04DBD4B622AE2DBD00DBE4CD /* RTTI.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04DBD3AA22AE2DB900DBE4CD /* RTTI.cpp */; }; + 04DBD4B722AE2DBD00DBE4CD /* SkeletonBounds.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04DBD3AB22AE2DB900DBE4CD /* SkeletonBounds.cpp */; }; + 04DBD4B822AE2DBD00DBE4CD /* SkeletonBounds.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04DBD3AB22AE2DB900DBE4CD /* SkeletonBounds.cpp */; }; + 04DBD4B922AE2DBD00DBE4CD /* Skeleton.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD3AC22AE2DBA00DBE4CD /* Skeleton.h */; }; + 04DBD4BA22AE2DBD00DBE4CD /* Skeleton.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD3AC22AE2DBA00DBE4CD /* Skeleton.h */; }; + 04DBD4BB22AE2DBD00DBE4CD /* PathConstraintPositionTimeline.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04DBD3AD22AE2DBA00DBE4CD /* PathConstraintPositionTimeline.cpp */; }; + 04DBD4BC22AE2DBD00DBE4CD /* PathConstraintPositionTimeline.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04DBD3AD22AE2DBA00DBE4CD /* PathConstraintPositionTimeline.cpp */; }; + 04DBD4BD22AE2DBD00DBE4CD /* spine.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD3AE22AE2DBA00DBE4CD /* spine.h */; }; + 04DBD4BE22AE2DBD00DBE4CD /* spine.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD3AE22AE2DBA00DBE4CD /* spine.h */; }; + 04DBD4BF22AE2DBD00DBE4CD /* DeformTimeline.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD3AF22AE2DBA00DBE4CD /* DeformTimeline.h */; }; + 04DBD4C022AE2DBD00DBE4CD /* DeformTimeline.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD3AF22AE2DBA00DBE4CD /* DeformTimeline.h */; }; + 04DBD4C122AE2DBD00DBE4CD /* Updatable.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04DBD3B022AE2DBA00DBE4CD /* Updatable.cpp */; }; + 04DBD4C222AE2DBD00DBE4CD /* Updatable.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04DBD3B022AE2DBA00DBE4CD /* Updatable.cpp */; }; + 04DBD4C322AE2DBD00DBE4CD /* BoneData.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD3B122AE2DBB00DBE4CD /* BoneData.h */; }; + 04DBD4C422AE2DBD00DBE4CD /* BoneData.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD3B122AE2DBB00DBE4CD /* BoneData.h */; }; + 04DBD4C522AE2DBD00DBE4CD /* dll.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD3B222AE2DBB00DBE4CD /* dll.h */; }; + 04DBD4C622AE2DBD00DBE4CD /* dll.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD3B222AE2DBB00DBE4CD /* dll.h */; }; + 04DBD4C722AE2DBD00DBE4CD /* SkeletonBounds.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD3B322AE2DBB00DBE4CD /* SkeletonBounds.h */; }; + 04DBD4C822AE2DBD00DBE4CD /* SkeletonBounds.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD3B322AE2DBB00DBE4CD /* SkeletonBounds.h */; }; + 04DBD4C922AE2DBD00DBE4CD /* TransformConstraint.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD3B422AE2DBB00DBE4CD /* TransformConstraint.h */; }; + 04DBD4CA22AE2DBD00DBE4CD /* TransformConstraint.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD3B422AE2DBB00DBE4CD /* TransformConstraint.h */; }; + 04DBD4CB22AE2DBD00DBE4CD /* VertexAttachment.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD3B522AE2DBB00DBE4CD /* VertexAttachment.h */; }; + 04DBD4CC22AE2DBD00DBE4CD /* VertexAttachment.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD3B522AE2DBB00DBE4CD /* VertexAttachment.h */; }; + 04DBD4CD22AE2DBD00DBE4CD /* ClippingAttachment.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04DBD3B622AE2DBC00DBE4CD /* ClippingAttachment.cpp */; }; + 04DBD4CE22AE2DBD00DBE4CD /* ClippingAttachment.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04DBD3B622AE2DBC00DBE4CD /* ClippingAttachment.cpp */; }; + 04DBD4CF22AE2DBD00DBE4CD /* SkeletonClipping.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD3B722AE2DBC00DBE4CD /* SkeletonClipping.h */; }; + 04DBD4D022AE2DBD00DBE4CD /* SkeletonClipping.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD3B722AE2DBC00DBE4CD /* SkeletonClipping.h */; }; + 04DBD4D122AE2DBD00DBE4CD /* LinkedMesh.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD3B822AE2DBC00DBE4CD /* LinkedMesh.h */; }; + 04DBD4D222AE2DBD00DBE4CD /* LinkedMesh.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD3B822AE2DBC00DBE4CD /* LinkedMesh.h */; }; + 04DBD4D322AE2DBD00DBE4CD /* RTTI.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD3B922AE2DBC00DBE4CD /* RTTI.h */; }; + 04DBD4D422AE2DBD00DBE4CD /* RTTI.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD3B922AE2DBC00DBE4CD /* RTTI.h */; }; + 04DBD4D522AE2DBD00DBE4CD /* IkConstraint.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD3BA22AE2DBC00DBE4CD /* IkConstraint.h */; }; + 04DBD4D622AE2DBD00DBE4CD /* IkConstraint.h in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD3BA22AE2DBC00DBE4CD /* IkConstraint.h */; }; + 04DBD4DB22B51EA300DBE4CD /* MemPool.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04DBD4D922B51EA300DBE4CD /* MemPool.cpp */; }; + 04DBD4DC22B51EA300DBE4CD /* MemPool.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04DBD4D922B51EA300DBE4CD /* MemPool.cpp */; }; + 04DBD4DD22B51EA300DBE4CD /* MemPool.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD4DA22B51EA300DBE4CD /* MemPool.hpp */; }; + 04DBD4DE22B51EA300DBE4CD /* MemPool.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD4DA22B51EA300DBE4CD /* MemPool.hpp */; }; + 04DBD4E122B51EB300DBE4CD /* NodeMemPool.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04DBD4DF22B51EB300DBE4CD /* NodeMemPool.cpp */; }; + 04DBD4E222B51EB300DBE4CD /* NodeMemPool.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04DBD4DF22B51EB300DBE4CD /* NodeMemPool.cpp */; }; + 04DBD4E322B51EB300DBE4CD /* NodeMemPool.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD4E022B51EB300DBE4CD /* NodeMemPool.hpp */; }; + 04DBD4E422B51EB300DBE4CD /* NodeMemPool.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 04DBD4E022B51EB300DBE4CD /* NodeMemPool.hpp */; }; 04ED68D821F8188F006E82F8 /* MeshBuffer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04ED68D621F8188F006E82F8 /* MeshBuffer.cpp */; }; 04ED68D921F8188F006E82F8 /* MeshBuffer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04ED68D621F8188F006E82F8 /* MeshBuffer.cpp */; }; 04ED68DA21F8188F006E82F8 /* MeshBuffer.h in Headers */ = {isa = PBXBuildFile; fileRef = 04ED68D721F8188F006E82F8 /* MeshBuffer.h */; }; 04ED68DB21F8188F006E82F8 /* MeshBuffer.h in Headers */ = {isa = PBXBuildFile; fileRef = 04ED68D721F8188F006E82F8 /* MeshBuffer.h */; }; - 04F49F41222A777C00E5CAF1 /* SkeletonDataMgr.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04F49F3F222A777C00E5CAF1 /* SkeletonDataMgr.cpp */; }; - 04F49F42222A777C00E5CAF1 /* SkeletonDataMgr.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04F49F3F222A777C00E5CAF1 /* SkeletonDataMgr.cpp */; }; - 04F49F43222A777C00E5CAF1 /* SkeletonDataMgr.h in Headers */ = {isa = PBXBuildFile; fileRef = 04F49F40222A777C00E5CAF1 /* SkeletonDataMgr.h */; }; - 04F49F44222A777C00E5CAF1 /* SkeletonDataMgr.h in Headers */ = {isa = PBXBuildFile; fileRef = 04F49F40222A777C00E5CAF1 /* SkeletonDataMgr.h */; }; - 04F49F4D222B80C500E5CAF1 /* RenderInfoMgr.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04F49F4B222B80C400E5CAF1 /* RenderInfoMgr.cpp */; }; - 04F49F4E222B80C500E5CAF1 /* RenderInfoMgr.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04F49F4B222B80C400E5CAF1 /* RenderInfoMgr.cpp */; }; - 04F49F4F222B80C500E5CAF1 /* RenderInfoMgr.h in Headers */ = {isa = PBXBuildFile; fileRef = 04F49F4C222B80C400E5CAF1 /* RenderInfoMgr.h */; }; - 04F49F50222B80C500E5CAF1 /* RenderInfoMgr.h in Headers */ = {isa = PBXBuildFile; fileRef = 04F49F4C222B80C400E5CAF1 /* RenderInfoMgr.h */; }; + 04F8563422ABCB9900063A20 /* TiledMapAssembler.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04F8563222ABCB9900063A20 /* TiledMapAssembler.cpp */; }; + 04F8563522ABCB9900063A20 /* TiledMapAssembler.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04F8563222ABCB9900063A20 /* TiledMapAssembler.cpp */; }; + 04F8563622ABCB9900063A20 /* TiledMapAssembler.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 04F8563322ABCB9900063A20 /* TiledMapAssembler.hpp */; }; + 04F8563722ABCB9900063A20 /* TiledMapAssembler.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 04F8563322ABCB9900063A20 /* TiledMapAssembler.hpp */; }; 1A14FD912080B4E300E10ABE /* CCGLUtils.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1A14FD8F2080B4E300E10ABE /* CCGLUtils.cpp */; }; 1A14FD922080B4E300E10ABE /* CCGLUtils.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1A14FD8F2080B4E300E10ABE /* CCGLUtils.cpp */; }; 1A14FD932080B4E300E10ABE /* CCGLUtils.h in Headers */ = {isa = PBXBuildFile; fileRef = 1A14FD902080B4E300E10ABE /* CCGLUtils.h */; }; @@ -761,6 +839,16 @@ 40F373DA21B67A7D0083E4E7 /* libv8_snapshot.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 40F373D921B67A7D0083E4E7 /* libv8_snapshot.a */; }; 40FF7AA1216B29CC00E73029 /* VideoPlayer-ios.mm in Sources */ = {isa = PBXBuildFile; fileRef = 40FF7A9E216B29CB00E73029 /* VideoPlayer-ios.mm */; }; 40FF7AA2216B29CC00E73029 /* VideoPlayer.h in Headers */ = {isa = PBXBuildFile; fileRef = 40FF7A9F216B29CB00E73029 /* VideoPlayer.h */; }; + 4233799F22BB43B900E5D8A2 /* RecyclePool.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 4233799C22BB43B900E5D8A2 /* RecyclePool.hpp */; }; + 423379A022BB43B900E5D8A2 /* RecyclePool.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 4233799C22BB43B900E5D8A2 /* RecyclePool.hpp */; }; + 423379A322BB8DEA00E5D8A2 /* CustomProperties.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 423379A122BB8DEA00E5D8A2 /* CustomProperties.cpp */; }; + 423379A422BB8DEA00E5D8A2 /* CustomProperties.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 423379A122BB8DEA00E5D8A2 /* CustomProperties.cpp */; }; + 423379A522BB8DEA00E5D8A2 /* CustomProperties.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 423379A222BB8DEA00E5D8A2 /* CustomProperties.hpp */; }; + 423379A622BB8DEA00E5D8A2 /* CustomProperties.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 423379A222BB8DEA00E5D8A2 /* CustomProperties.hpp */; }; + 425D3FF122D86BEF00BCED11 /* Mat3.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 425D3FEF22D86BEF00BCED11 /* Mat3.cpp */; }; + 425D3FF222D86BEF00BCED11 /* Mat3.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 425D3FEF22D86BEF00BCED11 /* Mat3.cpp */; }; + 425D3FF322D86BEF00BCED11 /* Mat3.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 425D3FF022D86BEF00BCED11 /* Mat3.hpp */; }; + 425D3FF422D86BEF00BCED11 /* Mat3.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 425D3FF022D86BEF00BCED11 /* Mat3.hpp */; }; 4617861920522469008256E1 /* SocketIO.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 461785FE20522468008256E1 /* SocketIO.cpp */; }; 4617861A20522469008256E1 /* SocketIO.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 461785FE20522468008256E1 /* SocketIO.cpp */; }; 4617862120522469008256E1 /* HttpCookie.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 4617860220522468008256E1 /* HttpCookie.cpp */; }; @@ -1313,152 +1401,21 @@ /* End PBXBuildFile section */ /* Begin PBXFileReference section */ + 0418549D228D7E5700F8DF31 /* ParticleSimulator.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = ParticleSimulator.cpp; path = "../cocos/editor-support/particle/ParticleSimulator.cpp"; sourceTree = ""; }; + 0418549E228D7E5700F8DF31 /* ParticleSimulator.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = ParticleSimulator.h; path = "../cocos/editor-support/particle/ParticleSimulator.h"; sourceTree = ""; }; + 041854A3228D7E7200F8DF31 /* jsb_cocos2dx_particle_auto.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = jsb_cocos2dx_particle_auto.hpp; sourceTree = ""; }; + 041854A4228D7E7300F8DF31 /* jsb_cocos2dx_particle_auto.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = jsb_cocos2dx_particle_auto.cpp; sourceTree = ""; }; + 042058CB22A61B340092DE5D /* RenderDataList.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = RenderDataList.cpp; sourceTree = ""; }; + 042058CC22A61B340092DE5D /* RenderDataList.hpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.h; path = RenderDataList.hpp; sourceTree = ""; }; + 0431A06722CCA441003356C9 /* AssemblerSprite.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = AssemblerSprite.cpp; sourceTree = ""; }; + 0431A06822CCA441003356C9 /* AssemblerSprite.hpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.h; path = AssemblerSprite.hpp; sourceTree = ""; }; + 0431A06D22CCA7C1003356C9 /* SimpleSprite2D.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = SimpleSprite2D.cpp; sourceTree = ""; }; + 0431A06E22CCA7C1003356C9 /* SimpleSprite2D.hpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.h; path = SimpleSprite2D.hpp; sourceTree = ""; }; 04355814217EADF300B9C056 /* IOBuffer.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = IOBuffer.cpp; path = "../cocos/editor-support/IOBuffer.cpp"; sourceTree = ""; }; 04355815217EADF300B9C056 /* IOBuffer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = IOBuffer.h; path = "../cocos/editor-support/IOBuffer.h"; sourceTree = ""; }; - 044DE376227552520037572E /* VertexEffectDelegate.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; name = VertexEffectDelegate.cpp; path = "../cocos/editor-support/spine-creator-support/VertexEffectDelegate.cpp"; sourceTree = ""; }; - 044DE377227552520037572E /* VertexEffectDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = VertexEffectDelegate.h; path = "../cocos/editor-support/spine-creator-support/VertexEffectDelegate.h"; sourceTree = ""; }; - 046AA880223B4743005191A4 /* SkeletonClipping.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SkeletonClipping.h; path = "../cocos/editor-support/spine/SkeletonClipping.h"; sourceTree = ""; }; - 046AA881223B4743005191A4 /* SpineObject.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SpineObject.h; path = "../cocos/editor-support/spine/SpineObject.h"; sourceTree = ""; }; - 046AA882223B4743005191A4 /* PathConstraintData.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = PathConstraintData.h; path = "../cocos/editor-support/spine/PathConstraintData.h"; sourceTree = ""; }; - 046AA883223B4743005191A4 /* PathConstraintPositionTimeline.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = PathConstraintPositionTimeline.cpp; path = "../cocos/editor-support/spine/PathConstraintPositionTimeline.cpp"; sourceTree = ""; }; - 046AA884223B4743005191A4 /* Pool.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = Pool.h; path = "../cocos/editor-support/spine/Pool.h"; sourceTree = ""; }; - 046AA885223B4744005191A4 /* Atlas.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = Atlas.h; path = "../cocos/editor-support/spine/Atlas.h"; sourceTree = ""; }; - 046AA886223B4744005191A4 /* IkConstraintData.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = IkConstraintData.h; path = "../cocos/editor-support/spine/IkConstraintData.h"; sourceTree = ""; }; - 046AA887223B4744005191A4 /* TwoColorTimeline.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = TwoColorTimeline.h; path = "../cocos/editor-support/spine/TwoColorTimeline.h"; sourceTree = ""; }; - 046AA888223B4744005191A4 /* AttachmentTimeline.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AttachmentTimeline.h; path = "../cocos/editor-support/spine/AttachmentTimeline.h"; sourceTree = ""; }; - 046AA889223B4744005191A4 /* IkConstraintData.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = IkConstraintData.cpp; path = "../cocos/editor-support/spine/IkConstraintData.cpp"; sourceTree = ""; }; - 046AA88A223B4744005191A4 /* DrawOrderTimeline.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = DrawOrderTimeline.cpp; path = "../cocos/editor-support/spine/DrawOrderTimeline.cpp"; sourceTree = ""; }; - 046AA88B223B4744005191A4 /* Event.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = Event.cpp; path = "../cocos/editor-support/spine/Event.cpp"; sourceTree = ""; }; - 046AA88C223B4745005191A4 /* AnimationState.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = AnimationState.cpp; path = "../cocos/editor-support/spine/AnimationState.cpp"; sourceTree = ""; }; - 046AA88D223B4745005191A4 /* RotateTimeline.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = RotateTimeline.cpp; path = "../cocos/editor-support/spine/RotateTimeline.cpp"; sourceTree = ""; }; - 046AA88E223B4745005191A4 /* SpineString.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SpineString.h; path = "../cocos/editor-support/spine/SpineString.h"; sourceTree = ""; }; - 046AA88F223B4745005191A4 /* IkConstraint.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = IkConstraint.h; path = "../cocos/editor-support/spine/IkConstraint.h"; sourceTree = ""; }; - 046AA890223B4745005191A4 /* ScaleTimeline.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = ScaleTimeline.h; path = "../cocos/editor-support/spine/ScaleTimeline.h"; sourceTree = ""; }; - 046AA891223B4745005191A4 /* MixDirection.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = MixDirection.h; path = "../cocos/editor-support/spine/MixDirection.h"; sourceTree = ""; }; - 046AA892223B4746005191A4 /* EventData.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = EventData.cpp; path = "../cocos/editor-support/spine/EventData.cpp"; sourceTree = ""; }; - 046AA893223B4746005191A4 /* AttachmentTimeline.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = AttachmentTimeline.cpp; path = "../cocos/editor-support/spine/AttachmentTimeline.cpp"; sourceTree = ""; }; - 046AA894223B4746005191A4 /* CurveTimeline.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = CurveTimeline.cpp; path = "../cocos/editor-support/spine/CurveTimeline.cpp"; sourceTree = ""; }; - 046AA895223B4746005191A4 /* DeformTimeline.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = DeformTimeline.h; path = "../cocos/editor-support/spine/DeformTimeline.h"; sourceTree = ""; }; - 046AA896223B4746005191A4 /* PathConstraintData.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = PathConstraintData.cpp; path = "../cocos/editor-support/spine/PathConstraintData.cpp"; sourceTree = ""; }; - 046AA897223B4746005191A4 /* Timeline.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = Timeline.cpp; path = "../cocos/editor-support/spine/Timeline.cpp"; sourceTree = ""; }; - 046AA898223B4747005191A4 /* VertexAttachment.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = VertexAttachment.cpp; path = "../cocos/editor-support/spine/VertexAttachment.cpp"; sourceTree = ""; }; - 046AA899223B4747005191A4 /* Slot.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = Slot.h; path = "../cocos/editor-support/spine/Slot.h"; sourceTree = ""; }; - 046AA89A223B4747005191A4 /* Updatable.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = Updatable.h; path = "../cocos/editor-support/spine/Updatable.h"; sourceTree = ""; }; - 046AA89B223B4747005191A4 /* PathConstraintMixTimeline.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = PathConstraintMixTimeline.h; path = "../cocos/editor-support/spine/PathConstraintMixTimeline.h"; sourceTree = ""; }; - 046AA89C223B4747005191A4 /* Attachment.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = Attachment.cpp; path = "../cocos/editor-support/spine/Attachment.cpp"; sourceTree = ""; }; - 046AA89D223B4747005191A4 /* Skeleton.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = Skeleton.cpp; path = "../cocos/editor-support/spine/Skeleton.cpp"; sourceTree = ""; }; - 046AA89E223B4748005191A4 /* AnimationState.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AnimationState.h; path = "../cocos/editor-support/spine/AnimationState.h"; sourceTree = ""; }; - 046AA89F223B4748005191A4 /* Extension.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = Extension.h; path = "../cocos/editor-support/spine/Extension.h"; sourceTree = ""; }; - 046AA8A0223B4748005191A4 /* PathAttachment.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = PathAttachment.h; path = "../cocos/editor-support/spine/PathAttachment.h"; sourceTree = ""; }; - 046AA8A1223B4748005191A4 /* Constraint.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = Constraint.cpp; path = "../cocos/editor-support/spine/Constraint.cpp"; sourceTree = ""; }; - 046AA8A2223B4748005191A4 /* PathConstraintSpacingTimeline.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = PathConstraintSpacingTimeline.h; path = "../cocos/editor-support/spine/PathConstraintSpacingTimeline.h"; sourceTree = ""; }; - 046AA8A3223B4749005191A4 /* ColorTimeline.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = ColorTimeline.h; path = "../cocos/editor-support/spine/ColorTimeline.h"; sourceTree = ""; }; - 046AA8A4223B4749005191A4 /* PathConstraint.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = PathConstraint.h; path = "../cocos/editor-support/spine/PathConstraint.h"; sourceTree = ""; }; - 046AA8A5223B4749005191A4 /* PathConstraintSpacingTimeline.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = PathConstraintSpacingTimeline.cpp; path = "../cocos/editor-support/spine/PathConstraintSpacingTimeline.cpp"; sourceTree = ""; }; - 046AA8A6223B4749005191A4 /* TextureLoader.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = TextureLoader.h; path = "../cocos/editor-support/spine/TextureLoader.h"; sourceTree = ""; }; - 046AA8A7223B4749005191A4 /* TwoColorTimeline.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = TwoColorTimeline.cpp; path = "../cocos/editor-support/spine/TwoColorTimeline.cpp"; sourceTree = ""; }; - 046AA8A8223B474A005191A4 /* Vertices.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = Vertices.h; path = "../cocos/editor-support/spine/Vertices.h"; sourceTree = ""; }; - 046AA8A9223B474A005191A4 /* SkeletonBinary.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SkeletonBinary.h; path = "../cocos/editor-support/spine/SkeletonBinary.h"; sourceTree = ""; }; - 046AA8AA223B474A005191A4 /* LinkedMesh.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = LinkedMesh.cpp; path = "../cocos/editor-support/spine/LinkedMesh.cpp"; sourceTree = ""; }; - 046AA8AB223B474A005191A4 /* RTTI.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = RTTI.h; path = "../cocos/editor-support/spine/RTTI.h"; sourceTree = ""; }; - 046AA8AC223B474A005191A4 /* MixBlend.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = MixBlend.h; path = "../cocos/editor-support/spine/MixBlend.h"; sourceTree = ""; }; - 046AA8AD223B474B005191A4 /* BoneData.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = BoneData.h; path = "../cocos/editor-support/spine/BoneData.h"; sourceTree = ""; }; - 046AA8AE223B474B005191A4 /* TransformConstraint.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = TransformConstraint.h; path = "../cocos/editor-support/spine/TransformConstraint.h"; sourceTree = ""; }; - 046AA8AF223B474B005191A4 /* MathUtil.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = MathUtil.h; path = "../cocos/editor-support/spine/MathUtil.h"; sourceTree = ""; }; - 046AA8B0223B474B005191A4 /* SkeletonBinary.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = SkeletonBinary.cpp; path = "../cocos/editor-support/spine/SkeletonBinary.cpp"; sourceTree = ""; }; - 046AA8B1223B474C005191A4 /* Timeline.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = Timeline.h; path = "../cocos/editor-support/spine/Timeline.h"; sourceTree = ""; }; - 046AA8B2223B474C005191A4 /* TransformConstraintTimeline.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = TransformConstraintTimeline.h; path = "../cocos/editor-support/spine/TransformConstraintTimeline.h"; sourceTree = ""; }; - 046AA8B3223B474C005191A4 /* TimelineType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = TimelineType.h; path = "../cocos/editor-support/spine/TimelineType.h"; sourceTree = ""; }; - 046AA8B4223B474C005191A4 /* AtlasAttachmentLoader.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = AtlasAttachmentLoader.cpp; path = "../cocos/editor-support/spine/AtlasAttachmentLoader.cpp"; sourceTree = ""; }; - 046AA8B5223B474D005191A4 /* VertexEffect.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = VertexEffect.cpp; path = "../cocos/editor-support/spine/VertexEffect.cpp"; sourceTree = ""; }; - 046AA8B6223B474D005191A4 /* RotateMode.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = RotateMode.h; path = "../cocos/editor-support/spine/RotateMode.h"; sourceTree = ""; }; - 046AA8B7223B474D005191A4 /* SkeletonJson.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SkeletonJson.h; path = "../cocos/editor-support/spine/SkeletonJson.h"; sourceTree = ""; }; - 046AA8B8223B474D005191A4 /* AttachmentType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AttachmentType.h; path = "../cocos/editor-support/spine/AttachmentType.h"; sourceTree = ""; }; - 046AA8B9223B474E005191A4 /* Skin.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = Skin.cpp; path = "../cocos/editor-support/spine/Skin.cpp"; sourceTree = ""; }; - 046AA8BA223B474E005191A4 /* Vector.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = Vector.h; path = "../cocos/editor-support/spine/Vector.h"; sourceTree = ""; }; - 046AA8BB223B474E005191A4 /* ShearTimeline.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = ShearTimeline.cpp; path = "../cocos/editor-support/spine/ShearTimeline.cpp"; sourceTree = ""; }; - 046AA8BC223B474E005191A4 /* Bone.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = Bone.h; path = "../cocos/editor-support/spine/Bone.h"; sourceTree = ""; }; - 046AA8BD223B474F005191A4 /* TextureLoader.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = TextureLoader.cpp; path = "../cocos/editor-support/spine/TextureLoader.cpp"; sourceTree = ""; }; - 046AA8BE223B474F005191A4 /* PointAttachment.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = PointAttachment.cpp; path = "../cocos/editor-support/spine/PointAttachment.cpp"; sourceTree = ""; }; - 046AA8BF223B474F005191A4 /* EventTimeline.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = EventTimeline.cpp; path = "../cocos/editor-support/spine/EventTimeline.cpp"; sourceTree = ""; }; - 046AA8C0223B474F005191A4 /* BoneData.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = BoneData.cpp; path = "../cocos/editor-support/spine/BoneData.cpp"; sourceTree = ""; }; - 046AA8C1223B4750005191A4 /* RotateTimeline.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = RotateTimeline.h; path = "../cocos/editor-support/spine/RotateTimeline.h"; sourceTree = ""; }; - 046AA8C2223B4750005191A4 /* Json.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = Json.cpp; path = "../cocos/editor-support/spine/Json.cpp"; sourceTree = ""; }; - 046AA8C3223B4750005191A4 /* VertexAttachment.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = VertexAttachment.h; path = "../cocos/editor-support/spine/VertexAttachment.h"; sourceTree = ""; }; - 046AA8C4223B4750005191A4 /* IkConstraintTimeline.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = IkConstraintTimeline.cpp; path = "../cocos/editor-support/spine/IkConstraintTimeline.cpp"; sourceTree = ""; }; - 046AA8C5223B4751005191A4 /* Atlas.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = Atlas.cpp; path = "../cocos/editor-support/spine/Atlas.cpp"; sourceTree = ""; }; - 046AA8C6223B4751005191A4 /* dll.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = dll.h; path = "../cocos/editor-support/spine/dll.h"; sourceTree = ""; }; - 046AA8C7223B4751005191A4 /* HashMap.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = HashMap.h; path = "../cocos/editor-support/spine/HashMap.h"; sourceTree = ""; }; - 046AA8C8223B4751005191A4 /* AttachmentLoader.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = AttachmentLoader.cpp; path = "../cocos/editor-support/spine/AttachmentLoader.cpp"; sourceTree = ""; }; - 046AA8C9223B4752005191A4 /* BlendMode.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = BlendMode.h; path = "../cocos/editor-support/spine/BlendMode.h"; sourceTree = ""; }; - 046AA8CA223B4752005191A4 /* SpineObject.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = SpineObject.cpp; path = "../cocos/editor-support/spine/SpineObject.cpp"; sourceTree = ""; }; - 046AA8CB223B4752005191A4 /* TranslateTimeline.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = TranslateTimeline.cpp; path = "../cocos/editor-support/spine/TranslateTimeline.cpp"; sourceTree = ""; }; - 046AA8CC223B4752005191A4 /* SlotData.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = SlotData.cpp; path = "../cocos/editor-support/spine/SlotData.cpp"; sourceTree = ""; }; - 046AA8CD223B4753005191A4 /* spine.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = spine.h; path = "../cocos/editor-support/spine/spine.h"; sourceTree = ""; }; - 046AA8CE223B4753005191A4 /* RegionAttachment.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = RegionAttachment.cpp; path = "../cocos/editor-support/spine/RegionAttachment.cpp"; sourceTree = ""; }; - 046AA8CF223B4753005191A4 /* Extension.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = Extension.cpp; path = "../cocos/editor-support/spine/Extension.cpp"; sourceTree = ""; }; - 046AA8D0223B4753005191A4 /* VertexEffect.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = VertexEffect.h; path = "../cocos/editor-support/spine/VertexEffect.h"; sourceTree = ""; }; - 046AA8D1223B4754005191A4 /* Slot.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = Slot.cpp; path = "../cocos/editor-support/spine/Slot.cpp"; sourceTree = ""; }; - 046AA8D2223B4754005191A4 /* AnimationStateData.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AnimationStateData.h; path = "../cocos/editor-support/spine/AnimationStateData.h"; sourceTree = ""; }; - 046AA8D3223B4754005191A4 /* PositionMode.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = PositionMode.h; path = "../cocos/editor-support/spine/PositionMode.h"; sourceTree = ""; }; - 046AA8D4223B4754005191A4 /* HasRendererObject.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = HasRendererObject.h; path = "../cocos/editor-support/spine/HasRendererObject.h"; sourceTree = ""; }; - 046AA8D5223B4755005191A4 /* AttachmentLoader.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AttachmentLoader.h; path = "../cocos/editor-support/spine/AttachmentLoader.h"; sourceTree = ""; }; - 046AA8D6223B4755005191A4 /* TransformConstraint.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = TransformConstraint.cpp; path = "../cocos/editor-support/spine/TransformConstraint.cpp"; sourceTree = ""; }; - 046AA8D7223B4755005191A4 /* TransformConstraintTimeline.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = TransformConstraintTimeline.cpp; path = "../cocos/editor-support/spine/TransformConstraintTimeline.cpp"; sourceTree = ""; }; - 046AA8D8223B4755005191A4 /* DrawOrderTimeline.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = DrawOrderTimeline.h; path = "../cocos/editor-support/spine/DrawOrderTimeline.h"; sourceTree = ""; }; - 046AA8D9223B4755005191A4 /* SkeletonBounds.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SkeletonBounds.h; path = "../cocos/editor-support/spine/SkeletonBounds.h"; sourceTree = ""; }; - 046AA8DA223B4756005191A4 /* ContainerUtil.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = ContainerUtil.h; path = "../cocos/editor-support/spine/ContainerUtil.h"; sourceTree = ""; }; - 046AA8DB223B4756005191A4 /* BoundingBoxAttachment.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = BoundingBoxAttachment.cpp; path = "../cocos/editor-support/spine/BoundingBoxAttachment.cpp"; sourceTree = ""; }; - 046AA8DC223B4756005191A4 /* SkeletonJson.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = SkeletonJson.cpp; path = "../cocos/editor-support/spine/SkeletonJson.cpp"; sourceTree = ""; }; - 046AA8DD223B4756005191A4 /* SlotData.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SlotData.h; path = "../cocos/editor-support/spine/SlotData.h"; sourceTree = ""; }; - 046AA8DE223B4756005191A4 /* SpacingMode.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SpacingMode.h; path = "../cocos/editor-support/spine/SpacingMode.h"; sourceTree = ""; }; - 046AA8DF223B4757005191A4 /* Event.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = Event.h; path = "../cocos/editor-support/spine/Event.h"; sourceTree = ""; }; - 046AA8E0223B4757005191A4 /* RTTI.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = RTTI.cpp; path = "../cocos/editor-support/spine/RTTI.cpp"; sourceTree = ""; }; - 046AA8E1223B4757005191A4 /* Constraint.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = Constraint.h; path = "../cocos/editor-support/spine/Constraint.h"; sourceTree = ""; }; - 046AA8E2223B4757005191A4 /* Debug.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = Debug.h; path = "../cocos/editor-support/spine/Debug.h"; sourceTree = ""; }; - 046AA8E3223B4757005191A4 /* ClippingAttachment.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = ClippingAttachment.h; path = "../cocos/editor-support/spine/ClippingAttachment.h"; sourceTree = ""; }; - 046AA8E4223B4758005191A4 /* CurveTimeline.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = CurveTimeline.h; path = "../cocos/editor-support/spine/CurveTimeline.h"; sourceTree = ""; }; - 046AA8E5223B4758005191A4 /* SkeletonBounds.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = SkeletonBounds.cpp; path = "../cocos/editor-support/spine/SkeletonBounds.cpp"; sourceTree = ""; }; - 046AA8E6223B4758005191A4 /* TranslateTimeline.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = TranslateTimeline.h; path = "../cocos/editor-support/spine/TranslateTimeline.h"; sourceTree = ""; }; - 046AA8E7223B4758005191A4 /* Triangulator.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = Triangulator.cpp; path = "../cocos/editor-support/spine/Triangulator.cpp"; sourceTree = ""; }; - 046AA8E8223B4759005191A4 /* Animation.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = Animation.h; path = "../cocos/editor-support/spine/Animation.h"; sourceTree = ""; }; - 046AA8E9223B4759005191A4 /* TransformConstraintData.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = TransformConstraintData.h; path = "../cocos/editor-support/spine/TransformConstraintData.h"; sourceTree = ""; }; - 046AA8EA223B4759005191A4 /* PathConstraintMixTimeline.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = PathConstraintMixTimeline.cpp; path = "../cocos/editor-support/spine/PathConstraintMixTimeline.cpp"; sourceTree = ""; }; - 046AA8EB223B4759005191A4 /* PathAttachment.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = PathAttachment.cpp; path = "../cocos/editor-support/spine/PathAttachment.cpp"; sourceTree = ""; }; - 046AA8EC223B4759005191A4 /* Skin.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = Skin.h; path = "../cocos/editor-support/spine/Skin.h"; sourceTree = ""; }; - 046AA8ED223B475A005191A4 /* Color.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = Color.h; path = "../cocos/editor-support/spine/Color.h"; sourceTree = ""; }; - 046AA8EE223B475A005191A4 /* Json.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = Json.h; path = "../cocos/editor-support/spine/Json.h"; sourceTree = ""; }; - 046AA8EF223B475A005191A4 /* TransformMode.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = TransformMode.h; path = "../cocos/editor-support/spine/TransformMode.h"; sourceTree = ""; }; - 046AA8F0223B475A005191A4 /* SkeletonData.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SkeletonData.h; path = "../cocos/editor-support/spine/SkeletonData.h"; sourceTree = ""; }; - 046AA8F1223B475B005191A4 /* MathUtil.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = MathUtil.cpp; path = "../cocos/editor-support/spine/MathUtil.cpp"; sourceTree = ""; }; - 046AA8F2223B475B005191A4 /* Skeleton.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = Skeleton.h; path = "../cocos/editor-support/spine/Skeleton.h"; sourceTree = ""; }; - 046AA8F3223B475B005191A4 /* PathConstraintPositionTimeline.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = PathConstraintPositionTimeline.h; path = "../cocos/editor-support/spine/PathConstraintPositionTimeline.h"; sourceTree = ""; }; - 046AA8F4223B475B005191A4 /* AnimationStateData.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = AnimationStateData.cpp; path = "../cocos/editor-support/spine/AnimationStateData.cpp"; sourceTree = ""; }; - 046AA8F5223B475B005191A4 /* TransformConstraintData.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = TransformConstraintData.cpp; path = "../cocos/editor-support/spine/TransformConstraintData.cpp"; sourceTree = ""; }; - 046AA8F6223B475C005191A4 /* Attachment.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = Attachment.h; path = "../cocos/editor-support/spine/Attachment.h"; sourceTree = ""; }; - 046AA8F7223B475C005191A4 /* Triangulator.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = Triangulator.h; path = "../cocos/editor-support/spine/Triangulator.h"; sourceTree = ""; }; - 046AA8F8223B475C005191A4 /* EventData.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = EventData.h; path = "../cocos/editor-support/spine/EventData.h"; sourceTree = ""; }; - 046AA8F9223B475C005191A4 /* Updatable.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = Updatable.cpp; path = "../cocos/editor-support/spine/Updatable.cpp"; sourceTree = ""; }; - 046AA8FA223B475D005191A4 /* SkeletonClipping.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = SkeletonClipping.cpp; path = "../cocos/editor-support/spine/SkeletonClipping.cpp"; sourceTree = ""; }; - 046AA8FB223B475D005191A4 /* LinkedMesh.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = LinkedMesh.h; path = "../cocos/editor-support/spine/LinkedMesh.h"; sourceTree = ""; }; - 046AA8FC223B475D005191A4 /* BoundingBoxAttachment.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = BoundingBoxAttachment.h; path = "../cocos/editor-support/spine/BoundingBoxAttachment.h"; sourceTree = ""; }; - 046AA8FD223B475D005191A4 /* IkConstraint.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = IkConstraint.cpp; path = "../cocos/editor-support/spine/IkConstraint.cpp"; sourceTree = ""; }; - 046AA8FE223B475D005191A4 /* ClippingAttachment.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = ClippingAttachment.cpp; path = "../cocos/editor-support/spine/ClippingAttachment.cpp"; sourceTree = ""; }; - 046AA8FF223B475E005191A4 /* MeshAttachment.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = MeshAttachment.h; path = "../cocos/editor-support/spine/MeshAttachment.h"; sourceTree = ""; }; - 046AA900223B475E005191A4 /* PathConstraint.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = PathConstraint.cpp; path = "../cocos/editor-support/spine/PathConstraint.cpp"; sourceTree = ""; }; - 046AA901223B475E005191A4 /* DeformTimeline.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = DeformTimeline.cpp; path = "../cocos/editor-support/spine/DeformTimeline.cpp"; sourceTree = ""; }; - 046AA902223B475E005191A4 /* EventTimeline.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = EventTimeline.h; path = "../cocos/editor-support/spine/EventTimeline.h"; sourceTree = ""; }; - 046AA903223B475F005191A4 /* IkConstraintTimeline.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = IkConstraintTimeline.h; path = "../cocos/editor-support/spine/IkConstraintTimeline.h"; sourceTree = ""; }; - 046AA904223B475F005191A4 /* Animation.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = Animation.cpp; path = "../cocos/editor-support/spine/Animation.cpp"; sourceTree = ""; }; - 046AA905223B475F005191A4 /* ShearTimeline.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = ShearTimeline.h; path = "../cocos/editor-support/spine/ShearTimeline.h"; sourceTree = ""; }; - 046AA906223B475F005191A4 /* SkeletonData.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = SkeletonData.cpp; path = "../cocos/editor-support/spine/SkeletonData.cpp"; sourceTree = ""; }; - 046AA907223B4760005191A4 /* ScaleTimeline.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = ScaleTimeline.cpp; path = "../cocos/editor-support/spine/ScaleTimeline.cpp"; sourceTree = ""; }; - 046AA908223B4760005191A4 /* ColorTimeline.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = ColorTimeline.cpp; path = "../cocos/editor-support/spine/ColorTimeline.cpp"; sourceTree = ""; }; - 046AA909223B4760005191A4 /* Bone.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = Bone.cpp; path = "../cocos/editor-support/spine/Bone.cpp"; sourceTree = ""; }; - 046AA90A223B4760005191A4 /* RegionAttachment.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = RegionAttachment.h; path = "../cocos/editor-support/spine/RegionAttachment.h"; sourceTree = ""; }; - 046AA90B223B4761005191A4 /* PointAttachment.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = PointAttachment.h; path = "../cocos/editor-support/spine/PointAttachment.h"; sourceTree = ""; }; - 046AA90C223B4761005191A4 /* MeshAttachment.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = MeshAttachment.cpp; path = "../cocos/editor-support/spine/MeshAttachment.cpp"; sourceTree = ""; }; - 046AA90D223B4761005191A4 /* AtlasAttachmentLoader.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AtlasAttachmentLoader.h; path = "../cocos/editor-support/spine/AtlasAttachmentLoader.h"; sourceTree = ""; }; + 044597F322D332D700924443 /* Extension.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = Extension.h; path = "../cocos/editor-support/spine/Extension.h"; sourceTree = ""; }; + 045F672622A50A8C0033F7BD /* RenderData.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = RenderData.cpp; sourceTree = ""; }; + 045F672722A50A8C0033F7BD /* RenderData.hpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.h; path = RenderData.hpp; sourceTree = ""; }; 046B6888219FA61200B33469 /* MiddlewareManager.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; name = MiddlewareManager.cpp; path = "../cocos/editor-support/MiddlewareManager.cpp"; sourceTree = ""; }; 046B6889219FA61200B33469 /* MiddlewareManager.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = MiddlewareManager.h; path = "../cocos/editor-support/MiddlewareManager.h"; sourceTree = ""; }; 046B688E21A00F5600B33469 /* IOTypedArray.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; name = IOTypedArray.cpp; path = "../cocos/editor-support/IOTypedArray.cpp"; sourceTree = ""; }; @@ -1468,14 +1425,6 @@ 046B68A521A292D200B33469 /* jsb_spine_manual.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = jsb_spine_manual.hpp; sourceTree = ""; }; 046B68AA21A294B100B33469 /* jsb_cocos2dx_spine_auto.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = jsb_cocos2dx_spine_auto.hpp; sourceTree = ""; }; 046B68AB21A294B100B33469 /* jsb_cocos2dx_spine_auto.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = jsb_cocos2dx_spine_auto.cpp; sourceTree = ""; }; - 046E03E121804E6A00B24E2D /* SkeletonAnimation.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = SkeletonAnimation.cpp; path = "../cocos/editor-support/spine-creator-support/SkeletonAnimation.cpp"; sourceTree = ""; }; - 046E03E221804E6A00B24E2D /* SkeletonAnimation.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SkeletonAnimation.h; path = "../cocos/editor-support/spine-creator-support/SkeletonAnimation.h"; sourceTree = ""; }; - 046E03E321804E6A00B24E2D /* spine-cocos2dx.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = "spine-cocos2dx.cpp"; path = "../cocos/editor-support/spine-creator-support/spine-cocos2dx.cpp"; sourceTree = ""; }; - 046E03E421804E6A00B24E2D /* spine-cocos2dx.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = "spine-cocos2dx.h"; path = "../cocos/editor-support/spine-creator-support/spine-cocos2dx.h"; sourceTree = ""; }; - 046E03E521804E6A00B24E2D /* SkeletonRenderer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SkeletonRenderer.h; path = "../cocos/editor-support/spine-creator-support/SkeletonRenderer.h"; sourceTree = ""; }; - 046E03E621804E6A00B24E2D /* SkeletonRenderer.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = SkeletonRenderer.cpp; path = "../cocos/editor-support/spine-creator-support/SkeletonRenderer.cpp"; sourceTree = ""; }; - 046E03E721804E6A00B24E2D /* AttachmentVertices.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AttachmentVertices.h; path = "../cocos/editor-support/spine-creator-support/AttachmentVertices.h"; sourceTree = ""; }; - 046E03E821804E6A00B24E2D /* AttachmentVertices.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = AttachmentVertices.cpp; path = "../cocos/editor-support/spine-creator-support/AttachmentVertices.cpp"; sourceTree = ""; }; 046E060B2185B37000B24E2D /* CCArmatureDisplay.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = CCArmatureDisplay.h; path = "../cocos/editor-support/dragonbones-creator-support/CCArmatureDisplay.h"; sourceTree = ""; }; 046E060C2185B37000B24E2D /* CCSlot.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = CCSlot.cpp; path = "../cocos/editor-support/dragonbones-creator-support/CCSlot.cpp"; sourceTree = ""; }; 046E060D2185B37000B24E2D /* CCTextureAtlasData.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = CCTextureAtlasData.h; path = "../cocos/editor-support/dragonbones-creator-support/CCTextureAtlasData.h"; sourceTree = ""; }; @@ -1562,14 +1511,192 @@ 046E0708218B015000B24E2D /* jsb_cocos2dx_dragonbones_auto.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = jsb_cocos2dx_dragonbones_auto.hpp; sourceTree = ""; }; 046E070D218B01EF00B24E2D /* jsb_dragonbones_manual.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = jsb_dragonbones_manual.cpp; sourceTree = ""; }; 046E070E218B01EF00B24E2D /* jsb_dragonbones_manual.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = jsb_dragonbones_manual.hpp; sourceTree = ""; }; + 0482F184228D87900019ECF7 /* RenderFlow.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = RenderFlow.hpp; sourceTree = ""; }; + 0482F185228D87910019ECF7 /* ModelBatcher.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = ModelBatcher.cpp; sourceTree = ""; }; + 0482F186228D87910019ECF7 /* scene-bindings.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "scene-bindings.h"; sourceTree = ""; }; + 0482F187228D87920019ECF7 /* Assembler.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = Assembler.cpp; sourceTree = ""; }; + 0482F188228D87920019ECF7 /* NodeProxy.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = NodeProxy.cpp; sourceTree = ""; }; + 0482F189228D87920019ECF7 /* CustomAssembler.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = CustomAssembler.hpp; sourceTree = ""; }; + 0482F18A228D87920019ECF7 /* MeshBuffer.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = MeshBuffer.cpp; sourceTree = ""; }; + 0482F18B228D87930019ECF7 /* NodeProxy.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = NodeProxy.hpp; sourceTree = ""; }; + 0482F18C228D87930019ECF7 /* StencilManager.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = StencilManager.hpp; sourceTree = ""; }; + 0482F18D228D87930019ECF7 /* AssemblerBase.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = AssemblerBase.cpp; sourceTree = ""; }; + 0482F18E228D87940019ECF7 /* MaskAssembler.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = MaskAssembler.hpp; sourceTree = ""; }; + 0482F190228D87940019ECF7 /* ModelBatcher.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = ModelBatcher.hpp; sourceTree = ""; }; + 0482F191228D87950019ECF7 /* MaskAssembler.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = MaskAssembler.cpp; sourceTree = ""; }; + 0482F192228D87950019ECF7 /* RenderFlow.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = RenderFlow.cpp; sourceTree = ""; }; + 0482F193228D87950019ECF7 /* StencilManager.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = StencilManager.cpp; sourceTree = ""; }; + 0482F195228D87960019ECF7 /* MeshBuffer.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = MeshBuffer.hpp; sourceTree = ""; }; + 0482F196228D87960019ECF7 /* CustomAssembler.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = CustomAssembler.cpp; sourceTree = ""; }; + 0482F197228D87960019ECF7 /* Assembler.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = Assembler.hpp; sourceTree = ""; }; + 0482F198228D87970019ECF7 /* AssemblerBase.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = AssemblerBase.hpp; sourceTree = ""; }; + 04886B3F22CE22F2008CEB66 /* SlicedSprite2D.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = SlicedSprite2D.cpp; sourceTree = ""; }; + 04886B4022CE22F2008CEB66 /* SlicedSprite2D.hpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.h; path = SlicedSprite2D.hpp; sourceTree = ""; }; + 0494CFD222BEFC6D00B73B79 /* ParallelTask.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = ParallelTask.cpp; sourceTree = ""; }; + 0494CFD322BEFC6D00B73B79 /* ParallelTask.hpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.h; path = ParallelTask.hpp; sourceTree = ""; }; 04AF62FD219190ED00AED9DE /* TypedArrayPool.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; name = TypedArrayPool.cpp; path = "../cocos/editor-support/TypedArrayPool.cpp"; sourceTree = ""; }; 04AF62FE219190ED00AED9DE /* TypedArrayPool.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = TypedArrayPool.h; path = "../cocos/editor-support/TypedArrayPool.h"; sourceTree = ""; }; + 04DBD30922AE2D8000DBE4CD /* VertexEffectDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = VertexEffectDelegate.h; path = "../cocos/editor-support/spine-creator-support/VertexEffectDelegate.h"; sourceTree = ""; }; + 04DBD30A22AE2D8000DBE4CD /* SkeletonRenderer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SkeletonRenderer.h; path = "../cocos/editor-support/spine-creator-support/SkeletonRenderer.h"; sourceTree = ""; }; + 04DBD30B22AE2D8000DBE4CD /* AttachmentVertices.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = AttachmentVertices.cpp; path = "../cocos/editor-support/spine-creator-support/AttachmentVertices.cpp"; sourceTree = ""; }; + 04DBD30C22AE2D8000DBE4CD /* SkeletonAnimation.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = SkeletonAnimation.cpp; path = "../cocos/editor-support/spine-creator-support/SkeletonAnimation.cpp"; sourceTree = ""; }; + 04DBD30D22AE2D8100DBE4CD /* SkeletonAnimation.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SkeletonAnimation.h; path = "../cocos/editor-support/spine-creator-support/SkeletonAnimation.h"; sourceTree = ""; }; + 04DBD30E22AE2D8100DBE4CD /* AttachmentVertices.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AttachmentVertices.h; path = "../cocos/editor-support/spine-creator-support/AttachmentVertices.h"; sourceTree = ""; }; + 04DBD30F22AE2D8100DBE4CD /* VertexEffectDelegate.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = VertexEffectDelegate.cpp; path = "../cocos/editor-support/spine-creator-support/VertexEffectDelegate.cpp"; sourceTree = ""; }; + 04DBD31022AE2D8100DBE4CD /* SkeletonDataMgr.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SkeletonDataMgr.h; path = "../cocos/editor-support/spine-creator-support/SkeletonDataMgr.h"; sourceTree = ""; }; + 04DBD31122AE2D8100DBE4CD /* SkeletonRenderer.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = SkeletonRenderer.cpp; path = "../cocos/editor-support/spine-creator-support/SkeletonRenderer.cpp"; sourceTree = ""; }; + 04DBD31222AE2D8100DBE4CD /* SkeletonDataMgr.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = SkeletonDataMgr.cpp; path = "../cocos/editor-support/spine-creator-support/SkeletonDataMgr.cpp"; sourceTree = ""; }; + 04DBD31322AE2D8100DBE4CD /* spine-cocos2dx.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = "spine-cocos2dx.cpp"; path = "../cocos/editor-support/spine-creator-support/spine-cocos2dx.cpp"; sourceTree = ""; }; + 04DBD31422AE2D8100DBE4CD /* spine-cocos2dx.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = "spine-cocos2dx.h"; path = "../cocos/editor-support/spine-creator-support/spine-cocos2dx.h"; sourceTree = ""; }; + 04DBD32D22AE2DA200DBE4CD /* Pool.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = Pool.h; path = "../cocos/editor-support/spine/Pool.h"; sourceTree = ""; }; + 04DBD32E22AE2DA200DBE4CD /* Attachment.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = Attachment.h; path = "../cocos/editor-support/spine/Attachment.h"; sourceTree = ""; }; + 04DBD32F22AE2DA300DBE4CD /* AnimationStateData.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AnimationStateData.h; path = "../cocos/editor-support/spine/AnimationStateData.h"; sourceTree = ""; }; + 04DBD33022AE2DA300DBE4CD /* TextureLoader.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = TextureLoader.h; path = "../cocos/editor-support/spine/TextureLoader.h"; sourceTree = ""; }; + 04DBD33122AE2DA300DBE4CD /* VertexEffect.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = VertexEffect.cpp; path = "../cocos/editor-support/spine/VertexEffect.cpp"; sourceTree = ""; }; + 04DBD33222AE2DA300DBE4CD /* MixDirection.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = MixDirection.h; path = "../cocos/editor-support/spine/MixDirection.h"; sourceTree = ""; }; + 04DBD33322AE2DA300DBE4CD /* HasRendererObject.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = HasRendererObject.h; path = "../cocos/editor-support/spine/HasRendererObject.h"; sourceTree = ""; }; + 04DBD33422AE2DA300DBE4CD /* AtlasAttachmentLoader.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = AtlasAttachmentLoader.cpp; path = "../cocos/editor-support/spine/AtlasAttachmentLoader.cpp"; sourceTree = ""; }; + 04DBD33522AE2DA300DBE4CD /* Atlas.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = Atlas.cpp; path = "../cocos/editor-support/spine/Atlas.cpp"; sourceTree = ""; }; + 04DBD33622AE2DA300DBE4CD /* Bone.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = Bone.cpp; path = "../cocos/editor-support/spine/Bone.cpp"; sourceTree = ""; }; + 04DBD33722AE2DA300DBE4CD /* Triangulator.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = Triangulator.h; path = "../cocos/editor-support/spine/Triangulator.h"; sourceTree = ""; }; + 04DBD33822AE2DA400DBE4CD /* EventData.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = EventData.h; path = "../cocos/editor-support/spine/EventData.h"; sourceTree = ""; }; + 04DBD33922AE2DA400DBE4CD /* RotateTimeline.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = RotateTimeline.h; path = "../cocos/editor-support/spine/RotateTimeline.h"; sourceTree = ""; }; + 04DBD33A22AE2DA400DBE4CD /* ColorTimeline.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = ColorTimeline.h; path = "../cocos/editor-support/spine/ColorTimeline.h"; sourceTree = ""; }; + 04DBD33B22AE2DA400DBE4CD /* PathAttachment.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = PathAttachment.cpp; path = "../cocos/editor-support/spine/PathAttachment.cpp"; sourceTree = ""; }; + 04DBD33C22AE2DA400DBE4CD /* Constraint.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = Constraint.h; path = "../cocos/editor-support/spine/Constraint.h"; sourceTree = ""; }; + 04DBD33D22AE2DA400DBE4CD /* TranslateTimeline.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = TranslateTimeline.h; path = "../cocos/editor-support/spine/TranslateTimeline.h"; sourceTree = ""; }; + 04DBD33E22AE2DA400DBE4CD /* SkeletonData.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SkeletonData.h; path = "../cocos/editor-support/spine/SkeletonData.h"; sourceTree = ""; }; + 04DBD33F22AE2DA500DBE4CD /* RotateTimeline.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = RotateTimeline.cpp; path = "../cocos/editor-support/spine/RotateTimeline.cpp"; sourceTree = ""; }; + 04DBD34022AE2DA500DBE4CD /* AttachmentTimeline.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AttachmentTimeline.h; path = "../cocos/editor-support/spine/AttachmentTimeline.h"; sourceTree = ""; }; + 04DBD34122AE2DA500DBE4CD /* BlendMode.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = BlendMode.h; path = "../cocos/editor-support/spine/BlendMode.h"; sourceTree = ""; }; + 04DBD34222AE2DA500DBE4CD /* PointAttachment.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = PointAttachment.cpp; path = "../cocos/editor-support/spine/PointAttachment.cpp"; sourceTree = ""; }; + 04DBD34322AE2DA500DBE4CD /* PathConstraintMixTimeline.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = PathConstraintMixTimeline.h; path = "../cocos/editor-support/spine/PathConstraintMixTimeline.h"; sourceTree = ""; }; + 04DBD34422AE2DA500DBE4CD /* Debug.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = Debug.h; path = "../cocos/editor-support/spine/Debug.h"; sourceTree = ""; }; + 04DBD34522AE2DA600DBE4CD /* CurveTimeline.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = CurveTimeline.h; path = "../cocos/editor-support/spine/CurveTimeline.h"; sourceTree = ""; }; + 04DBD34622AE2DA600DBE4CD /* Timeline.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = Timeline.cpp; path = "../cocos/editor-support/spine/Timeline.cpp"; sourceTree = ""; }; + 04DBD34722AE2DA600DBE4CD /* Extension.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = Extension.cpp; path = "../cocos/editor-support/spine/Extension.cpp"; sourceTree = ""; }; + 04DBD34822AE2DA600DBE4CD /* MathUtil.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = MathUtil.h; path = "../cocos/editor-support/spine/MathUtil.h"; sourceTree = ""; }; + 04DBD34922AE2DA600DBE4CD /* TimelineType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = TimelineType.h; path = "../cocos/editor-support/spine/TimelineType.h"; sourceTree = ""; }; + 04DBD34A22AE2DA600DBE4CD /* ClippingAttachment.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = ClippingAttachment.h; path = "../cocos/editor-support/spine/ClippingAttachment.h"; sourceTree = ""; }; + 04DBD34B22AE2DA700DBE4CD /* PathConstraintMixTimeline.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = PathConstraintMixTimeline.cpp; path = "../cocos/editor-support/spine/PathConstraintMixTimeline.cpp"; sourceTree = ""; }; + 04DBD34C22AE2DA700DBE4CD /* Event.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = Event.h; path = "../cocos/editor-support/spine/Event.h"; sourceTree = ""; }; + 04DBD34D22AE2DA700DBE4CD /* Animation.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = Animation.h; path = "../cocos/editor-support/spine/Animation.h"; sourceTree = ""; }; + 04DBD34E22AE2DA700DBE4CD /* HashMap.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = HashMap.h; path = "../cocos/editor-support/spine/HashMap.h"; sourceTree = ""; }; + 04DBD34F22AE2DA700DBE4CD /* EventTimeline.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = EventTimeline.h; path = "../cocos/editor-support/spine/EventTimeline.h"; sourceTree = ""; }; + 04DBD35022AE2DA800DBE4CD /* AtlasAttachmentLoader.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AtlasAttachmentLoader.h; path = "../cocos/editor-support/spine/AtlasAttachmentLoader.h"; sourceTree = ""; }; + 04DBD35122AE2DA800DBE4CD /* Skin.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = Skin.h; path = "../cocos/editor-support/spine/Skin.h"; sourceTree = ""; }; + 04DBD35222AE2DA800DBE4CD /* BoundingBoxAttachment.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = BoundingBoxAttachment.h; path = "../cocos/editor-support/spine/BoundingBoxAttachment.h"; sourceTree = ""; }; + 04DBD35322AE2DA800DBE4CD /* SkeletonClipping.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = SkeletonClipping.cpp; path = "../cocos/editor-support/spine/SkeletonClipping.cpp"; sourceTree = ""; }; + 04DBD35422AE2DA800DBE4CD /* IkConstraintData.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = IkConstraintData.h; path = "../cocos/editor-support/spine/IkConstraintData.h"; sourceTree = ""; }; + 04DBD35522AE2DA800DBE4CD /* SpineString.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SpineString.h; path = "../cocos/editor-support/spine/SpineString.h"; sourceTree = ""; }; + 04DBD35622AE2DA900DBE4CD /* VertexAttachment.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = VertexAttachment.cpp; path = "../cocos/editor-support/spine/VertexAttachment.cpp"; sourceTree = ""; }; + 04DBD35722AE2DA900DBE4CD /* TransformConstraintTimeline.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = TransformConstraintTimeline.h; path = "../cocos/editor-support/spine/TransformConstraintTimeline.h"; sourceTree = ""; }; + 04DBD35822AE2DA900DBE4CD /* Constraint.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = Constraint.cpp; path = "../cocos/editor-support/spine/Constraint.cpp"; sourceTree = ""; }; + 04DBD35922AE2DA900DBE4CD /* Triangulator.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = Triangulator.cpp; path = "../cocos/editor-support/spine/Triangulator.cpp"; sourceTree = ""; }; + 04DBD35A22AE2DA900DBE4CD /* MathUtil.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = MathUtil.cpp; path = "../cocos/editor-support/spine/MathUtil.cpp"; sourceTree = ""; }; + 04DBD35B22AE2DAA00DBE4CD /* BoneData.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = BoneData.cpp; path = "../cocos/editor-support/spine/BoneData.cpp"; sourceTree = ""; }; + 04DBD35C22AE2DAA00DBE4CD /* IkConstraint.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = IkConstraint.cpp; path = "../cocos/editor-support/spine/IkConstraint.cpp"; sourceTree = ""; }; + 04DBD35D22AE2DAA00DBE4CD /* SlotData.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = SlotData.cpp; path = "../cocos/editor-support/spine/SlotData.cpp"; sourceTree = ""; }; + 04DBD35E22AE2DAA00DBE4CD /* TextureLoader.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = TextureLoader.cpp; path = "../cocos/editor-support/spine/TextureLoader.cpp"; sourceTree = ""; }; + 04DBD35F22AE2DAA00DBE4CD /* Animation.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = Animation.cpp; path = "../cocos/editor-support/spine/Animation.cpp"; sourceTree = ""; }; + 04DBD36022AE2DAB00DBE4CD /* SkeletonData.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = SkeletonData.cpp; path = "../cocos/editor-support/spine/SkeletonData.cpp"; sourceTree = ""; }; + 04DBD36122AE2DAB00DBE4CD /* SlotData.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SlotData.h; path = "../cocos/editor-support/spine/SlotData.h"; sourceTree = ""; }; + 04DBD36222AE2DAB00DBE4CD /* PathConstraint.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = PathConstraint.cpp; path = "../cocos/editor-support/spine/PathConstraint.cpp"; sourceTree = ""; }; + 04DBD36322AE2DAB00DBE4CD /* VertexEffect.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = VertexEffect.h; path = "../cocos/editor-support/spine/VertexEffect.h"; sourceTree = ""; }; + 04DBD36422AE2DAC00DBE4CD /* RegionAttachment.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = RegionAttachment.cpp; path = "../cocos/editor-support/spine/RegionAttachment.cpp"; sourceTree = ""; }; + 04DBD36522AE2DAC00DBE4CD /* IkConstraintData.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = IkConstraintData.cpp; path = "../cocos/editor-support/spine/IkConstraintData.cpp"; sourceTree = ""; }; + 04DBD36622AE2DAC00DBE4CD /* PathConstraintSpacingTimeline.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = PathConstraintSpacingTimeline.h; path = "../cocos/editor-support/spine/PathConstraintSpacingTimeline.h"; sourceTree = ""; }; + 04DBD36722AE2DAC00DBE4CD /* Json.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = Json.cpp; path = "../cocos/editor-support/spine/Json.cpp"; sourceTree = ""; }; + 04DBD36822AE2DAC00DBE4CD /* Color.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = Color.h; path = "../cocos/editor-support/spine/Color.h"; sourceTree = ""; }; + 04DBD36922AE2DAD00DBE4CD /* Skin.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = Skin.cpp; path = "../cocos/editor-support/spine/Skin.cpp"; sourceTree = ""; }; + 04DBD36A22AE2DAD00DBE4CD /* RotateMode.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = RotateMode.h; path = "../cocos/editor-support/spine/RotateMode.h"; sourceTree = ""; }; + 04DBD36B22AE2DAD00DBE4CD /* TranslateTimeline.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = TranslateTimeline.cpp; path = "../cocos/editor-support/spine/TranslateTimeline.cpp"; sourceTree = ""; }; + 04DBD36C22AE2DAD00DBE4CD /* Updatable.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = Updatable.h; path = "../cocos/editor-support/spine/Updatable.h"; sourceTree = ""; }; + 04DBD36D22AE2DAD00DBE4CD /* TransformConstraint.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = TransformConstraint.cpp; path = "../cocos/editor-support/spine/TransformConstraint.cpp"; sourceTree = ""; }; + 04DBD36E22AE2DAE00DBE4CD /* SkeletonBinary.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SkeletonBinary.h; path = "../cocos/editor-support/spine/SkeletonBinary.h"; sourceTree = ""; }; + 04DBD36F22AE2DAE00DBE4CD /* DrawOrderTimeline.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = DrawOrderTimeline.cpp; path = "../cocos/editor-support/spine/DrawOrderTimeline.cpp"; sourceTree = ""; }; + 04DBD37022AE2DAE00DBE4CD /* PathAttachment.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = PathAttachment.h; path = "../cocos/editor-support/spine/PathAttachment.h"; sourceTree = ""; }; + 04DBD37122AE2DAE00DBE4CD /* PathConstraint.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = PathConstraint.h; path = "../cocos/editor-support/spine/PathConstraint.h"; sourceTree = ""; }; + 04DBD37222AE2DAE00DBE4CD /* AnimationState.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = AnimationState.cpp; path = "../cocos/editor-support/spine/AnimationState.cpp"; sourceTree = ""; }; + 04DBD37322AE2DAF00DBE4CD /* Skeleton.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = Skeleton.cpp; path = "../cocos/editor-support/spine/Skeleton.cpp"; sourceTree = ""; }; + 04DBD37422AE2DAF00DBE4CD /* DrawOrderTimeline.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = DrawOrderTimeline.h; path = "../cocos/editor-support/spine/DrawOrderTimeline.h"; sourceTree = ""; }; + 04DBD37522AE2DAF00DBE4CD /* IkConstraintTimeline.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = IkConstraintTimeline.h; path = "../cocos/editor-support/spine/IkConstraintTimeline.h"; sourceTree = ""; }; + 04DBD37622AE2DAF00DBE4CD /* SpacingMode.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SpacingMode.h; path = "../cocos/editor-support/spine/SpacingMode.h"; sourceTree = ""; }; + 04DBD37722AE2DAF00DBE4CD /* Json.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = Json.h; path = "../cocos/editor-support/spine/Json.h"; sourceTree = ""; }; + 04DBD37822AE2DAF00DBE4CD /* AnimationStateData.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = AnimationStateData.cpp; path = "../cocos/editor-support/spine/AnimationStateData.cpp"; sourceTree = ""; }; + 04DBD37922AE2DB000DBE4CD /* TransformConstraintTimeline.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = TransformConstraintTimeline.cpp; path = "../cocos/editor-support/spine/TransformConstraintTimeline.cpp"; sourceTree = ""; }; + 04DBD37A22AE2DB000DBE4CD /* Vertices.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = Vertices.h; path = "../cocos/editor-support/spine/Vertices.h"; sourceTree = ""; }; + 04DBD37B22AE2DB000DBE4CD /* AttachmentLoader.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AttachmentLoader.h; path = "../cocos/editor-support/spine/AttachmentLoader.h"; sourceTree = ""; }; + 04DBD37C22AE2DB000DBE4CD /* PointAttachment.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = PointAttachment.h; path = "../cocos/editor-support/spine/PointAttachment.h"; sourceTree = ""; }; + 04DBD37D22AE2DB000DBE4CD /* Timeline.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = Timeline.h; path = "../cocos/editor-support/spine/Timeline.h"; sourceTree = ""; }; + 04DBD37E22AE2DB100DBE4CD /* SkeletonBinary.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = SkeletonBinary.cpp; path = "../cocos/editor-support/spine/SkeletonBinary.cpp"; sourceTree = ""; }; + 04DBD37F22AE2DB100DBE4CD /* Event.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = Event.cpp; path = "../cocos/editor-support/spine/Event.cpp"; sourceTree = ""; }; + 04DBD38022AE2DB100DBE4CD /* TwoColorTimeline.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = TwoColorTimeline.h; path = "../cocos/editor-support/spine/TwoColorTimeline.h"; sourceTree = ""; }; + 04DBD38122AE2DB100DBE4CD /* PathConstraintData.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = PathConstraintData.cpp; path = "../cocos/editor-support/spine/PathConstraintData.cpp"; sourceTree = ""; }; + 04DBD38222AE2DB100DBE4CD /* ScaleTimeline.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = ScaleTimeline.h; path = "../cocos/editor-support/spine/ScaleTimeline.h"; sourceTree = ""; }; + 04DBD38322AE2DB200DBE4CD /* TransformConstraintData.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = TransformConstraintData.h; path = "../cocos/editor-support/spine/TransformConstraintData.h"; sourceTree = ""; }; + 04DBD38422AE2DB200DBE4CD /* ShearTimeline.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = ShearTimeline.cpp; path = "../cocos/editor-support/spine/ShearTimeline.cpp"; sourceTree = ""; }; + 04DBD38522AE2DB200DBE4CD /* AttachmentTimeline.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = AttachmentTimeline.cpp; path = "../cocos/editor-support/spine/AttachmentTimeline.cpp"; sourceTree = ""; }; + 04DBD38622AE2DB200DBE4CD /* ScaleTimeline.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = ScaleTimeline.cpp; path = "../cocos/editor-support/spine/ScaleTimeline.cpp"; sourceTree = ""; }; + 04DBD38722AE2DB200DBE4CD /* TransformConstraintData.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = TransformConstraintData.cpp; path = "../cocos/editor-support/spine/TransformConstraintData.cpp"; sourceTree = ""; }; + 04DBD38822AE2DB300DBE4CD /* Bone.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = Bone.h; path = "../cocos/editor-support/spine/Bone.h"; sourceTree = ""; }; + 04DBD38922AE2DB300DBE4CD /* AttachmentType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AttachmentType.h; path = "../cocos/editor-support/spine/AttachmentType.h"; sourceTree = ""; }; + 04DBD38A22AE2DB300DBE4CD /* MeshAttachment.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = MeshAttachment.h; path = "../cocos/editor-support/spine/MeshAttachment.h"; sourceTree = ""; }; + 04DBD38B22AE2DB300DBE4CD /* Atlas.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = Atlas.h; path = "../cocos/editor-support/spine/Atlas.h"; sourceTree = ""; }; + 04DBD38C22AE2DB300DBE4CD /* PositionMode.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = PositionMode.h; path = "../cocos/editor-support/spine/PositionMode.h"; sourceTree = ""; }; + 04DBD38D22AE2DB400DBE4CD /* AnimationState.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AnimationState.h; path = "../cocos/editor-support/spine/AnimationState.h"; sourceTree = ""; }; + 04DBD38E22AE2DB400DBE4CD /* DeformTimeline.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = DeformTimeline.cpp; path = "../cocos/editor-support/spine/DeformTimeline.cpp"; sourceTree = ""; }; + 04DBD38F22AE2DB400DBE4CD /* PathConstraintSpacingTimeline.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = PathConstraintSpacingTimeline.cpp; path = "../cocos/editor-support/spine/PathConstraintSpacingTimeline.cpp"; sourceTree = ""; }; + 04DBD39022AE2DB400DBE4CD /* PathConstraintPositionTimeline.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = PathConstraintPositionTimeline.h; path = "../cocos/editor-support/spine/PathConstraintPositionTimeline.h"; sourceTree = ""; }; + 04DBD39122AE2DB400DBE4CD /* PathConstraintData.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = PathConstraintData.h; path = "../cocos/editor-support/spine/PathConstraintData.h"; sourceTree = ""; }; + 04DBD39222AE2DB500DBE4CD /* EventTimeline.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = EventTimeline.cpp; path = "../cocos/editor-support/spine/EventTimeline.cpp"; sourceTree = ""; }; + 04DBD39322AE2DB500DBE4CD /* MixBlend.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = MixBlend.h; path = "../cocos/editor-support/spine/MixBlend.h"; sourceTree = ""; }; + 04DBD39422AE2DB500DBE4CD /* IkConstraintTimeline.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = IkConstraintTimeline.cpp; path = "../cocos/editor-support/spine/IkConstraintTimeline.cpp"; sourceTree = ""; }; + 04DBD39522AE2DB500DBE4CD /* CurveTimeline.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = CurveTimeline.cpp; path = "../cocos/editor-support/spine/CurveTimeline.cpp"; sourceTree = ""; }; + 04DBD39622AE2DB500DBE4CD /* Slot.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = Slot.h; path = "../cocos/editor-support/spine/Slot.h"; sourceTree = ""; }; + 04DBD39722AE2DB600DBE4CD /* Vector.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = Vector.h; path = "../cocos/editor-support/spine/Vector.h"; sourceTree = ""; }; + 04DBD39822AE2DB600DBE4CD /* ShearTimeline.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = ShearTimeline.h; path = "../cocos/editor-support/spine/ShearTimeline.h"; sourceTree = ""; }; + 04DBD39922AE2DB600DBE4CD /* SkeletonJson.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SkeletonJson.h; path = "../cocos/editor-support/spine/SkeletonJson.h"; sourceTree = ""; }; + 04DBD39A22AE2DB600DBE4CD /* SpineObject.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SpineObject.h; path = "../cocos/editor-support/spine/SpineObject.h"; sourceTree = ""; }; + 04DBD39C22AE2DB700DBE4CD /* TransformMode.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = TransformMode.h; path = "../cocos/editor-support/spine/TransformMode.h"; sourceTree = ""; }; + 04DBD39D22AE2DB700DBE4CD /* EventData.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = EventData.cpp; path = "../cocos/editor-support/spine/EventData.cpp"; sourceTree = ""; }; + 04DBD39E22AE2DB700DBE4CD /* SkeletonJson.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = SkeletonJson.cpp; path = "../cocos/editor-support/spine/SkeletonJson.cpp"; sourceTree = ""; }; + 04DBD39F22AE2DB700DBE4CD /* ColorTimeline.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = ColorTimeline.cpp; path = "../cocos/editor-support/spine/ColorTimeline.cpp"; sourceTree = ""; }; + 04DBD3A022AE2DB700DBE4CD /* Attachment.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = Attachment.cpp; path = "../cocos/editor-support/spine/Attachment.cpp"; sourceTree = ""; }; + 04DBD3A122AE2DB800DBE4CD /* AttachmentLoader.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = AttachmentLoader.cpp; path = "../cocos/editor-support/spine/AttachmentLoader.cpp"; sourceTree = ""; }; + 04DBD3A222AE2DB800DBE4CD /* LinkedMesh.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = LinkedMesh.cpp; path = "../cocos/editor-support/spine/LinkedMesh.cpp"; sourceTree = ""; }; + 04DBD3A322AE2DB800DBE4CD /* RegionAttachment.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = RegionAttachment.h; path = "../cocos/editor-support/spine/RegionAttachment.h"; sourceTree = ""; }; + 04DBD3A422AE2DB800DBE4CD /* SpineObject.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = SpineObject.cpp; path = "../cocos/editor-support/spine/SpineObject.cpp"; sourceTree = ""; }; + 04DBD3A522AE2DB800DBE4CD /* Slot.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = Slot.cpp; path = "../cocos/editor-support/spine/Slot.cpp"; sourceTree = ""; }; + 04DBD3A622AE2DB800DBE4CD /* BoundingBoxAttachment.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = BoundingBoxAttachment.cpp; path = "../cocos/editor-support/spine/BoundingBoxAttachment.cpp"; sourceTree = ""; }; + 04DBD3A722AE2DB900DBE4CD /* MeshAttachment.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = MeshAttachment.cpp; path = "../cocos/editor-support/spine/MeshAttachment.cpp"; sourceTree = ""; }; + 04DBD3A822AE2DB900DBE4CD /* TwoColorTimeline.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = TwoColorTimeline.cpp; path = "../cocos/editor-support/spine/TwoColorTimeline.cpp"; sourceTree = ""; }; + 04DBD3A922AE2DB900DBE4CD /* ContainerUtil.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = ContainerUtil.h; path = "../cocos/editor-support/spine/ContainerUtil.h"; sourceTree = ""; }; + 04DBD3AA22AE2DB900DBE4CD /* RTTI.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = RTTI.cpp; path = "../cocos/editor-support/spine/RTTI.cpp"; sourceTree = ""; }; + 04DBD3AB22AE2DB900DBE4CD /* SkeletonBounds.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = SkeletonBounds.cpp; path = "../cocos/editor-support/spine/SkeletonBounds.cpp"; sourceTree = ""; }; + 04DBD3AC22AE2DBA00DBE4CD /* Skeleton.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = Skeleton.h; path = "../cocos/editor-support/spine/Skeleton.h"; sourceTree = ""; }; + 04DBD3AD22AE2DBA00DBE4CD /* PathConstraintPositionTimeline.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = PathConstraintPositionTimeline.cpp; path = "../cocos/editor-support/spine/PathConstraintPositionTimeline.cpp"; sourceTree = ""; }; + 04DBD3AE22AE2DBA00DBE4CD /* spine.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = spine.h; path = "../cocos/editor-support/spine/spine.h"; sourceTree = ""; }; + 04DBD3AF22AE2DBA00DBE4CD /* DeformTimeline.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = DeformTimeline.h; path = "../cocos/editor-support/spine/DeformTimeline.h"; sourceTree = ""; }; + 04DBD3B022AE2DBA00DBE4CD /* Updatable.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = Updatable.cpp; path = "../cocos/editor-support/spine/Updatable.cpp"; sourceTree = ""; }; + 04DBD3B122AE2DBB00DBE4CD /* BoneData.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = BoneData.h; path = "../cocos/editor-support/spine/BoneData.h"; sourceTree = ""; }; + 04DBD3B222AE2DBB00DBE4CD /* dll.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = dll.h; path = "../cocos/editor-support/spine/dll.h"; sourceTree = ""; }; + 04DBD3B322AE2DBB00DBE4CD /* SkeletonBounds.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SkeletonBounds.h; path = "../cocos/editor-support/spine/SkeletonBounds.h"; sourceTree = ""; }; + 04DBD3B422AE2DBB00DBE4CD /* TransformConstraint.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = TransformConstraint.h; path = "../cocos/editor-support/spine/TransformConstraint.h"; sourceTree = ""; }; + 04DBD3B522AE2DBB00DBE4CD /* VertexAttachment.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = VertexAttachment.h; path = "../cocos/editor-support/spine/VertexAttachment.h"; sourceTree = ""; }; + 04DBD3B622AE2DBC00DBE4CD /* ClippingAttachment.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = ClippingAttachment.cpp; path = "../cocos/editor-support/spine/ClippingAttachment.cpp"; sourceTree = ""; }; + 04DBD3B722AE2DBC00DBE4CD /* SkeletonClipping.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SkeletonClipping.h; path = "../cocos/editor-support/spine/SkeletonClipping.h"; sourceTree = ""; }; + 04DBD3B822AE2DBC00DBE4CD /* LinkedMesh.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = LinkedMesh.h; path = "../cocos/editor-support/spine/LinkedMesh.h"; sourceTree = ""; }; + 04DBD3B922AE2DBC00DBE4CD /* RTTI.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = RTTI.h; path = "../cocos/editor-support/spine/RTTI.h"; sourceTree = ""; }; + 04DBD3BA22AE2DBC00DBE4CD /* IkConstraint.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = IkConstraint.h; path = "../cocos/editor-support/spine/IkConstraint.h"; sourceTree = ""; }; + 04DBD4D922B51EA300DBE4CD /* MemPool.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = MemPool.cpp; sourceTree = ""; }; + 04DBD4DA22B51EA300DBE4CD /* MemPool.hpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.h; path = MemPool.hpp; sourceTree = ""; }; + 04DBD4DF22B51EB300DBE4CD /* NodeMemPool.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = NodeMemPool.cpp; sourceTree = ""; }; + 04DBD4E022B51EB300DBE4CD /* NodeMemPool.hpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.h; path = NodeMemPool.hpp; sourceTree = ""; }; 04ED68D621F8188F006E82F8 /* MeshBuffer.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; name = MeshBuffer.cpp; path = "../cocos/editor-support/MeshBuffer.cpp"; sourceTree = ""; }; 04ED68D721F8188F006E82F8 /* MeshBuffer.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = MeshBuffer.h; path = "../cocos/editor-support/MeshBuffer.h"; sourceTree = ""; }; - 04F49F3F222A777C00E5CAF1 /* SkeletonDataMgr.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; name = SkeletonDataMgr.cpp; path = "../cocos/editor-support/spine-creator-support/SkeletonDataMgr.cpp"; sourceTree = ""; }; - 04F49F40222A777C00E5CAF1 /* SkeletonDataMgr.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = SkeletonDataMgr.h; path = "../cocos/editor-support/spine-creator-support/SkeletonDataMgr.h"; sourceTree = ""; }; - 04F49F4B222B80C400E5CAF1 /* RenderInfoMgr.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = RenderInfoMgr.cpp; path = "../cocos/editor-support/RenderInfoMgr.cpp"; sourceTree = ""; }; - 04F49F4C222B80C400E5CAF1 /* RenderInfoMgr.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = RenderInfoMgr.h; path = "../cocos/editor-support/RenderInfoMgr.h"; sourceTree = ""; }; + 04F8563222ABCB9900063A20 /* TiledMapAssembler.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = TiledMapAssembler.cpp; sourceTree = ""; }; + 04F8563322ABCB9900063A20 /* TiledMapAssembler.hpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.h; path = TiledMapAssembler.hpp; sourceTree = ""; }; 051C016F21E2F85C00D4A347 /* CCModuleConfigIOS.debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = CCModuleConfigIOS.debug.xcconfig; sourceTree = ""; }; 051C017021E2F85C00D4A347 /* CCModuleConfigIOS.release.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = CCModuleConfigIOS.release.xcconfig; sourceTree = ""; }; 051C017121E2F86900D4A347 /* CCModuleConfigMac.release.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = CCModuleConfigMac.release.xcconfig; sourceTree = ""; }; @@ -1720,6 +1847,11 @@ 40F373D921B67A7D0083E4E7 /* libv8_snapshot.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libv8_snapshot.a; path = ../external/mac/libs/libv8_snapshot.a; sourceTree = ""; }; 40FF7A9E216B29CB00E73029 /* VideoPlayer-ios.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = "VideoPlayer-ios.mm"; sourceTree = ""; }; 40FF7A9F216B29CB00E73029 /* VideoPlayer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = VideoPlayer.h; sourceTree = ""; }; + 4233799C22BB43B900E5D8A2 /* RecyclePool.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = RecyclePool.hpp; sourceTree = ""; }; + 423379A122BB8DEA00E5D8A2 /* CustomProperties.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = CustomProperties.cpp; sourceTree = ""; }; + 423379A222BB8DEA00E5D8A2 /* CustomProperties.hpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.h; path = CustomProperties.hpp; sourceTree = ""; }; + 425D3FEF22D86BEF00BCED11 /* Mat3.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = Mat3.cpp; sourceTree = ""; }; + 425D3FF022D86BEF00BCED11 /* Mat3.hpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.h; path = Mat3.hpp; sourceTree = ""; }; 461785FE20522468008256E1 /* SocketIO.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = SocketIO.cpp; sourceTree = ""; }; 4617860220522468008256E1 /* HttpCookie.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = HttpCookie.cpp; sourceTree = ""; }; 4617860420522469008256E1 /* CCIDownloaderImpl.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCIDownloaderImpl.h; sourceTree = ""; }; @@ -2089,9 +2221,19 @@ /* End PBXFrameworksBuildPhase section */ /* Begin PBXGroup section */ + 0418549C228D7E4500F8DF31 /* particle */ = { + isa = PBXGroup; + children = ( + 0418549D228D7E5700F8DF31 /* ParticleSimulator.cpp */, + 0418549E228D7E5700F8DF31 /* ParticleSimulator.h */, + ); + name = particle; + sourceTree = ""; + }; 04355811217EADAC00B9C056 /* editor-support */ = { isa = PBXGroup; children = ( + 0418549C228D7E4500F8DF31 /* particle */, 046E040B2181A9BE00B24E2D /* dragonbones-creator-support */, 046E040321806AD400B24E2D /* dragonbones */, 046E03DE2180456A00B24E2D /* spine-creator-support */, @@ -2109,8 +2251,6 @@ 046B689421A10D5800B33469 /* MiddlewareMacro.h */, 04ED68D621F8188F006E82F8 /* MeshBuffer.cpp */, 04ED68D721F8188F006E82F8 /* MeshBuffer.h */, - 04F49F4B222B80C400E5CAF1 /* RenderInfoMgr.cpp */, - 04F49F4C222B80C400E5CAF1 /* RenderInfoMgr.h */, ); name = "editor-support"; sourceTree = ""; @@ -2118,148 +2258,148 @@ 04355812217EADB900B9C056 /* spine */ = { isa = PBXGroup; children = ( - 046AA904223B475F005191A4 /* Animation.cpp */, - 046AA8E8223B4759005191A4 /* Animation.h */, - 046AA88C223B4745005191A4 /* AnimationState.cpp */, - 046AA89E223B4748005191A4 /* AnimationState.h */, - 046AA8F4223B475B005191A4 /* AnimationStateData.cpp */, - 046AA8D2223B4754005191A4 /* AnimationStateData.h */, - 046AA8C5223B4751005191A4 /* Atlas.cpp */, - 046AA885223B4744005191A4 /* Atlas.h */, - 046AA8B4223B474C005191A4 /* AtlasAttachmentLoader.cpp */, - 046AA90D223B4761005191A4 /* AtlasAttachmentLoader.h */, - 046AA89C223B4747005191A4 /* Attachment.cpp */, - 046AA8F6223B475C005191A4 /* Attachment.h */, - 046AA8C8223B4751005191A4 /* AttachmentLoader.cpp */, - 046AA8D5223B4755005191A4 /* AttachmentLoader.h */, - 046AA893223B4746005191A4 /* AttachmentTimeline.cpp */, - 046AA888223B4744005191A4 /* AttachmentTimeline.h */, - 046AA8B8223B474D005191A4 /* AttachmentType.h */, - 046AA8C9223B4752005191A4 /* BlendMode.h */, - 046AA909223B4760005191A4 /* Bone.cpp */, - 046AA8BC223B474E005191A4 /* Bone.h */, - 046AA8C0223B474F005191A4 /* BoneData.cpp */, - 046AA8AD223B474B005191A4 /* BoneData.h */, - 046AA8DB223B4756005191A4 /* BoundingBoxAttachment.cpp */, - 046AA8FC223B475D005191A4 /* BoundingBoxAttachment.h */, - 046AA8FE223B475D005191A4 /* ClippingAttachment.cpp */, - 046AA8E3223B4757005191A4 /* ClippingAttachment.h */, - 046AA8ED223B475A005191A4 /* Color.h */, - 046AA908223B4760005191A4 /* ColorTimeline.cpp */, - 046AA8A3223B4749005191A4 /* ColorTimeline.h */, - 046AA8A1223B4748005191A4 /* Constraint.cpp */, - 046AA8E1223B4757005191A4 /* Constraint.h */, - 046AA8DA223B4756005191A4 /* ContainerUtil.h */, - 046AA894223B4746005191A4 /* CurveTimeline.cpp */, - 046AA8E4223B4758005191A4 /* CurveTimeline.h */, - 046AA8E2223B4757005191A4 /* Debug.h */, - 046AA901223B475E005191A4 /* DeformTimeline.cpp */, - 046AA895223B4746005191A4 /* DeformTimeline.h */, - 046AA8C6223B4751005191A4 /* dll.h */, - 046AA88A223B4744005191A4 /* DrawOrderTimeline.cpp */, - 046AA8D8223B4755005191A4 /* DrawOrderTimeline.h */, - 046AA88B223B4744005191A4 /* Event.cpp */, - 046AA8DF223B4757005191A4 /* Event.h */, - 046AA892223B4746005191A4 /* EventData.cpp */, - 046AA8F8223B475C005191A4 /* EventData.h */, - 046AA8BF223B474F005191A4 /* EventTimeline.cpp */, - 046AA902223B475E005191A4 /* EventTimeline.h */, - 046AA8CF223B4753005191A4 /* Extension.cpp */, - 046AA89F223B4748005191A4 /* Extension.h */, - 046AA8C7223B4751005191A4 /* HashMap.h */, - 046AA8D4223B4754005191A4 /* HasRendererObject.h */, - 046AA8FD223B475D005191A4 /* IkConstraint.cpp */, - 046AA88F223B4745005191A4 /* IkConstraint.h */, - 046AA889223B4744005191A4 /* IkConstraintData.cpp */, - 046AA886223B4744005191A4 /* IkConstraintData.h */, - 046AA8C4223B4750005191A4 /* IkConstraintTimeline.cpp */, - 046AA903223B475F005191A4 /* IkConstraintTimeline.h */, - 046AA8C2223B4750005191A4 /* Json.cpp */, - 046AA8EE223B475A005191A4 /* Json.h */, - 046AA8AA223B474A005191A4 /* LinkedMesh.cpp */, - 046AA8FB223B475D005191A4 /* LinkedMesh.h */, - 046AA8F1223B475B005191A4 /* MathUtil.cpp */, - 046AA8AF223B474B005191A4 /* MathUtil.h */, - 046AA90C223B4761005191A4 /* MeshAttachment.cpp */, - 046AA8FF223B475E005191A4 /* MeshAttachment.h */, - 046AA8AC223B474A005191A4 /* MixBlend.h */, - 046AA891223B4745005191A4 /* MixDirection.h */, - 046AA8EB223B4759005191A4 /* PathAttachment.cpp */, - 046AA8A0223B4748005191A4 /* PathAttachment.h */, - 046AA900223B475E005191A4 /* PathConstraint.cpp */, - 046AA8A4223B4749005191A4 /* PathConstraint.h */, - 046AA896223B4746005191A4 /* PathConstraintData.cpp */, - 046AA882223B4743005191A4 /* PathConstraintData.h */, - 046AA8EA223B4759005191A4 /* PathConstraintMixTimeline.cpp */, - 046AA89B223B4747005191A4 /* PathConstraintMixTimeline.h */, - 046AA883223B4743005191A4 /* PathConstraintPositionTimeline.cpp */, - 046AA8F3223B475B005191A4 /* PathConstraintPositionTimeline.h */, - 046AA8A5223B4749005191A4 /* PathConstraintSpacingTimeline.cpp */, - 046AA8A2223B4748005191A4 /* PathConstraintSpacingTimeline.h */, - 046AA8BE223B474F005191A4 /* PointAttachment.cpp */, - 046AA90B223B4761005191A4 /* PointAttachment.h */, - 046AA884223B4743005191A4 /* Pool.h */, - 046AA8D3223B4754005191A4 /* PositionMode.h */, - 046AA8CE223B4753005191A4 /* RegionAttachment.cpp */, - 046AA90A223B4760005191A4 /* RegionAttachment.h */, - 046AA8B6223B474D005191A4 /* RotateMode.h */, - 046AA88D223B4745005191A4 /* RotateTimeline.cpp */, - 046AA8C1223B4750005191A4 /* RotateTimeline.h */, - 046AA8E0223B4757005191A4 /* RTTI.cpp */, - 046AA8AB223B474A005191A4 /* RTTI.h */, - 046AA907223B4760005191A4 /* ScaleTimeline.cpp */, - 046AA890223B4745005191A4 /* ScaleTimeline.h */, - 046AA8BB223B474E005191A4 /* ShearTimeline.cpp */, - 046AA905223B475F005191A4 /* ShearTimeline.h */, - 046AA89D223B4747005191A4 /* Skeleton.cpp */, - 046AA8F2223B475B005191A4 /* Skeleton.h */, - 046AA8B0223B474B005191A4 /* SkeletonBinary.cpp */, - 046AA8A9223B474A005191A4 /* SkeletonBinary.h */, - 046AA8E5223B4758005191A4 /* SkeletonBounds.cpp */, - 046AA8D9223B4755005191A4 /* SkeletonBounds.h */, - 046AA8FA223B475D005191A4 /* SkeletonClipping.cpp */, - 046AA880223B4743005191A4 /* SkeletonClipping.h */, - 046AA906223B475F005191A4 /* SkeletonData.cpp */, - 046AA8F0223B475A005191A4 /* SkeletonData.h */, - 046AA8DC223B4756005191A4 /* SkeletonJson.cpp */, - 046AA8B7223B474D005191A4 /* SkeletonJson.h */, - 046AA8B9223B474E005191A4 /* Skin.cpp */, - 046AA8EC223B4759005191A4 /* Skin.h */, - 046AA8D1223B4754005191A4 /* Slot.cpp */, - 046AA899223B4747005191A4 /* Slot.h */, - 046AA8CC223B4752005191A4 /* SlotData.cpp */, - 046AA8DD223B4756005191A4 /* SlotData.h */, - 046AA8DE223B4756005191A4 /* SpacingMode.h */, - 046AA8CD223B4753005191A4 /* spine.h */, - 046AA8CA223B4752005191A4 /* SpineObject.cpp */, - 046AA881223B4743005191A4 /* SpineObject.h */, - 046AA88E223B4745005191A4 /* SpineString.h */, - 046AA8BD223B474F005191A4 /* TextureLoader.cpp */, - 046AA8A6223B4749005191A4 /* TextureLoader.h */, - 046AA897223B4746005191A4 /* Timeline.cpp */, - 046AA8B1223B474C005191A4 /* Timeline.h */, - 046AA8B3223B474C005191A4 /* TimelineType.h */, - 046AA8D6223B4755005191A4 /* TransformConstraint.cpp */, - 046AA8AE223B474B005191A4 /* TransformConstraint.h */, - 046AA8F5223B475B005191A4 /* TransformConstraintData.cpp */, - 046AA8E9223B4759005191A4 /* TransformConstraintData.h */, - 046AA8D7223B4755005191A4 /* TransformConstraintTimeline.cpp */, - 046AA8B2223B474C005191A4 /* TransformConstraintTimeline.h */, - 046AA8EF223B475A005191A4 /* TransformMode.h */, - 046AA8CB223B4752005191A4 /* TranslateTimeline.cpp */, - 046AA8E6223B4758005191A4 /* TranslateTimeline.h */, - 046AA8E7223B4758005191A4 /* Triangulator.cpp */, - 046AA8F7223B475C005191A4 /* Triangulator.h */, - 046AA8A7223B4749005191A4 /* TwoColorTimeline.cpp */, - 046AA887223B4744005191A4 /* TwoColorTimeline.h */, - 046AA8F9223B475C005191A4 /* Updatable.cpp */, - 046AA89A223B4747005191A4 /* Updatable.h */, - 046AA8BA223B474E005191A4 /* Vector.h */, - 046AA898223B4747005191A4 /* VertexAttachment.cpp */, - 046AA8C3223B4750005191A4 /* VertexAttachment.h */, - 046AA8B5223B474D005191A4 /* VertexEffect.cpp */, - 046AA8D0223B4753005191A4 /* VertexEffect.h */, - 046AA8A8223B474A005191A4 /* Vertices.h */, + 04DBD35F22AE2DAA00DBE4CD /* Animation.cpp */, + 04DBD34D22AE2DA700DBE4CD /* Animation.h */, + 04DBD37222AE2DAE00DBE4CD /* AnimationState.cpp */, + 04DBD38D22AE2DB400DBE4CD /* AnimationState.h */, + 04DBD37822AE2DAF00DBE4CD /* AnimationStateData.cpp */, + 04DBD32F22AE2DA300DBE4CD /* AnimationStateData.h */, + 04DBD33522AE2DA300DBE4CD /* Atlas.cpp */, + 04DBD38B22AE2DB300DBE4CD /* Atlas.h */, + 04DBD33422AE2DA300DBE4CD /* AtlasAttachmentLoader.cpp */, + 04DBD35022AE2DA800DBE4CD /* AtlasAttachmentLoader.h */, + 04DBD3A022AE2DB700DBE4CD /* Attachment.cpp */, + 04DBD32E22AE2DA200DBE4CD /* Attachment.h */, + 04DBD3A122AE2DB800DBE4CD /* AttachmentLoader.cpp */, + 04DBD37B22AE2DB000DBE4CD /* AttachmentLoader.h */, + 04DBD38522AE2DB200DBE4CD /* AttachmentTimeline.cpp */, + 04DBD34022AE2DA500DBE4CD /* AttachmentTimeline.h */, + 04DBD38922AE2DB300DBE4CD /* AttachmentType.h */, + 04DBD34122AE2DA500DBE4CD /* BlendMode.h */, + 04DBD33622AE2DA300DBE4CD /* Bone.cpp */, + 04DBD38822AE2DB300DBE4CD /* Bone.h */, + 04DBD35B22AE2DAA00DBE4CD /* BoneData.cpp */, + 04DBD3B122AE2DBB00DBE4CD /* BoneData.h */, + 04DBD3A622AE2DB800DBE4CD /* BoundingBoxAttachment.cpp */, + 04DBD35222AE2DA800DBE4CD /* BoundingBoxAttachment.h */, + 04DBD3B622AE2DBC00DBE4CD /* ClippingAttachment.cpp */, + 04DBD34A22AE2DA600DBE4CD /* ClippingAttachment.h */, + 04DBD36822AE2DAC00DBE4CD /* Color.h */, + 04DBD39F22AE2DB700DBE4CD /* ColorTimeline.cpp */, + 04DBD33A22AE2DA400DBE4CD /* ColorTimeline.h */, + 04DBD35822AE2DA900DBE4CD /* Constraint.cpp */, + 04DBD33C22AE2DA400DBE4CD /* Constraint.h */, + 04DBD3A922AE2DB900DBE4CD /* ContainerUtil.h */, + 04DBD39522AE2DB500DBE4CD /* CurveTimeline.cpp */, + 04DBD34522AE2DA600DBE4CD /* CurveTimeline.h */, + 04DBD34422AE2DA500DBE4CD /* Debug.h */, + 04DBD38E22AE2DB400DBE4CD /* DeformTimeline.cpp */, + 044597F322D332D700924443 /* Extension.h */, + 04DBD3AF22AE2DBA00DBE4CD /* DeformTimeline.h */, + 04DBD3B222AE2DBB00DBE4CD /* dll.h */, + 04DBD36F22AE2DAE00DBE4CD /* DrawOrderTimeline.cpp */, + 04DBD37422AE2DAF00DBE4CD /* DrawOrderTimeline.h */, + 04DBD37F22AE2DB100DBE4CD /* Event.cpp */, + 04DBD34C22AE2DA700DBE4CD /* Event.h */, + 04DBD39D22AE2DB700DBE4CD /* EventData.cpp */, + 04DBD33822AE2DA400DBE4CD /* EventData.h */, + 04DBD39222AE2DB500DBE4CD /* EventTimeline.cpp */, + 04DBD34F22AE2DA700DBE4CD /* EventTimeline.h */, + 04DBD34722AE2DA600DBE4CD /* Extension.cpp */, + 04DBD34E22AE2DA700DBE4CD /* HashMap.h */, + 04DBD33322AE2DA300DBE4CD /* HasRendererObject.h */, + 04DBD35C22AE2DAA00DBE4CD /* IkConstraint.cpp */, + 04DBD3BA22AE2DBC00DBE4CD /* IkConstraint.h */, + 04DBD36522AE2DAC00DBE4CD /* IkConstraintData.cpp */, + 04DBD35422AE2DA800DBE4CD /* IkConstraintData.h */, + 04DBD39422AE2DB500DBE4CD /* IkConstraintTimeline.cpp */, + 04DBD37522AE2DAF00DBE4CD /* IkConstraintTimeline.h */, + 04DBD36722AE2DAC00DBE4CD /* Json.cpp */, + 04DBD37722AE2DAF00DBE4CD /* Json.h */, + 04DBD3A222AE2DB800DBE4CD /* LinkedMesh.cpp */, + 04DBD3B822AE2DBC00DBE4CD /* LinkedMesh.h */, + 04DBD35A22AE2DA900DBE4CD /* MathUtil.cpp */, + 04DBD34822AE2DA600DBE4CD /* MathUtil.h */, + 04DBD3A722AE2DB900DBE4CD /* MeshAttachment.cpp */, + 04DBD38A22AE2DB300DBE4CD /* MeshAttachment.h */, + 04DBD39322AE2DB500DBE4CD /* MixBlend.h */, + 04DBD33222AE2DA300DBE4CD /* MixDirection.h */, + 04DBD33B22AE2DA400DBE4CD /* PathAttachment.cpp */, + 04DBD37022AE2DAE00DBE4CD /* PathAttachment.h */, + 04DBD36222AE2DAB00DBE4CD /* PathConstraint.cpp */, + 04DBD37122AE2DAE00DBE4CD /* PathConstraint.h */, + 04DBD38122AE2DB100DBE4CD /* PathConstraintData.cpp */, + 04DBD39122AE2DB400DBE4CD /* PathConstraintData.h */, + 04DBD34B22AE2DA700DBE4CD /* PathConstraintMixTimeline.cpp */, + 04DBD34322AE2DA500DBE4CD /* PathConstraintMixTimeline.h */, + 04DBD3AD22AE2DBA00DBE4CD /* PathConstraintPositionTimeline.cpp */, + 04DBD39022AE2DB400DBE4CD /* PathConstraintPositionTimeline.h */, + 04DBD38F22AE2DB400DBE4CD /* PathConstraintSpacingTimeline.cpp */, + 04DBD36622AE2DAC00DBE4CD /* PathConstraintSpacingTimeline.h */, + 04DBD34222AE2DA500DBE4CD /* PointAttachment.cpp */, + 04DBD37C22AE2DB000DBE4CD /* PointAttachment.h */, + 04DBD32D22AE2DA200DBE4CD /* Pool.h */, + 04DBD38C22AE2DB300DBE4CD /* PositionMode.h */, + 04DBD36422AE2DAC00DBE4CD /* RegionAttachment.cpp */, + 04DBD3A322AE2DB800DBE4CD /* RegionAttachment.h */, + 04DBD36A22AE2DAD00DBE4CD /* RotateMode.h */, + 04DBD33F22AE2DA500DBE4CD /* RotateTimeline.cpp */, + 04DBD33922AE2DA400DBE4CD /* RotateTimeline.h */, + 04DBD3AA22AE2DB900DBE4CD /* RTTI.cpp */, + 04DBD3B922AE2DBC00DBE4CD /* RTTI.h */, + 04DBD38622AE2DB200DBE4CD /* ScaleTimeline.cpp */, + 04DBD38222AE2DB100DBE4CD /* ScaleTimeline.h */, + 04DBD38422AE2DB200DBE4CD /* ShearTimeline.cpp */, + 04DBD39822AE2DB600DBE4CD /* ShearTimeline.h */, + 04DBD37322AE2DAF00DBE4CD /* Skeleton.cpp */, + 04DBD3AC22AE2DBA00DBE4CD /* Skeleton.h */, + 04DBD37E22AE2DB100DBE4CD /* SkeletonBinary.cpp */, + 04DBD36E22AE2DAE00DBE4CD /* SkeletonBinary.h */, + 04DBD3AB22AE2DB900DBE4CD /* SkeletonBounds.cpp */, + 04DBD3B322AE2DBB00DBE4CD /* SkeletonBounds.h */, + 04DBD35322AE2DA800DBE4CD /* SkeletonClipping.cpp */, + 04DBD3B722AE2DBC00DBE4CD /* SkeletonClipping.h */, + 04DBD36022AE2DAB00DBE4CD /* SkeletonData.cpp */, + 04DBD33E22AE2DA400DBE4CD /* SkeletonData.h */, + 04DBD39E22AE2DB700DBE4CD /* SkeletonJson.cpp */, + 04DBD39922AE2DB600DBE4CD /* SkeletonJson.h */, + 04DBD36922AE2DAD00DBE4CD /* Skin.cpp */, + 04DBD35122AE2DA800DBE4CD /* Skin.h */, + 04DBD3A522AE2DB800DBE4CD /* Slot.cpp */, + 04DBD39622AE2DB500DBE4CD /* Slot.h */, + 04DBD35D22AE2DAA00DBE4CD /* SlotData.cpp */, + 04DBD36122AE2DAB00DBE4CD /* SlotData.h */, + 04DBD37622AE2DAF00DBE4CD /* SpacingMode.h */, + 04DBD3AE22AE2DBA00DBE4CD /* spine.h */, + 04DBD3A422AE2DB800DBE4CD /* SpineObject.cpp */, + 04DBD39A22AE2DB600DBE4CD /* SpineObject.h */, + 04DBD35522AE2DA800DBE4CD /* SpineString.h */, + 04DBD35E22AE2DAA00DBE4CD /* TextureLoader.cpp */, + 04DBD33022AE2DA300DBE4CD /* TextureLoader.h */, + 04DBD34622AE2DA600DBE4CD /* Timeline.cpp */, + 04DBD37D22AE2DB000DBE4CD /* Timeline.h */, + 04DBD34922AE2DA600DBE4CD /* TimelineType.h */, + 04DBD36D22AE2DAD00DBE4CD /* TransformConstraint.cpp */, + 04DBD3B422AE2DBB00DBE4CD /* TransformConstraint.h */, + 04DBD38722AE2DB200DBE4CD /* TransformConstraintData.cpp */, + 04DBD38322AE2DB200DBE4CD /* TransformConstraintData.h */, + 04DBD37922AE2DB000DBE4CD /* TransformConstraintTimeline.cpp */, + 04DBD35722AE2DA900DBE4CD /* TransformConstraintTimeline.h */, + 04DBD39C22AE2DB700DBE4CD /* TransformMode.h */, + 04DBD36B22AE2DAD00DBE4CD /* TranslateTimeline.cpp */, + 04DBD33D22AE2DA400DBE4CD /* TranslateTimeline.h */, + 04DBD35922AE2DA900DBE4CD /* Triangulator.cpp */, + 04DBD33722AE2DA300DBE4CD /* Triangulator.h */, + 04DBD3A822AE2DB900DBE4CD /* TwoColorTimeline.cpp */, + 04DBD38022AE2DB100DBE4CD /* TwoColorTimeline.h */, + 04DBD3B022AE2DBA00DBE4CD /* Updatable.cpp */, + 04DBD36C22AE2DAD00DBE4CD /* Updatable.h */, + 04DBD39722AE2DB600DBE4CD /* Vector.h */, + 04DBD35622AE2DA900DBE4CD /* VertexAttachment.cpp */, + 04DBD3B522AE2DBB00DBE4CD /* VertexAttachment.h */, + 04DBD33122AE2DA300DBE4CD /* VertexEffect.cpp */, + 04DBD36322AE2DAB00DBE4CD /* VertexEffect.h */, + 04DBD37A22AE2DB000DBE4CD /* Vertices.h */, ); name = spine; sourceTree = ""; @@ -2267,18 +2407,18 @@ 046E03DE2180456A00B24E2D /* spine-creator-support */ = { isa = PBXGroup; children = ( - 046E03E821804E6A00B24E2D /* AttachmentVertices.cpp */, - 046E03E721804E6A00B24E2D /* AttachmentVertices.h */, - 046E03E121804E6A00B24E2D /* SkeletonAnimation.cpp */, - 046E03E221804E6A00B24E2D /* SkeletonAnimation.h */, - 046E03E621804E6A00B24E2D /* SkeletonRenderer.cpp */, - 046E03E521804E6A00B24E2D /* SkeletonRenderer.h */, - 046E03E321804E6A00B24E2D /* spine-cocos2dx.cpp */, - 046E03E421804E6A00B24E2D /* spine-cocos2dx.h */, - 04F49F3F222A777C00E5CAF1 /* SkeletonDataMgr.cpp */, - 04F49F40222A777C00E5CAF1 /* SkeletonDataMgr.h */, - 044DE376227552520037572E /* VertexEffectDelegate.cpp */, - 044DE377227552520037572E /* VertexEffectDelegate.h */, + 04DBD30B22AE2D8000DBE4CD /* AttachmentVertices.cpp */, + 04DBD30E22AE2D8100DBE4CD /* AttachmentVertices.h */, + 04DBD30C22AE2D8000DBE4CD /* SkeletonAnimation.cpp */, + 04DBD30D22AE2D8100DBE4CD /* SkeletonAnimation.h */, + 04DBD31222AE2D8100DBE4CD /* SkeletonDataMgr.cpp */, + 04DBD31022AE2D8100DBE4CD /* SkeletonDataMgr.h */, + 04DBD31122AE2D8100DBE4CD /* SkeletonRenderer.cpp */, + 04DBD30A22AE2D8000DBE4CD /* SkeletonRenderer.h */, + 04DBD31322AE2D8100DBE4CD /* spine-cocos2dx.cpp */, + 04DBD31422AE2D8100DBE4CD /* spine-cocos2dx.h */, + 04DBD30F22AE2D8100DBE4CD /* VertexEffectDelegate.cpp */, + 04DBD30922AE2D8000DBE4CD /* VertexEffectDelegate.h */, ); name = "spine-creator-support"; sourceTree = ""; @@ -2439,6 +2579,58 @@ name = parser; sourceTree = ""; }; + 0482F183228D87780019ECF7 /* scene */ = { + isa = PBXGroup; + children = ( + 04F8563122ABCB1F00063A20 /* assembler */, + 0482F18A228D87920019ECF7 /* MeshBuffer.cpp */, + 0482F195228D87960019ECF7 /* MeshBuffer.hpp */, + 0482F185228D87910019ECF7 /* ModelBatcher.cpp */, + 0482F190228D87940019ECF7 /* ModelBatcher.hpp */, + 0482F188228D87920019ECF7 /* NodeProxy.cpp */, + 0482F18B228D87930019ECF7 /* NodeProxy.hpp */, + 0482F192228D87950019ECF7 /* RenderFlow.cpp */, + 0482F184228D87900019ECF7 /* RenderFlow.hpp */, + 0482F186228D87910019ECF7 /* scene-bindings.h */, + 0482F193228D87950019ECF7 /* StencilManager.cpp */, + 0482F18C228D87930019ECF7 /* StencilManager.hpp */, + 04DBD4D922B51EA300DBE4CD /* MemPool.cpp */, + 04DBD4DA22B51EA300DBE4CD /* MemPool.hpp */, + 04DBD4DF22B51EB300DBE4CD /* NodeMemPool.cpp */, + 04DBD4E022B51EB300DBE4CD /* NodeMemPool.hpp */, + 0494CFD222BEFC6D00B73B79 /* ParallelTask.cpp */, + 0494CFD322BEFC6D00B73B79 /* ParallelTask.hpp */, + ); + path = scene; + sourceTree = ""; + }; + 04F8563122ABCB1F00063A20 /* assembler */ = { + isa = PBXGroup; + children = ( + 045F672622A50A8C0033F7BD /* RenderData.cpp */, + 045F672722A50A8C0033F7BD /* RenderData.hpp */, + 042058CB22A61B340092DE5D /* RenderDataList.cpp */, + 042058CC22A61B340092DE5D /* RenderDataList.hpp */, + 0482F187228D87920019ECF7 /* Assembler.cpp */, + 0482F197228D87960019ECF7 /* Assembler.hpp */, + 0482F196228D87960019ECF7 /* CustomAssembler.cpp */, + 0482F189228D87920019ECF7 /* CustomAssembler.hpp */, + 0482F191228D87950019ECF7 /* MaskAssembler.cpp */, + 0482F18E228D87940019ECF7 /* MaskAssembler.hpp */, + 0482F18D228D87930019ECF7 /* AssemblerBase.cpp */, + 0482F198228D87970019ECF7 /* AssemblerBase.hpp */, + 04F8563222ABCB9900063A20 /* TiledMapAssembler.cpp */, + 04F8563322ABCB9900063A20 /* TiledMapAssembler.hpp */, + 0431A06722CCA441003356C9 /* AssemblerSprite.cpp */, + 0431A06822CCA441003356C9 /* AssemblerSprite.hpp */, + 0431A06D22CCA7C1003356C9 /* SimpleSprite2D.cpp */, + 0431A06E22CCA7C1003356C9 /* SimpleSprite2D.hpp */, + 04886B3F22CE22F2008CEB66 /* SlicedSprite2D.cpp */, + 04886B4022CE22F2008CEB66 /* SlicedSprite2D.hpp */, + ); + path = assembler; + sourceTree = ""; + }; 1551A334158F2AB200E66CFE = { isa = PBXGroup; children = ( @@ -2760,6 +2952,14 @@ path = videoplayer; sourceTree = ""; }; + 4233798722BB237700E5D8A2 /* memop */ = { + isa = PBXGroup; + children = ( + 4233799C22BB43B900E5D8A2 /* RecyclePool.hpp */, + ); + path = memop; + sourceTree = ""; + }; 461785FD20522468008256E1 /* network */ = { isa = PBXGroup; children = ( @@ -2872,6 +3072,8 @@ 469302512046AE05004A3D6C /* auto */ = { isa = PBXGroup; children = ( + 041854A4228D7E7300F8DF31 /* jsb_cocos2dx_particle_auto.cpp */, + 041854A3228D7E7200F8DF31 /* jsb_cocos2dx_particle_auto.hpp */, 046E06FB2189999500B24E2D /* jsb_cocos2dx_editor_support_auto.cpp */, 046E06FC2189999600B24E2D /* jsb_cocos2dx_editor_support_auto.hpp */, 046E0707218B015000B24E2D /* jsb_cocos2dx_dragonbones_auto.cpp */, @@ -2981,6 +3183,8 @@ 50ABBD351925AB0000A911A9 /* Vec4.cpp */, 50ABBD361925AB0000A911A9 /* Vec4.h */, 50ABBD371925AB0000A911A9 /* Vec4.inl */, + 425D3FEF22D86BEF00BCED11 /* Mat3.cpp */, + 425D3FF022D86BEF00BCED11 /* Mat3.hpp */, ); name = math; path = ../cocos/math; @@ -3020,6 +3224,8 @@ 46FDDA2C202ACC6A00931238 /* renderer */ = { isa = PBXGroup; children = ( + 4233798722BB237700E5D8A2 /* memop */, + 0482F183228D87780019ECF7 /* scene */, 46FDDA2D202ACC6A00931238 /* renderer */, 46FDDA4C202ACC6A00931238 /* Types.cpp */, 46FDDA4E202ACC6A00931238 /* Types.h */, @@ -3063,6 +3269,8 @@ 46FDDA49202ACC6A00931238 /* InputAssembler.cpp */, 46FDDA4A202ACC6A00931238 /* Scene.h */, 46FDDA4B202ACC6A00931238 /* ForwardRenderer.h */, + 423379A122BB8DEA00E5D8A2 /* CustomProperties.cpp */, + 423379A222BB8DEA00E5D8A2 /* CustomProperties.hpp */, ); path = renderer; sourceTree = ""; @@ -3354,50 +3562,46 @@ isa = PBXHeadersBuildPhase; buildActionMask = 2147483647; files = ( + 4233799F22BB43B900E5D8A2 /* RecyclePool.hpp in Headers */, 046E06802185B43B00B24E2D /* IEventDispatcher.h in Headers */, - 046AA99C223B4761005191A4 /* HashMap.h in Headers */, 1A28FF891F20AFAB007A1D9D /* SRURLUtilities.h in Headers */, 46FDDAA7202ACC6A00931238 /* ForwardRenderer.h in Headers */, - 046AA91A223B4761005191A4 /* IkConstraintData.h in Headers */, 4037F5CC2108751E001C205C /* CCAsyncTaskPool.h in Headers */, - 046AAA0C223B4762005191A4 /* MeshAttachment.h in Headers */, 46AE40052092F3A600F3A228 /* inspector_socket.h in Headers */, + 04DBD49922AE2DBD00DBE4CD /* TransformMode.h in Headers */, 46FDDBC3202ADDCE00931238 /* ccConfig.h in Headers */, - 046AA92A223B4761005191A4 /* SpineString.h in Headers */, - 046AAA12223B4762005191A4 /* EventTimeline.h in Headers */, - 046AAA18223B4762005191A4 /* ShearTimeline.h in Headers */, 46FDDA77202ACC6A00931238 /* Light.h in Headers */, + 04DBD45B22AE2DBD00DBE4CD /* Timeline.h in Headers */, + 04DBD48122AE2DBD00DBE4CD /* PathConstraintPositionTimeline.h in Headers */, + 04DBD3BD22AE2DBD00DBE4CD /* Attachment.h in Headers */, 1A28FF5D1F20AFAB007A1D9D /* SRProxyConnect.h in Headers */, 1A52DB5F205BCDC700350EE3 /* HelperMacros.h in Headers */, 46FDDACF202ACC6A00931238 /* RenderBuffer.h in Headers */, - 046AA9FE223B4762005191A4 /* EventData.h in Headers */, + 04DBD48F22AE2DBD00DBE4CD /* Vector.h in Headers */, 46FDDAAF202ACC6A00931238 /* Texture2D.h in Headers */, - 046AAA24223B4762005191A4 /* PointAttachment.h in Headers */, 5091A7A319BFABA800AC8789 /* CCPlatformDefine.h in Headers */, + 04DBD3D122AE2DBD00DBE4CD /* EventData.h in Headers */, + 04DBD3C522AE2DBD00DBE4CD /* MixDirection.h in Headers */, 046E06242185B37100B24E2D /* CCSlot.h in Headers */, 046E06B72185B49F00B24E2D /* AnimationData.h in Headers */, + 04DBD48722AE2DBD00DBE4CD /* MixBlend.h in Headers */, 46AE3FDF2092F3A600F3A228 /* env.h in Headers */, 46AE3FE72092F3A600F3A228 /* inspector_io.h in Headers */, - 046AA940223B4761005191A4 /* Slot.h in Headers */, - 046AA9DE223B4762005191A4 /* Animation.h in Headers */, + 04DBD45922AE2DBD00DBE4CD /* PointAttachment.h in Headers */, 04ED68DA21F8188F006E82F8 /* MeshBuffer.h in Headers */, - 046AA9EC223B4762005191A4 /* TransformMode.h in Headers */, 46FDDBCF202ADDCE00931238 /* CCMap.h in Headers */, 1A52DB34205BCD9200350EE3 /* Object.hpp in Headers */, 469303962046AE05004A3D6C /* Class.hpp in Headers */, 1A52DB6F205BCDC700350EE3 /* ScriptEngine.hpp in Headers */, + 04DBD47522AE2DBD00DBE4CD /* MeshAttachment.h in Headers */, + 04DBD44D22AE2DBD00DBE4CD /* SpacingMode.h in Headers */, + 04DBD46722AE2DBD00DBE4CD /* TransformConstraintData.h in Headers */, 469304002046AE06004A3D6C /* jsb_global.h in Headers */, 1A586C492064C97800B47573 /* EJConvert.h in Headers */, - 046AA9F2223B4762005191A4 /* Skeleton.h in Headers */, - 046E03F521804E6B00B24E2D /* spine-cocos2dx.h in Headers */, - 046E03FB21804E6B00B24E2D /* AttachmentVertices.h in Headers */, - 044DE37A227552520037572E /* VertexEffectDelegate.h in Headers */, 46AE3FDD2092F3A600F3A228 /* inspector_socket_server.h in Headers */, 4008729620CE20C2002EB77B /* jsb_cocos2dx_network_manual.h in Headers */, - 046AA92E223B4761005191A4 /* ScaleTimeline.h in Headers */, 469303EE2046AE05004A3D6C /* jsb_renderer_auto.hpp in Headers */, 4617863720522469008256E1 /* HttpClient.h in Headers */, - 046AA9BE223B4761005191A4 /* DrawOrderTimeline.h in Headers */, 50ABBD461925AB0000A911A9 /* CCVertex.h in Headers */, 46FDDA9B202ACC6A00931238 /* Effect.h in Headers */, 50ABBD3E1925AB0000A911A9 /* CCGeometry.h in Headers */, @@ -3405,12 +3609,9 @@ 40CEAEB820CFDC47007A3281 /* CCReachability.h in Headers */, ED30579B1BEC77B70083C3ED /* ConvertUTF.h in Headers */, 46FDDA75202ACC6A00931238 /* Config.h in Headers */, - 046AA9E6223B4762005191A4 /* Skin.h in Headers */, - 046AA95A223B4761005191A4 /* TextureLoader.h in Headers */, - 046AA956223B4761005191A4 /* PathConstraint.h in Headers */, + 04DBD3D522AE2DBD00DBE4CD /* ColorTimeline.h in Headers */, 469303822046AE05004A3D6C /* Value.hpp in Headers */, 046B689521A10D5800B33469 /* MiddlewareMacro.h in Headers */, - 046AA9B2223B4761005191A4 /* AnimationStateData.h in Headers */, 46FDDAC3202ACC6A00931238 /* FrameBuffer.h in Headers */, 4617863D20522469008256E1 /* HttpResponse.h in Headers */, 1A29D7A320566CAC00168D9A /* CCCanvasRenderingContext2D.h in Headers */, @@ -3419,256 +3620,286 @@ 461DCA3620BBFA2D00B22827 /* EditBox.h in Headers */, 4617862320522469008256E1 /* CCIDownloaderImpl.h in Headers */, 46FDDC66202D504E00931238 /* CCApplication.h in Headers */, - 046AA96C223B4761005191A4 /* MathUtil.h in Headers */, - 046AA97C223B4761005191A4 /* SkeletonJson.h in Headers */, ED3057811BEC76C90083C3ED /* ioapi.h in Headers */, - 046AA9E8223B4762005191A4 /* Color.h in Headers */, - 046AA99A223B4761005191A4 /* dll.h in Headers */, 046E06682185B41B00B24E2D /* Constraint.h in Headers */, - 046AA986223B4761005191A4 /* Bone.h in Headers */, - 046AA968223B4761005191A4 /* BoneData.h in Headers */, - 046AA9FA223B4762005191A4 /* Attachment.h in Headers */, + 04DBD4D322AE2DBD00DBE4CD /* RTTI.h in Headers */, 046B68AC21A294B100B33469 /* jsb_cocos2dx_spine_auto.hpp in Headers */, + 04DBD40F22AE2DBD00DBE4CD /* TransformConstraintTimeline.h in Headers */, 469303642046AE05004A3D6C /* RefCounter.hpp in Headers */, + 04886B4322CE22F2008CEB66 /* SlicedSprite2D.hpp in Headers */, + 04DBD3E122AE2DBD00DBE4CD /* AttachmentTimeline.h in Headers */, 046E06CB2185B49F00B24E2D /* SkinData.h in Headers */, 46FDDA73202ACC6A00931238 /* ProgramLib.h in Headers */, 1A28FF751F20AFAB007A1D9D /* SRHTTPConnectMessage.h in Headers */, 46FDDADF202ACC6A00931238 /* RenderTarget.h in Headers */, - 046AA97A223B4761005191A4 /* RotateMode.h in Headers */, + 04DBD43D22AE2DBD00DBE4CD /* SkeletonBinary.h in Headers */, 4617862920522469008256E1 /* Uri.h in Headers */, + 04DBD42D22AE2DBD00DBE4CD /* PathConstraintSpacingTimeline.h in Headers */, 469303902046AE05004A3D6C /* MappingUtils.hpp in Headers */, 1AAAC8F5205CB6E9005321B9 /* Export.h in Headers */, - 046AA970223B4761005191A4 /* Timeline.h in Headers */, 046E065E2185B41B00B24E2D /* TransformObject.h in Headers */, + 04DBD4D122AE2DBD00DBE4CD /* LinkedMesh.h in Headers */, 1A28FF5B1F20AFAB007A1D9D /* NSURLRequest+SRWebSocketPrivate.h in Headers */, - 046E03F721804E6B00B24E2D /* SkeletonRenderer.h in Headers */, 46FDDAAB202ACC6A00931238 /* Types.h in Headers */, + 04DBD48322AE2DBD00DBE4CD /* PathConstraintData.h in Headers */, 046E06412185B41100B24E2D /* BaseTimelineState.h in Headers */, ED30577D1BEC76C90083C3ED /* crypt.h in Headers */, + 041854A5228D7E7300F8DF31 /* jsb_cocos2dx_particle_auto.hpp in Headers */, 4648882520AC2BC900CD1E4A /* CCRenderTexture.h in Headers */, 46FDDA97202ACC6A00931238 /* Model.h in Headers */, + 0482F1BB228D87970019ECF7 /* MeshBuffer.hpp in Headers */, 046E06332185B41100B24E2D /* Animation.h in Headers */, 50ABBD4A1925AB0000A911A9 /* Mat4.h in Headers */, + 04DBD3BB22AE2DBD00DBE4CD /* Pool.h in Headers */, 046E063F2185B41100B24E2D /* AnimationState.h in Headers */, + 044597F422D332D800924443 /* Extension.h in Headers */, 1A52DB38205BCD9200350EE3 /* ScriptEngine.hpp in Headers */, 046E068A2185B44A00B24E2D /* BaseFactory.h in Headers */, 1A52DB892060B11800350EE3 /* jsb_platform.h in Headers */, 1A52DB64205BCDC700350EE3 /* ScriptEngine.hpp in Headers */, + 04DBD44B22AE2DBD00DBE4CD /* IkConstraintTimeline.h in Headers */, + 0482F1A3228D87970019ECF7 /* CustomAssembler.hpp in Headers */, 46FDDA83202ACC6A00931238 /* Technique.h in Headers */, - 046AA9D4223B4762005191A4 /* ClippingAttachment.h in Headers */, + 04DBD44922AE2DBD00DBE4CD /* DrawOrderTimeline.h in Headers */, + 04DBD47122AE2DBD00DBE4CD /* Bone.h in Headers */, 1A52DB63205BCDC700350EE3 /* Object.hpp in Headers */, - 04F49F43222A777C00E5CAF1 /* SkeletonDataMgr.h in Headers */, - 046AA9FC223B4762005191A4 /* Triangulator.h in Headers */, 469303802046AE05004A3D6C /* config.hpp in Headers */, + 04DBD4D522AE2DBD00DBE4CD /* IkConstraint.h in Headers */, + 0482F199228D87970019ECF7 /* RenderFlow.hpp in Headers */, 46FDDA6D202ACC6A00931238 /* INode.h in Headers */, 046E06782185B42500B24E2D /* BaseObject.h in Headers */, 1A28FF811F20AFAB007A1D9D /* SRRandom.h in Headers */, 50ABC0671926664800A911A9 /* CCPlatformDefine-mac.h in Headers */, - 046AA972223B4761005191A4 /* TransformConstraintTimeline.h in Headers */, 469303922046AE05004A3D6C /* SeApi.h in Headers */, 461786532052301A008256E1 /* CCScheduler.h in Headers */, - 046AA982223B4761005191A4 /* Vector.h in Headers */, 46FDDB4D202ADDCE00931238 /* pvr.h in Headers */, + 04DBD4DD22B51EA300DBE4CD /* MemPool.hpp in Headers */, 4617863920522469008256E1 /* CCDownloaderImpl-apple.h in Headers */, + 0482F19D228D87970019ECF7 /* scene-bindings.h in Headers */, 1A52DB73205BCDC700350EE3 /* Base.h in Headers */, 1A28FF551F20AFAB007A1D9D /* SRIOConsumerPool.h in Headers */, 461786632052607E008256E1 /* jsb_socketio.hpp in Headers */, 046E06BD2185B49F00B24E2D /* UserData.h in Headers */, 46FDDBDD202ADDCE00931238 /* TGAlib.h in Headers */, - 046AA94A223B4761005191A4 /* AnimationState.h in Headers */, 046B688C219FA61200B33469 /* MiddlewareManager.h in Headers */, BAEA45551E279D5C00FA219F /* tinydir.h in Headers */, + 04DBD46522AE2DBD00DBE4CD /* ScaleTimeline.h in Headers */, + 04DBD40322AE2DBD00DBE4CD /* Skin.h in Headers */, 046B689221A00F5600B33469 /* IOTypedArray.h in Headers */, + 04DBD3E322AE2DBD00DBE4CD /* BlendMode.h in Headers */, 46FDDAB7202ACC6A00931238 /* IndexBuffer.h in Headers */, 4617864520522469008256E1 /* HttpAsynConnection-apple.h in Headers */, 4617865D2052607E008256E1 /* jsb_xmlhttprequest.hpp in Headers */, 46FDDA7B202ACC6A00931238 /* Camera.h in Headers */, 46FDDAA5202ACC6A00931238 /* Scene.h in Headers */, 46FDDB53202ADDCE00931238 /* utlist.h in Headers */, - 046AA9D0223B4762005191A4 /* Constraint.h in Headers */, 046E06622185B41B00B24E2D /* Slot.h in Headers */, + 04DBD4A722AE2DBD00DBE4CD /* RegionAttachment.h in Headers */, 46FDDB5D202ADDCE00931238 /* ccMacros.h in Headers */, + 0482F1B1228D87970019ECF7 /* ModelBatcher.hpp in Headers */, 1A29D76B205665BE00168D9A /* jsb_cocos2dx_auto.hpp in Headers */, - 046AA9EA223B4762005191A4 /* Json.h in Headers */, 1A52DB3D205BCD9200350EE3 /* SeApi.h in Headers */, + 04DBD44F22AE2DBD00DBE4CD /* Json.h in Headers */, 46FDDABD202ACC6A00931238 /* DeviceGraphics.h in Headers */, 469303982046AE05004A3D6C /* HelperMacros.h in Headers */, - 046AA994223B4761005191A4 /* VertexAttachment.h in Headers */, 46FDDC01202ADDCE00931238 /* ccCArray.h in Headers */, + 04DBD3C122AE2DBD00DBE4CD /* TextureLoader.h in Headers */, 469304102046AE06004A3D6C /* jsb_helper.hpp in Headers */, + 04DBD3F122AE2DBD00DBE4CD /* MathUtil.h in Headers */, + 04DBD3F322AE2DBD00DBE4CD /* TimelineType.h in Headers */, 50643BDB19BFAF4400EF68ED /* CCStdC.h in Headers */, - 046AA974223B4761005191A4 /* TimelineType.h in Headers */, 1A28FF591F20AFAB007A1D9D /* NSRunLoop+SRWebSocketPrivate.h in Headers */, 1A29D79A205666F500168D9A /* jsb_opengl_utils.hpp in Headers */, 46FDDB5B202ADDCE00931238 /* CCData.h in Headers */, 046E06452185B41100B24E2D /* IAnimatable.h in Headers */, 1A29D79E205666F500168D9A /* jsb_opengl_manual.hpp in Headers */, - 046AA916223B4761005191A4 /* Pool.h in Headers */, 469303A22046AE05004A3D6C /* Object.hpp in Headers */, 1A52DAF6205BB81400350EE3 /* CCThreadPool.h in Headers */, 046E06642185B41B00B24E2D /* Armature.h in Headers */, - 046AA9CA223B4762005191A4 /* SpacingMode.h in Headers */, - 046AAA06223B4762005191A4 /* BoundingBoxAttachment.h in Headers */, 1AAAC8E9205CB6E9005321B9 /* AudioMacros.h in Headers */, 1AAAC8EF205CB6E9005321B9 /* AudioEngine-inl.h in Headers */, 46FDDB83202ADDCE00931238 /* ccRandom.h in Headers */, 294D7D9A1D0E93A2002CE7B7 /* CCDevice-apple.h in Headers */, 1A28FF851F20AFAB007A1D9D /* SRSIMDHelpers.h in Headers */, - 046AA966223B4761005191A4 /* MixBlend.h in Headers */, 50ABBD401925AB0000A911A9 /* CCMath.h in Headers */, + 04DBD48D22AE2DBD00DBE4CD /* Slot.h in Headers */, 046E06F12185B4A500B24E2D /* BinaryDataParser.h in Headers */, ED3057831BEC76C90083C3ED /* unzip.h in Headers */, 1A28FF511F20AFAB007A1D9D /* SRIOConsumer.h in Headers */, + 04DBD4B322AE2DBD00DBE4CD /* ContainerUtil.h in Headers */, 469303882046AE05004A3D6C /* HandleObject.hpp in Headers */, 46930466204FE20F004A3D6C /* CCLog.h in Headers */, 4617862720522469008256E1 /* WebSocket.h in Headers */, 46FDDA7F202ACC6A00931238 /* Renderer.h in Headers */, - 046AA918223B4761005191A4 /* Atlas.h in Headers */, 46FDDAA1202ACC6A00931238 /* InputAssembler.h in Headers */, 46FDDA91202ACC6A00931238 /* Pass.h in Headers */, - 046AA944223B4761005191A4 /* PathConstraintMixTimeline.h in Headers */, - 046AA9DA223B4762005191A4 /* TranslateTimeline.h in Headers */, + 04DBD4BD22AE2DBD00DBE4CD /* spine.h in Headers */, 046E069F2185B45300B24E2D /* Point.h in Headers */, - 04F49F4F222B80C500E5CAF1 /* RenderInfoMgr.h in Headers */, 46FDDAC7202ACC6A00931238 /* GFX.h in Headers */, + 0431A06B22CCA441003356C9 /* AssemblerSprite.hpp in Headers */, 46FDDC63202D502F00931238 /* CCApplication.h in Headers */, - 046AA94C223B4761005191A4 /* Extension.h in Headers */, + 04DBD44122AE2DBD00DBE4CD /* PathAttachment.h in Headers */, 469303A42046AE05004A3D6C /* ScriptEngine.hpp in Headers */, 46AE3FF32092F3A600F3A228 /* node.h in Headers */, + 04DBD43522AE2DBD00DBE4CD /* RotateMode.h in Headers */, + 04DBD3F922AE2DBD00DBE4CD /* Event.h in Headers */, + 04DBD40522AE2DBD00DBE4CD /* BoundingBoxAttachment.h in Headers */, + 04DBD47722AE2DBD00DBE4CD /* Atlas.h in Headers */, 1A52DB68205BCDC700350EE3 /* Base.h in Headers */, 50ABBD521925AB0000A911A9 /* Quaternion.h in Headers */, 1A52DB2D205BCD9200350EE3 /* ObjectWrap.h in Headers */, + 04DBD47322AE2DBD00DBE4CD /* AttachmentType.h in Headers */, + 042058CF22A61B340092DE5D /* RenderDataList.hpp in Headers */, 1A52DB6A205BCDC700350EE3 /* HelperMacros.h in Headers */, 40CEAEB120CFC86D007A3281 /* CustomEventTypes.h in Headers */, + 04DBD4C322AE2DBD00DBE4CD /* BoneData.h in Headers */, 1A52DB23205BCD9200350EE3 /* Class.hpp in Headers */, 046E061A2185B37100B24E2D /* CCFactory.h in Headers */, 046E06D52185B49F00B24E2D /* ArmatureData.h in Headers */, + 04DBD4BF22AE2DBD00DBE4CD /* DeformTimeline.h in Headers */, 1A28FF9B1F20AFAB007A1D9D /* SRWebSocket.h in Headers */, 50643BE219BFCF1800EF68ED /* CCPlatformConfig.h in Headers */, 1A28FF611F20AFAB007A1D9D /* SRRunLoopThread.h in Headers */, 469303D22046AE05004A3D6C /* jsb_gfx_auto.hpp in Headers */, - 046AA964223B4761005191A4 /* RTTI.h in Headers */, 046B68A821A292D300B33469 /* jsb_spine_manual.hpp in Headers */, - 046AA9CC223B4762005191A4 /* Event.h in Headers */, - 046AA9E0223B4762005191A4 /* TransformConstraintData.h in Headers */, + 0431A07122CCA7C1003356C9 /* SimpleSprite2D.hpp in Headers */, 1A52DB5E205BCDC700350EE3 /* Class.hpp in Headers */, 4693039C2046AE05004A3D6C /* PlatformUtils.h in Headers */, + 0482F1AD228D87970019ECF7 /* MaskAssembler.hpp in Headers */, 046E06C12185B49F00B24E2D /* TextureAtlasData.h in Headers */, + 041854A1228D7E5700F8DF31 /* ParticleSimulator.h in Headers */, 1AAAC8E5205CB6E9005321B9 /* AudioPlayer.h in Headers */, - 046AA9A8223B4761005191A4 /* spine.h in Headers */, 1AAAC8ED205CB6E9005321B9 /* AudioCache.h in Headers */, 046E063D2185B41100B24E2D /* TimelineState.h in Headers */, + 04DBD4C522AE2DBD00DBE4CD /* dll.h in Headers */, 46FDDBBB202ADDCE00931238 /* CCRefPtr.h in Headers */, - 046AA9B4223B4761005191A4 /* PositionMode.h in Headers */, - 046AA9EE223B4762005191A4 /* SkeletonData.h in Headers */, + 04DBD4CF22AE2DBD00DBE4CD /* SkeletonClipping.h in Headers */, 046E06182185B37100B24E2D /* CCTextureAtlasData.h in Headers */, - 046AA94E223B4761005191A4 /* PathAttachment.h in Headers */, 046E067B2185B42F00B24E2D /* DragonBonesHeaders.h in Headers */, 046E06C72185B49F00B24E2D /* DisplayData.h in Headers */, 46FDDADB202ACC6A00931238 /* State.h in Headers */, 1A29D771205665D200168D9A /* jsb_cocos2dx_manual.hpp in Headers */, + 04DBD3D922AE2DBD00DBE4CD /* Constraint.h in Headers */, + 04DBD3E922AE2DBD00DBE4CD /* Debug.h in Headers */, 46AE3FFF2092F3A600F3A228 /* v8_inspector_protocol_json.h in Headers */, - 046E03F121804E6B00B24E2D /* SkeletonAnimation.h in Headers */, 046E06842185B43B00B24E2D /* EventObject.h in Headers */, + 423379A522BB8DEA00E5D8A2 /* CustomProperties.hpp in Headers */, 046E06ED2185B4A500B24E2D /* JSONDataParser.h in Headers */, 046E06F32185B4A500B24E2D /* DataParser.h in Headers */, 46FDDACB202ACC6A00931238 /* VertexFormat.h in Headers */, 46FDDA81202ACC6A00931238 /* RendererUtils.h in Headers */, 469304142046AE06004A3D6C /* jsb_renderer_manual.hpp in Headers */, 46FDDAD1202ACC6A00931238 /* Texture.h in Headers */, + 04DBD43922AE2DBD00DBE4CD /* Updatable.h in Headers */, 1A52DB72205BCDC700350EE3 /* Utils.hpp in Headers */, - 046AA952223B4761005191A4 /* PathConstraintSpacingTimeline.h in Headers */, 1A52DB70205BCDC700350EE3 /* SeApi.h in Headers */, - 046AA9F4223B4762005191A4 /* PathConstraintPositionTimeline.h in Headers */, 046E06DB2185B49F00B24E2D /* ConstraintData.h in Headers */, 1A28FF971F20AFAB007A1D9D /* SRSecurityPolicy.h in Headers */, + 04DBD3FF22AE2DBD00DBE4CD /* EventTimeline.h in Headers */, + 04DBD31722AE2D8200DBE4CD /* SkeletonRenderer.h in Headers */, 04355818217EADF300B9C056 /* IOBuffer.h in Headers */, 5027253A190BF1B900AAF4ED /* cocos2d.h in Headers */, 046E06542185B41B00B24E2D /* Bone.h in Headers */, 046E06DF2185B49F00B24E2D /* DragonBonesData.h in Headers */, 04AF6301219190ED00AED9DE /* TypedArrayPool.h in Headers */, 46AE3FE52092F3A600F3A228 /* base64.h in Headers */, + 04DBD45722AE2DBD00DBE4CD /* AttachmentLoader.h in Headers */, + 04DBD42722AE2DBD00DBE4CD /* VertexEffect.h in Headers */, 046E061E2185B37100B24E2D /* CCDragonBonesHeaders.h in Headers */, 50ABBD421925AB0000A911A9 /* CCMathBase.h in Headers */, + 04DBD47B22AE2DBD00DBE4CD /* AnimationState.h in Headers */, + 04DBD4C922AE2DBD00DBE4CD /* TransformConstraint.h in Headers */, 469303862046AE05004A3D6C /* Object.hpp in Headers */, + 04DBD31F22AE2D8200DBE4CD /* AttachmentVertices.h in Headers */, 1A29D788205666B200168D9A /* LocalStorage.h in Headers */, 50ABBD4E1925AB0000A911A9 /* MathUtil.h in Headers */, 1A52DB67205BCDC700350EE3 /* Utils.hpp in Headers */, - 046AA9AE223B4761005191A4 /* VertexEffect.h in Headers */, 1A52DB25205BCD9200350EE3 /* HelperMacros.h in Headers */, 469303AC2046AE05004A3D6C /* Utils.hpp in Headers */, - 046AA9C8223B4762005191A4 /* SlotData.h in Headers */, 1A28FF911F20AFAB007A1D9D /* NSURLRequest+SRWebSocket.h in Headers */, - 046AAA04223B4762005191A4 /* LinkedMesh.h in Headers */, 46FDDAAD202ACC6A00931238 /* Macro.h in Headers */, + 04DBD42322AE2DBD00DBE4CD /* SlotData.h in Headers */, 046E070B218B015100B24E2D /* jsb_cocos2dx_dragonbones_auto.hpp in Headers */, 461786672052607E008256E1 /* jsb_websocket.hpp in Headers */, - 046AA960223B4761005191A4 /* SkeletonBinary.h in Headers */, 50ABC01B1926664800A911A9 /* CCSAXParser.h in Headers */, + 0482F1C1228D87970019ECF7 /* AssemblerBase.hpp in Headers */, + 04DBD3DD22AE2DBD00DBE4CD /* SkeletonData.h in Headers */, + 04DBD3DB22AE2DBD00DBE4CD /* TranslateTimeline.h in Headers */, 1A28FF691F20AFAB007A1D9D /* SRConstants.h in Headers */, + 04DBD3FB22AE2DBD00DBE4CD /* Animation.h in Headers */, ED3057891BEC773E0083C3ED /* tinyxml2.h in Headers */, 50ABC0651926664800A911A9 /* CCGL-mac.h in Headers */, 046E06932185B45300B24E2D /* Rectangle.h in Headers */, 50643BD419BFAECF00EF68ED /* CCGL.h in Headers */, + 0482F1BF228D87970019ECF7 /* Assembler.hpp in Headers */, + 045F672A22A50A8D0033F7BD /* RenderData.hpp in Headers */, + 04DBD46122AE2DBD00DBE4CD /* TwoColorTimeline.h in Headers */, 50ABBD621925AB0000A911A9 /* Vec4.h in Headers */, + 04F8563622ABCB9900063A20 /* TiledMapAssembler.hpp in Headers */, + 04DBD3BF22AE2DBD00DBE4CD /* AnimationStateData.h in Headers */, 46AE40092092F3A600F3A228 /* node_debug_options.h in Headers */, + 04DBD49522AE2DBD00DBE4CD /* SpineObject.h in Headers */, 046E06CF2185B49F00B24E2D /* BoundingBoxData.h in Headers */, - 046AA910223B4761005191A4 /* SpineObject.h in Headers */, 1A28FF791F20AFAB007A1D9D /* SRLog.h in Headers */, + 04DBD4C722AE2DBD00DBE4CD /* SkeletonBounds.h in Headers */, 469303AE2046AE05004A3D6C /* Base.h in Headers */, - 046AAA22223B4762005191A4 /* RegionAttachment.h in Headers */, 46FDDB6D202ADDCE00931238 /* etc1.h in Headers */, 46FDDBB7202ADDCE00931238 /* ccUtils.h in Headers */, - 046AA942223B4761005191A4 /* Updatable.h in Headers */, 046E06762185B42500B24E2D /* DragonBones.h in Headers */, 46FDDB6B202ADDCE00931238 /* base64.h in Headers */, - 046AAA14223B4762005191A4 /* IkConstraintTimeline.h in Headers */, 046E06D92185B49F00B24E2D /* CanvasData.h in Headers */, 1A52DB45205BCD9200350EE3 /* Base.h in Headers */, - 046AA9B8223B4761005191A4 /* AttachmentLoader.h in Headers */, 1A52DB65205BCDC700350EE3 /* SeApi.h in Headers */, 046E06602185B41B00B24E2D /* DeformVertices.h in Headers */, - 046AA9A0223B4761005191A4 /* BlendMode.h in Headers */, + 425D3FF322D86BEF00BCED11 /* Mat3.hpp in Headers */, 1A28FF6D1F20AFAB007A1D9D /* SRError.h in Headers */, - 046AA9D2223B4762005191A4 /* Debug.h in Headers */, 46AE3FE32092F3A600F3A228 /* inspector_agent.h in Headers */, 46AE3FEB2092F3A600F3A228 /* node_mutex.h in Headers */, + 04DBD49322AE2DBD00DBE4CD /* SkeletonJson.h in Headers */, 046E063B2185B41100B24E2D /* WorldClock.h in Headers */, - 046AA95E223B4761005191A4 /* Vertices.h in Headers */, - 046AA92C223B4761005191A4 /* IkConstraint.h in Headers */, 046E06F92189990700B24E2D /* middleware-adapter.h in Headers */, - 046AA954223B4761005191A4 /* ColorTimeline.h in Headers */, 4617864320522469008256E1 /* HttpRequest.h in Headers */, 1A28FF651F20AFAB007A1D9D /* SRPinningSecurityPolicy.h in Headers */, 46FDDA85202ACC6A00931238 /* View.h in Headers */, 46AE3FF72092F3A600F3A228 /* util-inl.h in Headers */, 1AAAC875205CB647005321B9 /* jsb_cocos2dx_audioengine_auto.hpp in Headers */, - 046AA9C2223B4762005191A4 /* ContainerUtil.h in Headers */, + 04DBD3EB22AE2DBD00DBE4CD /* CurveTimeline.h in Headers */, + 04DBD3D322AE2DBD00DBE4CD /* RotateTimeline.h in Headers */, + 0482F1A7228D87970019ECF7 /* NodeProxy.hpp in Headers */, 1A28FF951F20AFAB007A1D9D /* SocketRocket.h in Headers */, 46AE40012092F3A600F3A228 /* SHA1.h in Headers */, 046E06992185B45300B24E2D /* Matrix.h in Headers */, 046E06142185B37100B24E2D /* CCArmatureDisplay.h in Headers */, + 04DBD3E722AE2DBD00DBE4CD /* PathConstraintMixTimeline.h in Headers */, 46178670205262BC008256E1 /* jsb_conversions.hpp in Headers */, 469303A82046AE05004A3D6C /* SeApi.h in Headers */, 50ABBD5A1925AB0000A911A9 /* Vec2.h in Headers */, 46FDDB81202ADDCE00931238 /* ccTypes.h in Headers */, - 046AA9C0223B4762005191A4 /* SkeletonBounds.h in Headers */, + 04DBD49122AE2DBD00DBE4CD /* ShearTimeline.h in Headers */, + 04DBD31D22AE2D8200DBE4CD /* SkeletonAnimation.h in Headers */, 469304302046AE06004A3D6C /* jsb_classtype.hpp in Headers */, 46FDDADD202ACC6A00931238 /* VertexBuffer.h in Headers */, 1A28FF8D1F20AFAB007A1D9D /* NSRunLoop+SRWebSocket.h in Headers */, + 04DBD40122AE2DBD00DBE4CD /* AtlasAttachmentLoader.h in Headers */, 046E06D72185B49F00B24E2D /* AnimationConfig.h in Headers */, + 04DBD45522AE2DBD00DBE4CD /* Vertices.h in Headers */, + 04DBD40922AE2DBD00DBE4CD /* IkConstraintData.h in Headers */, + 04DBD32322AE2D8200DBE4CD /* SkeletonDataMgr.h in Headers */, 469304202046AE06004A3D6C /* jsb_gfx_manual.hpp in Headers */, + 04DBD32B22AE2D8200DBE4CD /* spine-cocos2dx.h in Headers */, 4043D65F20D2132E00C55611 /* CCGLView-desktop.h in Headers */, + 04DBD40B22AE2DBD00DBE4CD /* SpineString.h in Headers */, 403ACADB20CE4EB000BB433D /* jsb_module_register.hpp in Headers */, + 04DBD43122AE2DBD00DBE4CD /* Color.h in Headers */, + 0482F1A9228D87970019ECF7 /* StencilManager.hpp in Headers */, 46FDDACD202ACC6A00931238 /* GraphicsHandle.h in Headers */, 461DCA5A20C7E4BA00B22827 /* JavaScriptObjCBridge.h in Headers */, - 046AA9D6223B4762005191A4 /* CurveTimeline.h in Headers */, 46FDDBCB202ADDCE00931238 /* ZipUtils.h in Headers */, 50ABBFFD1926664800A911A9 /* CCFileUtils-apple.h in Headers */, 46FDDA8F202ACC6A00931238 /* BaseRenderer.h in Headers */, 1A52DB69205BCDC700350EE3 /* Class.hpp in Headers */, - 046AA96A223B4761005191A4 /* TransformConstraint.h in Headers */, 46FDDAD7202ACC6A00931238 /* GFXUtils.h in Headers */, + 04DBD44322AE2DBD00DBE4CD /* PathConstraint.h in Headers */, 4617866D2052609B008256E1 /* jsb_cocos2dx_network_auto.hpp in Headers */, 50ABC00F1926664800A911A9 /* CCFileUtils.h in Headers */, 046E06FF2189999600B24E2D /* jsb_cocos2dx_editor_support_auto.hpp in Headers */, @@ -3679,40 +3910,40 @@ 4617863120522469008256E1 /* SocketIO.h in Headers */, 46FDDBD1202ADDCE00931238 /* ccUTF8.h in Headers */, 4693045A2046AE06004A3D6C /* EventDispatcher.h in Headers */, + 0494CFD622BEFC6D00B73B79 /* ParallelTask.hpp in Headers */, 1AAAC8F3205CB6E9005321B9 /* AudioEngine.h in Headers */, 1A52DB6E205BCDC700350EE3 /* Object.hpp in Headers */, ED3057A21BEC77D50083C3ED /* xxhash.h in Headers */, + 04DBD3C722AE2DBD00DBE4CD /* HasRendererObject.h in Headers */, 1A52DB42205BCD9200350EE3 /* Utils.hpp in Headers */, 50ABC00B1926664800A911A9 /* CCDevice.h in Headers */, 46FDDB89202ADDCE00931238 /* CCRef.h in Headers */, 046E069D2185B45300B24E2D /* Transform.h in Headers */, - 046AA912223B4761005191A4 /* PathConstraintData.h in Headers */, + 04DBD47922AE2DBD00DBE4CD /* PositionMode.h in Headers */, 46FDDBE9202ADDCE00931238 /* CCAutoreleasePool.h in Headers */, + 04DBD3F522AE2DBD00DBE4CD /* ClippingAttachment.h in Headers */, + 04DBD3FD22AE2DBD00DBE4CD /* HashMap.h in Headers */, 46FDDB4F202ADDCE00931238 /* CCValue.h in Headers */, - 046AA91C223B4761005191A4 /* TwoColorTimeline.h in Headers */, - 046AA938223B4761005191A4 /* DeformTimeline.h in Headers */, - 046AA90E223B4761005191A4 /* SkeletonClipping.h in Headers */, + 04DBD4CB22AE2DBD00DBE4CD /* VertexAttachment.h in Headers */, 046E06952185B45300B24E2D /* ColorTransform.h in Headers */, 46AE3FFD2092F3A600F3A228 /* util.h in Headers */, - 046AA91E223B4761005191A4 /* AttachmentTimeline.h in Headers */, 46FDDBB5202ADDCE00931238 /* uthash.h in Headers */, 1AAAC8DF205CB6E9005321B9 /* AudioDecoder.h in Headers */, - 046AA97E223B4761005191A4 /* AttachmentType.h in Headers */, + 04DBD3CF22AE2DBD00DBE4CD /* Triangulator.h in Headers */, 4617862520522469008256E1 /* CCDownloader.h in Headers */, 1A28FF7D1F20AFAB007A1D9D /* SRMutex.h in Headers */, + 04DBD4B922AE2DBD00DBE4CD /* Skeleton.h in Headers */, 1A28FF711F20AFAB007A1D9D /* SRHash.h in Headers */, + 04DBD4E322B51EB300DBE4CD /* NodeMemPool.hpp in Headers */, 469301CF203FC696004A3D6C /* CCConfiguration.h in Headers */, 1A14FD932080B4E300E10ABE /* CCGLUtils.h in Headers */, - 046AA990223B4761005191A4 /* RotateTimeline.h in Headers */, 50ABC0171926664800A911A9 /* CCImage.h in Headers */, ED30577F1BEC76C90083C3ED /* ioapi_mem.h in Headers */, - 046AA930223B4761005191A4 /* MixDirection.h in Headers */, 46AE3FED2092F3A600F3A228 /* http_parser.h in Headers */, - 046AAA28223B4762005191A4 /* AtlasAttachmentLoader.h in Headers */, 4617864B20522469008256E1 /* HttpCookie.h in Headers */, + 04DBD31522AE2D8200DBE4CD /* VertexEffectDelegate.h in Headers */, 046E066A2185B41B00B24E2D /* IArmatureProxy.h in Headers */, 1A586C432064C90500B47573 /* EJConvertTypedArray.h in Headers */, - 046AA9B6223B4761005191A4 /* HasRendererObject.h in Headers */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -3720,44 +3951,42 @@ isa = PBXHeadersBuildPhase; buildActionMask = 2147483647; files = ( + 04DBD4BA22AE2DBD00DBE4CD /* Skeleton.h in Headers */, 4617862A20522469008256E1 /* Uri.h in Headers */, - 046AA94B223B4761005191A4 /* AnimationState.h in Headers */, 046E069A2185B45300B24E2D /* Matrix.h in Headers */, 469303892046AE05004A3D6C /* HandleObject.hpp in Headers */, 503DD8EF1926736A00CD74DD /* CCPlatformDefine-ios.h in Headers */, - 046AAA23223B4762005191A4 /* RegionAttachment.h in Headers */, + 04DBD4C022AE2DBD00DBE4CD /* DeformTimeline.h in Headers */, 1A28FF921F20AFAB007A1D9D /* NSURLRequest+SRWebSocket.h in Headers */, 046E06CC2185B49F00B24E2D /* SkinData.h in Headers */, 46FDDB5C202ADDCE00931238 /* CCData.h in Headers */, - 046AA9F5223B4762005191A4 /* PathConstraintPositionTimeline.h in Headers */, - 046AA9DB223B4762005191A4 /* TranslateTimeline.h in Headers */, 469303832046AE05004A3D6C /* Value.hpp in Headers */, + 04DBD48422AE2DBD00DBE4CD /* PathConstraintData.h in Headers */, + 04DBD3F422AE2DBD00DBE4CD /* TimelineType.h in Headers */, 046E06A02185B45300B24E2D /* Point.h in Headers */, - 046AA92B223B4761005191A4 /* SpineString.h in Headers */, - 046AA99B223B4761005191A4 /* dll.h in Headers */, - 046AA931223B4761005191A4 /* MixDirection.h in Headers */, 1A28FF961F20AFAB007A1D9D /* SocketRocket.h in Headers */, 4617864620522469008256E1 /* HttpAsynConnection-apple.h in Headers */, 46FDDAA8202ACC6A00931238 /* ForwardRenderer.h in Headers */, 1A29D79B205666F500168D9A /* jsb_opengl_utils.hpp in Headers */, + 04DBD4CA22AE2DBD00DBE4CD /* TransformConstraint.h in Headers */, 1A28FF8E1F20AFAB007A1D9D /* NSRunLoop+SRWebSocket.h in Headers */, + 425D3FF422D86BEF00BCED11 /* Mat3.hpp in Headers */, 46FDDBA0202ADDCE00931238 /* CCVector.h in Headers */, 46FDDB54202ADDCE00931238 /* utlist.h in Headers */, - 046AA967223B4761005191A4 /* MixBlend.h in Headers */, 046E06252185B37100B24E2D /* CCSlot.h in Headers */, 46AE40022092F3A600F3A228 /* SHA1.h in Headers */, - 046AA9B7223B4761005191A4 /* HasRendererObject.h in Headers */, 469303932046AE05004A3D6C /* SeApi.h in Headers */, 46FDDA84202ACC6A00931238 /* Technique.h in Headers */, - 046AA9B9223B4761005191A4 /* AttachmentLoader.h in Headers */, - 046AA9ED223B4762005191A4 /* TransformMode.h in Headers */, 1A29D76C205665BE00168D9A /* jsb_cocos2dx_auto.hpp in Headers */, 046B688D219FA61200B33469 /* MiddlewareManager.h in Headers */, - 046AA987223B4761005191A4 /* Bone.h in Headers */, 046E06792185B42500B24E2D /* BaseObject.h in Headers */, + 04DBD45C22AE2DBD00DBE4CD /* Timeline.h in Headers */, + 04DBD3C022AE2DBD00DBE4CD /* AnimationStateData.h in Headers */, 46FDDBB8202ADDCE00931238 /* ccUtils.h in Headers */, + 04DBD48822AE2DBD00DBE4CD /* MixBlend.h in Headers */, 046E06552185B41B00B24E2D /* Bone.h in Headers */, - 046AA9D7223B4762005191A4 /* CurveTimeline.h in Headers */, + 04DBD3DC22AE2DBD00DBE4CD /* TranslateTimeline.h in Headers */, + 04DBD49422AE2DBD00DBE4CD /* SkeletonJson.h in Headers */, 50643BE319BFCF1800EF68ED /* CCPlatformConfig.h in Headers */, 46FDDA92202ACC6A00931238 /* Pass.h in Headers */, 046E067C2185B42F00B24E2D /* DragonBonesHeaders.h in Headers */, @@ -3766,14 +3995,13 @@ 46FDDB5E202ADDCE00931238 /* ccMacros.h in Headers */, 294D7D9B1D0E93A2002CE7B7 /* CCDevice-apple.h in Headers */, 46178650205224DA008256E1 /* CCDownloaderImpl-apple.h in Headers */, - 046AAA19223B4762005191A4 /* ShearTimeline.h in Headers */, 46FDDAA6202ACC6A00931238 /* Scene.h in Headers */, 46AE3FE62092F3A600F3A228 /* base64.h in Headers */, - 046AA953223B4761005191A4 /* PathConstraintSpacingTimeline.h in Headers */, 1A586C4A2064C97800B47573 /* EJConvert.h in Headers */, + 04DBD42422AE2DBD00DBE4CD /* SlotData.h in Headers */, 46AE3FE82092F3A600F3A228 /* inspector_io.h in Headers */, 1AAAC8E0205CB6E9005321B9 /* AudioDecoder.h in Headers */, - 046AA991223B4761005191A4 /* RotateTimeline.h in Headers */, + 04DBD3BE22AE2DBD00DBE4CD /* Attachment.h in Headers */, 046E06D02185B49F00B24E2D /* BoundingBoxData.h in Headers */, 1A28FF821F20AFAB007A1D9D /* SRRandom.h in Headers */, 1A52DB79205BCDD000350EE3 /* Object.hpp in Headers */, @@ -3782,268 +4010,290 @@ 46FDDA6E202ACC6A00931238 /* INode.h in Headers */, 469304152046AE06004A3D6C /* jsb_renderer_manual.hpp in Headers */, 50ABBD631925AB0000A911A9 /* Vec4.h in Headers */, - 046AA96D223B4761005191A4 /* MathUtil.h in Headers */, 46AE3FDE2092F3A600F3A228 /* inspector_socket_server.h in Headers */, 1A586C442064C90500B47573 /* EJConvertTypedArray.h in Headers */, 46AE3FFE2092F3A600F3A228 /* util.h in Headers */, 046E06652185B41B00B24E2D /* Armature.h in Headers */, 046E06692185B41B00B24E2D /* Constraint.h in Headers */, 046B689621A10D5800B33469 /* MiddlewareMacro.h in Headers */, - 046AA939223B4761005191A4 /* DeformTimeline.h in Headers */, - 046AA941223B4761005191A4 /* Slot.h in Headers */, - 04F49F50222B80C500E5CAF1 /* RenderInfoMgr.h in Headers */, 46FDDA82202ACC6A00931238 /* RendererUtils.h in Headers */, - 046AA913223B4761005191A4 /* PathConstraintData.h in Headers */, - 046AA9EB223B4762005191A4 /* Json.h in Headers */, - 046AA94F223B4761005191A4 /* PathAttachment.h in Headers */, 40AEF7B7216D982600729AA5 /* jsb_webview_auto.hpp in Headers */, 50ABC0101926664800A911A9 /* CCFileUtils.h in Headers */, + 04DBD4C422AE2DBD00DBE4CD /* BoneData.h in Headers */, 40FF7AA2216B29CC00E73029 /* VideoPlayer.h in Headers */, + 04DBD4D622AE2DBD00DBE4CD /* IkConstraint.h in Headers */, + 04DBD47222AE2DBD00DBE4CD /* Bone.h in Headers */, 1A29D77E2056667800168D9A /* csscolorparser.hpp in Headers */, + 04DBD32022AE2D8200DBE4CD /* AttachmentVertices.h in Headers */, 46FDDA9C202ACC6A00931238 /* Effect.h in Headers */, 046E07002189999600B24E2D /* jsb_cocos2dx_editor_support_auto.hpp in Headers */, - 046AA94D223B4761005191A4 /* Extension.h in Headers */, + 04DBD49A22AE2DBD00DBE4CD /* TransformMode.h in Headers */, + 04DBD32422AE2D8200DBE4CD /* SkeletonDataMgr.h in Headers */, 46AE40062092F3A600F3A228 /* inspector_socket.h in Headers */, - 046AA969223B4761005191A4 /* BoneData.h in Headers */, 40AEF7B1216D940200729AA5 /* WebView-inl.h in Headers */, - 046AA9CD223B4762005191A4 /* Event.h in Headers */, 503DD8E61926736A00CD74DD /* CCEAGLView-ios.h in Headers */, + 04DBD4CC22AE2DBD00DBE4CD /* VertexAttachment.h in Headers */, 46FDDAC8202ACC6A00931238 /* GFX.h in Headers */, - 046AA9F3223B4762005191A4 /* Skeleton.h in Headers */, 469303972046AE05004A3D6C /* Class.hpp in Headers */, + 04DBD4C622AE2DBD00DBE4CD /* dll.h in Headers */, + 04DBD40022AE2DBD00DBE4CD /* EventTimeline.h in Headers */, + 04DBD31E22AE2D8200DBE4CD /* SkeletonAnimation.h in Headers */, 046E06F22185B4A500B24E2D /* BinaryDataParser.h in Headers */, - 046AA91F223B4761005191A4 /* AttachmentTimeline.h in Headers */, + 041854A6228D7E7300F8DF31 /* jsb_cocos2dx_particle_auto.hpp in Headers */, + 04DBD46222AE2DBD00DBE4CD /* TwoColorTimeline.h in Headers */, 46FDDA98202ACC6A00931238 /* Model.h in Headers */, + 04DBD45822AE2DBD00DBE4CD /* AttachmentLoader.h in Headers */, 469304112046AE06004A3D6C /* jsb_helper.hpp in Headers */, 1A52DAF7205BB81400350EE3 /* CCThreadPool.h in Headers */, - 046AAA13223B4762005191A4 /* EventTimeline.h in Headers */, 046E06192185B37100B24E2D /* CCTextureAtlasData.h in Headers */, - 046AA96B223B4761005191A4 /* TransformConstraint.h in Headers */, 50ABBD5B1925AB0000A911A9 /* Vec2.h in Headers */, - 046AA983223B4761005191A4 /* Vector.h in Headers */, 4008729720CE20C2002EB77B /* jsb_cocos2dx_network_manual.h in Headers */, + 04DBD4BE22AE2DBD00DBE4CD /* spine.h in Headers */, 50ABBD411925AB0000A911A9 /* CCMath.h in Headers */, - 046AAA05223B4762005191A4 /* LinkedMesh.h in Headers */, + 04DBD3E822AE2DBD00DBE4CD /* PathConstraintMixTimeline.h in Headers */, + 04DBD43622AE2DBD00DBE4CD /* RotateMode.h in Headers */, 04355819217EADF300B9C056 /* IOBuffer.h in Headers */, + 0494CFD722BEFC6D00B73B79 /* ParallelTask.hpp in Headers */, 046E06342185B41100B24E2D /* Animation.h in Headers */, 461786682052607E008256E1 /* jsb_websocket.hpp in Headers */, 4617865E2052607E008256E1 /* jsb_xmlhttprequest.hpp in Headers */, - 046E03FC21804E6B00B24E2D /* AttachmentVertices.h in Headers */, + 04DBD3C822AE2DBD00DBE4CD /* HasRendererObject.h in Headers */, + 04DBD3EC22AE2DBD00DBE4CD /* CurveTimeline.h in Headers */, 46FDDAB0202ACC6A00931238 /* Texture2D.h in Headers */, - 046AA917223B4761005191A4 /* Pool.h in Headers */, - 046AAA0D223B4762005191A4 /* MeshAttachment.h in Headers */, 50ABBD3F1925AB0000A911A9 /* CCGeometry.h in Headers */, 4693039D2046AE05004A3D6C /* PlatformUtils.h in Headers */, 046E06C22185B49F00B24E2D /* TextureAtlasData.h in Headers */, + 04DBD3D222AE2DBD00DBE4CD /* EventData.h in Headers */, 046E06402185B41100B24E2D /* AnimationState.h in Headers */, - 046AA9CB223B4762005191A4 /* SpacingMode.h in Headers */, 4617866E2052609B008256E1 /* jsb_cocos2dx_network_auto.hpp in Headers */, - 046AA957223B4761005191A4 /* PathConstraint.h in Headers */, 046E066B2185B41B00B24E2D /* IArmatureProxy.h in Headers */, + 0482F19A228D87970019ECF7 /* RenderFlow.hpp in Headers */, + 0482F1A8228D87970019ECF7 /* NodeProxy.hpp in Headers */, + 04DBD44422AE2DBD00DBE4CD /* PathConstraint.h in Headers */, + 04DBD45622AE2DBD00DBE4CD /* Vertices.h in Headers */, 1A28FF6A1F20AFAB007A1D9D /* SRConstants.h in Headers */, + 04DBD40C22AE2DBD00DBE4CD /* SpineString.h in Headers */, + 04DBD47822AE2DBD00DBE4CD /* Atlas.h in Headers */, 50ABBFFE1926664800A911A9 /* CCFileUtils-apple.h in Headers */, 046E061F2185B37100B24E2D /* CCDragonBonesHeaders.h in Headers */, 046B689321A00F5600B33469 /* IOTypedArray.h in Headers */, - 046AA90F223B4761005191A4 /* SkeletonClipping.h in Headers */, 46FDDBEA202ADDCE00931238 /* CCAutoreleasePool.h in Headers */, - 046AA97F223B4761005191A4 /* AttachmentType.h in Headers */, + 0482F1C0228D87970019ECF7 /* Assembler.hpp in Headers */, 461786642052607E008256E1 /* jsb_socketio.hpp in Headers */, 40AEF7C1216DF22500729AA5 /* jsb_video_auto.hpp in Headers */, - 046AA9FD223B4762005191A4 /* Triangulator.h in Headers */, 46AE40002092F3A600F3A228 /* v8_inspector_protocol_json.h in Headers */, 469303EF2046AE05004A3D6C /* jsb_renderer_auto.hpp in Headers */, + 04DBD49622AE2DBD00DBE4CD /* SpineObject.h in Headers */, 1A28FF521F20AFAB007A1D9D /* SRIOConsumer.h in Headers */, 1A28FF981F20AFAB007A1D9D /* SRSecurityPolicy.h in Headers */, + 04DBD3F222AE2DBD00DBE4CD /* MathUtil.h in Headers */, 40CEAEB520CFDC23007A3281 /* CCReachability.h in Headers */, 4037F5CD2108751E001C205C /* CCAsyncTaskPool.h in Headers */, 1A52DB76205BCDD000350EE3 /* Class.hpp in Headers */, 50643BDC19BFAF4400EF68ED /* CCStdC.h in Headers */, + 04DBD3FA22AE2DBD00DBE4CD /* Event.h in Headers */, 046E06422185B41100B24E2D /* BaseTimelineState.h in Headers */, 469303AF2046AE05004A3D6C /* Base.h in Headers */, - 046E03F821804E6B00B24E2D /* SkeletonRenderer.h in Headers */, - 046AA9E1223B4762005191A4 /* TransformConstraintData.h in Headers */, 46930467204FE20F004A3D6C /* CCLog.h in Headers */, 1A28FF761F20AFAB007A1D9D /* SRHTTPConnectMessage.h in Headers */, 046E06942185B45300B24E2D /* Rectangle.h in Headers */, 46FDDBBC202ADDCE00931238 /* CCRefPtr.h in Headers */, 46AE3FEC2092F3A600F3A228 /* node_mutex.h in Headers */, + 04DBD40A22AE2DBD00DBE4CD /* IkConstraintData.h in Headers */, 4617864C20522469008256E1 /* HttpCookie.h in Headers */, + 04DBD3C622AE2DBD00DBE4CD /* MixDirection.h in Headers */, 1A52DB74205BCDD000350EE3 /* Base.h in Headers */, - 046AA99D223B4761005191A4 /* HashMap.h in Headers */, + 04DBD3E222AE2DBD00DBE4CD /* AttachmentTimeline.h in Headers */, 469304012046AE06004A3D6C /* jsb_global.h in Headers */, + 04DBD47A22AE2DBD00DBE4CD /* PositionMode.h in Headers */, + 0431A07222CCA7C1003356C9 /* SimpleSprite2D.hpp in Headers */, + 04DBD48222AE2DBD00DBE4CD /* PathConstraintPositionTimeline.h in Headers */, 46AE3FF82092F3A600F3A228 /* util-inl.h in Headers */, 46FDDADE202ACC6A00931238 /* VertexBuffer.h in Headers */, 40AEF7B3216D940200729AA5 /* WebViewImpl-ios.h in Headers */, 1A28FF621F20AFAB007A1D9D /* SRRunLoopThread.h in Headers */, 46FDDA86202ACC6A00931238 /* View.h in Headers */, + 04F8563722ABCB9900063A20 /* TiledMapAssembler.hpp in Headers */, 46FDDAD8202ACC6A00931238 /* GFXUtils.h in Headers */, 46FDDB82202ADDCE00931238 /* ccTypes.h in Headers */, - 046AA9B3223B4761005191A4 /* AnimationStateData.h in Headers */, 50ABC00C1926664800A911A9 /* CCDevice.h in Headers */, - 046AA945223B4761005191A4 /* PathConstraintMixTimeline.h in Headers */, - 046AA9C9223B4762005191A4 /* SlotData.h in Headers */, 46FDDA74202ACC6A00931238 /* ProgramLib.h in Headers */, 46FDDAD0202ACC6A00931238 /* RenderBuffer.h in Headers */, 1A28FF7A1F20AFAB007A1D9D /* SRLog.h in Headers */, 46AE3FF42092F3A600F3A228 /* node.h in Headers */, 46FDDC64202D502F00931238 /* CCApplication.h in Headers */, + 042058D022A61B340092DE5D /* RenderDataList.hpp in Headers */, 046E06D82185B49F00B24E2D /* AnimationConfig.h in Headers */, 46FDDACC202ACC6A00931238 /* VertexFormat.h in Headers */, 46FDDACE202ACC6A00931238 /* GraphicsHandle.h in Headers */, - 046AA9A9223B4761005191A4 /* spine.h in Headers */, 469303912046AE05004A3D6C /* MappingUtils.hpp in Headers */, + 0482F1C2228D87970019ECF7 /* AssemblerBase.hpp in Headers */, + 04DBD49022AE2DBD00DBE4CD /* Vector.h in Headers */, 46FDDA80202ACC6A00931238 /* Renderer.h in Headers */, 4617864420522469008256E1 /* HttpRequest.h in Headers */, 46AE3FEE2092F3A600F3A228 /* http_parser.h in Headers */, - 046AA9D3223B4762005191A4 /* Debug.h in Headers */, + 04DBD47422AE2DBD00DBE4CD /* AttachmentType.h in Headers */, + 0431A06C22CCA441003356C9 /* AssemblerSprite.hpp in Headers */, 046E06632185B41B00B24E2D /* Slot.h in Headers */, - 046AA961223B4761005191A4 /* SkeletonBinary.h in Headers */, + 04DBD3D422AE2DBD00DBE4CD /* RotateTimeline.h in Headers */, + 04DBD46822AE2DBD00DBE4CD /* TransformConstraintData.h in Headers */, 4693045B2046AE06004A3D6C /* EventDispatcher.h in Headers */, 046E06BE2185B49F00B24E2D /* UserData.h in Headers */, + 04DBD3FE22AE2DBD00DBE4CD /* HashMap.h in Headers */, 46FDDAA2202ACC6A00931238 /* InputAssembler.h in Headers */, 046E06612185B41B00B24E2D /* DeformVertices.h in Headers */, 46FDDBCC202ADDCE00931238 /* ZipUtils.h in Headers */, + 04DBD43A22AE2DBD00DBE4CD /* Updatable.h in Headers */, 046E06462185B41100B24E2D /* IAnimatable.h in Headers */, + 04DBD3DA22AE2DBD00DBE4CD /* Constraint.h in Headers */, + 04DBD43E22AE2DBD00DBE4CD /* SkeletonBinary.h in Headers */, 046E06E02185B49F00B24E2D /* DragonBonesData.h in Headers */, + 04DBD3C222AE2DBD00DBE4CD /* TextureLoader.h in Headers */, 04AF6302219190ED00AED9DE /* TypedArrayPool.h in Headers */, 46FDDB50202ADDCE00931238 /* CCValue.h in Headers */, 46FDDADA202ACC6A00931238 /* Program.h in Headers */, + 04DBD44222AE2DBD00DBE4CD /* PathAttachment.h in Headers */, 46FDDAC4202ACC6A00931238 /* FrameBuffer.h in Headers */, - 046AA9B5223B4761005191A4 /* PositionMode.h in Headers */, - 046AA92F223B4761005191A4 /* ScaleTimeline.h in Headers */, + 0482F1AE228D87970019ECF7 /* MaskAssembler.hpp in Headers */, 46FDDAD2202ACC6A00931238 /* Texture.h in Headers */, 469303992046AE05004A3D6C /* HelperMacros.h in Headers */, 1AAAC8EE205CB6E9005321B9 /* AudioCache.h in Headers */, + 04DBD3DE22AE2DBD00DBE4CD /* SkeletonData.h in Headers */, 1A28FF721F20AFAB007A1D9D /* SRHash.h in Headers */, 50ABBD431925AB0000A911A9 /* CCMathBase.h in Headers */, 46FDDBDE202ADDCE00931238 /* TGAlib.h in Headers */, 046E06DC2185B49F00B24E2D /* ConstraintData.h in Headers */, - 046AA9C3223B4762005191A4 /* ContainerUtil.h in Headers */, 469303812046AE05004A3D6C /* config.hpp in Headers */, - 046AA9C1223B4762005191A4 /* SkeletonBounds.h in Headers */, 1A28FF9C1F20AFAB007A1D9D /* SRWebSocket.h in Headers */, 046E061B2185B37100B24E2D /* CCFactory.h in Headers */, BAEA45561E279D5C00FA219F /* tinydir.h in Headers */, 4693038B2046AE05004A3D6C /* State.hpp in Headers */, 461DCA5B20C7E4BA00B22827 /* JavaScriptObjCBridge.h in Headers */, + 04DBD3EA22AE2DBD00DBE4CD /* Debug.h in Headers */, 46FDDADC202ACC6A00931238 /* State.h in Headers */, 46FDDB8A202ADDCE00931238 /* CCRef.h in Headers */, 046E06852185B43B00B24E2D /* EventObject.h in Headers */, - 046AA97D223B4761005191A4 /* SkeletonJson.h in Headers */, + 04DBD48E22AE2DBD00DBE4CD /* Slot.h in Headers */, + 04DBD44A22AE2DBD00DBE4CD /* DrawOrderTimeline.h in Headers */, 046E06DA2185B49F00B24E2D /* CanvasData.h in Headers */, - 046AA9EF223B4762005191A4 /* SkeletonData.h in Headers */, 46FDDB6C202ADDCE00931238 /* base64.h in Headers */, - 046AA9BF223B4762005191A4 /* DrawOrderTimeline.h in Headers */, - 046AA973223B4761005191A4 /* TransformConstraintTimeline.h in Headers */, 469303652046AE05004A3D6C /* RefCounter.hpp in Headers */, - 046AA965223B4761005191A4 /* RTTI.h in Headers */, 469303D32046AE05004A3D6C /* jsb_gfx_auto.hpp in Headers */, 046E068B2185B44A00B24E2D /* BaseFactory.h in Headers */, 046E063C2185B41100B24E2D /* WorldClock.h in Headers */, 40AEF7B2216D940200729AA5 /* WebView.h in Headers */, - 046AA943223B4761005191A4 /* Updatable.h in Headers */, - 046AA955223B4761005191A4 /* ColorTimeline.h in Headers */, + 04DBD4D022AE2DBD00DBE4CD /* SkeletonClipping.h in Headers */, 1AAAC8F4205CB6E9005321B9 /* AudioEngine.h in Headers */, - 046AA919223B4761005191A4 /* Atlas.h in Headers */, + 04886B4422CE22F2008CEB66 /* SlicedSprite2D.hpp in Headers */, 046B68A921A292D300B33469 /* jsb_spine_manual.hpp in Headers */, 46FDDA78202ACC6A00931238 /* Light.h in Headers */, 1A29D7A420566CAC00168D9A /* CCCanvasRenderingContext2D.h in Headers */, - 046AAA15223B4762005191A4 /* IkConstraintTimeline.h in Headers */, 046E06812185B43B00B24E2D /* IEventDispatcher.h in Headers */, 1A52DB7C205BCDD000350EE3 /* SeApi.h in Headers */, 469303A92046AE05004A3D6C /* SeApi.h in Headers */, 46FDDAAE202ACC6A00931238 /* Macro.h in Headers */, - 046AAA07223B4762005191A4 /* BoundingBoxAttachment.h in Headers */, 04ED68DB21F8188F006E82F8 /* MeshBuffer.h in Headers */, - 046AA9D1223B4762005191A4 /* Constraint.h in Headers */, - 046AA9D5223B4762005191A4 /* ClippingAttachment.h in Headers */, 469303872046AE05004A3D6C /* Object.hpp in Headers */, - 046AA91B223B4761005191A4 /* IkConstraintData.h in Headers */, 1A28FF5E1F20AFAB007A1D9D /* SRProxyConnect.h in Headers */, + 04DBD42822AE2DBD00DBE4CD /* VertexEffect.h in Headers */, + 04DBD47C22AE2DBD00DBE4CD /* AnimationState.h in Headers */, 469303AD2046AE05004A3D6C /* Utils.hpp in Headers */, + 04DBD4D222AE2DBD00DBE4CD /* LinkedMesh.h in Headers */, + 04DBD4DE22B51EA300DBE4CD /* MemPool.hpp in Headers */, 046E06FA2189990700B24E2D /* middleware-adapter.h in Headers */, + 04DBD4E422B51EB300DBE4CD /* NodeMemPool.hpp in Headers */, 1A28FF4E1F20AFAB007A1D9D /* SRDelegateController.h in Headers */, 469301D0203FC696004A3D6C /* CCConfiguration.h in Headers */, + 04DBD45A22AE2DBD00DBE4CD /* PointAttachment.h in Headers */, 46FDDB6E202ADDCE00931238 /* etc1.h in Headers */, - 046AA91D223B4761005191A4 /* TwoColorTimeline.h in Headers */, - 046AA995223B4761005191A4 /* VertexAttachment.h in Headers */, + 04DBD40222AE2DBD00DBE4CD /* AtlasAttachmentLoader.h in Headers */, 461DCA3720BBFA2D00B22827 /* EditBox.h in Headers */, - 046AA9A1223B4761005191A4 /* BlendMode.h in Headers */, - 046AAA25223B4762005191A4 /* PointAttachment.h in Headers */, + 04DBD31622AE2D8200DBE4CD /* VertexEffectDelegate.h in Headers */, 1AAAC8E6205CB6E9005321B9 /* AudioPlayer.h in Headers */, + 0482F1BC228D87970019ECF7 /* MeshBuffer.hpp in Headers */, 469303A52046AE05004A3D6C /* ScriptEngine.hpp in Headers */, + 045F672B22A50A8D0033F7BD /* RenderData.hpp in Headers */, 046E069E2185B45300B24E2D /* Transform.h in Headers */, 046E070C218B015100B24E2D /* jsb_cocos2dx_dragonbones_auto.hpp in Headers */, - 046E03F221804E6B00B24E2D /* SkeletonAnimation.h in Headers */, 046E06152185B37100B24E2D /* CCArmatureDisplay.h in Headers */, + 04DBD41022AE2DBD00DBE4CD /* TransformConstraintTimeline.h in Headers */, 1A28FF8A1F20AFAB007A1D9D /* SRURLUtilities.h in Headers */, - 046AA911223B4761005191A4 /* SpineObject.h in Headers */, 50ABBD4B1925AB0000A911A9 /* Mat4.h in Headers */, 50ABBD531925AB0000A911A9 /* Quaternion.h in Headers */, 4617863E20522469008256E1 /* HttpResponse.h in Headers */, 461786542052301A008256E1 /* CCScheduler.h in Headers */, + 04DBD49222AE2DBD00DBE4CD /* ShearTimeline.h in Headers */, + 04DBD3E422AE2DBD00DBE4CD /* BlendMode.h in Headers */, 046E065F2185B41B00B24E2D /* TransformObject.h in Headers */, 046E06962185B45300B24E2D /* ColorTransform.h in Headers */, - 046AA975223B4761005191A4 /* TimelineType.h in Headers */, + 04DBD44C22AE2DBD00DBE4CD /* IkConstraintTimeline.h in Headers */, 50ABC0181926664800A911A9 /* CCImage.h in Headers */, 503DD8EB1926736A00CD74DD /* CCGL-ios.h in Headers */, 46FDDA7C202ACC6A00931238 /* Camera.h in Headers */, - 046AA97B223B4761005191A4 /* RotateMode.h in Headers */, 4617862420522469008256E1 /* CCIDownloaderImpl.h in Headers */, - 046AA9E9223B4762005191A4 /* Color.h in Headers */, 046E06EE2185B4A500B24E2D /* JSONDataParser.h in Headers */, 046E06F42185B4A500B24E2D /* DataParser.h in Headers */, 5027253B190BF1B900AAF4ED /* cocos2d.h in Headers */, + 0482F1B2228D87970019ECF7 /* ModelBatcher.hpp in Headers */, + 04DBD3BC22AE2DBD00DBE4CD /* Pool.h in Headers */, 46FDDAAC202ACC6A00931238 /* Types.h in Headers */, - 046AA9E7223B4762005191A4 /* Skin.h in Headers */, + 04DBD45022AE2DBD00DBE4CD /* Json.h in Headers */, + 04DBD43222AE2DBD00DBE4CD /* Color.h in Headers */, 1AAAC876205CB647005321B9 /* jsb_cocos2dx_audioengine_auto.hpp in Headers */, + 04DBD32C22AE2D8200DBE4CD /* spine-cocos2dx.h in Headers */, 1A52DB7B205BCDD000350EE3 /* ScriptEngine.hpp in Headers */, + 04DBD47622AE2DBD00DBE4CD /* MeshAttachment.h in Headers */, 4648882620AC2BC900CD1E4A /* CCRenderTexture.h in Headers */, - 046E03F621804E6B00B24E2D /* spine-cocos2dx.h in Headers */, + 0482F1AA228D87970019ECF7 /* StencilManager.hpp in Headers */, 1A29D772205665D200168D9A /* jsb_cocos2dx_manual.hpp in Headers */, - 046AA95F223B4761005191A4 /* Vertices.h in Headers */, 1A29D789205666B200168D9A /* LocalStorage.h in Headers */, 046E0712218B01EF00B24E2D /* jsb_dragonbones_manual.hpp in Headers */, 46FDDC67202D504E00931238 /* CCApplication.h in Headers */, 046E06772185B42500B24E2D /* DragonBones.h in Headers */, + 0482F19E228D87970019ECF7 /* scene-bindings.h in Headers */, + 041854A2228D7E5700F8DF31 /* ParticleSimulator.h in Headers */, 46AE3FE42092F3A600F3A228 /* inspector_agent.h in Headers */, - 046AA9DF223B4762005191A4 /* Animation.h in Headers */, - 044DE37B227552520037572E /* VertexEffectDelegate.h in Headers */, + 04DBD4B422AE2DBD00DBE4CD /* ContainerUtil.h in Headers */, 046E06C82185B49F00B24E2D /* DisplayData.h in Headers */, 50ABBD4F1925AB0000A911A9 /* MathUtil.h in Headers */, + 04DBD3FC22AE2DBD00DBE4CD /* Animation.h in Headers */, 1A28FF561F20AFAB007A1D9D /* SRIOConsumerPool.h in Headers */, + 044597F522D332D800924443 /* Extension.h in Headers */, 1A28FF7E1F20AFAB007A1D9D /* SRMutex.h in Headers */, 403ACADD20CE542900BB433D /* jsb_module_register.hpp in Headers */, - 046AA92D223B4761005191A4 /* IkConstraint.h in Headers */, 46FDDA76202ACC6A00931238 /* Config.h in Headers */, + 04DBD3D022AE2DBD00DBE4CD /* Triangulator.h in Headers */, 50643BD519BFAECF00EF68ED /* CCGL.h in Headers */, 046E06D62185B49F00B24E2D /* ArmatureData.h in Headers */, 46FDDB84202ADDCE00931238 /* ccRandom.h in Headers */, 1AAAC8EA205CB6E9005321B9 /* AudioMacros.h in Headers */, - 046AA9FF223B4762005191A4 /* EventData.h in Headers */, 46AE400A2092F3A600F3A228 /* node_debug_options.h in Headers */, - 046AA9FB223B4762005191A4 /* Attachment.h in Headers */, 4617862620522469008256E1 /* CCDownloader.h in Headers */, - 046AA95B223B4761005191A4 /* TextureLoader.h in Headers */, + 04DBD46622AE2DBD00DBE4CD /* ScaleTimeline.h in Headers */, 46FDDBD2202ADDCE00931238 /* ccUTF8.h in Headers */, + 04DBD4A822AE2DBD00DBE4CD /* RegionAttachment.h in Headers */, 1A14FD942080B4E300E10ABE /* CCGLUtils.h in Headers */, 50ABBD5F1925AB0000A911A9 /* Vec3.h in Headers */, + 04DBD4D422AE2DBD00DBE4CD /* RTTI.h in Headers */, 46FDDC02202ADDCE00931238 /* ccCArray.h in Headers */, 1A29D79F205666F500168D9A /* jsb_opengl_manual.hpp in Headers */, 46FDDAE0202ACC6A00931238 /* RenderTarget.h in Headers */, + 04DBD3F622AE2DBD00DBE4CD /* ClippingAttachment.h in Headers */, 046E06B82185B49F00B24E2D /* AnimationData.h in Headers */, 50ABBD471925AB0000A911A9 /* CCVertex.h in Headers */, 46FDDA90202ACC6A00931238 /* BaseRenderer.h in Headers */, 046B68AD21A294B100B33469 /* jsb_cocos2dx_spine_auto.hpp in Headers */, - 046AA971223B4761005191A4 /* Timeline.h in Headers */, 46FDDABE202ACC6A00931238 /* DeviceGraphics.h in Headers */, 4617862820522469008256E1 /* WebSocket.h in Headers */, - 046AAA29223B4762005191A4 /* AtlasAttachmentLoader.h in Headers */, 4617863220522469008256E1 /* SocketIO.h in Headers */, 46FDDAB8202ACC6A00931238 /* IndexBuffer.h in Headers */, 1A28FF5C1F20AFAB007A1D9D /* NSURLRequest+SRWebSocketPrivate.h in Headers */, 1AAAC8F0205CB6E9005321B9 /* AudioEngine-inl.h in Headers */, + 04DBD3D622AE2DBD00DBE4CD /* ColorTimeline.h in Headers */, + 04DBD4C822AE2DBD00DBE4CD /* SkeletonBounds.h in Headers */, + 04DBD31822AE2D8200DBE4CD /* SkeletonRenderer.h in Headers */, 1A28FF6E1F20AFAB007A1D9D /* SRError.h in Headers */, + 0482F1A4228D87970019ECF7 /* CustomAssembler.hpp in Headers */, 1AAAC8F6205CB6E9005321B9 /* Export.h in Headers */, 46FDDBC4202ADDCE00931238 /* ccConfig.h in Headers */, 46AE3FE02092F3A600F3A228 /* env.h in Headers */, @@ -4051,17 +4301,21 @@ 1A28FF661F20AFAB007A1D9D /* SRPinningSecurityPolicy.h in Headers */, 46178671205262BC008256E1 /* jsb_conversions.hpp in Headers */, 469304212046AE06004A3D6C /* jsb_gfx_manual.hpp in Headers */, - 04F49F44222A777C00E5CAF1 /* SkeletonDataMgr.h in Headers */, 50ABC01C1926664800A911A9 /* CCSAXParser.h in Headers */, 1A52DB77205BCDD000350EE3 /* HelperMacros.h in Headers */, 469304312046AE06004A3D6C /* jsb_classtype.hpp in Headers */, - 046AA9AF223B4761005191A4 /* VertexEffect.h in Headers */, 46FDDBD0202ADDCE00931238 /* CCMap.h in Headers */, 1A52DB7E205BCDD000350EE3 /* Utils.hpp in Headers */, + 04DBD40422AE2DBD00DBE4CD /* Skin.h in Headers */, 503DD8F11926736A00CD74DD /* OpenGL_Internal-ios.h in Headers */, 1A28FF5A1F20AFAB007A1D9D /* NSRunLoop+SRWebSocketPrivate.h in Headers */, 1A28FF861F20AFAB007A1D9D /* SRSIMDHelpers.h in Headers */, + 04DBD42E22AE2DBD00DBE4CD /* PathConstraintSpacingTimeline.h in Headers */, + 04DBD40622AE2DBD00DBE4CD /* BoundingBoxAttachment.h in Headers */, 4617863820522469008256E1 /* HttpClient.h in Headers */, + 04DBD44E22AE2DBD00DBE4CD /* SpacingMode.h in Headers */, + 423379A022BB43B900E5D8A2 /* RecyclePool.hpp in Headers */, + 423379A622BB8DEA00E5D8A2 /* CustomProperties.hpp in Headers */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -4116,6 +4370,7 @@ developmentRegion = English; hasScannedForEncodings = 0; knownRegions = ( + English, en, ); mainGroup = 1551A334158F2AB200E66CFE; @@ -4136,291 +4391,312 @@ files = ( 1A29D794205666F500168D9A /* jsb_opengl_manual.cpp in Sources */, 4693038C2046AE05004A3D6C /* config.cpp in Sources */, - 046AA950223B4761005191A4 /* Constraint.cpp in Sources */, 46FDDA7D202ACC6A00931238 /* Light.cpp in Sources */, 046E070F218B01EF00B24E2D /* jsb_dragonbones_manual.cpp in Sources */, 4693042C2046AE06004A3D6C /* jsb_renderer_manual.cpp in Sources */, 1AAAC8E3205CB6E9005321B9 /* AudioDecoder.mm in Sources */, 1A52DB66205BCDC700350EE3 /* Class.cpp in Sources */, - 046AAA1A223B4762005191A4 /* SkeletonData.cpp in Sources */, + 04DBD45D22AE2DBD00DBE4CD /* SkeletonBinary.cpp in Sources */, 046E0709218B015100B24E2D /* jsb_cocos2dx_dragonbones_auto.cpp in Sources */, 046E06352185B41100B24E2D /* TimelineState.cpp in Sources */, 1A28FF7F1F20AFAB007A1D9D /* SRMutex.m in Sources */, + 04DBD46D22AE2DBD00DBE4CD /* ScaleTimeline.cpp in Sources */, 469303942046AE05004A3D6C /* RefCounter.cpp in Sources */, 469304262046AE06004A3D6C /* jsb_conversions.cpp in Sources */, 469304582046AE06004A3D6C /* EventDispatcher.cpp in Sources */, - 046AAA02223B4762005191A4 /* SkeletonClipping.cpp in Sources */, 04355816217EADF300B9C056 /* IOBuffer.cpp in Sources */, 1A52DAF8205BB81400350EE3 /* CCThreadPool.cpp in Sources */, 46AE3FFB2092F3A600F3A228 /* inspector_io.cc in Sources */, + 04DBD4A922AE2DBD00DBE4CD /* SpineObject.cpp in Sources */, 4037F5CE2108751E001C205C /* CCAsyncTaskPool.cpp in Sources */, 46FDDB65202ADDCE00931238 /* ccRandom.cpp in Sources */, 46FDDAB9202ACC6A00931238 /* FrameBuffer.cpp in Sources */, 50ABBD581925AB0000A911A9 /* Vec2.cpp in Sources */, 4626B1FF202D9BD800BE30B9 /* CCApplication-mac.mm in Sources */, + 04DBD46F22AE2DBD00DBE4CD /* TransformConstraintData.cpp in Sources */, 5027253C190BF1B900AAF4ED /* cocos2d.cpp in Sources */, 46FDDAA3202ACC6A00931238 /* InputAssembler.cpp in Sources */, 046E06222185B37100B24E2D /* CCTextureAtlasData.cpp in Sources */, 1AAAC8EB205CB6E9005321B9 /* AudioCache.mm in Sources */, 4648882720AC2BC900CD1E4A /* CCRenderTexture.cpp in Sources */, + 041854A7228D7E7300F8DF31 /* jsb_cocos2dx_particle_auto.cpp in Sources */, 46AE3FF92092F3A600F3A228 /* inspector_socket.cc in Sources */, + 0431A06922CCA441003356C9 /* AssemblerSprite.cpp in Sources */, + 04DBD47D22AE2DBD00DBE4CD /* DeformTimeline.cpp in Sources */, 1A52DB61205BCDC700350EE3 /* Object.cpp in Sources */, + 042058CD22A61B340092DE5D /* RenderDataList.cpp in Sources */, + 045F672822A50A8D0033F7BD /* RenderData.cpp in Sources */, 50ABBD501925AB0000A911A9 /* Quaternion.cpp in Sources */, - 046AA9AC223B4761005191A4 /* Extension.cpp in Sources */, + 0418549F228D7E5700F8DF31 /* ParticleSimulator.cpp in Sources */, + 425D3FF122D86BEF00BCED11 /* Mat3.cpp in Sources */, ED30579A1BEC77B70083C3ED /* ConvertUTF.c in Sources */, 046E06C92185B49F00B24E2D /* UserData.cpp in Sources */, 46FDDA79202ACC6A00931238 /* Camera.cpp in Sources */, 4617863320522469008256E1 /* Uri.cpp in Sources */, + 04DBD48922AE2DBD00DBE4CD /* IkConstraintTimeline.cpp in Sources */, 46FDDAC1202ACC6A00931238 /* Texture.cpp in Sources */, + 0482F19F228D87970019ECF7 /* Assembler.cpp in Sources */, 1A28FF6B1F20AFAB007A1D9D /* SRConstants.m in Sources */, 294D7D9C1D0E93A2002CE7B7 /* CCDevice-apple.mm in Sources */, 046E061C2185B37100B24E2D /* CCFactory.cpp in Sources */, 1A586C452064C90500B47573 /* EJConvertTypedArray.m in Sources */, - 046AA936223B4761005191A4 /* CurveTimeline.cpp in Sources */, + 04DBD32922AE2D8200DBE4CD /* spine-cocos2dx.cpp in Sources */, 1A29D77B2056667800168D9A /* csscolorparser.cpp in Sources */, 46FDDA71202ACC6A00931238 /* Scene.cpp in Sources */, 469303C62046AE05004A3D6C /* jsb_gfx_auto.cpp in Sources */, 46AE40072092F3A600F3A228 /* node_debug_options.cc in Sources */, - 044DE378227552520037572E /* VertexEffectDelegate.cpp in Sources */, 469304122046AE06004A3D6C /* jsb_classtype.cpp in Sources */, 50ABBFFF1926664800A911A9 /* CCFileUtils-apple.mm in Sources */, + 04DBD49D22AE2DBD00DBE4CD /* SkeletonJson.cpp in Sources */, + 04DBD49F22AE2DBD00DBE4CD /* ColorTimeline.cpp in Sources */, 4617866B2052609B008256E1 /* jsb_cocos2dx_network_auto.cpp in Sources */, 461DCA3E20BBFCFE00B22827 /* EditBox-mac.mm in Sources */, - 046AA980223B4761005191A4 /* Skin.cpp in Sources */, 40CEAEB720CFDC45007A3281 /* CCReachability.cpp in Sources */, + 04DBD4B122AE2DBD00DBE4CD /* TwoColorTimeline.cpp in Sources */, + 04DBD48522AE2DBD00DBE4CD /* EventTimeline.cpp in Sources */, 046E06DD2185B49F00B24E2D /* AnimationData.cpp in Sources */, - 046AA9C6223B4762005191A4 /* SkeletonJson.cpp in Sources */, 046E06202185B37100B24E2D /* CCArmatureDisplay.cpp in Sources */, + 0494CFD422BEFC6D00B73B79 /* ParallelTask.cpp in Sources */, 046E06882185B44A00B24E2D /* BaseFactory.cpp in Sources */, - 046AAA26223B4762005191A4 /* MeshAttachment.cpp in Sources */, 1A52DB30205BCD9200350EE3 /* ScriptEngine.cpp in Sources */, + 0482F1A1228D87970019ECF7 /* NodeProxy.cpp in Sources */, + 04DBD4E122B51EB300DBE4CD /* NodeMemPool.cpp in Sources */, 1A52DB62205BCDC700350EE3 /* ScriptEngine.cpp in Sources */, + 04DBD44722AE2DBD00DBE4CD /* Skeleton.cpp in Sources */, 4DC57D211F7A58B5005B6546 /* xxtea.cpp in Sources */, 46AE40032092F3A600F3A228 /* http_parser.c in Sources */, - 046AA9CE223B4762005191A4 /* RTTI.cpp in Sources */, 1A586C4B2064C97800B47573 /* EJConvert.m in Sources */, 1AAAC8E7205CB6E9005321B9 /* AudioEngine-inl.mm in Sources */, - 046E03EF21804E6B00B24E2D /* SkeletonAnimation.cpp in Sources */, + 04DBD46B22AE2DBD00DBE4CD /* AttachmentTimeline.cpp in Sources */, 46FDDB71202ADDCE00931238 /* base64.cpp in Sources */, 1AAAC873205CB647005321B9 /* jsb_cocos2dx_audioengine_auto.cpp in Sources */, + 04DBD46322AE2DBD00DBE4CD /* PathConstraintData.cpp in Sources */, + 423379A322BB8DEA00E5D8A2 /* CustomProperties.cpp in Sources */, 46FDDA8D202ACC6A00931238 /* Config.cpp in Sources */, 46930468204FE20F004A3D6C /* CCLog.cpp in Sources */, 1A28FF991F20AFAB007A1D9D /* SRSecurityPolicy.m in Sources */, 46AE3FF52092F3A600F3A228 /* util.cc in Sources */, 046E06582185B41B00B24E2D /* Armature.cpp in Sources */, - 046AA920223B4761005191A4 /* IkConstraintData.cpp in Sources */, 46FDDAE1202ACC6A00931238 /* GFXUtils.cpp in Sources */, - 046AAA20223B4762005191A4 /* Bone.cpp in Sources */, + 04886B4122CE22F2008CEB66 /* SlicedSprite2D.cpp in Sources */, 1A52DB6B205BCDC700350EE3 /* Utils.cpp in Sources */, 4693042E2046AE06004A3D6C /* jsb_helper.cpp in Sources */, 046E06EB2185B4A500B24E2D /* DataParser.cpp in Sources */, + 04DBD41F22AE2DBD00DBE4CD /* Animation.cpp in Sources */, 1A14FD912080B4E300E10ABE /* CCGLUtils.cpp in Sources */, - 046AA9E4223B4762005191A4 /* PathAttachment.cpp in Sources */, 046E06B92185B49F00B24E2D /* ConstraintData.cpp in Sources */, - 046E03F921804E6B00B24E2D /* SkeletonRenderer.cpp in Sources */, + 04DBD3D722AE2DBD00DBE4CD /* PathAttachment.cpp in Sources */, 469303A02046AE05004A3D6C /* ScriptEngine.mm in Sources */, 46FDDAB5202ACC6A00931238 /* Program.cpp in Sources */, + 04DBD3F722AE2DBD00DBE4CD /* PathConstraintMixTimeline.cpp in Sources */, 046E06662185B41B00B24E2D /* Bone.cpp in Sources */, 46FDDBF9202ADDCE00931238 /* etc1.cpp in Sources */, + 04DBD4A122AE2DBD00DBE4CD /* Attachment.cpp in Sources */, + 04DBD4AD22AE2DBD00DBE4CD /* BoundingBoxAttachment.cpp in Sources */, 50ABBD4C1925AB0000A911A9 /* MathUtil.cpp in Sources */, + 04DBD32722AE2D8200DBE4CD /* SkeletonDataMgr.cpp in Sources */, + 04DBD45F22AE2DBD00DBE4CD /* Event.cpp in Sources */, 046E06C52185B49F00B24E2D /* AnimationConfig.cpp in Sources */, - 046AA932223B4761005191A4 /* EventData.cpp in Sources */, - 046AA948223B4761005191A4 /* Skeleton.cpp in Sources */, - 04F49F4D222B80C500E5CAF1 /* RenderInfoMgr.cpp in Sources */, + 04DBD3C922AE2DBD00DBE4CD /* AtlasAttachmentLoader.cpp in Sources */, 46FDDA99202ACC6A00931238 /* Model.cpp in Sources */, + 04DBD41522AE2DBD00DBE4CD /* MathUtil.cpp in Sources */, + 04DBD42F22AE2DBD00DBE4CD /* Json.cpp in Sources */, + 0482F1B3228D87970019ECF7 /* MaskAssembler.cpp in Sources */, 4693038E2046AE05004A3D6C /* Value.cpp in Sources */, + 04DBD4B522AE2DBD00DBE4CD /* RTTI.cpp in Sources */, + 0482F1A5228D87970019ECF7 /* MeshBuffer.cpp in Sources */, 46FDDA89202ACC6A00931238 /* Effect.cpp in Sources */, - 046AA9A4223B4761005191A4 /* TranslateTimeline.cpp in Sources */, - 046AA998223B4761005191A4 /* Atlas.cpp in Sources */, 1ABAD24E20C29F3800BC71C0 /* CCCanvasRenderingContext2D-apple.mm in Sources */, 046E06E12185B49F00B24E2D /* DragonBonesData.cpp in Sources */, ED30577E1BEC76C90083C3ED /* ioapi_mem.cpp in Sources */, 461DCA5820C7E4BA00B22827 /* JavaScriptObjCBridge.mm in Sources */, - 046AA946223B4761005191A4 /* Attachment.cpp in Sources */, 4617861920522469008256E1 /* SocketIO.cpp in Sources */, - 046AA9A2223B4761005191A4 /* SpineObject.cpp in Sources */, + 04DBD3DF22AE2DBD00DBE4CD /* RotateTimeline.cpp in Sources */, 46FDDABF202ACC6A00931238 /* State.cpp in Sources */, + 04DBD4A522AE2DBD00DBE4CD /* LinkedMesh.cpp in Sources */, + 04F8563422ABCB9900063A20 /* TiledMapAssembler.cpp in Sources */, 46AE3FEF2092F3A600F3A228 /* inspector_agent.cc in Sources */, - 046AAA00223B4762005191A4 /* Updatable.cpp in Sources */, - 046AA9B0223B4761005191A4 /* Slot.cpp in Sources */, 1A28FF5F1F20AFAB007A1D9D /* SRProxyConnect.m in Sources */, 46FDDB8B202ADDCE00931238 /* CCAutoreleasePool.cpp in Sources */, - 046E03FD21804E6B00B24E2D /* AttachmentVertices.cpp in Sources */, + 04DBD4AB22AE2DBD00DBE4CD /* Slot.cpp in Sources */, + 04DBD42122AE2DBD00DBE4CD /* SkeletonData.cpp in Sources */, + 04DBD41922AE2DBD00DBE4CD /* IkConstraint.cpp in Sources */, 046E06432185B41100B24E2D /* Animation.cpp in Sources */, 046E06312185B41100B24E2D /* BaseTimelineState.cpp in Sources */, 461786652052607E008256E1 /* jsb_websocket.cpp in Sources */, 46FDDA87202ACC6A00931238 /* View.cpp in Sources */, + 0482F1B5228D87970019ECF7 /* RenderFlow.cpp in Sources */, 1A52DB71205BCDC700350EE3 /* Class.cpp in Sources */, 4617862120522469008256E1 /* HttpCookie.cpp in Sources */, + 04DBD3EF22AE2DBD00DBE4CD /* Extension.cpp in Sources */, 1A29D769205665BE00168D9A /* jsb_cocos2dx_auto.cpp in Sources */, ED3057821BEC76C90083C3ED /* unzip.cpp in Sources */, 046E065A2185B41B00B24E2D /* DeformVertices.cpp in Sources */, 1A28FF8F1F20AFAB007A1D9D /* NSRunLoop+SRWebSocket.m in Sources */, 469303A62046AE05004A3D6C /* PlatformUtils.mm in Sources */, - 046AA93A223B4761005191A4 /* PathConstraintData.cpp in Sources */, - 046AA9DC223B4762005191A4 /* Triangulator.cpp in Sources */, ED3057801BEC76C90083C3ED /* ioapi.cpp in Sources */, + 04DBD42B22AE2DBD00DBE4CD /* IkConstraintData.cpp in Sources */, 1A52DB26205BCD9200350EE3 /* Utils.cpp in Sources */, 46FDDA9F202ACC6A00931238 /* ProgramLib.cpp in Sources */, 46FDDABB202ACC6A00931238 /* VertexFormat.cpp in Sources */, 046E06CD2185B49F00B24E2D /* CanvasData.cpp in Sources */, + 04DBD32522AE2D8200DBE4CD /* SkeletonRenderer.cpp in Sources */, 403ACADA20CE4EB000BB433D /* jsb_module_register.cpp in Sources */, + 04DBD41722AE2DBD00DBE4CD /* BoneData.cpp in Sources */, + 04DBD4C122AE2DBD00DBE4CD /* Updatable.cpp in Sources */, + 04DBD4BB22AE2DBD00DBE4CD /* PathConstraintPositionTimeline.cpp in Sources */, + 04DBD45122AE2DBD00DBE4CD /* AnimationStateData.cpp in Sources */, 1A28FF671F20AFAB007A1D9D /* SRPinningSecurityPolicy.m in Sources */, - 046AA96E223B4761005191A4 /* SkeletonBinary.cpp in Sources */, + 04DBD41122AE2DBD00DBE4CD /* Constraint.cpp in Sources */, 469303BE2046AE05004A3D6C /* jsb_renderer_auto.cpp in Sources */, + 04DBD43722AE2DBD00DBE4CD /* TranslateTimeline.cpp in Sources */, 50ABC0191926664800A911A9 /* CCSAXParser.cpp in Sources */, 1A28FF571F20AFAB007A1D9D /* SRIOConsumerPool.m in Sources */, - 046AA9F8223B4762005191A4 /* TransformConstraintData.cpp in Sources */, + 04DBD42922AE2DBD00DBE4CD /* RegionAttachment.cpp in Sources */, 46FDDB7B202ADDCE00931238 /* CCRef.cpp in Sources */, - 046AA98A223B4761005191A4 /* PointAttachment.cpp in Sources */, - 046AAA16223B4762005191A4 /* Animation.cpp in Sources */, 46FDDB8D202ADDCE00931238 /* ccTypes.cpp in Sources */, 46FDDAA9202ACC6A00931238 /* Types.cpp in Sources */, 1A28FF4F1F20AFAB007A1D9D /* SRDelegateController.m in Sources */, 46FDDBFB202ADDCE00931238 /* ccCArray.cpp in Sources */, 1AAAC8E1205CB6E9005321B9 /* AudioPlayer.mm in Sources */, - 046AA924223B4761005191A4 /* Event.cpp in Sources */, 1A28FF631F20AFAB007A1D9D /* SRRunLoopThread.m in Sources */, 04ED68D821F8188F006E82F8 /* MeshBuffer.cpp in Sources */, - 046AA914223B4761005191A4 /* PathConstraintPositionTimeline.cpp in Sources */, 50ABBD5C1925AB0000A911A9 /* Vec3.cpp in Sources */, + 04DBD43322AE2DBD00DBE4CD /* Skin.cpp in Sources */, 469303662046AE05004A3D6C /* HandleObject.cpp in Sources */, 469301D1203FC696004A3D6C /* CCConfiguration.cpp in Sources */, 46FDDB93202ADDCE00931238 /* TGAlib.cpp in Sources */, 1A52DB60205BCDC700350EE3 /* Utils.cpp in Sources */, 046E06BB2185B49F00B24E2D /* TextureAtlasData.cpp in Sources */, 1A28FF831F20AFAB007A1D9D /* SRRandom.m in Sources */, - 046E03F321804E6B00B24E2D /* spine-cocos2dx.cpp in Sources */, 46FDDAC5202ACC6A00931238 /* RenderTarget.cpp in Sources */, - 046AA9BA223B4761005191A4 /* TransformConstraint.cpp in Sources */, - 046AA93C223B4761005191A4 /* Timeline.cpp in Sources */, + 04DBD4DB22B51EA300DBE4CD /* MemPool.cpp in Sources */, 1A52DB6D205BCDC700350EE3 /* ScriptEngine.cpp in Sources */, - 046AA992223B4761005191A4 /* Json.cpp in Sources */, + 04DBD44522AE2DBD00DBE4CD /* AnimationState.cpp in Sources */, 50ABBD3C1925AB0000A911A9 /* CCGeometry.cpp in Sources */, 1A28FF771F20AFAB007A1D9D /* SRHTTPConnectMessage.m in Sources */, + 04DBD47F22AE2DBD00DBE4CD /* PathConstraintSpacingTimeline.cpp in Sources */, 46FDDB99202ADDCE00931238 /* ccUTF8.cpp in Sources */, 4617862F20522469008256E1 /* HttpClient-apple.mm in Sources */, 4617862B20522469008256E1 /* WebSocket-apple.mm in Sources */, 46FDDAE3202ACC6A00931238 /* GFX.cpp in Sources */, ED30579C1BEC77B70083C3ED /* ConvertUTFWrapper.cpp in Sources */, + 04DBD41322AE2DBD00DBE4CD /* Triangulator.cpp in Sources */, 46AE3FF12092F3A600F3A228 /* SHA1.cpp in Sources */, - 046AA996223B4761005191A4 /* IkConstraintTimeline.cpp in Sources */, 46FDDAB1202ACC6A00931238 /* DeviceGraphics.cpp in Sources */, + 0482F1BD228D87970019ECF7 /* CustomAssembler.cpp in Sources */, 1A28FF7B1F20AFAB007A1D9D /* SRLog.m in Sources */, 46FDDAC9202ACC6A00931238 /* RenderBuffer.cpp in Sources */, 46AE3FE92092F3A600F3A228 /* inspector_socket_server.cc in Sources */, - 046AA934223B4761005191A4 /* AttachmentTimeline.cpp in Sources */, 1A28FF6F1F20AFAB007A1D9D /* SRError.m in Sources */, 1A28FF531F20AFAB007A1D9D /* SRIOConsumer.m in Sources */, - 046AAA1C223B4762005191A4 /* ScaleTimeline.cpp in Sources */, 1A29D784205666B200168D9A /* LocalStorage.cpp in Sources */, 046E06C32185B49F00B24E2D /* ArmatureData.cpp in Sources */, 4617864920522469008256E1 /* CCDownloader.cpp in Sources */, 4693039E2046AE05004A3D6C /* Object.mm in Sources */, - 046AA9F6223B4762005191A4 /* AnimationStateData.cpp in Sources */, 4043D65E20D2132E00C55611 /* CCGLView-desktop.cpp in Sources */, + 0482F19B228D87970019ECF7 /* ModelBatcher.cpp in Sources */, 46AE3FE12092F3A600F3A228 /* node.cc in Sources */, 46FDDA8B202ACC6A00931238 /* ForwardRenderer.cpp in Sources */, - 046AAA0A223B4762005191A4 /* ClippingAttachment.cpp in Sources */, - 046AA99E223B4761005191A4 /* AttachmentLoader.cpp in Sources */, 046E06D32185B49F00B24E2D /* SkinData.cpp in Sources */, + 04DBD48B22AE2DBD00DBE4CD /* CurveTimeline.cpp in Sources */, 50ABBD481925AB0000A911A9 /* Mat4.cpp in Sources */, 046E06EF2185B4A500B24E2D /* BinaryDataParser.cpp in Sources */, - 046AAA1E223B4762005191A4 /* ColorTimeline.cpp in Sources */, 50ABBD441925AB0000A911A9 /* CCVertex.cpp in Sources */, 50ABC0631926664800A911A9 /* CCDevice-mac.mm in Sources */, + 0482F1B7228D87970019ECF7 /* StencilManager.cpp in Sources */, 461786552052301A008256E1 /* CCScheduler.cpp in Sources */, + 04DBD45322AE2DBD00DBE4CD /* TransformConstraintTimeline.cpp in Sources */, 46FDDAD5202ACC6A00931238 /* GraphicsHandle.cpp in Sources */, 46FDDA9D202ACC6A00931238 /* BaseRenderer.cpp in Sources */, 469303AA2046AE05004A3D6C /* Class.cpp in Sources */, 046E06562185B41B00B24E2D /* TransformObject.cpp in Sources */, + 04DBD3CD22AE2DBD00DBE4CD /* Bone.cpp in Sources */, 4693043C2046AE06004A3D6C /* jsb_gfx_manual.cpp in Sources */, 469303682046AE05004A3D6C /* State.cpp in Sources */, + 04DBD3C322AE2DBD00DBE4CD /* VertexEffect.cpp in Sources */, + 04DBD4A322AE2DBD00DBE4CD /* AttachmentLoader.cpp in Sources */, + 04DBD49B22AE2DBD00DBE4CD /* EventData.cpp in Sources */, 4693039A2046AE05004A3D6C /* Utils.cpp in Sources */, 046B689021A00F5600B33469 /* IOTypedArray.cpp in Sources */, 046E06162185B37100B24E2D /* CCSlot.cpp in Sources */, - 046AA984223B4761005191A4 /* ShearTimeline.cpp in Sources */, + 04DBD41D22AE2DBD00DBE4CD /* TextureLoader.cpp in Sources */, + 04DBD4AF22AE2DBD00DBE4CD /* MeshAttachment.cpp in Sources */, 1A52DB882060B11800350EE3 /* jsb_platfrom_apple.mm in Sources */, - 04F49F41222A777C00E5CAF1 /* SkeletonDataMgr.cpp in Sources */, + 04DBD3E522AE2DBD00DBE4CD /* PointAttachment.cpp in Sources */, 046E06372185B41100B24E2D /* AnimationState.cpp in Sources */, - 046AA9E2223B4762005191A4 /* PathConstraintMixTimeline.cpp in Sources */, 046E06BF2185B49F00B24E2D /* BoundingBoxData.cpp in Sources */, - 046AA922223B4761005191A4 /* DrawOrderTimeline.cpp in Sources */, 4617864720522469008256E1 /* CCDownloaderImpl-apple.mm in Sources */, 1A52DB24205BCD9200350EE3 /* ObjectWrap.cpp in Sources */, + 04DBD3ED22AE2DBD00DBE4CD /* Timeline.cpp in Sources */, 1AAAC8F1205CB6E9005321B9 /* AudioEngine.cpp in Sources */, 046E06F72189990700B24E2D /* middleware-adapter.cpp in Sources */, 46FDDAE5202ACC6B00931238 /* IndexBuffer.cpp in Sources */, + 0431A06F22CCA7C1003356C9 /* SimpleSprite2D.cpp in Sources */, 046B688A219FA61200B33469 /* MiddlewareManager.cpp in Sources */, 1A29D76F205665D200168D9A /* jsb_cocos2dx_manual.cpp in Sources */, + 04DBD4CD22AE2DBD00DBE4CD /* ClippingAttachment.cpp in Sources */, + 0482F1AB228D87970019ECF7 /* AssemblerBase.cpp in Sources */, 50ABC00D1926664800A911A9 /* CCFileUtils.cpp in Sources */, 46FDDBA3202ADDCE00931238 /* pvr.cpp in Sources */, - 046AAA10223B4762005191A4 /* DeformTimeline.cpp in Sources */, + 04DBD42522AE2DBD00DBE4CD /* PathConstraint.cpp in Sources */, 46FDDBE3202ADDCE00931238 /* CCData.cpp in Sources */, 1A52DB3E205BCD9200350EE3 /* Class.cpp in Sources */, 1A52DB2E205BCD9200350EE3 /* Object.cpp in Sources */, 046E06972185B45300B24E2D /* Transform.cpp in Sources */, - 046AA976223B4761005191A4 /* AtlasAttachmentLoader.cpp in Sources */, - 046AA9C4223B4762005191A4 /* BoundingBoxAttachment.cpp in Sources */, 1A52DB6C205BCDC700350EE3 /* Object.cpp in Sources */, 046E069B2185B45300B24E2D /* Point.cpp in Sources */, 046E06E92185B4A500B24E2D /* JSONDataParser.cpp in Sources */, 04AF62FF219190ED00AED9DE /* TypedArrayPool.cpp in Sources */, 1A28FF731F20AFAB007A1D9D /* SRHash.m in Sources */, - 046AAA08223B4762005191A4 /* IkConstraint.cpp in Sources */, - 046AA962223B4761005191A4 /* LinkedMesh.cpp in Sources */, 46FDDAB3202ACC6A00931238 /* VertexBuffer.cpp in Sources */, 046E06722185B42500B24E2D /* BaseObject.cpp in Sources */, - 046AA9D8223B4762005191A4 /* SkeletonBounds.cpp in Sources */, 4008729420CE20C2002EB77B /* jsb_cocos2dx_network_manual.cpp in Sources */, - 046AA9A6223B4761005191A4 /* SlotData.cpp in Sources */, - 046AA926223B4761005191A4 /* AnimationState.cpp in Sources */, 469303842046AE05004A3D6C /* MappingUtils.cpp in Sources */, 4617865F2052607E008256E1 /* jsb_xmlhttprequest.cpp in Sources */, - 046AA93E223B4761005191A4 /* VertexAttachment.cpp in Sources */, + 04DBD31922AE2D8200DBE4CD /* AttachmentVertices.cpp in Sources */, BA21055821008B6600E19975 /* jsb_cocos2dx_extension_auto.cpp in Sources */, + 04DBD43F22AE2DBD00DBE4CD /* DrawOrderTimeline.cpp in Sources */, 469304082046AE06004A3D6C /* jsb_global.cpp in Sources */, 046E066C2185B41B00B24E2D /* Slot.cpp in Sources */, 50ABC0151926664800A911A9 /* CCImage.cpp in Sources */, 046E06D12185B49F00B24E2D /* DisplayData.cpp in Sources */, - 046AA98E223B4761005191A4 /* BoneData.cpp in Sources */, 46AE400B2092F3A600F3A228 /* env.cc in Sources */, 46FDDAD3202ACC6A00931238 /* Texture2D.cpp in Sources */, + 04DBD4B722AE2DBD00DBE4CD /* SkeletonBounds.cpp in Sources */, 46FDDB6F202ADDCE00931238 /* ZipUtils.cpp in Sources */, + 04DBD31B22AE2D8200DBE4CD /* SkeletonAnimation.cpp in Sources */, + 04DBD43B22AE2DBD00DBE4CD /* TransformConstraint.cpp in Sources */, 1A28FF871F20AFAB007A1D9D /* SRSIMDHelpers.m in Sources */, - 046AA95C223B4761005191A4 /* TwoColorTimeline.cpp in Sources */, 046B68AE21A294B100B33469 /* jsb_cocos2dx_spine_auto.cpp in Sources */, + 04DBD40722AE2DBD00DBE4CD /* SkeletonClipping.cpp in Sources */, 50ABBD601925AB0000A911A9 /* Vec4.cpp in Sources */, - 046AA928223B4761005191A4 /* RotateTimeline.cpp in Sources */, + 04DBD32122AE2D8200DBE4CD /* VertexEffectDelegate.cpp in Sources */, + 04DBD40D22AE2DBD00DBE4CD /* VertexAttachment.cpp in Sources */, 46FDDA93202ACC6A00931238 /* Technique.cpp in Sources */, 46FDDBFD202ADDCE00931238 /* CCValue.cpp in Sources */, ED3057A11BEC77D50083C3ED /* xxhash.c in Sources */, 46FDDA6F202ACC6A00931238 /* Pass.cpp in Sources */, 4617863520522469008256E1 /* HttpAsynConnection-apple.m in Sources */, 461786612052607E008256E1 /* jsb_socketio.cpp in Sources */, - 046AA9F0223B4762005191A4 /* MathUtil.cpp in Sources */, - 046AA9BC223B4761005191A4 /* TransformConstraintTimeline.cpp in Sources */, - 046AA98C223B4761005191A4 /* EventTimeline.cpp in Sources */, 1A28FF8B1F20AFAB007A1D9D /* SRURLUtilities.m in Sources */, + 04DBD3CB22AE2DBD00DBE4CD /* Atlas.cpp in Sources */, ED3057881BEC773E0083C3ED /* tinyxml2.cpp in Sources */, 46FDDA95202ACC6A00931238 /* RendererUtils.cpp in Sources */, 1A28FF9D1F20AFAB007A1D9D /* SRWebSocket.m in Sources */, 46FDDB8F202ADDCE00931238 /* ccUtils.cpp in Sources */, 046E06FD2189999600B24E2D /* jsb_cocos2dx_editor_support_auto.cpp in Sources */, - 046AA988223B4761005191A4 /* TextureLoader.cpp in Sources */, - 046AA978223B4761005191A4 /* VertexEffect.cpp in Sources */, + 04DBD46922AE2DBD00DBE4CD /* ShearTimeline.cpp in Sources */, 046E065C2185B41B00B24E2D /* Constraint.cpp in Sources */, 1A29D796205666F500168D9A /* jsb_opengl_utils.cpp in Sources */, BA21055A21009A2600E19975 /* AssetsManagerEx.cpp in Sources */, 046E06742185B42500B24E2D /* DragonBones.cpp in Sources */, - 046AAA0E223B4762005191A4 /* PathConstraint.cpp in Sources */, BA21055B21009A2900E19975 /* CCEventAssetsManagerEx.cpp in Sources */, 046E06822185B43B00B24E2D /* EventObject.cpp in Sources */, 046B68A621A292D300B33469 /* jsb_spine_manual.cpp in Sources */, BA21055C21009A2C00E19975 /* Manifest.cpp in Sources */, + 04DBD41B22AE2DBD00DBE4CD /* SlotData.cpp in Sources */, 046E06392185B41100B24E2D /* WorldClock.cpp in Sources */, - 046AA958223B4761005191A4 /* PathConstraintSpacingTimeline.cpp in Sources */, - 046AA9AA223B4761005191A4 /* RegionAttachment.cpp in Sources */, 1A28FF931F20AFAB007A1D9D /* NSURLRequest+SRWebSocket.m in Sources */, ); runOnlyForDeploymentPostprocessing = 0; @@ -4429,52 +4705,54 @@ isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( + 0482F1B8228D87970019ECF7 /* StencilManager.cpp in Sources */, + 423379A422BB8DEA00E5D8A2 /* CustomProperties.cpp in Sources */, + 04DBD41222AE2DBD00DBE4CD /* Constraint.cpp in Sources */, ED30578D1BEC77550083C3ED /* unzip.cpp in Sources */, 46FDDA9E202ACC6A00931238 /* BaseRenderer.cpp in Sources */, - 046AAA17223B4762005191A4 /* Animation.cpp in Sources */, 1A586C462064C90500B47573 /* EJConvertTypedArray.m in Sources */, 46FDDAC6202ACC6A00931238 /* RenderTarget.cpp in Sources */, 4617864820522469008256E1 /* CCDownloaderImpl-apple.mm in Sources */, 046E066D2185B41B00B24E2D /* Slot.cpp in Sources */, - 046AA93D223B4761005191A4 /* Timeline.cpp in Sources */, 1A28FF601F20AFAB007A1D9D /* SRProxyConnect.m in Sources */, + 04F8563522ABCB9900063A20 /* TiledMapAssembler.cpp in Sources */, 1A28FF901F20AFAB007A1D9D /* NSRunLoop+SRWebSocket.m in Sources */, 046E06C42185B49F00B24E2D /* ArmatureData.cpp in Sources */, 50ABC0161926664800A911A9 /* CCImage.cpp in Sources */, - 046AA99F223B4761005191A4 /* AttachmentLoader.cpp in Sources */, + 425D3FF222D86BEF00BCED11 /* Mat3.cpp in Sources */, + 04DBD40E22AE2DBD00DBE4CD /* VertexAttachment.cpp in Sources */, 469303852046AE05004A3D6C /* MappingUtils.cpp in Sources */, + 0431A06A22CCA441003356C9 /* AssemblerSprite.cpp in Sources */, 046E06F02185B4A500B24E2D /* BinaryDataParser.cpp in Sources */, 46FDDBA4202ADDCE00931238 /* pvr.cpp in Sources */, 46FDDAB6202ACC6A00931238 /* Program.cpp in Sources */, - 046AAA27223B4762005191A4 /* MeshAttachment.cpp in Sources */, - 046AA937223B4761005191A4 /* CurveTimeline.cpp in Sources */, + 04DBD43022AE2DBD00DBE4CD /* Json.cpp in Sources */, 46FDDAC2202ACC6A00931238 /* Texture.cpp in Sources */, - 046AAA0B223B4762005191A4 /* ClippingAttachment.cpp in Sources */, 50ABC01A1926664800A911A9 /* CCSAXParser.cpp in Sources */, - 046AA9B1223B4761005191A4 /* Slot.cpp in Sources */, + 0482F19C228D87970019ECF7 /* ModelBatcher.cpp in Sources */, 4693039B2046AE05004A3D6C /* Utils.cpp in Sources */, 046E06982185B45300B24E2D /* Transform.cpp in Sources */, - 046AAA09223B4762005191A4 /* IkConstraint.cpp in Sources */, + 04DBD3D822AE2DBD00DBE4CD /* PathAttachment.cpp in Sources */, 503DD8EE1926736A00CD74DD /* CCImage-ios.mm in Sources */, + 04DBD41422AE2DBD00DBE4CD /* Triangulator.cpp in Sources */, 046B68AF21A294B100B33469 /* jsb_cocos2dx_spine_auto.cpp in Sources */, - 046AA959223B4761005191A4 /* PathConstraintSpacingTimeline.cpp in Sources */, + 04DBD3E622AE2DBD00DBE4CD /* PointAttachment.cpp in Sources */, ED30578B1BEC774D0083C3ED /* ioapi_mem.cpp in Sources */, - 046AA9F1223B4762005191A4 /* MathUtil.cpp in Sources */, 1A28FF9A1F20AFAB007A1D9D /* SRSecurityPolicy.m in Sources */, + 04DBD42022AE2DBD00DBE4CD /* Animation.cpp in Sources */, 1A28FF581F20AFAB007A1D9D /* SRIOConsumerPool.m in Sources */, + 04DBD44822AE2DBD00DBE4CD /* Skeleton.cpp in Sources */, 469303C72046AE05004A3D6C /* jsb_gfx_auto.cpp in Sources */, 46AE3FF22092F3A600F3A228 /* SHA1.cpp in Sources */, + 04DBD3C422AE2DBD00DBE4CD /* VertexEffect.cpp in Sources */, ED30579E1BEC77BD0083C3ED /* ConvertUTFWrapper.cpp in Sources */, 046E06892185B44A00B24E2D /* BaseFactory.cpp in Sources */, - 046AA9AB223B4761005191A4 /* RegionAttachment.cpp in Sources */, + 04DBD44022AE2DBD00DBE4CD /* DrawOrderTimeline.cpp in Sources */, 1A28FF801F20AFAB007A1D9D /* SRMutex.m in Sources */, 046E06FE2189999600B24E2D /* jsb_cocos2dx_editor_support_auto.cpp in Sources */, - 046AA947223B4761005191A4 /* Attachment.cpp in Sources */, - 046AAA03223B4762005191A4 /* SkeletonClipping.cpp in Sources */, 46AE400C2092F3A600F3A228 /* env.cc in Sources */, 46FDDC69202D733800931238 /* CCApplication-ios.mm in Sources */, ED3057C21BEC78A80083C3ED /* xxhash.c in Sources */, - 046AAA1D223B4762005191A4 /* ScaleTimeline.cpp in Sources */, 4037F5CF2108751E001C205C /* CCAsyncTaskPool.cpp in Sources */, ED30578C1BEC77510083C3ED /* ioapi.cpp in Sources */, 046E06362185B41100B24E2D /* TimelineState.cpp in Sources */, @@ -4482,52 +4760,61 @@ 046E06C02185B49F00B24E2D /* BoundingBoxData.cpp in Sources */, 1AAAC8F2205CB6E9005321B9 /* AudioEngine.cpp in Sources */, 46FDDAE4202ACC6B00931238 /* GFX.cpp in Sources */, + 045F672922A50A8D0033F7BD /* RenderData.cpp in Sources */, 4693038D2046AE05004A3D6C /* config.cpp in Sources */, 40AEF7C2216DF22900729AA5 /* jsb_video_auto.cpp in Sources */, - 046E03FE21804E6B00B24E2D /* AttachmentVertices.cpp in Sources */, ED30578A1BEC77460083C3ED /* tinyxml2.cpp in Sources */, - 046AAA1B223B4762005191A4 /* SkeletonData.cpp in Sources */, + 04DBD4C222AE2DBD00DBE4CD /* Updatable.cpp in Sources */, + 04DBD4E222B51EB300DBE4CD /* NodeMemPool.cpp in Sources */, 1A29D76A205665BE00168D9A /* jsb_cocos2dx_auto.cpp in Sources */, 46FDDBFC202ADDCE00931238 /* ccCArray.cpp in Sources */, + 04DBD45422AE2DBD00DBE4CD /* TransformConstraintTimeline.cpp in Sources */, 04355817217EADF300B9C056 /* IOBuffer.cpp in Sources */, + 04DBD49C22AE2DBD00DBE4CD /* EventData.cpp in Sources */, 46FDDB7C202ADDCE00931238 /* CCRef.cpp in Sources */, 046E06F82189990700B24E2D /* middleware-adapter.cpp in Sources */, + 04DBD4AC22AE2DBD00DBE4CD /* Slot.cpp in Sources */, + 04DBD4A422AE2DBD00DBE4CD /* AttachmentLoader.cpp in Sources */, 046E070A218B015100B24E2D /* jsb_cocos2dx_dragonbones_auto.cpp in Sources */, + 04DBD46C22AE2DBD00DBE4CD /* AttachmentTimeline.cpp in Sources */, 469301D2203FC696004A3D6C /* CCConfiguration.cpp in Sources */, - 046AA9A3223B4761005191A4 /* SpineObject.cpp in Sources */, 461DCA5920C7E4BA00B22827 /* JavaScriptObjCBridge.mm in Sources */, 46FDDAB2202ACC6A00931238 /* DeviceGraphics.cpp in Sources */, + 04DBD4A022AE2DBD00DBE4CD /* ColorTimeline.cpp in Sources */, 46FDDBFA202ADDCE00931238 /* etc1.cpp in Sources */, + 04DBD32622AE2D8200DBE4CD /* SkeletonRenderer.cpp in Sources */, 46FDDA88202ACC6A00931238 /* View.cpp in Sources */, 046E06322185B41100B24E2D /* BaseTimelineState.cpp in Sources */, 50ABBD591925AB0000A911A9 /* Vec2.cpp in Sources */, 1A28FF681F20AFAB007A1D9D /* SRPinningSecurityPolicy.m in Sources */, + 04DBD47E22AE2DBD00DBE4CD /* DeformTimeline.cpp in Sources */, + 04DBD3EE22AE2DBD00DBE4CD /* Timeline.cpp in Sources */, 1A28FF9E1F20AFAB007A1D9D /* SRWebSocket.m in Sources */, - 046AA98B223B4761005191A4 /* PointAttachment.cpp in Sources */, 046E06592185B41B00B24E2D /* Armature.cpp in Sources */, 403ACADC20CE542600BB433D /* jsb_module_register.cpp in Sources */, - 046AA9F9223B4762005191A4 /* TransformConstraintData.cpp in Sources */, 046E06BC2185B49F00B24E2D /* TextureAtlasData.cpp in Sources */, + 04DBD42622AE2DBD00DBE4CD /* PathConstraint.cpp in Sources */, 04ED68D921F8188F006E82F8 /* MeshBuffer.cpp in Sources */, 46FDDA9A202ACC6A00931238 /* Model.cpp in Sources */, 046E0710218B01EF00B24E2D /* jsb_dragonbones_manual.cpp in Sources */, 4693038F2046AE05004A3D6C /* Value.cpp in Sources */, 469303A12046AE05004A3D6C /* ScriptEngine.mm in Sources */, 046E06EA2185B4A500B24E2D /* JSONDataParser.cpp in Sources */, + 04DBD42C22AE2DBD00DBE4CD /* IkConstraintData.cpp in Sources */, 046B688B219FA61200B33469 /* MiddlewareManager.cpp in Sources */, 46FDDB8C202ADDCE00931238 /* CCAutoreleasePool.cpp in Sources */, 461786622052607E008256E1 /* jsb_socketio.cpp in Sources */, - 046AA9C7223B4762005191A4 /* SkeletonJson.cpp in Sources */, 4693039F2046AE05004A3D6C /* Object.mm in Sources */, 46FDDABA202ACC6A00931238 /* FrameBuffer.cpp in Sources */, - 046AA93F223B4761005191A4 /* VertexAttachment.cpp in Sources */, 461786562052301A008256E1 /* CCScheduler.cpp in Sources */, 46FDDAE6202ACC6B00931238 /* IndexBuffer.cpp in Sources */, 46FDDB8E202ADDCE00931238 /* ccTypes.cpp in Sources */, 50ABBD4D1925AB0000A911A9 /* MathUtil.cpp in Sources */, 46AE40082092F3A600F3A228 /* node_debug_options.cc in Sources */, + 04DBD41A22AE2DBD00DBE4CD /* IkConstraint.cpp in Sources */, 046E06572185B41B00B24E2D /* TransformObject.cpp in Sources */, 1A52DB75205BCDD000350EE3 /* Class.cpp in Sources */, + 04DBD3E022AE2DBD00DBE4CD /* RotateTimeline.cpp in Sources */, 1AAAC8E4205CB6E9005321B9 /* AudioDecoder.mm in Sources */, 46FDDB90202ADDCE00931238 /* ccUtils.cpp in Sources */, 50ABC00E1926664800A911A9 /* CCFileUtils.cpp in Sources */, @@ -4535,182 +4822,192 @@ 46FDDA72202ACC6A00931238 /* Scene.cpp in Sources */, 046E06732185B42500B24E2D /* BaseObject.cpp in Sources */, 046B689121A00F5600B33469 /* IOTypedArray.cpp in Sources */, + 04886B4222CE22F2008CEB66 /* SlicedSprite2D.cpp in Sources */, 046E06D22185B49F00B24E2D /* DisplayData.cpp in Sources */, 1A52DB7D205BCDD000350EE3 /* Utils.cpp in Sources */, 1A29D770205665D200168D9A /* jsb_cocos2dx_manual.cpp in Sources */, - 04F49F42222A777C00E5CAF1 /* SkeletonDataMgr.cpp in Sources */, 46AE3FF02092F3A600F3A228 /* inspector_agent.cc in Sources */, 1A52DAF9205BB81400350EE3 /* CCThreadPool.cpp in Sources */, 4617864A20522469008256E1 /* CCDownloader.cpp in Sources */, 46FDDAD6202ACC6A00931238 /* GraphicsHandle.cpp in Sources */, - 04F49F4E222B80C500E5CAF1 /* RenderInfoMgr.cpp in Sources */, - 044DE379227552520037572E /* VertexEffectDelegate.cpp in Sources */, - 046AA95D223B4761005191A4 /* TwoColorTimeline.cpp in Sources */, 046E063A2185B41100B24E2D /* WorldClock.cpp in Sources */, 50ABBD611925AB0000A911A9 /* Vec4.cpp in Sources */, - 046AA9A5223B4761005191A4 /* TranslateTimeline.cpp in Sources */, 46FDDB9A202ADDCE00931238 /* ccUTF8.cpp in Sources */, - 046AAA11223B4762005191A4 /* DeformTimeline.cpp in Sources */, 469304092046AE06004A3D6C /* jsb_global.cpp in Sources */, 46FDDA70202ACC6A00931238 /* Pass.cpp in Sources */, + 04DBD3CA22AE2DBD00DBE4CD /* AtlasAttachmentLoader.cpp in Sources */, 1A52DB7A205BCDD000350EE3 /* ScriptEngine.cpp in Sources */, + 042058CE22A61B340092DE5D /* RenderDataList.cpp in Sources */, 1A14FD922080B4E300E10ABE /* CCGLUtils.cpp in Sources */, - 046AA981223B4761005191A4 /* Skin.cpp in Sources */, + 04DBD43822AE2DBD00DBE4CD /* TranslateTimeline.cpp in Sources */, 1A28FF741F20AFAB007A1D9D /* SRHash.m in Sources */, - 046AA977223B4761005191A4 /* AtlasAttachmentLoader.cpp in Sources */, - 046AA9AD223B4761005191A4 /* Extension.cpp in Sources */, 46FDDB70202ADDCE00931238 /* ZipUtils.cpp in Sources */, 50ABBD511925AB0000A911A9 /* Quaternion.cpp in Sources */, - 046AA929223B4761005191A4 /* RotateTimeline.cpp in Sources */, 46930469204FE20F004A3D6C /* CCLog.cpp in Sources */, + 04DBD41622AE2DBD00DBE4CD /* MathUtil.cpp in Sources */, 1AAAC874205CB647005321B9 /* jsb_cocos2dx_audioengine_auto.cpp in Sources */, 50ABBD491925AB0000A911A9 /* Mat4.cpp in Sources */, + 04DBD47022AE2DBD00DBE4CD /* TransformConstraintData.cpp in Sources */, 469303672046AE05004A3D6C /* HandleObject.cpp in Sources */, 46FDDACA202ACC6A00931238 /* RenderBuffer.cpp in Sources */, + 04DBD32222AE2D8200DBE4CD /* VertexEffectDelegate.cpp in Sources */, 461DCA3B20BBFCA300B22827 /* EditBox-ios.mm in Sources */, - 046AA927223B4761005191A4 /* AnimationState.cpp in Sources */, 1A52DB78205BCDD000350EE3 /* Object.cpp in Sources */, - 046AA93B223B4761005191A4 /* PathConstraintData.cpp in Sources */, 469303A72046AE05004A3D6C /* PlatformUtils.mm in Sources */, 046E069C2185B45300B24E2D /* Point.cpp in Sources */, 046E06DE2185B49F00B24E2D /* AnimationData.cpp in Sources */, - 046AA9BB223B4761005191A4 /* TransformConstraint.cpp in Sources */, 46FDDAD4202ACC6A00931238 /* Texture2D.cpp in Sources */, - 046AA915223B4761005191A4 /* PathConstraintPositionTimeline.cpp in Sources */, + 04DBD4A622AE2DBD00DBE4CD /* LinkedMesh.cpp in Sources */, 40FF7AA1216B29CC00E73029 /* VideoPlayer-ios.mm in Sources */, 046E06212185B37100B24E2D /* CCArmatureDisplay.cpp in Sources */, + 04DBD4CE22AE2DBD00DBE4CD /* ClippingAttachment.cpp in Sources */, 40CEAEB620CFDC28007A3281 /* CCReachability.cpp in Sources */, 046E06BA2185B49F00B24E2D /* ConstraintData.cpp in Sources */, + 04DBD4DC22B51EA300DBE4CD /* MemPool.cpp in Sources */, 046E06832185B43B00B24E2D /* EventObject.cpp in Sources */, - 046AA98F223B4761005191A4 /* BoneData.cpp in Sources */, 46FDDA8C202ACC6A00931238 /* ForwardRenderer.cpp in Sources */, + 04DBD41C22AE2DBD00DBE4CD /* SlotData.cpp in Sources */, ED30579D1BEC77B90083C3ED /* ConvertUTF.c in Sources */, 46AE3FE22092F3A600F3A228 /* node.cc in Sources */, 4617864D205224CC008256E1 /* WebSocket-apple.mm in Sources */, 1AAAC8E2205CB6E9005321B9 /* AudioPlayer.mm in Sources */, - 046AA9E5223B4762005191A4 /* PathAttachment.cpp in Sources */, - 046AA9E3223B4762005191A4 /* PathConstraintMixTimeline.cpp in Sources */, 046E06752185B42500B24E2D /* DragonBones.cpp in Sources */, 469304132046AE06004A3D6C /* jsb_classtype.cpp in Sources */, 46FDDAA4202ACC6A00931238 /* InputAssembler.cpp in Sources */, 1A28FF941F20AFAB007A1D9D /* NSURLRequest+SRWebSocket.m in Sources */, 4693042F2046AE06004A3D6C /* jsb_helper.cpp in Sources */, 046E065B2185B41B00B24E2D /* DeformVertices.cpp in Sources */, - 046AA979223B4761005191A4 /* VertexEffect.cpp in Sources */, 4693043D2046AE06004A3D6C /* jsb_gfx_manual.cpp in Sources */, + 04DBD32A22AE2D8200DBE4CD /* spine-cocos2dx.cpp in Sources */, 46FDDBFE202ADDCE00931238 /* CCValue.cpp in Sources */, 1A28FF7C1F20AFAB007A1D9D /* SRLog.m in Sources */, 1A28FF641F20AFAB007A1D9D /* SRRunLoopThread.m in Sources */, 1A28FF6C1F20AFAB007A1D9D /* SRConstants.m in Sources */, - 046AA9A7223B4761005191A4 /* SlotData.cpp in Sources */, + 04DBD42222AE2DBD00DBE4CD /* SkeletonData.cpp in Sources */, 4693042D2046AE06004A3D6C /* jsb_renderer_manual.cpp in Sources */, 1AAAC8E8205CB6E9005321B9 /* AudioEngine-inl.mm in Sources */, 4617862220522469008256E1 /* HttpCookie.cpp in Sources */, - 046AA9BD223B4761005191A4 /* TransformConstraintTimeline.cpp in Sources */, 46FDDAE2202ACC6A00931238 /* GFXUtils.cpp in Sources */, - 046AA9D9223B4762005191A4 /* SkeletonBounds.cpp in Sources */, 1A586C4C2064C97800B47573 /* EJConvert.m in Sources */, 469304272046AE06004A3D6C /* jsb_conversions.cpp in Sources */, - 046AA935223B4761005191A4 /* AttachmentTimeline.cpp in Sources */, - 046E03F021804E6B00B24E2D /* SkeletonAnimation.cpp in Sources */, - 046AA9DD223B4762005191A4 /* Triangulator.cpp in Sources */, + 04DBD48622AE2DBD00DBE4CD /* EventTimeline.cpp in Sources */, + 0482F1AC228D87970019ECF7 /* AssemblerBase.cpp in Sources */, 46AE40042092F3A600F3A228 /* http_parser.c in Sources */, + 04DBD48C22AE2DBD00DBE4CD /* CurveTimeline.cpp in Sources */, 046E06EC2185B4A500B24E2D /* DataParser.cpp in Sources */, 46FDDA7A202ACC6A00931238 /* Camera.cpp in Sources */, + 04DBD4B622AE2DBD00DBE4CD /* RTTI.cpp in Sources */, 461786602052607E008256E1 /* jsb_xmlhttprequest.cpp in Sources */, - 046AA951223B4761005191A4 /* Constraint.cpp in Sources */, + 04DBD3F022AE2DBD00DBE4CD /* Extension.cpp in Sources */, 46FDDAA0202ACC6A00931238 /* ProgramLib.cpp in Sources */, 4617863420522469008256E1 /* Uri.cpp in Sources */, - 046AA985223B4761005191A4 /* ShearTimeline.cpp in Sources */, 4008729520CE20C2002EB77B /* jsb_cocos2dx_network_manual.cpp in Sources */, + 04DBD4AE22AE2DBD00DBE4CD /* BoundingBoxAttachment.cpp in Sources */, 046E06442185B41100B24E2D /* Animation.cpp in Sources */, 50ABBD3D1925AB0000A911A9 /* CCGeometry.cpp in Sources */, 046E06CA2185B49F00B24E2D /* UserData.cpp in Sources */, + 0494CFD522BEFC6D00B73B79 /* ParallelTask.cpp in Sources */, 1A28FF8C1F20AFAB007A1D9D /* SRURLUtilities.m in Sources */, + 0482F1B4228D87970019ECF7 /* MaskAssembler.cpp in Sources */, + 04DBD45222AE2DBD00DBE4CD /* AnimationStateData.cpp in Sources */, + 04DBD40822AE2DBD00DBE4CD /* SkeletonClipping.cpp in Sources */, 1A28FF541F20AFAB007A1D9D /* SRIOConsumer.m in Sources */, 046B68A721A292D300B33469 /* jsb_spine_manual.cpp in Sources */, 469303692046AE05004A3D6C /* State.cpp in Sources */, + 0482F1BE228D87970019ECF7 /* CustomAssembler.cpp in Sources */, + 04DBD45E22AE2DBD00DBE4CD /* SkeletonBinary.cpp in Sources */, + 04DBD46E22AE2DBD00DBE4CD /* ScaleTimeline.cpp in Sources */, + 0431A07022CCA7C1003356C9 /* SimpleSprite2D.cpp in Sources */, + 04DBD49E22AE2DBD00DBE4CD /* SkeletonJson.cpp in Sources */, + 0482F1A0228D87970019ECF7 /* Assembler.cpp in Sources */, 46FDDAAA202ACC6A00931238 /* Types.cpp in Sources */, - 046AA993223B4761005191A4 /* Json.cpp in Sources */, + 04DBD44622AE2DBD00DBE4CD /* AnimationState.cpp in Sources */, 1A29D797205666F500168D9A /* jsb_opengl_utils.cpp in Sources */, + 04DBD4BC22AE2DBD00DBE4CD /* PathConstraintPositionTimeline.cpp in Sources */, 046E06E22185B49F00B24E2D /* DragonBonesData.cpp in Sources */, + 04DBD4B822AE2DBD00DBE4CD /* SkeletonBounds.cpp in Sources */, 40AEF7B6216D982600729AA5 /* jsb_webview_auto.cpp in Sources */, - 046AA96F223B4761005191A4 /* SkeletonBinary.cpp in Sources */, - 046AA9F7223B4762005191A4 /* AnimationStateData.cpp in Sources */, 5027253D190BF1B900AAF4ED /* cocos2d.cpp in Sources */, 1A28FF781F20AFAB007A1D9D /* SRHTTPConnectMessage.m in Sources */, 046E06C62185B49F00B24E2D /* AnimationConfig.cpp in Sources */, 1A28FF881F20AFAB007A1D9D /* SRSIMDHelpers.m in Sources */, + 04DBD4B022AE2DBD00DBE4CD /* MeshAttachment.cpp in Sources */, + 04DBD31A22AE2D8200DBE4CD /* AttachmentVertices.cpp in Sources */, 50ABBD451925AB0000A911A9 /* CCVertex.cpp in Sources */, + 04DBD41E22AE2DBD00DBE4CD /* TextureLoader.cpp in Sources */, 294D7D9D1D0E93A2002CE7B7 /* CCDevice-apple.mm in Sources */, 469303BF2046AE05004A3D6C /* jsb_renderer_auto.cpp in Sources */, - 046AA923223B4761005191A4 /* DrawOrderTimeline.cpp in Sources */, 4617864F205224D6008256E1 /* HttpAsynConnection-apple.m in Sources */, BA21055921008B6600E19975 /* jsb_cocos2dx_extension_auto.cpp in Sources */, - 046AA997223B4761005191A4 /* IkConstraintTimeline.cpp in Sources */, 1A52DB8E2060DEF500350EE3 /* jsb_platfrom_apple.mm in Sources */, 503DD8E71926736A00CD74DD /* CCEAGLView-ios.mm in Sources */, 1A29D785205666B200168D9A /* LocalStorage.cpp in Sources */, + 04DBD3CC22AE2DBD00DBE4CD /* Atlas.cpp in Sources */, 46AE3FEA2092F3A600F3A228 /* inspector_socket_server.cc in Sources */, - 046AAA0F223B4762005191A4 /* PathConstraint.cpp in Sources */, 46FDDA8A202ACC6A00931238 /* Effect.cpp in Sources */, 046E06382185B41100B24E2D /* AnimationState.cpp in Sources */, - 046E03FA21804E6B00B24E2D /* SkeletonRenderer.cpp in Sources */, - 046AA921223B4761005191A4 /* IkConstraintData.cpp in Sources */, - 046AA925223B4761005191A4 /* Event.cpp in Sources */, + 04DBD3CE22AE2DBD00DBE4CD /* Bone.cpp in Sources */, + 04DBD43C22AE2DBD00DBE4CD /* TransformConstraint.cpp in Sources */, 4617861A20522469008256E1 /* SocketIO.cpp in Sources */, - 046AA949223B4761005191A4 /* Skeleton.cpp in Sources */, + 0482F1A2228D87970019ECF7 /* NodeProxy.cpp in Sources */, 46FDDB72202ADDCE00931238 /* base64.cpp in Sources */, 46FDDA7E202ACC6A00931238 /* Light.cpp in Sources */, + 04DBD46A22AE2DBD00DBE4CD /* ShearTimeline.cpp in Sources */, + 0482F1A6228D87970019ECF7 /* MeshBuffer.cpp in Sources */, 469303AB2046AE05004A3D6C /* Class.cpp in Sources */, 046E065D2185B41B00B24E2D /* Constraint.cpp in Sources */, + 04DBD32822AE2D8200DBE4CD /* SkeletonDataMgr.cpp in Sources */, 046E06672185B41B00B24E2D /* Bone.cpp in Sources */, 1ABAD24F20C29F3800BC71C0 /* CCCanvasRenderingContext2D-apple.mm in Sources */, 46AE3FFA2092F3A600F3A228 /* inspector_socket.cc in Sources */, 1AAAC8EC205CB6E9005321B9 /* AudioCache.mm in Sources */, 46FDDBE4202ADDCE00931238 /* CCData.cpp in Sources */, - 046AA999223B4761005191A4 /* Atlas.cpp in Sources */, 469304592046AE06004A3D6C /* EventDispatcher.cpp in Sources */, 46FDDAB4202ACC6A00931238 /* VertexBuffer.cpp in Sources */, 4617864E205224CF008256E1 /* HttpClient-apple.mm in Sources */, + 04DBD43422AE2DBD00DBE4CD /* Skin.cpp in Sources */, 40AEF7AF216D940200729AA5 /* WebViewImpl-ios.mm in Sources */, - 046AA9CF223B4762005191A4 /* RTTI.cpp in Sources */, - 046E03F421804E6B00B24E2D /* spine-cocos2dx.cpp in Sources */, 46FDDB94202ADDCE00931238 /* TGAlib.cpp in Sources */, 46FDDB66202ADDCE00931238 /* ccRandom.cpp in Sources */, - 046AAA1F223B4762005191A4 /* ColorTimeline.cpp in Sources */, + 04DBD41822AE2DBD00DBE4CD /* BoneData.cpp in Sources */, 1A28FF841F20AFAB007A1D9D /* SRRandom.m in Sources */, - 046AAA01223B4762005191A4 /* Updatable.cpp in Sources */, - 046AAA21223B4762005191A4 /* Bone.cpp in Sources */, 46FDDA96202ACC6A00931238 /* RendererUtils.cpp in Sources */, 046E06232185B37100B24E2D /* CCTextureAtlasData.cpp in Sources */, + 04DBD3F822AE2DBD00DBE4CD /* PathConstraintMixTimeline.cpp in Sources */, 04AF6300219190ED00AED9DE /* TypedArrayPool.cpp in Sources */, 046E06CE2185B49F00B24E2D /* CanvasData.cpp in Sources */, + 04DBD4A222AE2DBD00DBE4CD /* Attachment.cpp in Sources */, + 04DBD48A22AE2DBD00DBE4CD /* IkConstraintTimeline.cpp in Sources */, 469303952046AE05004A3D6C /* RefCounter.cpp in Sources */, 46FDDABC202ACC6A00931238 /* VertexFormat.cpp in Sources */, 046E061D2185B37100B24E2D /* CCFactory.cpp in Sources */, - 046AA98D223B4761005191A4 /* EventTimeline.cpp in Sources */, 50ABBD5D1925AB0000A911A9 /* Vec3.cpp in Sources */, - 046AA963223B4761005191A4 /* LinkedMesh.cpp in Sources */, 46AE3FF62092F3A600F3A228 /* util.cc in Sources */, 461786662052607E008256E1 /* jsb_websocket.cpp in Sources */, 046E06172185B37100B24E2D /* CCSlot.cpp in Sources */, + 041854A8228D7E7300F8DF31 /* jsb_cocos2dx_particle_auto.cpp in Sources */, + 04DBD48022AE2DBD00DBE4CD /* PathConstraintSpacingTimeline.cpp in Sources */, + 04DBD4B222AE2DBD00DBE4CD /* TwoColorTimeline.cpp in Sources */, 50ABC0001926664800A911A9 /* CCFileUtils-apple.mm in Sources */, 4DC57D331F7B840E005B6546 /* xxtea.cpp in Sources */, + 04DBD42A22AE2DBD00DBE4CD /* RegionAttachment.cpp in Sources */, + 04DBD46022AE2DBD00DBE4CD /* Event.cpp in Sources */, + 041854A0228D7E5700F8DF31 /* ParticleSimulator.cpp in Sources */, 1A29D77C2056667800168D9A /* csscolorparser.cpp in Sources */, - 046AA989223B4761005191A4 /* TextureLoader.cpp in Sources */, 046E06D42185B49F00B24E2D /* SkinData.cpp in Sources */, 46FDDA8E202ACC6A00931238 /* Config.cpp in Sources */, + 04DBD46422AE2DBD00DBE4CD /* PathConstraintData.cpp in Sources */, 1A29D795205666F500168D9A /* jsb_opengl_manual.cpp in Sources */, 46AE3FFC2092F3A600F3A228 /* inspector_io.cc in Sources */, 4648882820AC2BC900CD1E4A /* CCRenderTexture.cpp in Sources */, + 04DBD4AA22AE2DBD00DBE4CD /* SpineObject.cpp in Sources */, 503DD8E31926736A00CD74DD /* CCDevice-ios.mm in Sources */, 1A28FF701F20AFAB007A1D9D /* SRError.m in Sources */, + 0482F1B6228D87970019ECF7 /* RenderFlow.cpp in Sources */, 1A28FF501F20AFAB007A1D9D /* SRDelegateController.m in Sources */, - 046AA9C5223B4762005191A4 /* BoundingBoxAttachment.cpp in Sources */, 46FDDAC0202ACC6A00931238 /* State.cpp in Sources */, - 046AA933223B4761005191A4 /* EventData.cpp in Sources */, BA21055E21009A5700E19975 /* AssetsManagerEx.cpp in Sources */, + 04DBD31C22AE2D8200DBE4CD /* SkeletonAnimation.cpp in Sources */, BA21055F21009A5A00E19975 /* CCEventAssetsManagerEx.cpp in Sources */, BA21055D21009A5500E19975 /* Manifest.cpp in Sources */, ); @@ -4893,6 +5190,7 @@ SDKROOT = iphoneos; TARGETED_DEVICE_FAMILY = "1,2"; USER_HEADER_SEARCH_PATHS = "$(inherited) $(SRCROOT)/../external/sources $(SRCROOT)/../external/ios/include $(SRCROOT)/../external/ios/include/freetype $(SRCROOT)/../cocos/editor-support/"; + "USER_HEADER_SEARCH_PATHS[arch=*]" = "$(inherited) $(SRCROOT)/../external/sources $(SRCROOT)/../external/ios/include $(SRCROOT)/../external/ios/include/freetype $(SRCROOT)/../cocos/editor-support/"; VALID_ARCHS = "arm64 armv7"; }; name = Debug; @@ -4921,6 +5219,7 @@ SDKROOT = iphoneos; TARGETED_DEVICE_FAMILY = "1,2"; USER_HEADER_SEARCH_PATHS = "$(inherited) $(SRCROOT)/../external/sources $(SRCROOT)/../external/ios/include $(SRCROOT)/../external/ios/include/freetype $(SRCROOT)/../cocos/editor-support/"; + "USER_HEADER_SEARCH_PATHS[arch=*]" = "$(inherited) $(SRCROOT)/../external/sources $(SRCROOT)/../external/ios/include $(SRCROOT)/../external/ios/include/freetype $(SRCROOT)/../cocos/editor-support/"; VALID_ARCHS = "arm64 armv7"; }; name = Release; diff --git a/native/build/libcocos2d.vcxproj b/native/build/libcocos2d.vcxproj index 0131597615..2dcf186a6f 100644 --- a/native/build/libcocos2d.vcxproj +++ b/native/build/libcocos2d.vcxproj @@ -81,7 +81,7 @@ - + @@ -191,6 +191,7 @@ + @@ -202,6 +203,24 @@ + + + + + + + + + + + + + + + + + + @@ -209,6 +228,7 @@ + @@ -353,7 +373,7 @@ - + @@ -493,9 +513,11 @@ + + @@ -509,6 +531,25 @@ + + + + + + + + + + + + + + + + + + + @@ -516,6 +557,7 @@ + diff --git a/native/build/libcocos2d.vcxproj.filters b/native/build/libcocos2d.vcxproj.filters index d73e69562b..9f98178b48 100644 --- a/native/build/libcocos2d.vcxproj.filters +++ b/native/build/libcocos2d.vcxproj.filters @@ -422,9 +422,6 @@ editor-support - - editor-support - editor-support\spine-creator-support @@ -593,12 +590,6 @@ editor-support\spine - - editor-support\spine - - - editor-support\spine - editor-support\spine @@ -611,30 +602,18 @@ editor-support\spine - - editor-support\spine - editor-support\spine editor-support\spine - - editor-support\spine - editor-support\spine - - editor-support\spine - editor-support\spine - - editor-support\spine - editor-support\spine @@ -650,12 +629,6 @@ editor-support\spine - - editor-support\spine - - - editor-support\spine - editor-support\spine @@ -677,12 +650,6 @@ editor-support\spine - - editor-support\spine - - - editor-support\spine - editor-support\spine @@ -704,18 +671,9 @@ editor-support\spine - - editor-support\spine - - - editor-support\spine - editor-support\spine - - editor-support\spine - editor-support\spine @@ -755,27 +713,15 @@ editor-support\spine - - editor-support\spine - - - editor-support\spine - editor-support\spine - - editor-support\spine - editor-support\spine editor-support\spine - - editor-support\spine - editor-support\spine @@ -785,9 +731,6 @@ editor-support\spine - - editor-support\spine - editor-support\spine @@ -800,21 +743,78 @@ editor-support\spine - - editor-support\spine - editor-support\spine editor-support\spine - - editor-support\spine - editor-support + + renderer\scene + + + renderer\scene + + + renderer\scene + + + renderer\scene + + + renderer\scene + + + renderer\scene + + + renderer\scene + + + renderer\scene + + + renderer\scene\assembler + + + renderer\scene\assembler + + + renderer\scene\assembler + + + renderer\scene\assembler + + + renderer\scene\assembler + + + renderer\scene\assembler + + + renderer\scene\assembler + + + renderer\scene\assembler + + + renderer\scene\assembler + + + renderer\scene\assembler + + + renderer\renderer + + + editor-support\particle + + + js-bindings\auto + @@ -1517,9 +1517,6 @@ editor-support - - editor-support - editor-support @@ -1769,6 +1766,75 @@ editor-support + + renderer\scene + + + renderer\scene + + + renderer\scene + + + renderer\scene + + + renderer\scene + + + renderer\scene + + + renderer\scene + + + renderer\scene + + + renderer\scene + + + renderer\scene\assembler + + + renderer\scene\assembler + + + renderer\scene\assembler + + + renderer\scene\assembler + + + renderer\scene\assembler + + + renderer\scene\assembler + + + renderer\scene\assembler + + + renderer\scene\assembler + + + renderer\scene\assembler + + + renderer\scene\assembler + + + renderer\scene\memop + + + renderer\renderer + + + editor-support\particle + + + js-bindings\auto + @@ -1900,6 +1966,18 @@ {adc17345-7ade-411b-abef-14ca3ae30e9f} + + {092e6c27-6094-4ee8-a5fc-7082059c8f93} + + + {6c380106-a041-45b9-90ee-d4b8194c1e2b} + + + {241728db-2151-42d2-a002-3fb1fd260a78} + + + {333e24f4-af65-4a68-96a9-a5cccd0b4b81} + diff --git a/native/cocos/Android.mk b/native/cocos/Android.mk index 4d5514739d..dfbf1fd4e2 100644 --- a/native/cocos/Android.mk +++ b/native/cocos/Android.mk @@ -26,6 +26,7 @@ math/Quaternion.cpp \ math/Vec2.cpp \ math/Vec3.cpp \ math/Vec4.cpp \ +math/Mat3.cpp \ base/CCAutoreleasePool.cpp \ base/CCConfiguration.cpp \ base/CCData.cpp \ @@ -136,6 +137,26 @@ renderer/renderer/Scene.cpp \ renderer/renderer/Technique.cpp \ renderer/renderer/View.cpp \ renderer/renderer/ForwardRenderer.cpp \ +renderer/scene/assembler/Assembler.cpp \ +renderer/scene/assembler/AssemblerBase.cpp \ +renderer/scene/assembler/CustomAssembler.cpp \ +renderer/scene/assembler/MaskAssembler.cpp \ +renderer/scene/assembler/RenderData.cpp \ +renderer/scene/assembler/RenderDataList.cpp \ +renderer/scene/assembler/TiledMapAssembler.cpp \ +renderer/scene/assembler/AssemblerSprite.cpp \ +renderer/scene/assembler/SimpleSprite2D.cpp \ +renderer/scene/assembler/SlicedSprite2D.cpp \ +renderer/scene/MeshBuffer.cpp \ +renderer/scene/ModelBatcher.cpp \ +renderer/scene/NodeProxy.cpp \ +renderer/scene/RenderFlow.cpp \ +renderer/scene/StencilManager.cpp \ +renderer/scene/MemPool.cpp \ +renderer/scene/NodeMemPool.cpp \ +renderer/scene/ParallelTask.cpp \ +renderer/memop/RecyclePool.hpp \ +renderer/renderer/CustomProperties.cpp \ scripting/js-bindings/auto/jsb_gfx_auto.cpp \ scripting/js-bindings/auto/jsb_renderer_auto.cpp \ scripting/js-bindings/manual/jsb_renderer_manual.cpp \ @@ -174,7 +195,7 @@ endif # USE_SOCKET ifneq ($(USE_MIDDLEWARE),0) LOCAL_STATIC_LIBRARIES += editor_support_static -endif # USE_SPINE or USE_DRAGONBONES +endif # USE_MIDDLEWARE LOCAL_C_INCLUDES := $(LOCAL_PATH) \ $(LOCAL_PATH)/.. \ diff --git a/native/cocos/base/ccConfig.h b/native/cocos/base/ccConfig.h index 7351fc8f60..c4cba83049 100644 --- a/native/cocos/base/ccConfig.h +++ b/native/cocos/base/ccConfig.h @@ -39,7 +39,7 @@ THE SOFTWARE. // disable module if you didn't need it, this will reduce package size #ifndef USE_GFX_RENDERER -#define USE_GFX_RENDERER 0 +#define USE_GFX_RENDERER 1 #endif #ifndef USE_VIDEO @@ -62,6 +62,8 @@ THE SOFTWARE. #define USE_MIDDLEWARE 1 #endif +#if USE_GFX_RENDERER > 0 && USE_MIDDLEWARE > 0 + #ifndef USE_SPINE #define USE_SPINE 1 #endif @@ -70,6 +72,12 @@ THE SOFTWARE. #define USE_DRAGONBONES 1 #endif +#ifndef USE_PARTICLE +#define USE_PARTICLE 1 +#endif + +#endif // endif middleware + /** @def CC_ENABLE_STACKABLE_ACTIONS * If enabled, actions that alter the position property (eg: MoveBy, JumpBy, BezierBy, etc..) will be stacked. * If you run 2 or more 'position' actions at the same time on a node, then end position will be the sum of all the positions. diff --git a/native/cocos/base/ccRandom.cpp b/native/cocos/base/ccRandom.cpp index d476d3dc7b..57706b531d 100644 --- a/native/cocos/base/ccRandom.cpp +++ b/native/cocos/base/ccRandom.cpp @@ -25,9 +25,3 @@ THE SOFTWARE. ****************************************************************************/ #include "base/ccRandom.h" - -std::mt19937 &cocos2d::RandomHelper::getEngine() { - static std::random_device seed_gen; - static std::mt19937 engine(seed_gen()); - return engine; -} diff --git a/native/cocos/base/ccRandom.h b/native/cocos/base/ccRandom.h index 514c1af3f9..a0ea7ce323 100644 --- a/native/cocos/base/ccRandom.h +++ b/native/cocos/base/ccRandom.h @@ -59,7 +59,11 @@ public: return dist(mt); } private: - static std::mt19937 &getEngine(); + static inline std::mt19937 &getEngine() { + static std::random_device seed_gen; + static std::mt19937 engine(seed_gen()); + return engine; + } }; /** diff --git a/native/cocos/editor-support/Android.mk b/native/cocos/editor-support/Android.mk index 0bb0d76d8a..e9122eff97 100644 --- a/native/cocos/editor-support/Android.mk +++ b/native/cocos/editor-support/Android.mk @@ -10,7 +10,6 @@ LOCAL_ARM_MODE := arm LOCAL_SRC_FILES := \ ../scripting/js-bindings/manual/jsb_helper.cpp \ IOBuffer.cpp \ -RenderInfoMgr.cpp \ MeshBuffer.cpp \ middleware-adapter.cpp \ TypedArrayPool.cpp \ @@ -18,6 +17,12 @@ IOTypedArray.cpp \ MiddlewareManager.cpp \ ../scripting/js-bindings/auto/jsb_cocos2dx_editor_support_auto.cpp +ifeq ($(USE_PARTICLE),1) +LOCAL_SRC_FILES += \ +particle/ParticleSimulator.cpp \ +../scripting/js-bindings/auto/jsb_cocos2dx_particle_auto.cpp +endif # USE_PARTICLE + ifeq ($(USE_SPINE),1) LOCAL_SRC_FILES += \ spine/Animation.cpp \ diff --git a/native/cocos/editor-support/MeshBuffer.cpp b/native/cocos/editor-support/MeshBuffer.cpp index 5967c938b6..18ca15696a 100644 --- a/native/cocos/editor-support/MeshBuffer.cpp +++ b/native/cocos/editor-support/MeshBuffer.cpp @@ -24,14 +24,19 @@ #include "MeshBuffer.h" #include "base/CCGLUtils.h" +#include "renderer/gfx/DeviceGraphics.h" + +using namespace cocos2d; +using namespace cocos2d::renderer; MIDDLEWARE_BEGIN -MeshBuffer::MeshBuffer(int vertexSize) -: _ib(INIT_INDEX_BUFFER_SIZE) -, _vb(MAX_VERTEX_BUFFER_SIZE * vertexSize) +MeshBuffer::MeshBuffer(int vertexFormat) +: _vertexFormat(vertexFormat) +, _ib(INIT_INDEX_BUFFER_SIZE) +, _vb(MAX_VERTEX_BUFFER_SIZE * vertexFormat) { - _vb.setMaxSize(MAX_VERTEX_BUFFER_SIZE * vertexSize); + _vb.setMaxSize(MAX_VERTEX_BUFFER_SIZE * _vertexFormat); _vb.setFullCallback([this] { uploadVB(); @@ -41,11 +46,25 @@ MeshBuffer::MeshBuffer(int vertexSize) next(); }); - _glIBArr.resize(1); - glGenBuffers(1, &_glIBArr[0]); + auto glIB = new IndexBuffer(); + glIB->init(DeviceGraphics::getInstance(), IndexFormat::UINT16, Usage::STATIC, nullptr, 0, (uint32_t)_ib.getCapacity() / sizeof(unsigned short)); + _glIBArr.push_back(glIB); - _glVBArr.resize(1); - glGenBuffers(1, &_glVBArr[0]); + auto glVB = new VertexBuffer(); + switch(_vertexFormat) + { + case VF_XYUVC: + glVB->init(DeviceGraphics::getInstance(), VertexFormat::XY_UV_Color, Usage::DYNAMIC, nullptr, 0, (uint32_t)_vb.getCapacity() / VertexFormat::XY_UV_Color->getBytes()); + break; + case VF_XYUVCC: + glVB->init(DeviceGraphics::getInstance(), VertexFormat::XY_UV_Two_Color, Usage::DYNAMIC, nullptr, 0, (uint32_t)_vb.getCapacity() / VertexFormat::XY_UV_Two_Color->getBytes()); + break; + default: + CCASSERT(false, "MeshBuffer constructor unknow vertex format"); + break; + } + + _glVBArr.push_back(glVB); } MeshBuffer::~MeshBuffer() @@ -53,8 +72,8 @@ MeshBuffer::~MeshBuffer() auto num = _glVBArr.size(); for (auto i = 0; i < num; i++) { - cocos2d::ccDeleteBuffers(1, &_glIBArr[i]); - cocos2d::ccDeleteBuffers(1, &_glVBArr[i]); + delete _glIBArr[i]; + delete _glVBArr[i]; } _glIBArr.clear(); _glVBArr.clear(); @@ -64,11 +83,10 @@ void MeshBuffer::uploadVB() { auto length = _vb.length(); if (length == 0) return; - + auto glVB = _glVBArr[_bufferPos]; - cocos2d::ccBindBuffer(GL_ARRAY_BUFFER, glVB); - glBufferData(GL_ARRAY_BUFFER, (GLsizeiptr)length, _vb.getBuffer(), GL_DYNAMIC_DRAW); - cocos2d::ccBindBuffer(GL_ARRAY_BUFFER, 0); + glVB->setBytes((uint32_t)length); + glVB->update(0, _vb.getBuffer(), length); } void MeshBuffer::uploadIB() @@ -76,13 +94,9 @@ void MeshBuffer::uploadIB() auto length = _ib.length(); if (length == 0) return; - GLint _oldGLID = 0; - glGetIntegerv(GL_ELEMENT_ARRAY_BUFFER_BINDING, &_oldGLID); - auto glIB = _glIBArr[_bufferPos]; - cocos2d::ccBindBuffer(GL_ELEMENT_ARRAY_BUFFER, glIB); - glBufferData(GL_ELEMENT_ARRAY_BUFFER, (GLsizeiptr)length, _ib.getBuffer(), GL_STATIC_DRAW); - cocos2d::ccBindBuffer(GL_ELEMENT_ARRAY_BUFFER, _oldGLID); + glIB->setBytes((uint32_t)length); + glIB->update(0, _ib.getBuffer(), length); } void MeshBuffer::next() @@ -90,14 +104,29 @@ void MeshBuffer::next() _bufferPos++; if (_glIBArr.size() <= _bufferPos) { - _glIBArr.resize(_bufferPos + 1); - glGenBuffers(1, &_glIBArr[_bufferPos]); + auto glIB = new IndexBuffer(); + glIB->init(DeviceGraphics::getInstance(), IndexFormat::UINT16, Usage::STATIC, nullptr, 0, (uint32_t)_ib.getCapacity() / sizeof(unsigned short)); + _glIBArr.push_back(glIB); } if (_glVBArr.size() <= _bufferPos) { - _glVBArr.resize(_bufferPos + 1); - glGenBuffers(1, &_glVBArr[_bufferPos]); + auto glVB = new VertexBuffer(); + + switch(_vertexFormat) + { + case VF_XYUVC: + glVB->init(DeviceGraphics::getInstance(), VertexFormat::XY_UV_Color, Usage::DYNAMIC, nullptr, 0, (uint32_t)_vb.getCapacity() / VertexFormat::XY_UV_Color->getBytes()); + break; + case VF_XYUVCC: + glVB->init(DeviceGraphics::getInstance(), VertexFormat::XY_UV_Two_Color, Usage::DYNAMIC, nullptr, 0, (uint32_t)_vb.getCapacity() / VertexFormat::XY_UV_Two_Color->getBytes()); + break; + default: + CCASSERT(false, "MeshBuffer constructor unknow vertex format"); + break; + } + + _glVBArr.push_back(glVB); } } diff --git a/native/cocos/editor-support/MeshBuffer.h b/native/cocos/editor-support/MeshBuffer.h index 7898e0a5e6..e75bbc5f85 100644 --- a/native/cocos/editor-support/MeshBuffer.h +++ b/native/cocos/editor-support/MeshBuffer.h @@ -25,6 +25,8 @@ #include "IOBuffer.h" #include +#include "renderer/gfx/VertexBuffer.h" +#include "renderer/gfx/IndexBuffer.h" MIDDLEWARE_BEGIN @@ -34,12 +36,12 @@ public: MeshBuffer(int vertexFormat); ~MeshBuffer(); - uint32_t getGLVB() + inline cocos2d::renderer::VertexBuffer* getGLVB() { return _glVBArr[_bufferPos]; } - uint32_t getGLIB() + inline cocos2d::renderer::IndexBuffer* getGLIB() { return _glIBArr[_bufferPos]; } @@ -60,12 +62,13 @@ public: private: void next(); private: - std::vector _glIBArr; - std::vector _glVBArr; + std::vector _glIBArr; + std::vector _glVBArr; std::size_t _bufferPos = 0; IOBuffer _vb; IOBuffer _ib; + int _vertexFormat = 0; }; MIDDLEWARE_END diff --git a/native/cocos/editor-support/MiddlewareMacro.h b/native/cocos/editor-support/MiddlewareMacro.h index 7f51cb52c1..df8fa261f6 100644 --- a/native/cocos/editor-support/MiddlewareMacro.h +++ b/native/cocos/editor-support/MiddlewareMacro.h @@ -26,8 +26,7 @@ #define INIT_INDEX_BUFFER_SIZE 1024000 // max vertex buffer size #define MAX_VERTEX_BUFFER_SIZE 65535 -// render info int capacity -#define INIT_RENDER_INFO_BUFFER_SIZE 1024000 + // fill debug data max capacity #define MAX_DEBUG_BUFFER_SIZE 409600 // type array pool min size diff --git a/native/cocos/editor-support/MiddlewareManager.cpp b/native/cocos/editor-support/MiddlewareManager.cpp index 96d62bba20..bd3df1896f 100644 --- a/native/cocos/editor-support/MiddlewareManager.cpp +++ b/native/cocos/editor-support/MiddlewareManager.cpp @@ -24,7 +24,6 @@ #include "MiddlewareManager.h" #include "base/CCGLUtils.h" #include "scripting/js-bindings/jswrapper/SeApi.h" -#include "RenderInfoMgr.h" MIDDLEWARE_BEGIN @@ -59,26 +58,23 @@ MeshBuffer* MiddlewareManager::getMeshBuffer(int format) return mb; } -void MiddlewareManager::update(float dt) +void MiddlewareManager::_clearRemoveList() { - for (auto it : _mbMap) + for (std::size_t i = 0; i < _removeList.size(); i++) { - auto buffer = it.second; - if (buffer) + auto editor = _removeList[i]; + auto it = _updateMap.find(editor); + if (it != _updateMap.end()) { - buffer->reset(); + _updateMap.erase(it); } } - // reset render info - auto renderInfoMgr = RenderInfoMgr::getInstance(); - renderInfoMgr->reset(); - auto renderInfo = renderInfoMgr->getBuffer(); - if (renderInfo) - { - renderInfo->writeUint32(0); - } - + _removeList.clear(); +} + +void MiddlewareManager::update(float dt) +{ isUpdating = true; for (auto it = _updateMap.begin(); it != _updateMap.end(); it++) @@ -100,17 +96,40 @@ void MiddlewareManager::update(float dt) isUpdating = false; - for (std::size_t i = 0; i < _removeList.size(); i++) + _clearRemoveList(); +} + +void MiddlewareManager::render(float dt) +{ + for (auto it : _mbMap) { - auto editor = _removeList[i]; - auto it = _updateMap.find(editor); - if (it != _updateMap.end()) + auto buffer = it.second; + if (buffer) { - _updateMap.erase(it); + buffer->reset(); } } - _removeList.clear(); + isRendering = true; + + for (auto it = _updateMap.begin(); it != _updateMap.end(); it++) + { + auto editor = it->first; + if (_removeList.size() > 0) + { + auto removeIt = std::find(_removeList.begin(), _removeList.end(), editor); + if (removeIt == _removeList.end()) + { + editor->render(dt); + } + } + else + { + editor->render(dt); + } + } + + isRendering = false; for (auto it : _mbMap) { @@ -121,6 +140,8 @@ void MiddlewareManager::update(float dt) buffer->uploadVB(); } } + + _clearRemoveList(); } void MiddlewareManager::addTimer(IMiddleware* editor) @@ -135,7 +156,7 @@ void MiddlewareManager::addTimer(IMiddleware* editor) void MiddlewareManager::removeTimer(IMiddleware* editor) { - if (isUpdating) + if (isUpdating || isRendering) { _removeList.push_back(editor); } diff --git a/native/cocos/editor-support/MiddlewareManager.h b/native/cocos/editor-support/MiddlewareManager.h index 670f9bef68..3be25b1cfe 100644 --- a/native/cocos/editor-support/MiddlewareManager.h +++ b/native/cocos/editor-support/MiddlewareManager.h @@ -36,9 +36,10 @@ MIDDLEWARE_BEGIN */ class IMiddleware { public: - IMiddleware(){} - virtual ~IMiddleware(){} + IMiddleware() {} + virtual ~IMiddleware() {} virtual void update(float dt) = 0; + virtual void render(float dt) = 0; }; /** @@ -66,11 +67,24 @@ public: } } + static uint8_t generateModuleID() + { + static uint8_t uniqueId = 0; + uniqueId++; + return uniqueId; + } + /** - * update by js + * @brief update all elements + * @param[in] dt Delta time. */ void update(float dt); + /** + * @brief render all elements + */ + void render(float dt); + /** * @brief Third party module add in _updateMap,it will update perframe. * @param[in] editor Module must implement IMiddleware interface. @@ -88,10 +102,13 @@ public: MiddlewareManager(); ~MiddlewareManager(); - // If manager is traversing _updateMap,will set the flag,untill traverse is finished. + // If manager is traversing _updateMap, will set the flag untill traverse is finished. + bool isRendering = false; bool isUpdating = false; - private: + void _clearRemoveList(); +private: + std::map _updateMap; std::vector _removeList; std::map _mbMap; diff --git a/native/cocos/editor-support/dragonbones-creator-support/CCArmatureDisplay.cpp b/native/cocos/editor-support/dragonbones-creator-support/CCArmatureDisplay.cpp index 3ab02e9763..272aabc431 100644 --- a/native/cocos/editor-support/dragonbones-creator-support/CCArmatureDisplay.cpp +++ b/native/cocos/editor-support/dragonbones-creator-support/CCArmatureDisplay.cpp @@ -23,10 +23,16 @@ #include "dragonbones-creator-support/CCArmatureDisplay.h" #include "dragonbones-creator-support/CCSlot.h" #include "MiddlewareMacro.h" -#include "RenderInfoMgr.h" +#include "renderer/renderer/Pass.h" +#include "renderer/renderer/Technique.h" USING_NS_CC; USING_NS_MW; +using namespace cocos2d::renderer; + +static const std::string techStage = "opaque"; +static const std::string textureKey = "texture"; +static const uint8_t moduleID = MiddlewareManager::generateModuleID(); DRAGONBONES_NAMESPACE_BEGIN @@ -46,23 +52,30 @@ CCArmatureDisplay* CCArmatureDisplay::create() CCArmatureDisplay::CCArmatureDisplay() { - _renderInfoOffset = new IOTypedArray(se::Object::TypedArrayType::UINT32, sizeof(uint32_t)); + } CCArmatureDisplay::~CCArmatureDisplay() { dispose(); - if (_renderInfoOffset) - { - delete _renderInfoOffset; - _renderInfoOffset = nullptr; - } if (_debugBuffer) { delete _debugBuffer; _debugBuffer = nullptr; } + + CC_SAFE_RELEASE(_nodeProxy); + CC_SAFE_RELEASE(_effect); +} + +void CCArmatureDisplay::dispose(bool disposeProxy) +{ + if (_armature != nullptr) + { + _armature->dispose(); + _armature = nullptr; + } } void CCArmatureDisplay::dbInit(Armature* armature) @@ -76,62 +89,43 @@ void CCArmatureDisplay::dbClear() release(); } -void CCArmatureDisplay::dispose(bool disposeProxy) -{ - if (_armature != nullptr) - { - _armature->dispose(); - _armature = nullptr; - } -} +void CCArmatureDisplay::dbUpdate() {} -void CCArmatureDisplay::dbUpdate() +void CCArmatureDisplay::dbRender() { - _renderInfoOffset->reset(); - _renderInfoOffset->clear(); - if (this->_armature->getParent()) return; auto mgr = MiddlewareManager::getInstance(); - if (!mgr->isUpdating) return; + if (!mgr->isRendering) return; + + if (_nodeProxy == nullptr) + { + return; + } - auto renderMgr = RenderInfoMgr::getInstance(); - auto renderInfo = renderMgr->getBuffer(); - if (renderInfo == nullptr) return; - - // store renderInfo offset - _renderInfoOffset->writeUint32((uint32_t)renderInfo->getCurPos() / sizeof(uint32_t)); + _assembler = (CustomAssembler*)_nodeProxy->getAssembler(); + if (_assembler == nullptr) + { + return; + } + _assembler->reset(); + _assembler->setUseModel(!_batch); _preBlendMode = -1; _preTextureIndex = -1; _curTextureIndex = -1; - _curBlendSrc = -1; - _curBlendDst = -1; - - _preISegWritePos = -1; + _preISegWritePos = -1; _curISegLen = 0; _debugSlotsLen = 0; _materialLen = 0; - // check enough space - renderInfo->checkSpace(sizeof(uint32_t) * 2, true); - - // write border - renderInfo->writeUint32(0xffffffff); - - _materialLenOffset = renderInfo->getCurPos(); - // Reserved space to save material len - renderInfo->writeUint32(0); - // Traverse all aramture to fill vertex and index buffer. traverseArmature(_armature); - - renderInfo->writeUint32(_materialLenOffset, _materialLen); if (_preISegWritePos != -1) { - renderInfo->writeUint32(_preISegWritePos, _curISegLen); + _assembler->updateIARange(_materialLen - 1, _preISegWritePos, _curISegLen); } if (_debugDraw) @@ -172,7 +166,7 @@ void CCArmatureDisplay::dbUpdate() { _debugBuffer->writeFloat32(0, 0); cocos2d::log("Dragonbones debug data is too large,debug buffer has no space to put in it!!!!!!!!!!"); - cocos2d::log("You can adjust MAX_DEBUG_BUFFER_SIZE in Macro"); + cocos2d::log("You can adjust MAX_DEBUG_BUFFER_SIZE in MiddlewareMacro"); } } } @@ -211,18 +205,20 @@ CCArmatureDisplay* CCArmatureDisplay::getRootDisplay() void CCArmatureDisplay::traverseArmature(Armature* armature, float parentOpacity) { + static cocos2d::Mat4 matrixTemp; + const cocos2d::Mat4& nodeWorldMat = _nodeProxy->getWorldMatrix(); + auto& slots = armature->getSlots(); auto mgr = MiddlewareManager::getInstance(); - MeshBuffer* mb = mgr->getMeshBuffer(VF_XYUVC); + + middleware::MeshBuffer* mb = mgr->getMeshBuffer(VF_XYUVC); IOBuffer& vb = mb->getVB(); IOBuffer& ib = mb->getIB(); - auto renderMgr = RenderInfoMgr::getInstance(); - auto renderInfo = renderMgr->getBuffer(); - if (!renderInfo) return; + float realOpacity = _nodeProxy->getRealOpacity() / 255.0f; - float r, g, b, a; + float r, g, b, a; CCSlot* slot = nullptr; - middleware::Texture2D* texture = nullptr; + middleware::Texture2D* texture = nullptr; int isFull = 0; auto flush = [&]() @@ -230,51 +226,85 @@ void CCArmatureDisplay::traverseArmature(Armature* armature, float parentOpacity // fill pre segment count field if (_preISegWritePos != -1) { - renderInfo->writeUint32(_preISegWritePos, _curISegLen); + _assembler->updateIARange(_materialLen - 1, _preISegWritePos, _curISegLen); } // prepare to fill new segment field switch (slot->_blendMode) { case BlendMode::Add: - _curBlendSrc = _premultipliedAlpha ? GL_ONE : GL_SRC_ALPHA; - _curBlendDst = GL_ONE; + _curBlendSrc = _premultipliedAlpha ? BlendFactor::ONE : BlendFactor::SRC_ALPHA; + _curBlendDst = BlendFactor::ONE; break; case BlendMode::Multiply: - _curBlendSrc = GL_DST_COLOR; - _curBlendDst = GL_ONE_MINUS_SRC_ALPHA; + _curBlendSrc = BlendFactor::DST_COLOR; + _curBlendDst = BlendFactor::ONE_MINUS_SRC_ALPHA; break; case BlendMode::Screen: - _curBlendSrc = GL_ONE; - _curBlendDst = GL_ONE_MINUS_SRC_COLOR; + _curBlendSrc = BlendFactor::ONE; + _curBlendDst = BlendFactor::ONE_MINUS_SRC_COLOR; break; default: - _curBlendSrc = _premultipliedAlpha ? GL_ONE : GL_SRC_ALPHA; - _curBlendDst = GL_ONE_MINUS_SRC_ALPHA; + _curBlendSrc = _premultipliedAlpha ? BlendFactor::ONE : BlendFactor::SRC_ALPHA; + _curBlendDst = BlendFactor::ONE_MINUS_SRC_ALPHA; break; } - // check enough space - renderInfo->checkSpace(sizeof(uint32_t) * 7, true); + double curHash = _curTextureIndex + (moduleID << 16) + ((uint8_t)slot->_blendMode << 24); - // fill new texture index - renderInfo->writeUint32(_curTextureIndex); - // fill new blend src and dst - renderInfo->writeUint32(_curBlendSrc); - renderInfo->writeUint32(_curBlendDst); - // fill new index and vertex buffer id - auto glIB = mb->getGLIB(); - auto glVB = mb->getGLVB(); - renderInfo->writeUint32(glIB); - renderInfo->writeUint32(glVB); - // fill new index offset - renderInfo->writeUint32((uint32_t)ib.getCurPos() / sizeof(unsigned short)); - - // save new segment count pos field - _preISegWritePos = (int)renderInfo->getCurPos(); - // reserve indice segamentation count - renderInfo->writeUint32(0); + Effect* renderEffect = _assembler->getEffect(_materialLen); + Technique::Parameter* param = nullptr; + Pass* pass = nullptr; + + if (renderEffect) + { + double renderHash = renderEffect->getHash(); + if (abs(renderHash - curHash) >= 0.01) + { + param = (Technique::Parameter*)&(renderEffect->getProperty(textureKey)); + Technique* tech = renderEffect->getTechnique(techStage); + Vector& passes = (Vector&)tech->getPasses(); + pass = *(passes.begin()); + } + } + else + { + if (_effect == nullptr) + { + cocos2d::log("ArmatureDisplay:update get effect failed"); + _assembler->reset(); + return; + } + auto effect = new cocos2d::renderer::Effect(); + effect->autorelease(); + effect->copy(_effect); + + Technique* tech = effect->getTechnique(techStage); + Vector& passes = (Vector&)tech->getPasses(); + pass = *(passes.begin()); + + _assembler->updateEffect(_materialLen, effect); + renderEffect = effect; + param = (Technique::Parameter*)&(renderEffect->getProperty(textureKey)); + } + + if (param) + { + param->setTexture(texture->getNativeTexture()); + } + + if (pass) + { + pass->setBlend(BlendOp::ADD, _curBlendSrc, _curBlendDst, + BlendOp::ADD, _curBlendSrc, _curBlendDst); + } + + renderEffect->updateHash(curHash); + // save new segment count pos field + _preISegWritePos = (int)ib.getCurPos()/sizeof(unsigned short); + // save new segment vb and ib + _assembler->updateIABuffer(_materialLen, mb->getGLVB(), mb->getGLIB()); // reset pre blend mode to current _preBlendMode = (int)slot->_blendMode; // reset pre texture index to current @@ -319,7 +349,7 @@ void CCArmatureDisplay::traverseArmature(Armature* armature, float parentOpacity } // Calculation vertex color. - a = _nodeColor.a * slot->color.a * parentOpacity; + a = realOpacity * slot->color.a * parentOpacity; float multiplier = _premultipliedAlpha ? a / 255.0f : 1.0f; r = _nodeColor.r * slot->color.r * multiplier; g = _nodeColor.g * slot->color.g * multiplier; @@ -327,14 +357,21 @@ void CCArmatureDisplay::traverseArmature(Armature* armature, float parentOpacity // Transform component matrix to global matrix middleware::Triangles& triangles = slot->triangles; - cocos2d::Mat4& worldMatrix = slot->worldMatrix; + cocos2d::Mat4* worldMatrix = &slot->worldMatrix; + if (_batch) { + cocos2d::Mat4::multiply(nodeWorldMat, *worldMatrix, &matrixTemp); + worldMatrix = &matrixTemp; + } + middleware::V2F_T2F_C4B* worldTriangles = slot->worldVerts; + for (int v = 0, w = 0, vn = triangles.vertCount; v < vn; ++v, w += 2) { middleware::V2F_T2F_C4B* vertex = triangles.verts + v; middleware::V2F_T2F_C4B* worldVertex = worldTriangles + v; - worldVertex->vertex.x = vertex->vertex.x * worldMatrix.m[0] + vertex->vertex.y * worldMatrix.m[4] + worldMatrix.m[12]; - worldVertex->vertex.y = vertex->vertex.x * worldMatrix.m[1] + vertex->vertex.y * worldMatrix.m[5] + worldMatrix.m[13]; + worldVertex->vertex.x = vertex->vertex.x * worldMatrix->m[0] + vertex->vertex.y * worldMatrix->m[4] + worldMatrix->m[12]; + worldVertex->vertex.y = vertex->vertex.x * worldMatrix->m[1] + vertex->vertex.y * worldMatrix->m[5] + worldMatrix->m[13]; + worldVertex->color.r = (GLubyte)r; worldVertex->color.g = (GLubyte)g; worldVertex->color.b = (GLubyte)b; diff --git a/native/cocos/editor-support/dragonbones-creator-support/CCArmatureDisplay.h b/native/cocos/editor-support/dragonbones-creator-support/CCArmatureDisplay.h index 6b81780b5f..e41c21c3c8 100644 --- a/native/cocos/editor-support/dragonbones-creator-support/CCArmatureDisplay.h +++ b/native/cocos/editor-support/dragonbones-creator-support/CCArmatureDisplay.h @@ -32,6 +32,11 @@ #include "dragonbones-creator-support/CCSlot.h" #include "IOTypedArray.h" #include "MiddlewareManager.h" +#include "renderer/scene/NodeProxy.hpp" +#include "base/CCMap.h" +#include "middleware-adapter.h" +#include "renderer/scene/assembler/CustomAssembler.hpp" +#include "renderer/Types.h" DRAGONBONES_NAMESPACE_BEGIN /** @@ -72,6 +77,10 @@ public: * @inheritDoc */ virtual void dbUpdate() override; + /** + * @inheritDoc + */ + virtual void dbRender() override; /** * @inheritDoc */ @@ -120,17 +129,19 @@ public: return nullptr; } - /** - * @return render info offset,it's a Uint32Array, - * format |render info offset| - */ - se_object_ptr getRenderInfoOffset() const + void bindNodeProxy(cocos2d::renderer::NodeProxy* node) { - if (_renderInfoOffset) - { - return _renderInfoOffset->getTypeArray(); - } - return nullptr; + CC_SAFE_RELEASE(_nodeProxy); + _nodeProxy = node; + CC_SAFE_RETAIN(_nodeProxy); + } + + void setEffect(cocos2d::renderer::Effect* effect) + { + if (effect == _effect) return; + CC_SAFE_RELEASE(_effect); + _effect = effect; + CC_SAFE_RETAIN(_effect); } void setColor(cocos2d::Color4B& color) @@ -146,6 +157,11 @@ public: _debugDraw = enabled; } + void setBatchEnabled (bool enabled) + { + _batch = enabled; + } + void setOpacityModifyRGB (bool value) { _premultipliedAlpha = value; @@ -171,25 +187,27 @@ public: private: std::map _listenerIDMap; - cocos2d::middleware::IOTypedArray* _renderInfoOffset = nullptr; cocos2d::middleware::IOTypedArray* _debugBuffer = nullptr; cocos2d::Color4F _nodeColor = cocos2d::Color4F::WHITE; int _preBlendMode = -1; int _preTextureIndex = -1; int _curTextureIndex = -1; - int _curBlendSrc = -1; - int _curBlendDst = -1; + cocos2d::renderer::BlendFactor _curBlendSrc; + cocos2d::renderer::BlendFactor _curBlendDst; int _preISegWritePos = -1; int _curISegLen = 0; int _debugSlotsLen = 0; int _materialLen = 0; - std::size_t _materialLenOffset = -1; + bool _batch = false; bool _premultipliedAlpha = false; dbEventCallback _dbEventCallback = nullptr; + cocos2d::renderer::NodeProxy* _nodeProxy = nullptr; + cocos2d::renderer::Effect* _effect = nullptr; + cocos2d::renderer::CustomAssembler* _assembler = nullptr; }; DRAGONBONES_NAMESPACE_END diff --git a/native/cocos/editor-support/dragonbones-creator-support/CCFactory.h b/native/cocos/editor-support/dragonbones-creator-support/CCFactory.h index de7864166e..2113381fa4 100644 --- a/native/cocos/editor-support/dragonbones-creator-support/CCFactory.h +++ b/native/cocos/editor-support/dragonbones-creator-support/CCFactory.h @@ -119,6 +119,11 @@ public: _dragonBonesInstance->advanceTime(dt); } + virtual void render(float dt) override + { + _dragonBonesInstance->render(); + } + /** * @note When script engine clean up is trigger,will stop dragonbones timer. */ diff --git a/native/cocos/editor-support/dragonbones-creator-support/CCSlot.cpp b/native/cocos/editor-support/dragonbones-creator-support/CCSlot.cpp index 59429e7745..39327db8e1 100644 --- a/native/cocos/editor-support/dragonbones-creator-support/CCSlot.cpp +++ b/native/cocos/editor-support/dragonbones-creator-support/CCSlot.cpp @@ -35,7 +35,6 @@ void CCSlot::_onClear() _localMatrix.setIdentity(); worldMatrix.setIdentity(); _worldMatDirty = true; - _textureScale = 1.0f; } void CCSlot::disposeTriangles() @@ -109,7 +108,7 @@ void CCSlot::_addDisplay() void CCSlot::_replaceDisplay(void* value, bool isArmatureDisplay) { - _textureScale = 1.0f; + } void CCSlot::_removeDisplay() @@ -224,8 +223,6 @@ void CCSlot::_updateFrame() vertexIndices[i] = intArray[currentVerticesData->offset + (unsigned)BinaryOffset::MeshVertexIndices + i]; } - _textureScale = 1.0f; - const auto isSkinned = currentVerticesData->weight != nullptr; if (isSkinned) { @@ -373,7 +370,7 @@ void CCSlot::_updateMesh() const auto intArray = data->intArray; const auto floatArray = data->floatArray; const auto vertexCount = (std::size_t)intArray[verticesData->offset + (unsigned)BinaryOffset::MeshVertexCount]; - int vertexOffset = (std::size_t)intArray[verticesData->offset + (unsigned)BinaryOffset::MeshFloatOffset]; + std::size_t vertexOffset = (std::size_t)intArray[verticesData->offset + (unsigned)BinaryOffset::MeshFloatOffset]; if (vertexCount > triangles.vertCount) { return; @@ -430,27 +427,19 @@ void CCSlot::_updateMesh() void CCSlot::_updateTransform() { _localMatrix.m[0] = globalTransformMatrix.a; - _localMatrix.m[1] = -globalTransformMatrix.b; + _localMatrix.m[1] = globalTransformMatrix.b; _localMatrix.m[4] = -globalTransformMatrix.c; - _localMatrix.m[5] = globalTransformMatrix.d; + _localMatrix.m[5] = -globalTransformMatrix.d; if (_childArmature) { _localMatrix.m[12] = globalTransformMatrix.tx; - _localMatrix.m[13] = -globalTransformMatrix.ty; + _localMatrix.m[13] = globalTransformMatrix.ty; } else { - if (_textureScale != 1.0f) - { - _localMatrix.m[0] *= _textureScale; - _localMatrix.m[1] *= _textureScale; - _localMatrix.m[4] *= _textureScale; - _localMatrix.m[5] *= _textureScale; - } - _localMatrix.m[12] = globalTransformMatrix.tx - (globalTransformMatrix.a * _pivotX - globalTransformMatrix.c * _pivotY); - _localMatrix.m[13] = -(globalTransformMatrix.ty - (globalTransformMatrix.b * _pivotX - globalTransformMatrix.d * _pivotY)); + _localMatrix.m[13] = globalTransformMatrix.ty - (globalTransformMatrix.b * _pivotX - globalTransformMatrix.d * _pivotY); } _worldMatDirty = true; @@ -501,8 +490,8 @@ void CCSlot::_identityTransform() { _localMatrix.m[0] = 1.0f; _localMatrix.m[1] = 0.0f; - _localMatrix.m[4] = 0.0f; - _localMatrix.m[5] = 1.0f; + _localMatrix.m[4] = -0.0f; + _localMatrix.m[5] = -1.0f; _localMatrix.m[12] = 0.0f; _localMatrix.m[13] = 0.0f; diff --git a/native/cocos/editor-support/dragonbones-creator-support/CCSlot.h b/native/cocos/editor-support/dragonbones-creator-support/CCSlot.h index cd39af24be..cd8faaa6c0 100644 --- a/native/cocos/editor-support/dragonbones-creator-support/CCSlot.h +++ b/native/cocos/editor-support/dragonbones-creator-support/CCSlot.h @@ -56,7 +56,6 @@ public: cocos2d::Color4B color; cocos2d::Rect boundsRect; private: - float _textureScale = 1.0f; cocos2d::Mat4 _localMatrix; private: void disposeTriangles(); diff --git a/native/cocos/editor-support/dragonbones/animation/IAnimatable.h b/native/cocos/editor-support/dragonbones/animation/IAnimatable.h index 2c08a4f556..c4983fac35 100644 --- a/native/cocos/editor-support/dragonbones/animation/IAnimatable.h +++ b/native/cocos/editor-support/dragonbones/animation/IAnimatable.h @@ -60,6 +60,19 @@ public: * @language zh_CN */ virtual void advanceTime(float passedTime) = 0; + + /** + * - Render. + * @version Cocos creator 2.3 + * @language en_US + */ + /** + * - 渲染。 + * @version Cocos creator 2.3 + * @language zh_CN + */ + virtual void render() = 0; + /** * - The Wordclock instance to which the current belongs. * @example diff --git a/native/cocos/editor-support/dragonbones/animation/WorldClock.cpp b/native/cocos/editor-support/dragonbones/animation/WorldClock.cpp index 2cd3376f7e..046f07a3e8 100644 --- a/native/cocos/editor-support/dragonbones/animation/WorldClock.cpp +++ b/native/cocos/editor-support/dragonbones/animation/WorldClock.cpp @@ -113,6 +113,17 @@ void WorldClock::remove(IAnimatable* value) } } +void WorldClock::render() +{ + for (const auto animatable : _animatebles) + { + if (animatable != nullptr) + { + animatable->render(); + } + } +} + void WorldClock::clear() { for (const auto animatable : _animatebles) diff --git a/native/cocos/editor-support/dragonbones/animation/WorldClock.h b/native/cocos/editor-support/dragonbones/animation/WorldClock.h index 118b250b79..60155a5037 100644 --- a/native/cocos/editor-support/dragonbones/animation/WorldClock.h +++ b/native/cocos/editor-support/dragonbones/animation/WorldClock.h @@ -130,6 +130,18 @@ public: * @language zh_CN */ virtual void advanceTime(float passedTime) override; + /** + * - render all IAnimatable instances. + * @version Cocos creator 2.3 + * @language en_US + */ + /** + * - 渲染所有的 IAnimatable 实例。 + * @version Cocos creator 2.3 + * @language zh_CN + */ + virtual void render() override; + /** * - Check whether contains a specific instance of IAnimatable. * @param value - The IAnimatable instance. diff --git a/native/cocos/editor-support/dragonbones/armature/Armature.cpp b/native/cocos/editor-support/dragonbones/armature/Armature.cpp index 2d0290a661..d1fdcfbc0c 100644 --- a/native/cocos/editor-support/dragonbones/armature/Armature.cpp +++ b/native/cocos/editor-support/dragonbones/armature/Armature.cpp @@ -273,6 +273,14 @@ void Armature::advanceTime(float passedTime) _proxy->dbUpdate(); } +void Armature::render() +{ + if (_proxy) + { + _proxy->dbRender(); + } +} + void Armature::invalidUpdate(const std::string& boneName, bool updateSlot) { if (!boneName.empty()) diff --git a/native/cocos/editor-support/dragonbones/armature/Armature.h b/native/cocos/editor-support/dragonbones/armature/Armature.h index 4aaa833fdc..dc23ef3d13 100644 --- a/native/cocos/editor-support/dragonbones/armature/Armature.h +++ b/native/cocos/editor-support/dragonbones/armature/Armature.h @@ -189,6 +189,10 @@ public: * @inheritDoc */ void advanceTime(float passedTime) override; + /** + * @inheritDoc + */ + void render() override; /** * - Forces a specific bone or its owning slot to update the transform or display property in the next frame. * @param boneName - The bone name. (If not set, all bones will be update) diff --git a/native/cocos/editor-support/dragonbones/armature/IArmatureProxy.h b/native/cocos/editor-support/dragonbones/armature/IArmatureProxy.h index 972ecca958..351d07c7c6 100644 --- a/native/cocos/editor-support/dragonbones/armature/IArmatureProxy.h +++ b/native/cocos/editor-support/dragonbones/armature/IArmatureProxy.h @@ -25,6 +25,7 @@ #include "../core/DragonBones.h" #include "../event/IEventDispatcher.h" +#include "MiddlewareManager.h" DRAGONBONES_NAMESPACE_BEGIN /** @@ -56,6 +57,10 @@ public: * @internal */ virtual void dbUpdate() = 0; + /** + * @internal + */ + virtual void dbRender() = 0; /** * - Dispose the instance and the Armature instance. (The Armature instance will return to the object pool) * @example diff --git a/native/cocos/editor-support/dragonbones/armature/Slot.cpp b/native/cocos/editor-support/dragonbones/armature/Slot.cpp index 79a3738c00..67370ab355 100644 --- a/native/cocos/editor-support/dragonbones/armature/Slot.cpp +++ b/native/cocos/editor-support/dragonbones/armature/Slot.cpp @@ -239,10 +239,10 @@ void Slot::_updateDisplayData() _pivotY += _helpPoint.y; } - //if (!DragonBones::yDown) - //{ + if (!DragonBones::yDown) + { _pivotY = (_textureData->rotated ? _textureData->region.width : _textureData->region.height) * scale - _pivotY; - //} + } } else { diff --git a/native/cocos/editor-support/dragonbones/core/DragonBones.cpp b/native/cocos/editor-support/dragonbones/core/DragonBones.cpp index 0e6f53c5a9..c4ce982584 100644 --- a/native/cocos/editor-support/dragonbones/core/DragonBones.cpp +++ b/native/cocos/editor-support/dragonbones/core/DragonBones.cpp @@ -9,7 +9,7 @@ DRAGONBONES_NAMESPACE_BEGIN const std::string DragonBones::VEISION = "5.6.300"; -bool DragonBones::yDown = true; +bool DragonBones::yDown = false; bool DragonBones::debug = false; bool DragonBones::debugDraw = false; bool DragonBones::webAssembly = false; @@ -73,6 +73,11 @@ void DragonBones::advanceTime(float passedTime) _clock->advanceTime(passedTime); } +void DragonBones::render() +{ + _clock->render(); +} + void DragonBones::bufferEvent(EventObject* value) { _events.push_back(value); diff --git a/native/cocos/editor-support/dragonbones/core/DragonBones.h b/native/cocos/editor-support/dragonbones/core/DragonBones.h index fa5324d0d8..86e11c6978 100644 --- a/native/cocos/editor-support/dragonbones/core/DragonBones.h +++ b/native/cocos/editor-support/dragonbones/core/DragonBones.h @@ -471,6 +471,7 @@ public: virtual ~DragonBones(); void advanceTime(float passedTime); + void render(); void bufferEvent(EventObject* value); void bufferObject(BaseObject* object); diff --git a/native/cocos/editor-support/dragonbones/factory/BaseFactory.cpp b/native/cocos/editor-support/dragonbones/factory/BaseFactory.cpp index 280e7e1dc3..2cb750a07b 100644 --- a/native/cocos/editor-support/dragonbones/factory/BaseFactory.cpp +++ b/native/cocos/editor-support/dragonbones/factory/BaseFactory.cpp @@ -550,7 +550,7 @@ bool BaseFactory::replaceSlotDisplayList(const std::string& dragonBonesName, con return true; } -bool BaseFactory::replaceSkin(Armature* armature, SkinData* skin, bool isOverride, const std::vector* exclude) const +bool BaseFactory::replaceSkin(Armature* armature, SkinData* skin, bool isOverride, const std::vector& exclude) const { DRAGONBONES_ASSERT(armature && skin, "Arguments error."); @@ -559,7 +559,7 @@ bool BaseFactory::replaceSkin(Armature* armature, SkinData* skin, bool isOverrid for (const auto slot : armature->getSlots()) { - if (exclude != nullptr && std::find(exclude->cbegin(), exclude->cend(), slot->getName()) != exclude->cend()) + if (std::find(exclude.cbegin(), exclude.cend(), slot->getName()) != exclude.cend()) { continue; } diff --git a/native/cocos/editor-support/dragonbones/factory/BaseFactory.h b/native/cocos/editor-support/dragonbones/factory/BaseFactory.h index 7500cbd745..0b788fadf2 100644 --- a/native/cocos/editor-support/dragonbones/factory/BaseFactory.h +++ b/native/cocos/editor-support/dragonbones/factory/BaseFactory.h @@ -478,7 +478,7 @@ public: * @version DragonBones 5.6 * @language zh_CN */ - virtual bool replaceSkin(Armature* armature, SkinData* skin, bool isOverride = false, const std::vector* exclude = nullptr) const; + virtual bool replaceSkin(Armature* armature, SkinData* skin, bool isOverride, const std::vector& exclude) const; /** * - Replaces the existing animation data for a specific armature with the animation data for the specific armature data. * This enables you to make a armature template so that other armature without animations can share it's animations. @@ -559,7 +559,7 @@ public: * @deprecated * @language zh_CN */ - inline bool changeSkin(Armature* armature, SkinData* skin, const std::vector* exclude = nullptr) const + inline bool changeSkin(Armature* armature, SkinData* skin, const std::vector& exclude) const { return replaceSkin(armature, skin, false, exclude); } diff --git a/native/cocos/editor-support/middleware-adapter.cpp b/native/cocos/editor-support/middleware-adapter.cpp index 9009ef0a7e..a1390401d6 100644 --- a/native/cocos/editor-support/middleware-adapter.cpp +++ b/native/cocos/editor-support/middleware-adapter.cpp @@ -23,6 +23,10 @@ ****************************************************************************/ #include "middleware-adapter.h" #include "base/ccMacros.h" +#include "renderer/gfx/Texture.h" + +using namespace cocos2d; +using namespace cocos2d::renderer; MIDDLEWARE_BEGIN @@ -33,7 +37,8 @@ Texture2D::Texture2D() Texture2D::~Texture2D() { - + CC_SAFE_RELEASE(_texture); + _texParamCallback = nullptr; } int Texture2D::getPixelsWide() const @@ -79,6 +84,19 @@ void Texture2D::setTexParameters(const TexParams& texParams) } } +void Texture2D::setNativeTexture(Texture* texture) +{ + if (_texture == texture) return; + CC_SAFE_RELEASE(_texture); + _texture = texture; + CC_SAFE_RETAIN(_texture); +} + +Texture* Texture2D::getNativeTexture() const +{ + return _texture; +} + SpriteFrame* SpriteFrame::createWithTexture(Texture2D *texture, const cocos2d::Rect& rect) { SpriteFrame *spriteFrame = new (std::nothrow) SpriteFrame(); diff --git a/native/cocos/editor-support/middleware-adapter.h b/native/cocos/editor-support/middleware-adapter.h index dff3336d93..4be794b745 100644 --- a/native/cocos/editor-support/middleware-adapter.h +++ b/native/cocos/editor-support/middleware-adapter.h @@ -27,6 +27,7 @@ #include "base/ccTypes.h" #include #include "MiddlewareMacro.h" +#include "renderer/renderer/Effect.h" MIDDLEWARE_BEGIN /** @@ -105,7 +106,7 @@ public: virtual ~Texture2D(); /** Extension to set the Min / Mag filter - */ + */ typedef struct _TexParams { GLuint minFilter; @@ -121,16 +122,16 @@ public: /** Sets the min filter, mag filter, wrap s and wrap t texture parameters. If the texture size is NPOT (non power of 2), then in can only use GL_CLAMP_TO_EDGE in GL_TEXTURE_WRAP_{S,T}. - - @warning Calling this method could allocate additional texture memory. - - @since v0.8 - * @code - * When this function bound into js or lua,the input parameter will be changed - * In js: var setBlendFunc(var arg1, var arg2, var arg3, var arg4) - * In lua: local setBlendFunc(local arg1, local arg2, local arg3, local arg4) - * @endcode - */ + + @warning Calling this method could allocate additional texture memory. + + @since v0.8 + * @code + * When this function bound into js or lua,the input parameter will be changed + * In js: var setBlendFunc(var arg1, var arg2, var arg3, var arg4) + * In lua: local setBlendFunc(local arg1, local arg2, local arg3, local arg4) + * @endcode + */ void setTexParameters(const TexParams& texParams); /** Gets the width of the texture in pixels. */ @@ -153,6 +154,12 @@ public: /** Sets texture param callback*/ void setTexParamCallback(const texParamCallback& callback); + + /** Sets texture native ptr*/ + void setNativeTexture(cocos2d::renderer::Texture* texture); + + /** Gets texture native ptr*/ + cocos2d::renderer::Texture* getNativeTexture() const; private: /** width in pixels */ @@ -165,6 +172,8 @@ private: int _realTextureIndex = 0; texParamCallback _texParamCallback = nullptr; + + cocos2d::renderer::Texture* _texture = nullptr; }; /////////////////////////////////////////////////////////////////////// diff --git a/native/cocos/editor-support/particle/ParticleSimulator.cpp b/native/cocos/editor-support/particle/ParticleSimulator.cpp new file mode 100644 index 0000000000..29de7b8e6e --- /dev/null +++ b/native/cocos/editor-support/particle/ParticleSimulator.cpp @@ -0,0 +1,462 @@ +/**************************************************************************** + Copyright (c) 2018 Xiamen Yaji Software Co., Ltd. + + http://www.cocos2d-x.org + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. + ****************************************************************************/ +#include "ParticleSimulator.h" +#include "base/ccRandom.h" +#include +#include "base/ccMacros.h" +#include "math/Mat4.h" +#include "MiddlewareManager.h" +#include "middleware-adapter.h" +#include "renderer/scene/assembler/CustomAssembler.hpp" +#include "math/Vec2.h" + +USING_NS_MW; + +NS_CC_BEGIN + +// global particle pool +static ParticlePool _pool; + +void Particle::reset() +{ + pos = cocos2d::Vec3::ZERO; + startPos = cocos2d::Vec3::ZERO; + color = cocos2d::Color4B::BLACK; + deltaColor = cocos2d::Color4B::BLACK; + size = 0; + deltaSize = 0; + rotation = 0; + deltaRotation = 0; + timeToLive = 0; + drawPos = cocos2d::Vec3::ZERO; + + // Mode A + dir = cocos2d::Vec3::ZERO; + radialAccel = 0; + tangentialAccel = 0; + + // Mode B + angle = 0; + degreesPerSecond = 0; + radius = 0; + deltaRadius = 0; +} + +ParticlePool::ParticlePool() +{ + +} + +ParticlePool::~ParticlePool() +{ + for (auto particle : _pool) + { + delete particle; + } + _pool.clear(); +} + +ParticleSimulator::ParticleSimulator() +{ + +} + +ParticleSimulator::~ParticleSimulator() +{ + onDisable(); + + CC_SAFE_RELEASE(_effect); + CC_SAFE_RELEASE(_nodeProxy); + + for (auto particle : _particles) + { + delete particle; + } + _particles.clear(); +} + +void ParticleSimulator::stop() +{ + _active = false; + _elapsed = duration; + _emitCounter = 0; +} + +void ParticleSimulator::reset() +{ + _active = true; + _elapsed = 0; + _emitCounter = 0; + _finished = false; + for (auto particle : _particles) + { + _pool.put(particle); + } + _particles.clear(); +} + +void ParticleSimulator::emitParticle(cocos2d::Vec3 &pos) +{ + auto& particle = *_pool.get(); + _particles.push_back(&particle); + + // Init particle + // timeToLive + // no negative life. prevent division by 0 + particle.timeToLive = life + lifeVar * random(-1.0f, 1.0f); + // avoid divide zero + float timeToLive = particle.timeToLive = std::max(0.001f, particle.timeToLive); + + // position + particle.pos.x = _sourcePos.x + _posVar.x * random(-1.0f, 1.0f); + particle.pos.y = _sourcePos.y + _posVar.y * random(-1.0f, 1.0f); + + // Color + GLubyte sr, sg, sb, sa; + particle.color.r = sr = clampf(_startColor.r + _startColorVar.r * random(-1.0f, 1.0f), 0, 255); + particle.color.g = sg = clampf(_startColor.g + _startColorVar.g * random(-1.0f, 1.0f), 0, 255); + particle.color.b = sb = clampf(_startColor.b + _startColorVar.b * random(-1.0f, 1.0f), 0, 255); + particle.color.a = sa = clampf(_startColor.a + _startColorVar.a * random(-1.0f, 1.0f), 0, 255); + particle.deltaColor.r = (clampf(_endColor.r + _endColorVar.r * random(-1.0f, 1.0f), 0, 255) - sr) / timeToLive; + particle.deltaColor.g = (clampf(_endColor.g + _endColorVar.g * random(-1.0f, 1.0f), 0, 255) - sg) / timeToLive; + particle.deltaColor.b = (clampf(_endColor.b + _endColorVar.b * random(-1.0f, 1.0f), 0, 255) - sb) / timeToLive; + particle.deltaColor.a = (clampf(_endColor.a + _endColorVar.a * random(-1.0f, 1.0f), 0, 255) - sa) / timeToLive; + + // size + float startS = startSize + startSizeVar * random(-1.0f, 1.0f); + startS = std::max(0.0f, startS); // No negative value + particle.size = startS; + if (endSize == START_SIZE_EQUAL_TO_END_SIZE) + { + particle.deltaSize = 0; + } + else + { + float endS = endSize + endSizeVar * random(-1.0f, 1.0f); + endS = std::max(0.0f, endS); // No negative values + particle.deltaSize = (endS - startS) / timeToLive; + } + + // rotation + float startA = startSpin + startSpinVar * random(-1.0f, 1.0f); + float endA = endSpin + endSpinVar * random(-1.0f, 1.0f); + particle.rotation = startA; + particle.deltaRotation = (endA - startA) / timeToLive; + + // position + particle.startPos.x = pos.x; + particle.startPos.y = pos.y; + + // direction + float a = CC_DEGREES_TO_RADIANS(angle + angleVar * random(-1.0f, 1.0f)); + // Mode Gravity: A + if (emitterMode == EmitterMode::GRAVITY) + { + float s = speed + speedVar * random(-1.0f, 1.0f); + // direction + particle.dir.x = cos(a); + particle.dir.y = sin(a); + particle.dir.scale(s); + // radial accel + particle.radialAccel = radialAccel + radialAccelVar * random(-1.0f, 1.0f); + // tangential accel + particle.tangentialAccel = tangentialAccel + tangentialAccelVar * random(-1.0f, 1.0f); + // rotation is dir + if (rotationIsDir) + { + particle.rotation = -CC_RADIANS_TO_DEGREES(atan2(particle.dir.y, particle.dir.x)); + } + } + // Mode Radius: B + else + { + // Set the default diameter of the particle from the source position + float tempStartRadius = startRadius + startRadiusVar * random(-1.0f, 1.0f); + float tempEndRadius = endRadius + endRadiusVar * random(-1.0f, 1.0f); + particle.radius = tempStartRadius; + particle.deltaRadius = (endRadius == START_RADIUS_EQUAL_TO_END_RADIUS) ? 0 : (tempEndRadius - tempStartRadius) / timeToLive; + particle.angle = a; + particle.degreesPerSecond = CC_DEGREES_TO_RADIANS(rotatePerS + rotatePerSVar * random(-1.0f, 1.0f)); + } +} + +void ParticleSimulator::onEnable() +{ + MiddlewareManager::getInstance()->addTimer(this); +} + +void ParticleSimulator::onDisable() +{ + MiddlewareManager::getInstance()->removeTimer(this); +} + +void ParticleSimulator::render(float dt) +{ + // uv size must equal 8,because per particle has 4 vertex. + if (_uv.size() != 8) + { + return; + } + + if (_nodeProxy == nullptr) + { + return; + } + + renderer::CustomAssembler* assembler = (renderer::CustomAssembler*)_nodeProxy->getAssembler(); + if (assembler == nullptr) + { + return; + } + assembler->reset(); + assembler->updateEffect(0, _effect); + + // avoid other place call update. + auto mgr = MiddlewareManager::getInstance(); + if (!mgr->isRendering) return; + + middleware::MeshBuffer* mb = mgr->getMeshBuffer(VF_XYUVC); + middleware::IOBuffer& vb = mb->getVB(); + middleware::IOBuffer& ib = mb->getIB(); + + // Calculate pos + auto worldMatrix = _nodeProxy->getWorldMatrix(); + + cocos2d::Vec3 pos; + cocos2d::Vec3 tpa; + cocos2d::Vec3 tpb; + cocos2d::Vec3 tpc; + + if (positionType == PositionType::FREE) + { + worldMatrix.transformPoint(&pos); + } + else if (positionType == PositionType::RELATIVE) + { + _nodeProxy->getPosition(&pos); + } + + // Get world to node trans only once + worldMatrix.inverse(); + + // Emission + if (_active && emissionRate) + { + float rate = 1.0 / emissionRate; + //issue #1201, prevent bursts of particles, due to too high emitCounter + if (_particles.size() < totalParticles) + _emitCounter += dt; + + while ((_particles.size() < totalParticles) && (_emitCounter > rate)) + { + emitParticle(pos); + _emitCounter -= rate; + } + + _elapsed += dt; + if (duration != -1 && duration < _elapsed) + { + _stopCallback(); + } + } + + // Used to reduce memory allocation / creation within the loop + std::size_t particleIdx = 0; + std::size_t particleSize = _particles.size(); + vb.checkSpace(particleSize * 4 * sizeof (middleware::V2F_T2F_C4B)); + ib.checkSpace(particleSize * 6 * sizeof (unsigned short)); + std::size_t vbOffset = vb.getCurPos() / sizeof (middleware::V2F_T2F_C4B); + uint32_t indexStart = (uint32_t)ib.getCurPos()/sizeof(unsigned short); + uint32_t indexCount = 0; + + while (particleIdx < particleSize) + { + // Reset temporary vectors + tpa.x = tpa.y = tpb.x = tpb.y = tpc.x = tpc.y = 0; + + auto& particle = *_particles[particleIdx]; + + // life + particle.timeToLive -= dt; + if (particle.timeToLive > 0) + { + // Mode A: gravity, direction, tangential accel & radial accel + if (emitterMode == EmitterMode::GRAVITY) + { + auto& tmp = tpc; + auto& radial = tpa; + auto& tangential = tpb; + + // radial acceleration + if (particle.pos.x || particle.pos.y) + { + radial.set(particle.pos); + radial.normalize(); + } + tangential.set(radial); + radial.scale(particle.radialAccel); + + // tangential acceleration + auto newy = tangential.x; + tangential.x = -tangential.y; + tangential.y = newy; + + tangential.scale(particle.tangentialAccel); + + tmp.set(radial); + tmp.add(tangential); + tmp.add(_gravity.x, _gravity.y, _gravity.z); + tmp.scale(dt); + particle.dir.add(tmp); + + tmp.set(particle.dir); + tmp.scale(dt); + particle.pos.add(tmp); + } + // Mode B: radius movement + else + { + // Update the angle and radius of the particle. + particle.angle += particle.degreesPerSecond * dt; + particle.radius += particle.deltaRadius * dt; + + particle.pos.x = -cos(particle.angle) * particle.radius; + particle.pos.y = -sin(particle.angle) * particle.radius; + } + + // color + particle.color.r += particle.deltaColor.r * dt; + particle.color.g += particle.deltaColor.g * dt; + particle.color.b += particle.deltaColor.b * dt; + particle.color.a += particle.deltaColor.a * dt; + + // size + particle.size += particle.deltaSize * dt; + if (particle.size < 0) + { + particle.size = 0; + } + + // angle + particle.rotation += particle.deltaRotation * dt; + + // update values in quad buffer + auto& newPos = tpa; + if (positionType == PositionType::FREE || positionType == PositionType::RELATIVE) + { + auto& diff = tpb; + auto& startPos = tpc; + // current Position convert To Node Space + worldMatrix.transformPoint(pos, &diff); + // start Position convert To Node Space + worldMatrix.transformPoint(particle.startPos, &startPos); + diff.add(-startPos.x, -startPos.y, -startPos.z); + newPos.set(particle.pos); + newPos.add(-diff.x, -diff.y, -diff.z); + } + else + { + newPos.set(particle.pos); + } + + auto x = newPos.x, y = newPos.y; + auto size_2 = particle.size * 0.5; + auto x1 = -size_2, y1 = -size_2; + auto x2 = size_2, y2 = size_2; + + auto rad = -CC_DEGREES_TO_RADIANS(particle.rotation); + auto cr = cos(rad), sr = sin(rad); + uint32_t tempColor = ((particle.color.a << 24) & 0xff000000) + + ((particle.color.b << 16) & 0x00ff0000) + + ((particle.color.g << 8) & 0x0000ff00) + + ((particle.color.r) & 0x000000ff); + // bl + vb.writeFloat32(x1 * cr - y1 * sr + x); + vb.writeFloat32(x1 * sr + y1 * cr + y); + vb.writeFloat32(_uv[0]); + vb.writeFloat32(_uv[1]); + vb.writeUint32(tempColor); + + // br + vb.writeFloat32(x2 * cr - y1 * sr + x); + vb.writeFloat32(x2 * sr + y1 * cr + y); + vb.writeFloat32(_uv[2]); + vb.writeFloat32(_uv[3]); + vb.writeUint32(tempColor); + + // tl + vb.writeFloat32(x1 * cr - y2 * sr + x); + vb.writeFloat32(x1 * sr + y2 * cr + y); + vb.writeFloat32(_uv[4]); + vb.writeFloat32(_uv[5]); + vb.writeUint32(tempColor); + + // tr + vb.writeFloat32(x2 * cr - y2 * sr + x); + vb.writeFloat32(x2 * sr + y2 * cr + y); + vb.writeFloat32(_uv[6]); + vb.writeFloat32(_uv[7]); + vb.writeUint32(tempColor); + + ib.writeUint16(vbOffset); + ib.writeUint16(vbOffset + 1); + ib.writeUint16(vbOffset + 2); + ib.writeUint16(vbOffset + 1); + ib.writeUint16(vbOffset + 3); + ib.writeUint16(vbOffset + 2); + + vbOffset += 4; + indexCount += 6; + + // update particle counter + ++particleIdx; + } + else + { + // life < 0 + auto deadParticle = _particles[particleIdx]; + if (particleIdx != particleSize - 1) + { + _particles[particleIdx] = _particles[particleSize - 1]; + } + _pool.put(deadParticle); + particleSize--; + _particles.resize(particleSize); + } + } + + assembler->updateIABuffer(0, mb->getGLVB(), mb->getGLIB()); + assembler->updateIARange(0, indexStart, indexCount); + + if (_particles.size() == 0 && !_active) + { + _finished = true; + if (_finishedCallback) + { + _finishedCallback(); + } + } +} + +NS_CC_END diff --git a/native/cocos/editor-support/particle/ParticleSimulator.h b/native/cocos/editor-support/particle/ParticleSimulator.h new file mode 100644 index 0000000000..c917bd6043 --- /dev/null +++ b/native/cocos/editor-support/particle/ParticleSimulator.h @@ -0,0 +1,281 @@ +/**************************************************************************** + Copyright (c) 2018 Xiamen Yaji Software Co., Ltd. + + http://www.cocos2d-x.org + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. + ****************************************************************************/ +#pragma once +#include "MiddlewareMacro.h" +#include "math/Vec3.h" +#include "base/ccTypes.h" +#include +#include "IOBuffer.h" +#include "renderer/scene/NodeProxy.hpp" +#include "renderer/renderer/Effect.h" +#include "MiddlewareManager.h" +#include "scripting/js-bindings/jswrapper/SeApi.h" + +NS_CC_BEGIN + +struct Particle { +public: + cocos2d::Vec3 pos; + cocos2d::Vec3 startPos; + cocos2d::Color4B color = cocos2d::Color4B::BLACK; + cocos2d::Color4B deltaColor = cocos2d::Color4B::BLACK; + float size = 0.0f; + float deltaSize = 0.0f; + float rotation = 0.0f; + float deltaRotation = 0.0f; + float timeToLive = 0.0f; + cocos2d::Vec3 drawPos; + + // Mode A + cocos2d::Vec3 dir; + float radialAccel = 0.0f; + float tangentialAccel = 0.0f; + + // Mode B + float angle = 0.0f; + float degreesPerSecond = 0.0f; + float radius = 0.0f; + float deltaRadius = 0.0f; + + bool inPool = false; + void reset(); +}; + +class ParticlePool { +public: + ParticlePool(); + ~ParticlePool(); + + void put(Particle* particle) + { + CCASSERT(!particle->inPool, "Particle is in pool already"); + _pool.push_back(particle); + particle->inPool = true; + particle->reset(); + } + + Particle* get() + { + Particle* obj = nullptr; + if (_pool.size() > 0) + { + obj = _pool.back(); + _pool.pop_back(); + obj->inPool = false; + } else { + obj = new Particle(); + } + return obj; + } + +private: + std::vector _pool; +}; + +enum PositionType +{ + FREE = 0, + RELATIVE = 1, + GROUPED = 2 +}; + +enum EmitterMode +{ + GRAVITY = 0, + RADIUS = 1 +}; + +class ParticleSimulator : public cocos2d::middleware::IMiddleware, public cocos2d::Ref { + + //* @enum + enum { + /** The Particle emitter lives forever. */ + DURATION_INFINITY = -1, + + /** The starting size of the particle is equal to the ending size. */ + START_SIZE_EQUAL_TO_END_SIZE = -1, + + /** The starting radius of the particle is equal to the ending radius. */ + START_RADIUS_EQUAL_TO_END_RADIUS = -1, + }; + +public: + ParticleSimulator(); + ~ParticleSimulator(); + void stop(); + void reset(); + void emitParticle(cocos2d::Vec3& pos); + void update(float dt) override {} + void render(float dt) override; + void onEnable(); + void onDisable(); + + typedef std::function finishedCallback; + void setFinishedCallback(finishedCallback callback) + { + _finishedCallback = callback; + } + + typedef std::function stopCallback; + void setStopCallback(stopCallback callback) + { + _stopCallback = callback; + } + + void bindNodeProxy(cocos2d::renderer::NodeProxy* node) + { + CC_SAFE_RELEASE(_nodeProxy); + _nodeProxy = node; + CC_SAFE_RETAIN(_nodeProxy); + } + + void setEffect(cocos2d::renderer::Effect* effect) + { + CC_SAFE_RELEASE(_effect); + _effect = effect; + CC_SAFE_RETAIN(_effect); + } + + void updateUVs(const std::vector& uv) + { + _uv = uv; + } + + std::size_t getParticleCount() + { + return _particles.size(); + } + + bool active() + { + return _active; + } + + void setGravity(float x, float y, float z) + { + _gravity.x = x; + _gravity.y = y; + _gravity.z = z; + } + + void setSourcePos(float x, float y, float z) + { + _sourcePos.x = x; + _sourcePos.y = y; + _sourcePos.z = z; + } + + void setPosVar(float x, float y, float z) + { + _posVar.x = x; + _posVar.y = y; + _posVar.z = z; + } + + void setStartColor(GLubyte r, GLubyte g, GLubyte b, GLubyte a) + { + _startColor.r = r; + _startColor.g = g; + _startColor.b = b; + _startColor.a = a; + } + + void setStartColorVar(GLubyte r, GLubyte g, GLubyte b, GLubyte a) + { + _startColorVar.r = r; + _startColorVar.g = g; + _startColorVar.b = b; + _startColorVar.a = a; + } + + void setEndColor(GLubyte r, GLubyte g, GLubyte b, GLubyte a) + { + _endColor.r = r; + _endColor.g = g; + _endColor.b = b; + _endColor.a = a; + } + + void setEndColorVar(GLubyte r, GLubyte g, GLubyte b, GLubyte a) + { + _endColorVar.r = r; + _endColorVar.g = g; + _endColorVar.b = b; + _endColorVar.a = a; + } + +private: + std::vector _particles; + bool _active = false; + bool _finished = false; + float _elapsed = 0; + float _emitCounter = 0; + std::size_t _uvFilled = 0; + finishedCallback _finishedCallback = nullptr; + stopCallback _stopCallback = nullptr; + cocos2d::renderer::NodeProxy* _nodeProxy = nullptr; + cocos2d::renderer::Effect* _effect = nullptr; + std::vector _uv; + + cocos2d::Vec3 _gravity; + cocos2d::Vec3 _sourcePos; + cocos2d::Vec3 _posVar; + cocos2d::Color4B _startColor = cocos2d::Color4B::BLACK; + cocos2d::Color4B _startColorVar = cocos2d::Color4B::WHITE; + cocos2d::Color4B _endColor = cocos2d::Color4B::BLACK; + cocos2d::Color4B _endColorVar = cocos2d::Color4B::WHITE; +public: + int positionType = PositionType::FREE; + float emissionRate = 0.0f; + std::size_t totalParticles = 0; + float duration = -1.0f; + int emitterMode = EmitterMode::GRAVITY; + float life = 0.0f; + float lifeVar = 0.0f; + float startSize = 0.0f; + float startSizeVar = 0.0f; + float endSize = 0.0f; + float endSizeVar = 0.0f; + float startSpin = 0.0f; + float startSpinVar = 0.0f; + float endSpin = 0.0f; + float endSpinVar = 0.0f; + float angle = 0.0f; + float angleVar = 0.0f; + float speed = 0.0f; + float speedVar = 0.0f; + float radialAccel = 0.0f; + float radialAccelVar = 0.0f; + float tangentialAccel = 0.0f; + float tangentialAccelVar = 0.0f; + bool rotationIsDir = false; + float startRadius = 0.0f; + float startRadiusVar = 0.0f; + float endRadius = 0.0f; + float endRadiusVar = 0.0f; + float rotatePerS = 0.0f; + float rotatePerSVar = 0.0f; +}; + +NS_CC_END diff --git a/native/cocos/editor-support/spine-creator-support/SkeletonAnimation.cpp b/native/cocos/editor-support/spine-creator-support/SkeletonAnimation.cpp index 9387285419..e0b77a7786 100644 --- a/native/cocos/editor-support/spine-creator-support/SkeletonAnimation.cpp +++ b/native/cocos/editor-support/spine-creator-support/SkeletonAnimation.cpp @@ -1,343 +1,342 @@ -/****************************************************************************** - * Spine Runtimes License Agreement - * Last updated May 1, 2019. Replaces all prior versions. - * - * Copyright (c) 2013-2019, Esoteric Software LLC - * - * Integration of the Spine Runtimes into software or otherwise creating - * derivative works of the Spine Runtimes is permitted under the terms and - * conditions of Section 2 of the Spine Editor License Agreement: - * http://esotericsoftware.com/spine-editor-license - * - * Otherwise, it is permitted to integrate the Spine Runtimes into software - * or otherwise create derivative works of the Spine Runtimes (collectively, - * "Products"), provided that each user of the Products must obtain their own - * Spine Editor license and redistribution of the Products in any form must - * include this license and copyright notice. - * - * THIS SOFTWARE IS PROVIDED BY ESOTERIC SOFTWARE LLC "AS IS" AND ANY EXPRESS - * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES - * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN - * NO EVENT SHALL ESOTERIC SOFTWARE LLC BE LIABLE FOR ANY DIRECT, INDIRECT, - * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, - * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES, BUSINESS - * INTERRUPTION, OR LOSS OF USE, DATA, OR PROFITS) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING - * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, - * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - *****************************************************************************/ - -#include "spine-creator-support/SkeletonAnimation.h" -#include "spine-creator-support/spine-cocos2dx.h" -#include "spine/extension.h" -#include - -USING_NS_CC; -using std::min; -using std::max; -using std::vector; - -namespace spine { - -typedef struct _TrackEntryListeners { - StartListener startListener; - InterruptListener interruptListener; - EndListener endListener; - DisposeListener disposeListener; - CompleteListener completeListener; - EventListener eventListener; -} _TrackEntryListeners; - -void animationCallback (AnimationState* state, EventType type, TrackEntry* entry, Event* event) { - ((SkeletonAnimation*)state->getRendererObject())->onAnimationStateEvent(entry, type, event); -} - -void trackEntryCallback (AnimationState* state, EventType type, TrackEntry* entry, Event* event) { - ((SkeletonAnimation*)state->getRendererObject())->onTrackEntryEvent(entry, type, event); - if (type == EventType_Dispose) - if (entry->getRendererObject()) delete (spine::_TrackEntryListeners*)entry->getRendererObject(); -} - -static _TrackEntryListeners* getListeners (TrackEntry* entry) { - if (!entry->getRendererObject()) { - entry->setRendererObject(new spine::_TrackEntryListeners()); - entry->setListener(trackEntryCallback); - } - return (_TrackEntryListeners*)entry->getRendererObject(); -} - -static float globalTimeScale = 1.0f; -void SkeletonAnimation::setGlobalTimeScale(float timeScale) { - globalTimeScale = timeScale; -} - -SkeletonAnimation* SkeletonAnimation::create() { - SkeletonAnimation* skeleton = new SkeletonAnimation(); - skeleton->autorelease(); - return skeleton; -} - -SkeletonAnimation* SkeletonAnimation::createWithData (SkeletonData* skeletonData, bool ownsSkeletonData) { - SkeletonAnimation* node = new SkeletonAnimation(); - node->initWithData(skeletonData, ownsSkeletonData); - node->autorelease(); - return node; -} - -SkeletonAnimation* SkeletonAnimation::createWithJsonFile (const std::string& skeletonJsonFile, Atlas* atlas, float scale) { - SkeletonAnimation* node = new SkeletonAnimation(); - node->initWithJsonFile(skeletonJsonFile, atlas, scale); - node->autorelease(); - return node; -} - -SkeletonAnimation* SkeletonAnimation::createWithJsonFile (const std::string& skeletonJsonFile, const std::string& atlasFile, float scale) { - SkeletonAnimation* node = new SkeletonAnimation(); - node->initWithJsonFile(skeletonJsonFile, atlasFile, scale); - node->autorelease(); - return node; -} - -SkeletonAnimation* SkeletonAnimation::createWithBinaryFile (const std::string& skeletonBinaryFile, Atlas* atlas, float scale) { - SkeletonAnimation* node = new SkeletonAnimation(); - node->initWithBinaryFile(skeletonBinaryFile, atlas, scale); - node->autorelease(); - return node; -} - -SkeletonAnimation* SkeletonAnimation::createWithBinaryFile (const std::string& skeletonBinaryFile, const std::string& atlasFile, float scale) { - SkeletonAnimation* node = new SkeletonAnimation(); - node->initWithBinaryFile(skeletonBinaryFile, atlasFile, scale); - node->autorelease(); - return node; -} - -void SkeletonAnimation::initialize () { - super::initialize(); - - _ownsAnimationStateData = true; - _state = new (__FILE__, __LINE__) AnimationState(new (__FILE__, __LINE__) AnimationStateData(_skeleton->getData())); - _state->setRendererObject(this); - _state->setListener(animationCallback); -} - -SkeletonAnimation::SkeletonAnimation () -: SkeletonRenderer() { -} - -SkeletonAnimation::~SkeletonAnimation () { - _startListener = nullptr; - _interruptListener = nullptr; - _endListener = nullptr; - _disposeListener = nullptr; - _completeListener = nullptr; - _eventListener = nullptr; - - if (_state) { - clearTracks(); - if (_ownsAnimationStateData) delete _state->getData(); - delete _state; - } -} - -void SkeletonAnimation::update (float deltaTime) { - if (!_skeleton) return; - if (!_paused) { - deltaTime *= _timeScale * globalTimeScale; - if (_ownsSkeleton) _skeleton->update(deltaTime); - _state->update(deltaTime); - _state->apply(*_skeleton); - _skeleton->updateWorldTransform(); - } - super::update(deltaTime); -} - -void SkeletonAnimation::setAnimationStateData (AnimationStateData* stateData) { - CCASSERT(stateData, "stateData cannot be null."); - - if (_state) { - if (_ownsAnimationStateData) delete _state->getData(); - delete _state; - } - - _ownsAnimationStateData = false; - _state = new (__FILE__, __LINE__) AnimationState(stateData); - _state->setRendererObject(this); - _state->setListener(animationCallback); -} - -void SkeletonAnimation::setMix (const std::string& fromAnimation, const std::string& toAnimation, float duration) { - if (_state) { - _state->getData()->setMix(fromAnimation.c_str(), toAnimation.c_str(), duration); - } -} - -TrackEntry* SkeletonAnimation::setAnimation (int trackIndex, const std::string& name, bool loop) { - if (!_skeleton) return 0; - Animation* animation = _skeleton->getData()->findAnimation(name.c_str()); - if (!animation) { - log("Spine: Animation not found: %s", name.c_str()); - return 0; - } - auto trackEntry = _state->setAnimation(trackIndex, animation, loop); - _state->apply(*_skeleton); - return trackEntry; -} - -TrackEntry* SkeletonAnimation::addAnimation (int trackIndex, const std::string& name, bool loop, float delay) { - if (!_skeleton) return 0; - Animation* animation = _skeleton->getData()->findAnimation(name.c_str()); - if (!animation) { - log("Spine: Animation not found: %s", name.c_str()); - return 0; - } - return _state->addAnimation(trackIndex, animation, loop, delay); -} - -TrackEntry* SkeletonAnimation::setEmptyAnimation (int trackIndex, float mixDuration) { - if (_state) { - return _state->setEmptyAnimation(trackIndex, mixDuration); - } - return nullptr; -} - -void SkeletonAnimation::setEmptyAnimations (float mixDuration) { - if (_state) { - _state->setEmptyAnimations(mixDuration); - } -} - -TrackEntry* SkeletonAnimation::addEmptyAnimation (int trackIndex, float mixDuration, float delay) { - if (_state) { - return _state->addEmptyAnimation(trackIndex, mixDuration, delay); - } - return nullptr; -} - -Animation* SkeletonAnimation::findAnimation(const std::string& name) const { - if (_skeleton) { - return _skeleton->getData()->findAnimation(name.c_str()); - } - return nullptr; -} - -TrackEntry* SkeletonAnimation::getCurrent (int trackIndex) { - if (_state) { - return _state->getCurrent(trackIndex); - } - return nullptr; -} - -void SkeletonAnimation::clearTracks () { - if (_state) { - _state->clearTracks(); - } -} - -void SkeletonAnimation::clearTrack (int trackIndex) { - if (_state) { - _state->clearTrack(trackIndex); - } -} - -void SkeletonAnimation::onAnimationStateEvent (TrackEntry* entry, EventType type, Event* event) { - switch (type) { - case EventType_Start: - if (_startListener) _startListener(entry); - break; - case EventType_Interrupt: - if (_interruptListener) _interruptListener(entry); - break; - case EventType_End: - if (_endListener) _endListener(entry); - break; - case EventType_Dispose: - if (_disposeListener) _disposeListener(entry); - break; - case EventType_Complete: - if (_completeListener) _completeListener(entry); - break; - case EventType_Event: - if (_eventListener) _eventListener(entry, event); - break; - } -} - -void SkeletonAnimation::onTrackEntryEvent (TrackEntry* entry, EventType type, Event* event) { - if (!entry->getRendererObject()) return; - _TrackEntryListeners* listeners = (_TrackEntryListeners*)entry->getRendererObject(); - switch (type) { - case EventType_Start: - if (listeners->startListener) listeners->startListener(entry); - break; - case EventType_Interrupt: - if (listeners->interruptListener) listeners->interruptListener(entry); - break; - case EventType_End: - if (listeners->endListener) listeners->endListener(entry); - break; - case EventType_Dispose: - if (listeners->disposeListener) listeners->disposeListener(entry); - break; - case EventType_Complete: - if (listeners->completeListener) listeners->completeListener(entry); - break; - case EventType_Event: - if (listeners->eventListener) listeners->eventListener(entry, event); - break; - } -} - -void SkeletonAnimation::setStartListener (const StartListener& listener) { - _startListener = listener; -} - -void SkeletonAnimation::setInterruptListener (const InterruptListener& listener) { - _interruptListener = listener; -} - -void SkeletonAnimation::setEndListener (const EndListener& listener) { - _endListener = listener; -} - -void SkeletonAnimation::setDisposeListener (const DisposeListener& listener) { - _disposeListener = listener; -} - -void SkeletonAnimation::setCompleteListener (const CompleteListener& listener) { - _completeListener = listener; -} - -void SkeletonAnimation::setEventListener (const EventListener& listener) { - _eventListener = listener; -} - -void SkeletonAnimation::setTrackStartListener (TrackEntry* entry, const StartListener& listener) { - getListeners(entry)->startListener = listener; -} - -void SkeletonAnimation::setTrackInterruptListener (TrackEntry* entry, const InterruptListener& listener) { - getListeners(entry)->interruptListener = listener; -} - -void SkeletonAnimation::setTrackEndListener (TrackEntry* entry, const EndListener& listener) { - getListeners(entry)->endListener = listener; -} - -void SkeletonAnimation::setTrackDisposeListener (TrackEntry* entry, const DisposeListener& listener) { - getListeners(entry)->disposeListener = listener; -} - -void SkeletonAnimation::setTrackCompleteListener (TrackEntry* entry, const CompleteListener& listener) { - getListeners(entry)->completeListener = listener; -} - -void SkeletonAnimation::setTrackEventListener (TrackEntry* entry, const EventListener& listener) { - getListeners(entry)->eventListener = listener; -} - -AnimationState* SkeletonAnimation::getState() const { - return _state; -} - -} +/****************************************************************************** + * Spine Runtimes License Agreement + * Last updated May 1, 2019. Replaces all prior versions. + * + * Copyright (c) 2013-2019, Esoteric Software LLC + * + * Integration of the Spine Runtimes into software or otherwise creating + * derivative works of the Spine Runtimes is permitted under the terms and + * conditions of Section 2 of the Spine Editor License Agreement: + * http://esotericsoftware.com/spine-editor-license + * + * Otherwise, it is permitted to integrate the Spine Runtimes into software + * or otherwise create derivative works of the Spine Runtimes (collectively, + * "Products"), provided that each user of the Products must obtain their own + * Spine Editor license and redistribution of the Products in any form must + * include this license and copyright notice. + * + * THIS SOFTWARE IS PROVIDED BY ESOTERIC SOFTWARE LLC "AS IS" AND ANY EXPRESS + * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES + * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN + * NO EVENT SHALL ESOTERIC SOFTWARE LLC BE LIABLE FOR ANY DIRECT, INDIRECT, + * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, + * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES, BUSINESS + * INTERRUPTION, OR LOSS OF USE, DATA, OR PROFITS) HOWEVER CAUSED AND ON ANY + * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, + * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + *****************************************************************************/ + +#include "spine-creator-support/SkeletonAnimation.h" +#include "spine-creator-support/spine-cocos2dx.h" +#include "spine/extension.h" +#include + +USING_NS_CC; +using std::min; +using std::max; +using std::vector; + +namespace spine { + +typedef struct _TrackEntryListeners { + StartListener startListener; + InterruptListener interruptListener; + EndListener endListener; + DisposeListener disposeListener; + CompleteListener completeListener; + EventListener eventListener; +} _TrackEntryListeners; + +void animationCallback (AnimationState* state, EventType type, TrackEntry* entry, Event* event) { + ((SkeletonAnimation*)state->getRendererObject())->onAnimationStateEvent(entry, type, event); +} + +void trackEntryCallback (AnimationState* state, EventType type, TrackEntry* entry, Event* event) { + ((SkeletonAnimation*)state->getRendererObject())->onTrackEntryEvent(entry, type, event); + if (type == EventType_Dispose) + if (entry->getRendererObject()) delete (spine::_TrackEntryListeners*)entry->getRendererObject(); +} + +static _TrackEntryListeners* getListeners (TrackEntry* entry) { + if (!entry->getRendererObject()) { + entry->setRendererObject(new spine::_TrackEntryListeners()); + entry->setListener(trackEntryCallback); + } + return (_TrackEntryListeners*)entry->getRendererObject(); +} + +static float globalTimeScale = 1.0f; +void SkeletonAnimation::setGlobalTimeScale(float timeScale) { + globalTimeScale = timeScale; +} + +SkeletonAnimation* SkeletonAnimation::create() { + SkeletonAnimation* skeleton = new SkeletonAnimation(); + skeleton->autorelease(); + return skeleton; +} + +SkeletonAnimation* SkeletonAnimation::createWithData (SkeletonData* skeletonData, bool ownsSkeletonData) { + SkeletonAnimation* node = new SkeletonAnimation(); + node->initWithData(skeletonData, ownsSkeletonData); + node->autorelease(); + return node; +} + +SkeletonAnimation* SkeletonAnimation::createWithJsonFile (const std::string& skeletonJsonFile, Atlas* atlas, float scale) { + SkeletonAnimation* node = new SkeletonAnimation(); + node->initWithJsonFile(skeletonJsonFile, atlas, scale); + node->autorelease(); + return node; +} + +SkeletonAnimation* SkeletonAnimation::createWithJsonFile (const std::string& skeletonJsonFile, const std::string& atlasFile, float scale) { + SkeletonAnimation* node = new SkeletonAnimation(); + node->initWithJsonFile(skeletonJsonFile, atlasFile, scale); + node->autorelease(); + return node; +} + +SkeletonAnimation* SkeletonAnimation::createWithBinaryFile (const std::string& skeletonBinaryFile, Atlas* atlas, float scale) { + SkeletonAnimation* node = new SkeletonAnimation(); + node->initWithBinaryFile(skeletonBinaryFile, atlas, scale); + node->autorelease(); + return node; +} + +SkeletonAnimation* SkeletonAnimation::createWithBinaryFile (const std::string& skeletonBinaryFile, const std::string& atlasFile, float scale) { + SkeletonAnimation* node = new SkeletonAnimation(); + node->initWithBinaryFile(skeletonBinaryFile, atlasFile, scale); + node->autorelease(); + return node; +} + +void SkeletonAnimation::initialize () { + super::initialize(); + + _ownsAnimationStateData = true; + _state = new (__FILE__, __LINE__) AnimationState(new (__FILE__, __LINE__) AnimationStateData(_skeleton->getData())); + _state->setRendererObject(this); + _state->setListener(animationCallback); +} + +SkeletonAnimation::SkeletonAnimation () +: SkeletonRenderer() { +} + +SkeletonAnimation::~SkeletonAnimation () { + _startListener = nullptr; + _interruptListener = nullptr; + _endListener = nullptr; + _disposeListener = nullptr; + _completeListener = nullptr; + _eventListener = nullptr; + + if (_state) { + clearTracks(); + if (_ownsAnimationStateData) delete _state->getData(); + delete _state; + } +} + +void SkeletonAnimation::update (float deltaTime) { + if (!_skeleton) return; + if (!_paused) { + deltaTime *= _timeScale * globalTimeScale; + if (_ownsSkeleton) _skeleton->update(deltaTime); + _state->update(deltaTime); + _state->apply(*_skeleton); + _skeleton->updateWorldTransform(); + } +} + +void SkeletonAnimation::setAnimationStateData (AnimationStateData* stateData) { + CCASSERT(stateData, "stateData cannot be null."); + + if (_state) { + if (_ownsAnimationStateData) delete _state->getData(); + delete _state; + } + + _ownsAnimationStateData = false; + _state = new (__FILE__, __LINE__) AnimationState(stateData); + _state->setRendererObject(this); + _state->setListener(animationCallback); +} + +void SkeletonAnimation::setMix (const std::string& fromAnimation, const std::string& toAnimation, float duration) { + if (_state) { + _state->getData()->setMix(fromAnimation.c_str(), toAnimation.c_str(), duration); + } +} + +TrackEntry* SkeletonAnimation::setAnimation (int trackIndex, const std::string& name, bool loop) { + if (!_skeleton) return 0; + Animation* animation = _skeleton->getData()->findAnimation(name.c_str()); + if (!animation) { + log("Spine: Animation not found: %s", name.c_str()); + return 0; + } + auto trackEntry = _state->setAnimation(trackIndex, animation, loop); + _state->apply(*_skeleton); + return trackEntry; +} + +TrackEntry* SkeletonAnimation::addAnimation (int trackIndex, const std::string& name, bool loop, float delay) { + if (!_skeleton) return 0; + Animation* animation = _skeleton->getData()->findAnimation(name.c_str()); + if (!animation) { + log("Spine: Animation not found: %s", name.c_str()); + return 0; + } + return _state->addAnimation(trackIndex, animation, loop, delay); +} + +TrackEntry* SkeletonAnimation::setEmptyAnimation (int trackIndex, float mixDuration) { + if (_state) { + return _state->setEmptyAnimation(trackIndex, mixDuration); + } + return nullptr; +} + +void SkeletonAnimation::setEmptyAnimations (float mixDuration) { + if (_state) { + _state->setEmptyAnimations(mixDuration); + } +} + +TrackEntry* SkeletonAnimation::addEmptyAnimation (int trackIndex, float mixDuration, float delay) { + if (_state) { + return _state->addEmptyAnimation(trackIndex, mixDuration, delay); + } + return nullptr; +} + +Animation* SkeletonAnimation::findAnimation(const std::string& name) const { + if (_skeleton) { + return _skeleton->getData()->findAnimation(name.c_str()); + } + return nullptr; +} + +TrackEntry* SkeletonAnimation::getCurrent (int trackIndex) { + if (_state) { + return _state->getCurrent(trackIndex); + } + return nullptr; +} + +void SkeletonAnimation::clearTracks () { + if (_state) { + _state->clearTracks(); + } +} + +void SkeletonAnimation::clearTrack (int trackIndex) { + if (_state) { + _state->clearTrack(trackIndex); + } +} + +void SkeletonAnimation::onAnimationStateEvent (TrackEntry* entry, EventType type, Event* event) { + switch (type) { + case EventType_Start: + if (_startListener) _startListener(entry); + break; + case EventType_Interrupt: + if (_interruptListener) _interruptListener(entry); + break; + case EventType_End: + if (_endListener) _endListener(entry); + break; + case EventType_Dispose: + if (_disposeListener) _disposeListener(entry); + break; + case EventType_Complete: + if (_completeListener) _completeListener(entry); + break; + case EventType_Event: + if (_eventListener) _eventListener(entry, event); + break; + } +} + +void SkeletonAnimation::onTrackEntryEvent (TrackEntry* entry, EventType type, Event* event) { + if (!entry->getRendererObject()) return; + _TrackEntryListeners* listeners = (_TrackEntryListeners*)entry->getRendererObject(); + switch (type) { + case EventType_Start: + if (listeners->startListener) listeners->startListener(entry); + break; + case EventType_Interrupt: + if (listeners->interruptListener) listeners->interruptListener(entry); + break; + case EventType_End: + if (listeners->endListener) listeners->endListener(entry); + break; + case EventType_Dispose: + if (listeners->disposeListener) listeners->disposeListener(entry); + break; + case EventType_Complete: + if (listeners->completeListener) listeners->completeListener(entry); + break; + case EventType_Event: + if (listeners->eventListener) listeners->eventListener(entry, event); + break; + } +} + +void SkeletonAnimation::setStartListener (const StartListener& listener) { + _startListener = listener; +} + +void SkeletonAnimation::setInterruptListener (const InterruptListener& listener) { + _interruptListener = listener; +} + +void SkeletonAnimation::setEndListener (const EndListener& listener) { + _endListener = listener; +} + +void SkeletonAnimation::setDisposeListener (const DisposeListener& listener) { + _disposeListener = listener; +} + +void SkeletonAnimation::setCompleteListener (const CompleteListener& listener) { + _completeListener = listener; +} + +void SkeletonAnimation::setEventListener (const EventListener& listener) { + _eventListener = listener; +} + +void SkeletonAnimation::setTrackStartListener (TrackEntry* entry, const StartListener& listener) { + getListeners(entry)->startListener = listener; +} + +void SkeletonAnimation::setTrackInterruptListener (TrackEntry* entry, const InterruptListener& listener) { + getListeners(entry)->interruptListener = listener; +} + +void SkeletonAnimation::setTrackEndListener (TrackEntry* entry, const EndListener& listener) { + getListeners(entry)->endListener = listener; +} + +void SkeletonAnimation::setTrackDisposeListener (TrackEntry* entry, const DisposeListener& listener) { + getListeners(entry)->disposeListener = listener; +} + +void SkeletonAnimation::setTrackCompleteListener (TrackEntry* entry, const CompleteListener& listener) { + getListeners(entry)->completeListener = listener; +} + +void SkeletonAnimation::setTrackEventListener (TrackEntry* entry, const EventListener& listener) { + getListeners(entry)->eventListener = listener; +} + +AnimationState* SkeletonAnimation::getState() const { + return _state; +} + +} diff --git a/native/cocos/editor-support/spine-creator-support/SkeletonDataMgr.cpp b/native/cocos/editor-support/spine-creator-support/SkeletonDataMgr.cpp index 8a240eaa14..93774b1f4e 100644 --- a/native/cocos/editor-support/spine-creator-support/SkeletonDataMgr.cpp +++ b/native/cocos/editor-support/spine-creator-support/SkeletonDataMgr.cpp @@ -29,6 +29,7 @@ #include "SkeletonDataMgr.h" #include +#include using namespace spine; @@ -61,6 +62,7 @@ public: SkeletonData* data = nullptr; Atlas* atlas = nullptr; AttachmentLoader* attachmentLoader = nullptr; + std::vector texturesIndex; std::string _uuid; }; @@ -71,7 +73,7 @@ bool SkeletonDataMgr::hasSkeletonData (const std::string& uuid) { return it != _dataMap.end(); } -void SkeletonDataMgr::setSkeletonData (const std::string& uuid, SkeletonData* data, Atlas* atlas, AttachmentLoader* attachmentLoader) { +void SkeletonDataMgr::setSkeletonData (const std::string& uuid, SkeletonData* data, Atlas* atlas, AttachmentLoader* attachmentLoader, const std::vector& texturesIndex) { auto it = _dataMap.find(uuid); if (it != _dataMap.end()) { releaseByUUID(uuid); @@ -80,13 +82,13 @@ void SkeletonDataMgr::setSkeletonData (const std::string& uuid, SkeletonData* da info->data = data; info->atlas = atlas; info->attachmentLoader = attachmentLoader; + info->texturesIndex = texturesIndex; _dataMap[uuid] = info; } SkeletonData* SkeletonDataMgr::retainByUUID (const std::string& uuid) { auto dataIt = _dataMap.find(uuid); - if (dataIt == _dataMap.end()) - { + if (dataIt == _dataMap.end()) { return nullptr; } dataIt->second->retain(); @@ -102,6 +104,12 @@ void SkeletonDataMgr::releaseByUUID (const std::string& uuid) { // If info reference count is 1, then info will be destroy. if (info->getReferenceCount() == 1) { _dataMap.erase(dataIt); + if (_destroyCallback) { + auto& texturesIndex = info->texturesIndex; + for (auto it = texturesIndex.begin(); it != texturesIndex.end(); it++) { + _destroyCallback(*it); + } + } } info->release(); } diff --git a/native/cocos/editor-support/spine-creator-support/SkeletonDataMgr.h b/native/cocos/editor-support/spine-creator-support/SkeletonDataMgr.h index b14da5d9b7..8214d645be 100644 --- a/native/cocos/editor-support/spine-creator-support/SkeletonDataMgr.h +++ b/native/cocos/editor-support/spine-creator-support/SkeletonDataMgr.h @@ -59,11 +59,18 @@ public: SkeletonDataMgr () {} virtual ~SkeletonDataMgr () {} bool hasSkeletonData (const std::string& uuid); - void setSkeletonData (const std::string& uuid, SkeletonData* data, Atlas* atlas, AttachmentLoader* attachmentLoader); + void setSkeletonData (const std::string& uuid, SkeletonData* data, Atlas* atlas, AttachmentLoader* attachmentLoader, const std::vector& texturesIndex); SkeletonData* retainByUUID (const std::string& uuid); void releaseByUUID (const std::string& uuid); + + typedef std::function destroyCallback; + void setDestroyCallback(destroyCallback callback) + { + _destroyCallback = callback; + } private: static SkeletonDataMgr* _instance; + destroyCallback _destroyCallback = nullptr; }; } diff --git a/native/cocos/editor-support/spine-creator-support/SkeletonRenderer.cpp b/native/cocos/editor-support/spine-creator-support/SkeletonRenderer.cpp index d95981c4d7..867ff4bbae 100644 --- a/native/cocos/editor-support/spine-creator-support/SkeletonRenderer.cpp +++ b/native/cocos/editor-support/spine-creator-support/SkeletonRenderer.cpp @@ -31,12 +31,12 @@ #include "spine-creator-support/AttachmentVertices.h" #include "spine-creator-support/spine-cocos2dx.h" #include -#include "platform/CCApplication.h" #include "base/CCScheduler.h" #include "MiddlewareMacro.h" -#include "MeshBuffer.h" +#include "renderer/renderer/Pass.h" +#include "renderer/renderer/Technique.h" +#include "renderer/scene/assembler/CustomAssembler.hpp" #include "SkeletonDataMgr.h" -#include "RenderInfoMgr.h" USING_NS_CC; USING_NS_MW; @@ -44,6 +44,12 @@ USING_NS_MW; using std::min; using std::max; using namespace spine; +using namespace cocos2d; +using namespace cocos2d::renderer; + +static const std::string techStage = "opaque"; +static const std::string textureKey = "texture"; +static const uint8_t moduleID = MiddlewareManager::generateModuleID(); static Cocos2dTextureLoader textureLoader; @@ -88,12 +94,7 @@ void SkeletonRenderer::initialize () { if (_clipper == nullptr) { _clipper = new (__FILE__, __LINE__) SkeletonClipping(); } - - if (_renderInfoOffset == nullptr) { - // store global TypedArray begin and end offset - _renderInfoOffset = new IOTypedArray(se::Object::TypedArrayType::UINT32, sizeof(uint32_t)); - } - + _skeleton->setToSetupPose(); _skeleton->updateWorldTransform(); beginSchedule(); @@ -113,11 +114,6 @@ void SkeletonRenderer::onDisable() { void SkeletonRenderer::stopSchedule() { MiddlewareManager::getInstance()->removeTimer(this); - if (_renderInfoOffset) { - _renderInfoOffset->reset(); - _renderInfoOffset->clear(); - } - if (_debugBuffer) { _debugBuffer->reset(); _debugBuffer->clear(); @@ -150,7 +146,6 @@ SkeletonRenderer::SkeletonRenderer (const std::string& skeletonDataFile, const s SkeletonRenderer::~SkeletonRenderer () { CC_SAFE_RELEASE(_effectDelegate); - if (_ownsSkeletonData) delete _skeleton->getData(); if (_ownsSkeleton) delete _skeleton; if (_ownsAtlas && _atlas) delete _atlas; @@ -158,16 +153,13 @@ SkeletonRenderer::~SkeletonRenderer () { if (_uuid != "") SkeletonDataMgr::getInstance()->releaseByUUID(_uuid); if (_clipper) delete _clipper; - if (_renderInfoOffset) { - delete _renderInfoOffset; - _renderInfoOffset = nullptr; - } - if (_debugBuffer) { delete _debugBuffer; _debugBuffer = nullptr; } + CC_SAFE_RELEASE(_nodeProxy); + CC_SAFE_RELEASE(_effect); stopSchedule(); } @@ -264,67 +256,68 @@ void SkeletonRenderer::initWithBinaryFile (const std::string& skeletonDataFile, initialize(); } -void SkeletonRenderer::update (float deltaTime) { - +void SkeletonRenderer::render (float deltaTime) { if (!_skeleton) return; - - _renderInfoOffset->reset(); - _renderInfoOffset->clear(); // avoid other place call update. auto mgr = MiddlewareManager::getInstance(); - if (!mgr->isUpdating) return; + if (!mgr->isRendering) return; - auto renderMgr = RenderInfoMgr::getInstance(); - auto renderInfo = renderMgr->getBuffer(); - if (!renderInfo) return; - - // store renderInfo offset - _renderInfoOffset->writeUint32((uint32_t)renderInfo->getCurPos() / sizeof(uint32_t)); - - // check enough space - renderInfo->checkSpace(sizeof(uint32_t) * 2, true); - // write border - renderInfo->writeUint32(0xffffffff); - - std::size_t materialLenOffset = renderInfo->getCurPos(); - //reserved space to save material len - renderInfo->writeUint32(0); - - // If opacity is 0,then return. - if (_skeleton->getColor().a == 0) { + if (_nodeProxy == nullptr) { return; } + CustomAssembler* assembler = (CustomAssembler*)_nodeProxy->getAssembler(); + if (assembler == nullptr) { + return; + } + assembler->reset(); + assembler->setUseModel(!_batch); + + _nodeColor.a = _nodeProxy->getRealOpacity() / (float)255; + + // If opacity is 0,then return. + if (_skeleton->getColor().a == 0) { + return; + } + Color4F color; Color4F darkColor; AttachmentVertices* attachmentVertices = nullptr; bool inRange = _startSlotIndex != -1 || _endSlotIndex != -1 ? false : true; auto vertexFormat = _useTint? VF_XYUVCC : VF_XYUVC; - MeshBuffer* mb = mgr->getMeshBuffer(vertexFormat); + middleware::MeshBuffer* mb = mgr->getMeshBuffer(vertexFormat); middleware::IOBuffer& vb = mb->getVB(); middleware::IOBuffer& ib = mb->getIB(); - // vertex size in floats with one color - int vs1 = sizeof(V2F_T2F_C4B) / sizeof(float); + // vertex size int bytes with one color + int vbs1 = sizeof(V2F_T2F_C4B); + // vertex size in floats with one color + int vs1 = vbs1 / sizeof(float); + // vertex size int bytes with two color + int vbs2 = sizeof(V2F_T2F_C4B_C4B); // verex size in floats with two color - int vs2 = sizeof(V2F_T2F_C4B_C4B) / sizeof(float); + int vs2 = vbs2 / sizeof(float); + const cocos2d::Mat4& nodeWorldMat = _nodeProxy->getWorldMatrix(); - int vbSize = 0; + int vbSize = 0; int ibSize = 0; - - int preTextureIndex = -1; + + BlendFactor curBlendSrc = BlendFactor::ONE; + BlendFactor curBlendDst = BlendFactor::ZERO; + int curBlendMode = -1; int preBlendMode = -1; - int curBlendSrc = -1; - int curBlendDst = -1; + int preTextureIndex = -1; int curTextureIndex = -1; - int preISegWritePos = -1; + int preISegWritePos = -1; int curISegLen = 0; int materialLen = 0; Slot* slot = nullptr; int isFull = 0; + middleware::Texture2D* texture = nullptr; + if (_debugSlots || _debugBones || _debugMesh) { // If enable debug draw,then init debug buffer. if (_debugBuffer == nullptr) { @@ -336,49 +329,77 @@ void SkeletonRenderer::update (float deltaTime) { auto flush = [&]() { // fill pre segment count field if (preISegWritePos != -1) { - renderInfo->writeUint32(preISegWritePos, curISegLen); + assembler->updateIARange(materialLen - 1, preISegWritePos, curISegLen); } // prepare to fill new segment field - switch (slot->getData().getBlendMode()) { + curBlendMode = slot->getData().getBlendMode(); + switch (curBlendMode) { case BlendMode_Additive: - curBlendSrc = _premultipliedAlpha ? GL_ONE : GL_SRC_ALPHA; - curBlendDst = GL_ONE; + curBlendSrc = _premultipliedAlpha ? BlendFactor::ONE : BlendFactor::SRC_ALPHA; + curBlendDst = BlendFactor::ONE; break; case BlendMode_Multiply: - curBlendSrc = GL_DST_COLOR; - curBlendDst = GL_ONE_MINUS_SRC_ALPHA; + curBlendSrc = BlendFactor::DST_COLOR; + curBlendDst = BlendFactor::ONE_MINUS_SRC_ALPHA; break; case BlendMode_Screen: - curBlendSrc = GL_ONE; - curBlendDst = GL_ONE_MINUS_SRC_COLOR; + curBlendSrc = BlendFactor::ONE; + curBlendDst = BlendFactor::ONE_MINUS_SRC_COLOR; break; default: - curBlendSrc = _premultipliedAlpha ? GL_ONE : GL_SRC_ALPHA; - curBlendDst = GL_ONE_MINUS_SRC_ALPHA; + curBlendSrc = _premultipliedAlpha ? BlendFactor::ONE : BlendFactor::SRC_ALPHA; + curBlendDst = BlendFactor::ONE_MINUS_SRC_ALPHA; } - // check enough space - renderInfo->checkSpace(sizeof(uint32_t) * 7, true); + double curHash = curTextureIndex + (moduleID << 16) + (curBlendMode << 24) + ((int)_useTint << 25) + ((int)_batch << 27); + Effect* renderEffect = assembler->getEffect(materialLen); + Technique::Parameter* param = nullptr; + Pass* pass = nullptr; - // fill new texture index - renderInfo->writeUint32(curTextureIndex); - // fill new blend src and dst - renderInfo->writeUint32(curBlendSrc); - renderInfo->writeUint32(curBlendDst); - // fill new index and vertex buffer id - auto glIB = mb->getGLIB(); - auto glVB = mb->getGLVB(); - renderInfo->writeUint32(glIB); - renderInfo->writeUint32(glVB); - // fill new index offset - renderInfo->writeUint32((uint32_t)ib.getCurPos() / sizeof(unsigned short)); - + if (renderEffect) { + double renderHash = renderEffect->getHash(); + if (abs(renderHash - curHash) >= 0.01) { + param = (Technique::Parameter*)&(renderEffect->getProperty(textureKey)); + Technique* tech = renderEffect->getTechnique(techStage); + cocos2d::Vector& passes = (cocos2d::Vector&)tech->getPasses(); + pass = *(passes.begin()); + } + } + else { + if (_effect == nullptr) { + cocos2d::log("SkeletonRenderer:update get effect failed"); + assembler->reset(); + return; + } + auto effect = new cocos2d::renderer::Effect(); + effect->autorelease(); + effect->copy(_effect); + + Technique* tech = effect->getTechnique(techStage); + cocos2d::Vector& passes = (cocos2d::Vector&)tech->getPasses(); + pass = *(passes.begin()); + + assembler->updateEffect(materialLen, effect); + renderEffect = effect; + param = (Technique::Parameter*)&(renderEffect->getProperty(textureKey)); + } + + if (param) { + param->setTexture(texture->getNativeTexture()); + } + + if (pass) { + pass->setBlend(BlendOp::ADD, curBlendSrc, curBlendDst, + BlendOp::ADD, curBlendSrc, curBlendDst); + } + + renderEffect->updateHash(curHash); + // save new segment count pos field - preISegWritePos = (int)renderInfo->getCurPos(); - // reserve indice segamentation count - renderInfo->writeUint32(0); - + preISegWritePos = (int)ib.getCurPos() / sizeof(unsigned short); + // save new segment vb and ib + assembler->updateIABuffer(materialLen, mb->getGLVB(), mb->getGLIB()); // reset pre blend mode to current preBlendMode = (int)slot->getData().getBlendMode(); // reset pre texture index to current @@ -426,10 +447,6 @@ void SkeletonRenderer::update (float deltaTime) { continue; } - if (!slot->getAttachment()) { - continue; - } - Triangles triangles; TwoColorTriangles trianglesTwoColor; @@ -794,6 +811,7 @@ void SkeletonRenderer::update (float deltaTime) { } } + texture = attachmentVertices->_texture; curTextureIndex = attachmentVertices->_texture->getRealTextureIndex(); // If texture or blendMode change,will change material. if (preTextureIndex != curTextureIndex || preBlendMode != slot->getData().getBlendMode() || isFull) { @@ -801,9 +819,25 @@ void SkeletonRenderer::update (float deltaTime) { } if (vbSize > 0 && ibSize > 0) { - auto vertexOffset = vb.getCurPos() / sizeof(middleware::V2F_T2F_C4B); + auto vbs = vbs1; + auto vertexOffset = vb.getCurPos() / vbs1; if (_useTint) { - vertexOffset = vb.getCurPos() / sizeof(middleware::V2F_T2F_C4B_C4B); + vbs = vbs2; + vertexOffset = vb.getCurPos() / vbs2; + } + + if (_batch) { + uint8_t* vbBuffer = vb.getCurBuffer(); + cocos2d::Vec3* point = nullptr; + float tempZ = 0.0f; + for (int ii = 0, nn = vbSize; ii < nn; ii += vbs) + { + point = (cocos2d::Vec3*)(vbBuffer + ii); + tempZ = point->z; + point->z = 0; + nodeWorldMat.transformPoint(point); + point->z = tempZ; + } } if (vertexOffset > 0) { @@ -827,11 +861,10 @@ void SkeletonRenderer::update (float deltaTime) { if (effect) effect->end(); - renderInfo->writeUint32(materialLenOffset, materialLen); - if (preISegWritePos != -1) { - renderInfo->writeUint32(preISegWritePos, curISegLen); + if (preISegWritePos != -1) { + assembler->updateIARange(materialLen - 1, preISegWritePos, curISegLen); } - + if (_debugBones) { auto& bones = _skeleton->getBones(); size_t bonesCount = bones.size(); @@ -1005,6 +1038,10 @@ void SkeletonRenderer::setColor (cocos2d::Color4B& color) { _nodeColor.a = color.a / 255.0f; } +void SkeletonRenderer::setBatchEnabled (bool enabled) { + _batch = enabled; +} + void SkeletonRenderer::setDebugBonesEnabled (bool enabled) { _debugBones = enabled; } diff --git a/native/cocos/editor-support/spine-creator-support/SkeletonRenderer.h b/native/cocos/editor-support/spine-creator-support/SkeletonRenderer.h index cf4b6ba705..e771ce81f5 100644 --- a/native/cocos/editor-support/spine-creator-support/SkeletonRenderer.h +++ b/native/cocos/editor-support/spine-creator-support/SkeletonRenderer.h @@ -1,181 +1,192 @@ -/****************************************************************************** - * Spine Runtimes License Agreement - * Last updated May 1, 2019. Replaces all prior versions. - * - * Copyright (c) 2013-2019, Esoteric Software LLC - * - * Integration of the Spine Runtimes into software or otherwise creating - * derivative works of the Spine Runtimes is permitted under the terms and - * conditions of Section 2 of the Spine Editor License Agreement: - * http://esotericsoftware.com/spine-editor-license - * - * Otherwise, it is permitted to integrate the Spine Runtimes into software - * or otherwise create derivative works of the Spine Runtimes (collectively, - * "Products"), provided that each user of the Products must obtain their own - * Spine Editor license and redistribution of the Products in any form must - * include this license and copyright notice. - * - * THIS SOFTWARE IS PROVIDED BY ESOTERIC SOFTWARE LLC "AS IS" AND ANY EXPRESS - * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES - * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN - * NO EVENT SHALL ESOTERIC SOFTWARE LLC BE LIABLE FOR ANY DIRECT, INDIRECT, - * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, - * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES, BUSINESS - * INTERRUPTION, OR LOSS OF USE, DATA, OR PROFITS) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING - * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, - * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - *****************************************************************************/ - -#pragma once - -#include "spine/spine.h" -#include "base/CCRef.h" -#include "base/ccTypes.h" -#include -#include "scripting/js-bindings/jswrapper/Object.hpp" -#include "IOTypedArray.h" -#include "MiddlewareManager.h" -#include "spine-creator-support/VertexEffectDelegate.h" - -namespace spine { - - class AttachmentVertices; - - /** Draws a skeleton. - */ - class SkeletonRenderer: public cocos2d::middleware::IMiddleware, public cocos2d::Ref { - public: - static SkeletonRenderer* create (); - static SkeletonRenderer* createWithSkeleton(Skeleton* skeleton, bool ownsSkeleton = false, bool ownsSkeletonData = false); - static SkeletonRenderer* createWithData (SkeletonData* skeletonData, bool ownsSkeletonData = false); - static SkeletonRenderer* createWithFile (const std::string& skeletonDataFile, Atlas* atlas, float scale = 1); - static SkeletonRenderer* createWithFile (const std::string& skeletonDataFile, const std::string& atlasFile, float scale = 1); - - virtual void update (float deltaTime); - virtual cocos2d::Rect getBoundingBox () const; - - Skeleton* getSkeleton() const; - - void setTimeScale (float scale); - float getTimeScale () const; - - void updateWorldTransform (); - - void setToSetupPose (); - void setBonesToSetupPose (); - void setSlotsToSetupPose (); - void paused (bool value); - - /* Returns 0 if the bone was not found. */ - Bone* findBone (const std::string& boneName) const; - /* Returns 0 if the slot was not found. */ - Slot* findSlot (const std::string& slotName) const; - - /* Sets the skin used to look up attachments not found in the SkeletonData defaultSkin. Attachments from the new skin are - * attached if the corresponding attachment from the old skin was attached. - * @param skin May be empty string ("") for no skin.*/ - void setSkin (const std::string& skinName); - /** @param skin May be 0 for no skin.*/ - void setSkin (const char* skinName); - - /* Returns 0 if the slot or attachment was not found. */ - Attachment* getAttachment (const std::string& slotName, const std::string& attachmentName) const; - /* Returns false if the slot or attachment was not found. - * @param attachmentName May be empty string ("") for no attachment. */ - bool setAttachment (const std::string& slotName, const std::string& attachmentName); - /* @param attachmentName May be 0 for no attachment. */ - bool setAttachment (const std::string& slotName, const char* attachmentName); - - /* Enables/disables two color tinting for this instance. May break batching */ - void setUseTint(bool enabled); - - /* Sets the vertex effect to be used, set to 0 to disable vertex effects */ - void setVertexEffectDelegate(VertexEffectDelegate* effectDelegate); - /* Sets the range of slots that should be rendered. Use -1, -1 to clear the range */ - void setSlotsRange(int startSlotIndex, int endSlotIndex); - - /** - * @return debug data,it's a Float32Array, - * format |debug bones length|[beginX|beginY|toX|toY|...loop...] - */ - se_object_ptr getDebugData() const { - if (_debugBuffer) { - return _debugBuffer->getTypeArray(); - } - return nullptr; - } - - /** - * @return render info offset,it's a Uint32Array, - * format |render info offset| - */ - se_object_ptr getRenderInfoOffset() const { - if (_renderInfoOffset) { - return _renderInfoOffset->getTypeArray(); - } - return nullptr; - } - - void setColor (cocos2d::Color4B& color); - void setDebugBonesEnabled (bool enabled); - void setDebugSlotsEnabled (bool enabled); - void setDebugMeshEnabled (bool enabled); - - void setOpacityModifyRGB (bool value); - bool isOpacityModifyRGB () const; - - void beginSchedule(); - void stopSchedule(); - void onEnable(); - void onDisable(); - - CC_CONSTRUCTOR_ACCESS: - SkeletonRenderer (); - SkeletonRenderer(Skeleton* skeleton, bool ownsSkeleton = false, bool ownsSkeletonData = false, bool ownsAtlas = false); - SkeletonRenderer (SkeletonData* skeletonData, bool ownsSkeletonData = false); - SkeletonRenderer (const std::string& skeletonDataFile, Atlas* atlas, float scale = 1); - SkeletonRenderer (const std::string& skeletonDataFile, const std::string& atlasFile, float scale = 1); - - virtual ~SkeletonRenderer (); - - void initWithUUID(const std::string& uuid); - void initWithSkeleton(Skeleton* skeleton, bool ownsSkeleton = false, bool ownsSkeletonData = false, bool ownsAtlas = false); - void initWithData (SkeletonData* skeletonData, bool ownsSkeletonData = false); - void initWithJsonFile (const std::string& skeletonDataFile, Atlas* atlas, float scale = 1); - void initWithJsonFile (const std::string& skeletonDataFile, const std::string& atlasFile, float scale = 1); - void initWithBinaryFile (const std::string& skeletonDataFile, Atlas* atlas, float scale = 1); - void initWithBinaryFile (const std::string& skeletonDataFile, const std::string& atlasFile, float scale = 1); - - virtual void initialize (); - - protected: - void setSkeletonData (SkeletonData* skeletonData, bool ownsSkeletonData); - - bool _ownsSkeletonData = false; - bool _ownsSkeleton = false; - bool _ownsAtlas = false; - Atlas* _atlas = nullptr; - AttachmentLoader* _attachmentLoader = nullptr; - Skeleton* _skeleton = nullptr; - VertexEffectDelegate* _effectDelegate = nullptr; - float _timeScale = 1; - bool _paused = false; - - bool _debugMesh = false; - bool _debugSlots = false; - bool _debugBones = false; - cocos2d::Color4F _nodeColor = cocos2d::Color4F::WHITE; - bool _premultipliedAlpha = false; - SkeletonClipping* _clipper = nullptr; - bool _useTint = false; - std::string _uuid = ""; - - int _startSlotIndex = -1; - int _endSlotIndex = -1; - - cocos2d::middleware::IOTypedArray* _renderInfoOffset = nullptr; - cocos2d::middleware::IOTypedArray* _debugBuffer = nullptr; - }; - -} +/****************************************************************************** + * Spine Runtimes License Agreement + * Last updated May 1, 2019. Replaces all prior versions. + * + * Copyright (c) 2013-2019, Esoteric Software LLC + * + * Integration of the Spine Runtimes into software or otherwise creating + * derivative works of the Spine Runtimes is permitted under the terms and + * conditions of Section 2 of the Spine Editor License Agreement: + * http://esotericsoftware.com/spine-editor-license + * + * Otherwise, it is permitted to integrate the Spine Runtimes into software + * or otherwise create derivative works of the Spine Runtimes (collectively, + * "Products"), provided that each user of the Products must obtain their own + * Spine Editor license and redistribution of the Products in any form must + * include this license and copyright notice. + * + * THIS SOFTWARE IS PROVIDED BY ESOTERIC SOFTWARE LLC "AS IS" AND ANY EXPRESS + * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES + * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN + * NO EVENT SHALL ESOTERIC SOFTWARE LLC BE LIABLE FOR ANY DIRECT, INDIRECT, + * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, + * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES, BUSINESS + * INTERRUPTION, OR LOSS OF USE, DATA, OR PROFITS) HOWEVER CAUSED AND ON ANY + * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, + * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + *****************************************************************************/ + +#pragma once + +#include "spine/spine.h" +#include "base/CCRef.h" +#include "base/ccTypes.h" +#include +#include "scripting/js-bindings/jswrapper/Object.hpp" +#include "IOTypedArray.h" +#include "MiddlewareManager.h" +#include "spine-creator-support/VertexEffectDelegate.h" +#include "renderer/scene/NodeProxy.hpp" +#include "base/CCMap.h" +#include "middleware-adapter.h" +#include "base/ccMacros.h" + +namespace spine { + + class AttachmentVertices; + + /** Draws a skeleton. + */ + class SkeletonRenderer: public cocos2d::middleware::IMiddleware, public cocos2d::Ref { + public: + static SkeletonRenderer* create (); + static SkeletonRenderer* createWithSkeleton(Skeleton* skeleton, bool ownsSkeleton = false, bool ownsSkeletonData = false); + static SkeletonRenderer* createWithData (SkeletonData* skeletonData, bool ownsSkeletonData = false); + static SkeletonRenderer* createWithFile (const std::string& skeletonDataFile, Atlas* atlas, float scale = 1); + static SkeletonRenderer* createWithFile (const std::string& skeletonDataFile, const std::string& atlasFile, float scale = 1); + + virtual void update (float deltaTime) override {} + virtual void render (float deltaTime) override; + virtual cocos2d::Rect getBoundingBox () const; + + Skeleton* getSkeleton() const; + + void setTimeScale (float scale); + float getTimeScale () const; + + void updateWorldTransform (); + + void setToSetupPose (); + void setBonesToSetupPose (); + void setSlotsToSetupPose (); + void paused (bool value); + + /* Returns 0 if the bone was not found. */ + Bone* findBone (const std::string& boneName) const; + /* Returns 0 if the slot was not found. */ + Slot* findSlot (const std::string& slotName) const; + + /* Sets the skin used to look up attachments not found in the SkeletonData defaultSkin. Attachments from the new skin are + * attached if the corresponding attachment from the old skin was attached. + * @param skin May be empty string ("") for no skin.*/ + void setSkin (const std::string& skinName); + /** @param skin May be 0 for no skin.*/ + void setSkin (const char* skinName); + + /* Returns 0 if the slot or attachment was not found. */ + Attachment* getAttachment (const std::string& slotName, const std::string& attachmentName) const; + /* Returns false if the slot or attachment was not found. + * @param attachmentName May be empty string ("") for no attachment. */ + bool setAttachment (const std::string& slotName, const std::string& attachmentName); + /* @param attachmentName May be 0 for no attachment. */ + bool setAttachment (const std::string& slotName, const char* attachmentName); + + /* Enables/disables two color tinting for this instance. May break batching */ + void setUseTint(bool enabled); + + /* Sets the vertex effect to be used, set to 0 to disable vertex effects */ + void setVertexEffectDelegate(VertexEffectDelegate* effectDelegate); + /* Sets the range of slots that should be rendered. Use -1, -1 to clear the range */ + void setSlotsRange(int startSlotIndex, int endSlotIndex); + + /** + * @return debug data,it's a Float32Array, + * format |debug bones length|[beginX|beginY|toX|toY|...loop...] + */ + se_object_ptr getDebugData() const { + if (_debugBuffer) { + return _debugBuffer->getTypeArray(); + } + return nullptr; + } + + void bindNodeProxy(cocos2d::renderer::NodeProxy* node) { + if (node == _nodeProxy) return; + CC_SAFE_RELEASE(_nodeProxy); + _nodeProxy = node; + CC_SAFE_RETAIN(_nodeProxy); + } + + void setEffect(cocos2d::renderer::Effect* effect) { + if (effect == _effect) return; + CC_SAFE_RELEASE(_effect); + _effect = effect; + CC_SAFE_RETAIN(_effect); + } + + void setColor (cocos2d::Color4B& color); + void setBatchEnabled (bool enabled); + void setDebugBonesEnabled (bool enabled); + void setDebugSlotsEnabled (bool enabled); + void setDebugMeshEnabled (bool enabled); + + void setOpacityModifyRGB (bool value); + bool isOpacityModifyRGB () const; + + void beginSchedule(); + void stopSchedule(); + void onEnable(); + void onDisable(); + + CC_CONSTRUCTOR_ACCESS: + SkeletonRenderer (); + SkeletonRenderer(Skeleton* skeleton, bool ownsSkeleton = false, bool ownsSkeletonData = false, bool ownsAtlas = false); + SkeletonRenderer (SkeletonData* skeletonData, bool ownsSkeletonData = false); + SkeletonRenderer (const std::string& skeletonDataFile, Atlas* atlas, float scale = 1); + SkeletonRenderer (const std::string& skeletonDataFile, const std::string& atlasFile, float scale = 1); + + virtual ~SkeletonRenderer (); + + void initWithUUID(const std::string& uuid); + void initWithSkeleton(Skeleton* skeleton, bool ownsSkeleton = false, bool ownsSkeletonData = false, bool ownsAtlas = false); + void initWithData (SkeletonData* skeletonData, bool ownsSkeletonData = false); + void initWithJsonFile (const std::string& skeletonDataFile, Atlas* atlas, float scale = 1); + void initWithJsonFile (const std::string& skeletonDataFile, const std::string& atlasFile, float scale = 1); + void initWithBinaryFile (const std::string& skeletonDataFile, Atlas* atlas, float scale = 1); + void initWithBinaryFile (const std::string& skeletonDataFile, const std::string& atlasFile, float scale = 1); + + virtual void initialize (); + + protected: + void setSkeletonData (SkeletonData* skeletonData, bool ownsSkeletonData); + + bool _ownsSkeletonData = false; + bool _ownsSkeleton = false; + bool _ownsAtlas = false; + Atlas* _atlas = nullptr; + AttachmentLoader* _attachmentLoader = nullptr; + Skeleton* _skeleton = nullptr; + VertexEffectDelegate* _effectDelegate = nullptr; + float _timeScale = 1; + bool _paused = false; + + bool _batch = false; + bool _debugMesh = false; + bool _debugSlots = false; + bool _debugBones = false; + cocos2d::Color4F _nodeColor = cocos2d::Color4F::WHITE; + bool _premultipliedAlpha = false; + SkeletonClipping* _clipper = nullptr; + bool _useTint = false; + std::string _uuid = ""; + + int _startSlotIndex = -1; + int _endSlotIndex = -1; + + cocos2d::middleware::IOTypedArray* _debugBuffer = nullptr; + cocos2d::renderer::NodeProxy* _nodeProxy = nullptr; + cocos2d::renderer::Effect* _effect = nullptr; + }; + +} diff --git a/native/cocos/editor-support/spine-creator-support/spine-cocos2dx.h b/native/cocos/editor-support/spine-creator-support/spine-cocos2dx.h index 2860e6c233..c459299bce 100644 --- a/native/cocos/editor-support/spine-creator-support/spine-cocos2dx.h +++ b/native/cocos/editor-support/spine-creator-support/spine-cocos2dx.h @@ -32,6 +32,7 @@ #include "spine/spine.h" #include "spine-creator-support/SkeletonRenderer.h" #include "spine-creator-support/SkeletonAnimation.h" +#include "spine-creator-support/SkeletonDataMgr.h" #include "middleware-adapter.h" namespace spine { diff --git a/native/cocos/editor-support/spine/extension.h b/native/cocos/editor-support/spine/extension.h deleted file mode 100644 index 95d9cd9fea..0000000000 --- a/native/cocos/editor-support/spine/extension.h +++ /dev/null @@ -1,118 +0,0 @@ -/****************************************************************************** - * Spine Runtimes Software License v2.5 - * - * Copyright (c) 2013-2016, Esoteric Software - * All rights reserved. - * - * You are granted a perpetual, non-exclusive, non-sublicensable, and - * non-transferable license to use, install, execute, and perform the Spine - * Runtimes software and derivative works solely for personal or internal - * use. Without the written permission of Esoteric Software (see Section 2 of - * the Spine Software License Agreement), you may not (a) modify, translate, - * adapt, or develop new applications using the Spine Runtimes or otherwise - * create derivative works or improvements of the Spine Runtimes or (b) remove, - * delete, alter, or obscure any trademarks or any copyright, trademark, patent, - * or other intellectual property or proprietary rights notices on or in the - * Software, including any copy thereof. Redistributions in binary or source - * form must include this license and terms. - * - * THIS SOFTWARE IS PROVIDED BY ESOTERIC SOFTWARE "AS IS" AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF - * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO - * EVENT SHALL ESOTERIC SOFTWARE BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, - * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES, BUSINESS INTERRUPTION, OR LOSS OF - * USE, DATA, OR PROFITS) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER - * IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE - * POSSIBILITY OF SUCH DAMAGE. - *****************************************************************************/ - -#ifndef Spine_Extension_h -#define Spine_Extension_h - -#include -#include - -#define SP_UNUSED(x) (void)(x) - -namespace spine { -class String; - -class SP_API SpineExtension { -public: - template - static T *alloc(size_t num, const char *file, int line) { - return (T *) getInstance()->_alloc(sizeof(T) * num, file, line); - } - - template - static T *calloc(size_t num, const char *file, int line) { - return (T *) getInstance()->_calloc(sizeof(T) * num, file, line); - } - - template - static T *realloc(T *ptr, size_t num, const char *file, int line) { - return (T *) getInstance()->_realloc(ptr, sizeof(T) * num, file, line); - } - - template - static void free(T *ptr, const char *file, int line) { - getInstance()->_free((void *) ptr, file, line); - } - - static char *readFile(const String &path, int *length) { - return getInstance()->_readFile(path, length); - } - - static void setInstance(SpineExtension *inSpineExtension); - - static SpineExtension *getInstance(); - - virtual ~SpineExtension(); - - /// Implement this function to use your own memory allocator - virtual void *_alloc(size_t size, const char *file, int line) = 0; - - virtual void *_calloc(size_t size, const char *file, int line) = 0; - - virtual void *_realloc(void *ptr, size_t size, const char *file, int line) = 0; - - /// If you provide a spineAllocFunc, you should also provide a spineFreeFunc - virtual void _free(void *mem, const char *file, int line) = 0; - - virtual char *_readFile(const String &path, int *length) = 0; - -protected: - SpineExtension(); - -private: - static SpineExtension *_instance; -}; - -class SP_API DefaultSpineExtension : public SpineExtension { -public: - DefaultSpineExtension(); - - virtual ~DefaultSpineExtension(); - -protected: - virtual void *_alloc(size_t size, const char *file, int line); - - virtual void *_calloc(size_t size, const char *file, int line); - - virtual void *_realloc(void *ptr, size_t size, const char *file, int line); - - virtual void _free(void *mem, const char *file, int line); - - virtual char *_readFile(const String &path, int *length); -}; - -// This function is to be implemented by engine specific runtimes to provide -// the default extension for that engine. It is called the first time -// SpineExtension::getInstance() is called, when no instance has been set -// yet. -extern SpineExtension *getDefaultExtension(); -} - -#endif /* Spine_Extension_h */ diff --git a/native/cocos/math/CCMath.h b/native/cocos/math/CCMath.h index 2a8b7807a2..8d7563a818 100644 --- a/native/cocos/math/CCMath.h +++ b/native/cocos/math/CCMath.h @@ -31,5 +31,6 @@ #include "math/Vec4.h" #include "math/Mat4.h" #include "math/Quaternion.h" +#include "math/Mat3.hpp" #endif diff --git a/native/cocos/math/Mat3.cpp b/native/cocos/math/Mat3.cpp new file mode 100644 index 0000000000..b3d8994711 --- /dev/null +++ b/native/cocos/math/Mat3.cpp @@ -0,0 +1,375 @@ +/**************************************************************************** + Copyright (c) 2018 Xiamen Yaji Software Co., Ltd. + + http://www.cocos2d-x.org + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. + ****************************************************************************/ + +#include "math/Mat3.hpp" + +#include +#include "math/Quaternion.h" +#include "math/MathUtil.h" +#include "base/ccMacros.h" + +NS_CC_MATH_BEGIN + +Mat3::Mat3() +{ + *this = IDENTITY; +} + +Mat3::Mat3(float m11, float m12, float m13, float m21, float m22, float m23, + float m31, float m32, float m33) +{ + set(m11, m12, m13, m21, m22, m23, m31, m32, m33); +} + +Mat3::Mat3(const float* mat) +{ + set(mat); +} + +Mat3::Mat3(const Mat3& copy) +{ + memcpy(m, copy.m, MATRIX3_SIZE); +} + +Mat3::~Mat3() +{ +} + +void Mat3::set(float m11, float m12, float m13, float m21, float m22, float m23, float m31, float m32, float m33) +{ + m[0] = m11; + m[1] = m21; + m[2] = m31; + m[3] = m12; + m[4] = m22; + m[5] = m32; + m[6] = m13; + m[7] = m23; + m[8] = m33; +} + +void Mat3::set(const float* mat) +{ + GP_ASSERT(mat); + memcpy(this->m, mat, MATRIX3_SIZE); +} + +void Mat3::set(const Mat3& mat) +{ + memcpy(this->m, mat.m, MATRIX3_SIZE); +} + +void Mat3::identity(Mat3& mat) +{ + mat.m[0] = 1; + mat.m[1] = 0; + mat.m[2] = 0; + mat.m[3] = 0; + mat.m[4] = 1; + mat.m[5] = 0; + mat.m[6] = 0; + mat.m[7] = 0; + mat.m[8] = 1; +} + +void Mat3::transpose() +{ + float a01 = m[1], a02 = m[2], a12 = m[5]; + m[1] = m[3]; + m[2] = m[6]; + m[3] = a01; + m[5] = m[7]; + m[6] = a02; + m[7] = a12; +} + +void Mat3::transpose(Mat3 &out, const Mat3 &mat) +{ + out.m[0] = mat.m[0]; + out.m[1] = mat.m[3]; + out.m[2] = mat.m[6]; + out.m[3] = mat.m[1]; + out.m[4] = mat.m[4]; + out.m[5] = mat.m[7]; + out.m[6] = mat.m[2]; + out.m[7] = mat.m[5]; + out.m[8] = mat.m[8]; +} + +void Mat3::inverse() +{ + float a00 = m[0], a01 = m[1], a02 = m[2]; + float a10 = m[3], a11 = m[4], a12 = m[5]; + float a20 = m[6], a21 = m[7], a22 = m[8]; + + float b01 = a22 * a11 - a12 * a21; + float b11 = -a22 * a10 + a12 * a20; + float b21 = a21 * a10 - a11 * a20; + + // Calculate the determinant + float det = a00 * b01 + a01 * b11 + a02 * b21; + + det = 1.0 / det; + m[0] = b01 * det; + m[1] = (-a22 * a01 + a02 * a21) * det; + m[2] = (a12 * a01 - a02 * a11) * det; + m[3] = b11 * det; + m[4] = (a22 * a00 - a02 * a20) * det; + m[5] = (-a12 * a00 + a02 * a10) * det; + m[6] = b21 * det; + m[7] = (-a21 * a00 + a01 * a20) * det; + m[8] = (a11 * a00 - a01 * a10) * det; +} + +void Mat3::adjoint(Mat3 &out, const Mat3 &mat) +{ + float a00 = mat.m[0], a01 = mat.m[1], a02 = mat.m[2]; + float a10 = mat.m[3], a11 = mat.m[4], a12 = mat.m[5]; + float a20 = mat.m[6], a21 = mat.m[7], a22 = mat.m[8]; + + out.m[0] = (a11 * a22 - a12 * a21); + out.m[1] = (a02 * a21 - a01 * a22); + out.m[2] = (a01 * a12 - a02 * a11); + out.m[3] = (a12 * a20 - a10 * a22); + out.m[4] = (a00 * a22 - a02 * a20); + out.m[5] = (a02 * a10 - a00 * a12); + out.m[6] = (a10 * a21 - a11 * a20); + out.m[7] = (a01 * a20 - a00 * a21); + out.m[8] = (a00 * a11 - a01 * a10); +} + +float Mat3::determinant() +{ + return m[0] * (m[8] * m[4] - m[5] * m[7]) + m[1] * (-m[8] * m[3] + m[5] * m[6]) + m[2] * (m[7] * m[3] - m[4] * m[6]); +} + +void Mat3::multiply(Mat3 &out, const Mat3 &a, const Mat3 &b) +{ + float a00 = a.m[0], a01 = a.m[1], a02 = a.m[2]; + float a10 = a.m[3], a11 = a.m[4], a12 = a.m[5]; + float a20 = a.m[6], a21 = a.m[7], a22 = a.m[8]; + + float b00 = b.m[0], b01 = b.m[1], b02 = b.m[2]; + float b10 = b.m[3], b11 = b.m[4], b12 = b.m[5]; + float b20 = b.m[6], b21 = b.m[7], b22 = b.m[8]; + + out.m[0] = b00 * a00 + b01 * a10 + b02 * a20; + out.m[1] = b00 * a01 + b01 * a11 + b02 * a21; + out.m[2] = b00 * a02 + b01 * a12 + b02 * a22; + + out.m[3] = b10 * a00 + b11 * a10 + b12 * a20; + out.m[4] = b10 * a01 + b11 * a11 + b12 * a21; + out.m[5] = b10 * a02 + b11 * a12 + b12 * a22; + + out.m[6] = b20 * a00 + b21 * a10 + b22 * a20; + out.m[7] = b20 * a01 + b21 * a11 + b22 * a21; + out.m[8] = b20 * a02 + b21 * a12 + b22 * a22; +} + +void Mat3::translate(Mat3 &out, const Mat3 &mat, const Vec2 &vec) +{ + float a00 = mat.m[0], a01 = mat.m[1], a02 = mat.m[2]; + float a10 = mat.m[3], a11 = mat.m[4], a12 = mat.m[5]; + float a20 = mat.m[6], a21 = mat.m[7], a22 = mat.m[8]; + float x = vec.x, y = vec.y; + + out.m[0] = a00; + out.m[1] = a01; + out.m[2] = a02; + + out.m[3] = a10; + out.m[4] = a11; + out.m[5] = a12; + + out.m[6] = x * a00 + y * a10 + a20; + out.m[7] = x * a01 + y * a11 + a21; + out.m[8] = x * a02 + y * a12 + a22; +} + +void Mat3::rotate(Mat3 &out, const Mat3 &mat, float rad) +{ + float a00 = mat.m[0], a01 = mat.m[1], a02 = mat.m[2]; + float a10 = mat.m[3], a11 = mat.m[4], a12 = mat.m[5]; + float a20 = mat.m[6], a21 = mat.m[7], a22 = mat.m[8]; + + float s = sin(rad); + float c = cos(rad); + + out.m[0] = c * a00 + s * a10; + out.m[1] = c * a01 + s * a11; + out.m[2] = c * a02 + s * a12; + + out.m[3] = c * a10 - s * a00; + out.m[4] = c * a11 - s * a01; + out.m[5] = c * a12 - s * a02; + + out.m[6] = a20; + out.m[7] = a21; + out.m[8] = a22; +} + +void Mat3::scale(Mat3 &out, const Mat3 &mat, const Vec2 &vec) +{ + float x = vec.x, y = vec.y; + + out.m[0] = x * mat.m[0]; + out.m[1] = x * mat.m[1]; + out.m[2] = x * mat.m[2]; + + out.m[3] = y * mat.m[3]; + out.m[4] = y * mat.m[4]; + out.m[5] = y * mat.m[5]; + + out.m[6] = mat.m[6]; + out.m[7] = mat.m[7]; + out.m[8] = mat.m[8]; +} + +void Mat3::fromMat4(Mat3 &out, const Mat4 &mat) +{ + out.m[0] = mat.m[0]; + out.m[1] = mat.m[1]; + out.m[2] = mat.m[2]; + out.m[3] = mat.m[4]; + out.m[4] = mat.m[5]; + out.m[5] = mat.m[6]; + out.m[6] = mat.m[8]; + out.m[7] = mat.m[9]; + out.m[8] = mat.m[10]; +} + +void Mat3::fromTranslation(Mat3 &out, const Vec2 &vec) +{ + out.m[0] = 1; + out.m[1] = 0; + out.m[2] = 0; + out.m[3] = 0; + out.m[4] = 1; + out.m[5] = 0; + out.m[6] = vec.x; + out.m[7] = vec.y; + out.m[8] = 1; +} + +void Mat3::fromRotation(Mat3 &out, float rad) +{ + float s = sin(rad); + float c = cos(rad); + + out.m[0] = c; + out.m[1] = s; + out.m[2] = 0; + + out.m[3] = -s; + out.m[4] = c; + out.m[5] = 0; + + out.m[6] = 0; + out.m[7] = 0; + out.m[8] = 1; +} + +void Mat3::fromScaling(Mat3 &out, const Vec2 &vec) +{ + out.m[0] = vec.x; + out.m[1] = 0; + out.m[2] = 0; + + out.m[3] = 0; + out.m[4] = vec.y; + out.m[5] = 0; + + out.m[6] = 0; + out.m[7] = 0; + out.m[8] = 1; +} + +void Mat3::fromQuat(Mat3 &out, const Quaternion &quat) +{ + float x = quat.x, y = quat.y, z = quat.z, w = quat.w; + float x2 = x + x; + float y2 = y + y; + float z2 = z + z; + + float xx = x * x2; + float yx = y * x2; + float yy = y * y2; + float zx = z * x2; + float zy = z * y2; + float zz = z * z2; + float wx = w * x2; + float wy = w * y2; + float wz = w * z2; + + out.m[0] = 1 - yy - zz; + out.m[3] = yx - wz; + out.m[6] = zx + wy; + + out.m[1] = yx + wz; + out.m[4] = 1 - xx - zz; + out.m[7] = zy - wx; + + out.m[2] = zx - wy; + out.m[5] = zy + wx; + out.m[8] = 1 - xx - yy; +} + +void Mat3::add(Mat3 &out, const Mat3 &a, const Mat3 &b) +{ + out.m[0] = a.m[0] + b.m[0]; + out.m[1] = a.m[1] + b.m[1]; + out.m[2] = a.m[2] + b.m[2]; + out.m[3] = a.m[3] + b.m[3]; + out.m[4] = a.m[4] + b.m[4]; + out.m[5] = a.m[5] + b.m[5]; + out.m[6] = a.m[6] + b.m[6]; + out.m[7] = a.m[7] + b.m[7]; + out.m[8] = a.m[8] + b.m[8]; +} + +void Mat3::subtract(Mat3 &out, const Mat3 &a, const Mat3 &b) +{ + out.m[0] = a.m[0] - b.m[0]; + out.m[1] = a.m[1] - b.m[1]; + out.m[2] = a.m[2] - b.m[2]; + out.m[3] = a.m[3] - b.m[3]; + out.m[4] = a.m[4] - b.m[4]; + out.m[5] = a.m[5] - b.m[5]; + out.m[6] = a.m[6] - b.m[6]; + out.m[7] = a.m[7] - b.m[7]; + out.m[8] = a.m[8] - b.m[8]; +} + +const Mat3 Mat3::IDENTITY = Mat3( + 1.0f, 0.0f, 0.0f, + 0.0f, 1.0f, 0.0f, + 0.0f, 0.0f, 1.0f); + +const Mat3 Mat3::ZERO = Mat3( + 0, 0, 0, + 0, 0, 0, + 0, 0, 0); + +NS_CC_MATH_END + diff --git a/native/cocos/math/Mat3.hpp b/native/cocos/math/Mat3.hpp new file mode 100644 index 0000000000..098087f445 --- /dev/null +++ b/native/cocos/math/Mat3.hpp @@ -0,0 +1,232 @@ +/**************************************************************************** + Copyright (c) 2018 Xiamen Yaji Software Co., Ltd. + + http://www.cocos2d-x.org + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. + ****************************************************************************/ + +#ifndef MATH_MAT3_H +#define MATH_MAT3_H + +#define MATRIX3_SIZE ( sizeof(float) * 9) + +#include "base/ccMacros.h" + +#include "math/Vec2.h" +#include "math/Vec3.h" +#include "math/Vec4.h" +#include "math/Mat4.h" + +/** + * @addtogroup base + * @{ + */ + +NS_CC_MATH_BEGIN + +class CC_DLL Mat3 +{ +public: + /** + * Stores the columns of this 3x3 matrix. + * */ + float m[9]; + + /** + * Default constructor. + * Constructs a matrix initialized to the identity matrix: + * + * 1 0 0 + * 0 1 0 + * 0 0 1 + */ + Mat3(); + + /** + * Constructs a matrix initialized to the specified value. + * + * @param m11 The first element of the first row. + * @param m12 The second element of the first row. + * @param m13 The third element of the first row. + * @param m21 The first element of the second row. + * @param m22 The second element of the second row. + * @param m23 The third element of the second row. + * @param m31 The first element of the third row. + * @param m32 The second element of the third row. + * @param m33 The third element of the third row. + */ + Mat3(float m11, float m12, float m13, float m21, float m22, float m23, float m31, float m32, float m33); + + /** + * Creates a matrix initialized to the specified column-major array. + * + * The passed-in array is in column-major order, so the memory layout of the array is as follows: + * + * 0 3 6 + * 1 4 7 + * 2 5 8 + * + * @param mat An array containing 16 elements in column-major order. + */ + Mat3(const float* mat); + + /** + * Constructs a new matrix by copying the values from the specified matrix. + * + * @param copy The matrix to copy. + */ + Mat3(const Mat3& copy); + + /** + * Destructor. + */ + ~Mat3(); + + /** + * Sets the values of this matrix. + * + * @param m11 The first element of the first row. + * @param m12 The second element of the first row. + * @param m13 The third element of the first row. + * @param m21 The first element of the second row. + * @param m22 The second element of the second row. + * @param m23 The third element of the second row. + * @param m31 The first element of the third row. + * @param m32 The second element of the third row. + * @param m33 The third element of the third row. + */ + void set(float m11, float m12, float m13, float m21, float m22, float m23, + float m31, float m32, float m33); + + /** + * Sets the values of this matrix to those in the specified column-major array. + * + * @param mat An array containing 9 elements in column-major format. + */ + void set(const float* mat); + + /** + * Sets the values of this matrix to those of the specified matrix. + * + * @param mat The source matrix. + */ + void set(const Mat3& mat); + + /** + * return an identity matrix. + */ + static void identity(Mat3& mat); + + /** + * Transposes matrix. + */ + void transpose(); + + /** + * Transposes a matrix. + */ + static void transpose(Mat3& out, const Mat3& mat); + + /** + * Inverts a matrix. + */ + void inverse(); + + /** + * Calculates the adjugate of a matrix. + */ + static void adjoint(Mat3& out, const Mat3& mat); + + /** + * Calculates the determinant of a matrix. + */ + float determinant(); + + /** + * Multiply two matrices explicitly. + */ + static void multiply(Mat3& out, const Mat3& a, const Mat3& b); + + /** + * Multiply a matrix with a translation matrix given by a translation offset. + */ + static void translate(Mat3& out, const Mat3& mat, const Vec2& vec); + + /** + * Rotates a matrix by the given angle. + */ + static void rotate(Mat3& out, const Mat3& mat, float rad); + + /** + * Multiply a matrix with a scale matrix given by a scale vector. + */ + static void scale(Mat3& out, const Mat3& mat, const Vec2& vec); + + /** + * Copies the upper-left 3x3 values of a 4x4 matrix into a 3x3 matrix. + */ + static void fromMat4(Mat3& out, const Mat4& mat); + + /** + * Creates a matrix from a translation offset. + */ + static void fromTranslation(Mat3& out, const Vec2& vec); + + /** + * Creates a matrix from a given angle. + */ + static void fromRotation(Mat3& out, float rad); + + /** + * Creates a matrix from a scale vector. + */ + static void fromScaling(Mat3& out, const Vec2& vec); + + /** + * Calculates a 3x3 matrix from the given quaternion. + */ + + static void fromQuat(Mat3& out, const Quaternion& quat); + + /** + * Adds two matrices. + */ + static void add(Mat3& out, const Mat3& a, const Mat3& b); + + /** + * Subtracts matrix b from matrix a. + */ + static void subtract(Mat3& out, const Mat3& a, const Mat3& b); + + /** equals to a matrix full of zeros */ + static const Mat3 ZERO; + /** equals to the identity matrix */ + static const Mat3 IDENTITY; +}; + +NS_CC_MATH_END + +/** + end of base group + @} + */ + +#endif + diff --git a/native/cocos/math/Vec3.cpp b/native/cocos/math/Vec3.cpp index 04d387b858..e4e66830c1 100644 --- a/native/cocos/math/Vec3.cpp +++ b/native/cocos/math/Vec3.cpp @@ -21,8 +21,10 @@ */ #include "math/Vec3.h" +#include "math/Mat3.hpp" #include "math/MathUtil.h" #include "base/ccMacros.h" +#include "math/Quaternion.h" NS_CC_MATH_BEGIN @@ -153,6 +155,44 @@ void Vec3::cross(const Vec3& v1, const Vec3& v2, Vec3* dst) MathUtil::crossVec3(&v1.x, &v2.x, &dst->x); } +void Vec3::multiply(const Vec3& v) +{ + x *= v.x; + y *= v.y; + z *= v.z; +} + +void Vec3::multiply(const Vec3& v1, const Vec3& v2, Vec3* dst) +{ + dst->x = v1.x * v2.x; + dst->y = v1.y * v2.y; + dst->z = v1.z * v2.z; +} + +void Vec3::transformMat3(const Vec3& v, const Mat3 &m) +{ + float ix = v.x, iy = v.y, iz = v.z; + x = ix * m.m[0] + iy * m.m[3] + iz * m.m[6]; + y = ix * m.m[1] + iy * m.m[4] + iz * m.m[7]; + z = ix * m.m[2] + iy * m.m[5] + iz * m.m[8]; +} + +void Vec3::transformQuat(const Quaternion& q) +{ + float qx = q.x, qy = q.y, qz = q.z, qw = q.w; + + // calculate quat * vec + float ix = qw * x + qy * z - qz * y; + float iy = qw * y + qz * x - qx * z; + float iz = qw * z + qx * y - qy * x; + float iw = -qx * x - qy * y - qz * z; + + // calculate result * inverse quat + x = ix * qw + iw * -qx + iy * -qz - iz * -qy; + y = iy * qw + iw * -qy + iz * -qx - ix * -qz; + z = iz * qw + iw * -qz + ix * -qy - iy * -qx; +} + float Vec3::distance(const Vec3& v) const { float dx = v.x - x; diff --git a/native/cocos/math/Vec3.h b/native/cocos/math/Vec3.h index b1fe923114..da12cb0b0a 100644 --- a/native/cocos/math/Vec3.h +++ b/native/cocos/math/Vec3.h @@ -35,6 +35,7 @@ NS_CC_MATH_BEGIN class Mat4; class Quaternion; +class Mat3; /** * Defines a 3-element floating point vector. @@ -199,6 +200,36 @@ public: * @param dst A vector to store the result in. */ static void cross(const Vec3& v1, const Vec3& v2, Vec3* dst); + + /** + * Multiply the elements of the specified vector to this one. + * + * @param v The vector to multiply. + */ + void multiply(const Vec3& v); + + /** + * Multiply the specified vectors and stores the result in dst. + * + * @param v1 The first vector. + * @param v2 The second vector. + * @param dst A vector to store the result in. + */ + static void multiply(const Vec3& v1, const Vec3& v2, Vec3* dst); + + /** + * Transforms this vector by the specified Mat3 and stores the result in this vector. + * + * @param v The Vec3 to transform. + * @param m The matrix. + */ + void transformMat3(const Vec3& v, const Mat3& m); + /** + * Transforms this vector by the specified quaternion and stores the result in this vector. + * + * @param q The quaternion to multiply. + */ + void transformQuat(const Quaternion& q); /** * Returns the distance between this vector and v. diff --git a/native/cocos/renderer/gfx/DeviceGraphics.cpp b/native/cocos/renderer/gfx/DeviceGraphics.cpp index b646138a6d..5f0839b663 100644 --- a/native/cocos/renderer/gfx/DeviceGraphics.cpp +++ b/native/cocos/renderer/gfx/DeviceGraphics.cpp @@ -284,14 +284,14 @@ void DeviceGraphics::setBlendColor(uint8_t r, uint8_t g, uint8_t b, uint8_t a) void DeviceGraphics::setBlendFunc(BlendFactor src, BlendFactor dst) { - _nextState.blendSepartion = false; + _nextState.blendSeparation = false; _nextState.blendSrc = src; _nextState.blendDst = dst; } void DeviceGraphics::setBlendFuncSeparate(BlendFactor srcRGB, BlendFactor dstRGB, BlendFactor srcAlpha, BlendFactor dstAlpha) { - _nextState.blendSepartion = true; + _nextState.blendSeparation = true; _nextState.blendSrc = srcRGB; _nextState.blendDst = dstRGB; _nextState.blendSrcAlpha = srcAlpha; @@ -300,13 +300,13 @@ void DeviceGraphics::setBlendFuncSeparate(BlendFactor srcRGB, BlendFactor dstRGB void DeviceGraphics::setBlendEquation(BlendOp mode) { - _nextState.blendSepartion = false; + _nextState.blendSeparation = false; _nextState.blendEq = mode; } void DeviceGraphics::setBlendEquationSeparate(BlendOp modeRGB, BlendOp modeAlpha) { - _nextState.blendSepartion = true; + _nextState.blendSeparation = true; _nextState.blendEq = modeRGB; _nextState.blendAlphaEq = modeAlpha; } @@ -431,6 +431,7 @@ void DeviceGraphics::draw(size_t base, GLsizei count) GL_CHECK(glDrawArrays(ENUM_CLASS_TO_GLENUM(_nextState.primitiveType), (GLint)base, count)); } + _drawCalls++; _currentState = std::move(_nextState); } @@ -680,7 +681,7 @@ void DeviceGraphics::commitBlendStates() } - if (_nextState.blendSepartion) + if (_nextState.blendSeparation) { GL_CHECK(glBlendFuncSeparate(ENUM_CLASS_TO_GLENUM(_nextState.blendSrc), ENUM_CLASS_TO_GLENUM(_nextState.blendDst), @@ -708,9 +709,9 @@ void DeviceGraphics::commitBlendStates() (_nextState.blendColor >> 8 & 0xff) / 255.f, (_nextState.blendColor & 0xff) / 255.f); - if (_currentState.blendSepartion != _nextState.blendSepartion) + if (_currentState.blendSeparation != _nextState.blendSeparation) { - if (_nextState.blendSepartion) + if (_nextState.blendSeparation) { GL_CHECK(glBlendFuncSeparate(ENUM_CLASS_TO_GLENUM(_nextState.blendSrc), ENUM_CLASS_TO_GLENUM(_nextState.blendDst), @@ -729,7 +730,7 @@ void DeviceGraphics::commitBlendStates() return; } - if (_nextState.blendSepartion) + if (_nextState.blendSeparation) { if (_currentState.blendSrc != _nextState.blendSrc || _currentState.blendDst != _nextState.blendDst || @@ -1031,8 +1032,8 @@ void DeviceGraphics::commitVertexBuffer() for (int j = 0; j < usedAttriLen; ++j) { const auto& attr = attributes[j]; - const auto& el = vb->getFormat().getElement(attr.name); - if (!el.isValid()) + const auto* el = vb->getFormat().getElement(attr.name); + if (!el || !el->isValid()) { RENDERER_LOGW("Can not find vertex attribute: %s", attr.name.c_str()); continue; @@ -1047,11 +1048,11 @@ void DeviceGraphics::commitVertexBuffer() // glVertexAttribPointer (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *pointer); GL_CHECK(ccVertexAttribPointer(attr.location, - el.num, - ENUM_CLASS_TO_GLENUM(el.type), - el.normalize, - el.stride, - (GLvoid*)(el.offset + vboffset * el.stride))); + el->num, + ENUM_CLASS_TO_GLENUM(el->type), + el->normalize, + el->stride, + (GLvoid*)(el->offset + vboffset * el->stride))); } } @@ -1093,13 +1094,11 @@ void DeviceGraphics::commitTextures() // DeviceGraphics::Uniform::Uniform() : dirty(true) -, value(nullptr) , elementType(UniformElementType::FLOAT) {} DeviceGraphics::Uniform::Uniform(const void* v, size_t bytes, UniformElementType elementType_) : dirty(true) -, value(nullptr) , elementType(elementType_) { setValue(v, bytes); diff --git a/native/cocos/renderer/gfx/DeviceGraphics.h b/native/cocos/renderer/gfx/DeviceGraphics.h index d37a51aecd..14ecae36c0 100644 --- a/native/cocos/renderer/gfx/DeviceGraphics.h +++ b/native/cocos/renderer/gfx/DeviceGraphics.h @@ -38,7 +38,6 @@ #include "../Types.h" #include "State.h" - RENDERER_BEGIN class FrameBuffer; @@ -47,6 +46,15 @@ class IndexBuffer; class Program; class Texture; +/** + * @addtogroup gfx + * @{ + */ + +/** + * DeviceGraphics is a direct abstraction for OpenGL APIs. + * This fundamental class takes responsibility for all GL states management and GL call invocations. + */ class DeviceGraphics final : public Ref { public: @@ -60,84 +68,18 @@ public: int maxColorAttatchments; }; - static DeviceGraphics* getInstance(); - - inline const Capacity& getCapacity() const { return _caps; } - bool supportGLExtension(const std::string& extension) const; - - void setFrameBuffer(const FrameBuffer* fb); - void setViewport(int x, int y, int w, int h); - void setScissor(int x, int y, int w, int h); - - void clear(uint8_t flags, Color4F *color, double depth, int32_t stencil); - - void enableBlend(); - void enableDepthTest(); - void enableDepthWrite(); - void enableStencilTest(); - - void setStencilFunc(StencilFunc func, int ref, unsigned int mask); - void setStencilFuncFront(StencilFunc func, int ref, unsigned int mask); - void setStencilFuncBack(StencilFunc func, int ref, unsigned int mask); - - void setStencilOp(StencilOp failOp, StencilOp zFailOp, StencilOp zPassOp, unsigned int writeMask); - void setStencilOpFront(StencilOp failOp, StencilOp zFailOp, StencilOp zPassOp, unsigned int writeMask); - void setStencilOpBack(StencilOp failOp, StencilOp zFailOp, StencilOp zPassOp, unsigned int writeMask); - - void setDepthFunc(DepthFunc func); - - void setBlendColor(uint32_t rgba); - void setBlendColor(uint8_t r, uint8_t g, uint8_t b, uint8_t a); - void setBlendFunc(BlendFactor src, BlendFactor dst); - void setBlendFuncSeparate(BlendFactor srcRGB, BlendFactor dstRGB, BlendFactor srcAlpha, BlendFactor dstAlpha); - void setBlendEquation(BlendOp mode); - void setBlendEquationSeparate(BlendOp modeRGB, BlendOp modeAlpha); - - void setCullMode(CullMode mode); - - void setVertexBuffer(int stream, VertexBuffer* buffer, int start = 0); - void setIndexBuffer(IndexBuffer *buffer); - void setProgram(Program *program); - void setTexture(const std::string& name, Texture* texture, int slot); - void setTextureArray(const std::string& name, const std::vector& textures, const std::vector& slots); - - void setUniformi(const std::string& name, int i1); - void setUniformi(const std::string& name, int i1, int i2); - void setUniformi(const std::string& name, int i1, int i2, int i3); - void setUniformi(const std::string& name, int i1, int i2, int i3, int i4); - void setUniformiv(const std::string& name, size_t count, const int* value); - void setUniformf(const std::string& name, float f1); - void setUniformf(const std::string& name, float f1, float f2); - void setUniformf(const std::string& name, float f1, float f2, float f3); - void setUniformf(const std::string& name, float f1, float f2, float f3, float f4); - void setUniformfv(const std::string& name, size_t count, const float* value); - void setUniformVec2(const std::string& name, const cocos2d::Vec2& value); - void setUniformVec3(const std::string& name, const cocos2d::Vec3& value); - void setUniformVec4(const std::string& name, const cocos2d::Vec4& value); - void setUniformMat2(const std::string& name, float* value); - void setUniformMat3(const std::string& name, float* value); - void setUniformMat4(const std::string& name, float* value); - void setUniformMat4(const std::string& name, const cocos2d::Mat4& value); - void setUniform(const std::string& name, const void* v, size_t bytes, UniformElementType elementType); - - void setPrimitiveType(PrimitiveType type); - - void draw(size_t base, GLsizei count); - -private: - struct Uniform { Uniform(const void* v, size_t bytes, UniformElementType elementType_); Uniform(Uniform&& h); Uniform(); ~Uniform(); - + Uniform& operator=(Uniform&& h); - + void setValue(const void* v, size_t bytes); - - void* value; + + void* value = nullptr; bool dirty; UniformElementType elementType; private: @@ -145,6 +87,229 @@ private: Uniform& operator=(const Uniform& o); }; + /** + * Returns a shared instance of the director. + */ + static DeviceGraphics* getInstance(); + + /** + * Checks whether a gl extension is supported + */ + bool supportGLExtension(const std::string& extension) const; + + /** + * Sets the target FrameBuffer + */ + void setFrameBuffer(const FrameBuffer* fb); + /** + * Sets viewport with x, y, width and height + */ + void setViewport(int x, int y, int w, int h); + /** + * Sets scissor clipping area + */ + void setScissor(int x, int y, int w, int h); + + /** + * Clear with flags, including color, depth and stencil, + * you should also specify the color, depth and stencil value to use. + */ + void clear(uint8_t flags, Color4F *color, double depth, int32_t stencil); + + /** + * Enables blend in GL state + */ + void enableBlend(); + /** + * Enables depth test in GL state + */ + void enableDepthTest(); + /** + * Enables depth write in GL state + */ + void enableDepthWrite(); + /** + * Enables stencil test in GL state + */ + void enableStencilTest(); + + /** + * Sets both the front and back function and reference value for stencil testing + */ + void setStencilFunc(StencilFunc func, int ref, unsigned int mask); + /** + * Sets the front function and reference value for stencil testing + */ + void setStencilFuncFront(StencilFunc func, int ref, unsigned int mask); + /** + * Sets the back function and reference value for stencil testing + */ + void setStencilFuncBack(StencilFunc func, int ref, unsigned int mask); + + /** + * Sets both the front and back-facing stencil test actions + */ + void setStencilOp(StencilOp failOp, StencilOp zFailOp, StencilOp zPassOp, unsigned int writeMask); + /** + * Sets the front stencil test actions + */ + void setStencilOpFront(StencilOp failOp, StencilOp zFailOp, StencilOp zPassOp, unsigned int writeMask); + /** + * Sets the back stencil test actions + */ + void setStencilOpBack(StencilOp failOp, StencilOp zFailOp, StencilOp zPassOp, unsigned int writeMask); + + /** + * Specifies the depth comparison function, which sets the conditions under which the pixel will be drawn. + */ + void setDepthFunc(DepthFunc func); + + /** + * Sets the source and destination blending factors with all channel packed into a 32bit unsigned int + */ + void setBlendColor(uint32_t rgba); + /** + * Sets the source and destination blending factors with separate color channel values + */ + void setBlendColor(uint8_t r, uint8_t g, uint8_t b, uint8_t a); + /** + * Sets which function is used for blending pixel arithmetic + */ + void setBlendFunc(BlendFactor src, BlendFactor dst); + /** + * Sets which function is used for blending pixel arithmetic for RGB and alpha components separately + */ + void setBlendFuncSeparate(BlendFactor srcRGB, BlendFactor dstRGB, BlendFactor srcAlpha, BlendFactor dstAlpha); + /** + * Sets both the RGB blend equation and alpha blend equation to a single equation. + */ + void setBlendEquation(BlendOp mode); + /** + * Sets the RGB blend equation and alpha blend equation separately. + */ + void setBlendEquationSeparate(BlendOp modeRGB, BlendOp modeAlpha); + + /** + * Specifies whether or not front and/or back-facing polygons can be culled. + */ + void setCullMode(CullMode mode); + + /** + * Sets the vertex buffer + */ + void setVertexBuffer(int stream, VertexBuffer* buffer, int start = 0); + /** + * Sets the index buffer + */ + void setIndexBuffer(IndexBuffer *buffer); + /** + * Sets a linked program + */ + void setProgram(Program *program); + /** + * Sets a texture into a GL texture slot then set to the specified uniform + */ + void setTexture(const std::string& name, Texture* texture, int slot); + /** + * Sets textures array into GL texture slots then set to the specified uniform + */ + void setTextureArray(const std::string& name, const std::vector& textures, const std::vector& slots); + + /** + * Sets a integer to the specified uniform + */ + void setUniformi(const std::string& name, int i1); + /** + * Sets two integers to the specified uniform + */ + void setUniformi(const std::string& name, int i1, int i2); + /** + * Sets three integers to the specified uniform + */ + void setUniformi(const std::string& name, int i1, int i2, int i3); + /** + * Sets four integers to the specified uniform + */ + void setUniformi(const std::string& name, int i1, int i2, int i3, int i4); + /** + * Sets a vector of integers to the specified uniform + */ + void setUniformiv(const std::string& name, size_t count, const int* value); + /** + * Sets a float to the specified uniform + */ + void setUniformf(const std::string& name, float f1); + /** + * Sets two floats to the specified uniform + */ + void setUniformf(const std::string& name, float f1, float f2); + /** + * Sets three floats to the specified uniform + */ + void setUniformf(const std::string& name, float f1, float f2, float f3); + /** + * Sets four floats to the specified uniform + */ + void setUniformf(const std::string& name, float f1, float f2, float f3, float f4); + /** + * Sets a vector of floats to the specified uniform + */ + void setUniformfv(const std::string& name, size_t count, const float* value); + /** + * Sets a Vec2 to the specified uniform + */ + void setUniformVec2(const std::string& name, const cocos2d::Vec2& value); + /** + * Sets a Vec3 to the specified uniform + */ + void setUniformVec3(const std::string& name, const cocos2d::Vec3& value); + /** + * Sets a Vec4 to the specified uniform + */ + void setUniformVec4(const std::string& name, const cocos2d::Vec4& value); + /** + * Sets a 2x2 matrix to the specified uniform + */ + void setUniformMat2(const std::string& name, float* value); + /** + * Sets a 3x3 matrix to the specified uniform + */ + void setUniformMat3(const std::string& name, float* value); + /** + * Sets a 4x4 matrix specified by float pointer to the given uniform + */ + void setUniformMat4(const std::string& name, float* value); + /** + * Sets a Mat4 object to the given uniform + */ + void setUniformMat4(const std::string& name, const cocos2d::Mat4& value); + /** + * Sets data specified by data pointer, type and bytes to the given uniform + */ + void setUniform(const std::string& name, const void* v, size_t bytes, UniformElementType elementType); + + /** + * Sets the primitive type for draw calls + */ + void setPrimitiveType(PrimitiveType type); + + /** + * Draw elements using the current gl states + */ + void draw(size_t base, GLsizei count); + + /** + * Resets the draw call counter to 0 + */ + void resetDrawCalls() { _drawCalls = 0; }; + /** + * Gets current draw call counts + */ + uint32_t getDrawCalls() const { return _drawCalls; }; + + inline const Capacity& getCapacity() const { return _caps; } + +private: DeviceGraphics(); ~DeviceGraphics(); CC_DISALLOW_COPY_ASSIGN_AND_MOVE(DeviceGraphics); @@ -170,6 +335,8 @@ private: int _sy; int _sw; int _sh; + + uint32_t _drawCalls = 0; int _defaultFbo; @@ -188,4 +355,7 @@ private: friend class Texture2D; }; +// end of gfx group +/// @} + RENDERER_END diff --git a/native/cocos/renderer/gfx/FrameBuffer.h b/native/cocos/renderer/gfx/FrameBuffer.h index 315cc3a3d5..4dd771cdfa 100644 --- a/native/cocos/renderer/gfx/FrameBuffer.h +++ b/native/cocos/renderer/gfx/FrameBuffer.h @@ -22,10 +22,8 @@ THE SOFTWARE. ****************************************************************************/ - #pragma once - #include #include "../Macro.h" #include "../Types.h" @@ -36,24 +34,80 @@ RENDERER_BEGIN class DeviceGraphics; class RenderTarget; +/** + * @addtogroup gfx + * @{ + */ + +/** + * The FrameBuffer class can store the render results of DeviceGraphics. + * It contains color buffers, depth buffers and stencil buffers, + * they are destinations for drawing, clearing and writing operations during the render process. + */ class FrameBuffer final : public GraphicsHandle { public: + /** + * Create a FrameBuffer object with device and size + */ RENDERER_DEFINE_CREATE_METHOD_3(FrameBuffer, init, DeviceGraphics*, uint16_t, uint16_t) FrameBuffer(); + /** + * Inits the frame buffer with device and size + */ bool init(DeviceGraphics* device, uint16_t width, uint16_t height); + /** + * Destroys the GL buffers created by this frame buffer object + */ void destroy(); + /** + * Sets the color buffers as drawing and clearing destinations + */ void setColorBuffers(const std::vector& renderTargets); + /** + * Sets a color buffer at specific index + */ void setColorBuffer(RenderTarget* rt, int index); + /** + * Sets the depth buffer as depth writing destination + */ void setDepthBuffer(RenderTarget* rt); + /** + * Sets the stencil buffer as stencil writing destination + */ void setStencilBuffer(RenderTarget* rt); + /** + * Sets the depth and stencil buffer at the same time. + * If you want to set both with the same RenderTarget, you should use this instead of setting them separatly. + */ void setDepthStencilBuffer(RenderTarget* rt); + /** + * Sets the width of frame buffer + */ + inline int getWidth() const { return _width; } + /** + * Sets the width of frame buffer + */ + inline int getHeight() const { return _height; } + + /** + * Gets the color buffers + */ const std::vector& getColorBuffers() const; + /** + * Gets the depth buffer + */ const RenderTarget* getDepthBuffer() const; + /** + * Gets the stencil buffer + */ const RenderTarget* getStencilBuffer() const; + /** + * Gets the depth and stencil buffer if they share the same one. + */ const RenderTarget* getDepthStencilBuffer() const; private: @@ -68,4 +122,7 @@ private: uint16_t _height; }; +// end of gfx group +/// @} + RENDERER_END diff --git a/native/cocos/renderer/gfx/GFX.cpp b/native/cocos/renderer/gfx/GFX.cpp index e913f1f41c..2a3d8119e3 100644 --- a/native/cocos/renderer/gfx/GFX.cpp +++ b/native/cocos/renderer/gfx/GFX.cpp @@ -2,17 +2,17 @@ Copyright (c) 2018 Xiamen Yaji Software Co., Ltd. http://www.cocos2d-x.org - + Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - + The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE diff --git a/native/cocos/renderer/gfx/GFX.h b/native/cocos/renderer/gfx/GFX.h index 7a7b2ad569..8caae6cf37 100644 --- a/native/cocos/renderer/gfx/GFX.h +++ b/native/cocos/renderer/gfx/GFX.h @@ -2,17 +2,17 @@ Copyright (c) 2018 Xiamen Yaji Software Co., Ltd. http://www.cocos2d-x.org - + Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - + The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE diff --git a/native/cocos/renderer/gfx/GFXUtils.cpp b/native/cocos/renderer/gfx/GFXUtils.cpp index 5544d6d453..f511092226 100644 --- a/native/cocos/renderer/gfx/GFXUtils.cpp +++ b/native/cocos/renderer/gfx/GFXUtils.cpp @@ -2,17 +2,17 @@ Copyright (c) 2018 Xiamen Yaji Software Co., Ltd. http://www.cocos2d-x.org - + Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - + The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE diff --git a/native/cocos/renderer/gfx/GFXUtils.h b/native/cocos/renderer/gfx/GFXUtils.h index c68160d730..c3ba547008 100644 --- a/native/cocos/renderer/gfx/GFXUtils.h +++ b/native/cocos/renderer/gfx/GFXUtils.h @@ -2,17 +2,17 @@ Copyright (c) 2018 Xiamen Yaji Software Co., Ltd. http://www.cocos2d-x.org - + Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - + The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE diff --git a/native/cocos/renderer/gfx/GraphicsHandle.cpp b/native/cocos/renderer/gfx/GraphicsHandle.cpp index f3d18d724b..bd4db097b3 100644 --- a/native/cocos/renderer/gfx/GraphicsHandle.cpp +++ b/native/cocos/renderer/gfx/GraphicsHandle.cpp @@ -2,17 +2,17 @@ Copyright (c) 2018 Xiamen Yaji Software Co., Ltd. http://www.cocos2d-x.org - + Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - + The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE diff --git a/native/cocos/renderer/gfx/GraphicsHandle.h b/native/cocos/renderer/gfx/GraphicsHandle.h index 3da43d380d..ed7b714818 100644 --- a/native/cocos/renderer/gfx/GraphicsHandle.h +++ b/native/cocos/renderer/gfx/GraphicsHandle.h @@ -2,17 +2,17 @@ Copyright (c) 2018 Xiamen Yaji Software Co., Ltd. http://www.cocos2d-x.org - + Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - + The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE @@ -31,15 +31,30 @@ RENDERER_BEGIN +/** + * @addtogroup gfx + * @{ + */ + +/** + * Abstract class for GL graphic classes that uses a GL handle id. + * Such as Texture, FrameBuffer, IndexBuffer, VertexBuffer, Program. + */ class GraphicsHandle : public Ref { public: GraphicsHandle(); virtual ~GraphicsHandle(); + /** + * Gets the GL handle + */ inline GLuint getHandle() const { return _glID; } protected: GLuint _glID; }; +// end of gfx group +/// @} + RENDERER_END diff --git a/native/cocos/renderer/gfx/IndexBuffer.cpp b/native/cocos/renderer/gfx/IndexBuffer.cpp index 2db942a9ab..6e43109329 100644 --- a/native/cocos/renderer/gfx/IndexBuffer.cpp +++ b/native/cocos/renderer/gfx/IndexBuffer.cpp @@ -2,17 +2,17 @@ Copyright (c) 2018 Xiamen Yaji Software Co., Ltd. http://www.cocos2d-x.org - + Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - + The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE diff --git a/native/cocos/renderer/gfx/IndexBuffer.h b/native/cocos/renderer/gfx/IndexBuffer.h index ff0aa118d2..78f3f96425 100644 --- a/native/cocos/renderer/gfx/IndexBuffer.h +++ b/native/cocos/renderer/gfx/IndexBuffer.h @@ -2,17 +2,17 @@ Copyright (c) 2018 Xiamen Yaji Software Co., Ltd. http://www.cocos2d-x.org - + Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - + The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE @@ -21,6 +21,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ****************************************************************************/ + #pragma once #include @@ -30,32 +31,95 @@ RENDERER_BEGIN +/** + * @addtogroup gfx + * @{ + */ + class DeviceGraphics; +/** + * IndexBuffer manages the GL buffer for element indices. + * It creates, updates and destoies the GL buffer. + */ class IndexBuffer final : public GraphicsHandle { public: + /** + * Creates an IndexBuffer object + * @param[in] device DeviceGraphics pointer. + * @param[in] format Index element format. + * @param[in] usage The usage pattern of the index buffer. + * @param[in] data Data pointer, could be nullptr, then nothing is updated to the buffer. + * @param[in] dataByteLength Data's byte length. + * @param[in] numIndices Count of indices. + */ RENDERER_DEFINE_CREATE_METHOD_6(IndexBuffer, init, DeviceGraphics*, IndexFormat, Usage, const void*, size_t, uint32_t) IndexBuffer(); virtual ~IndexBuffer(); + /** + * Initializes the index buffer with necessary options. + * @param[in] device DeviceGraphics pointer. + * @param[in] format Index element format. + * @param[in] usage The usage pattern of the index buffer. + * @param[in] data Data pointer, could be nullptr, then nothing is updated to the buffer. + * @param[in] dataByteLength Data's byte length. + * @param[in] numIndices Count of indices. + */ bool init(DeviceGraphics* device, IndexFormat format, Usage usage, const void* data, size_t dataByteLength, uint32_t numIndices); + /** + * Update data to the GL index buffer + * @param[in] offset Destination offset for filling buffer data. + * @param[in] data Data to be updated. + * @param[in] dataByteLength Data byte length to be updated. + */ void update(uint32_t offset, const void* data, size_t dataByteLength); + /** + * Gets the count of indices. + */ inline uint32_t getCount() const { return _numIndices; } + /** + * Sets the count of indices. + */ inline void setCount(uint32_t numIndices) { _numIndices = numIndices; } + /** + * Gets the format of indices. + */ inline IndexFormat getFormat() const { return _format; } + /** + * Sets the format of indices. + */ inline void setFormat(IndexFormat format) { _format = format; } + /** + * Gets bytes occupied by each index. + */ inline uint32_t getBytesPerIndex() const { return _bytesPerIndex; } + /** + * Sets bytes occupied by each index. + */ inline void setBytesPerIndex(uint32_t bytesPerIndex) {_bytesPerIndex = bytesPerIndex; } + /** + * Gets usage pattern of the index buffer + */ inline Usage getUsage() const { return _usage; } + /** + * Sets usage pattern of the index buffer + */ inline void setUsage(Usage usage) { _usage = usage; } + /** + * Gets byte size of the index buffer + */ inline uint32_t getBytes() const { return _bytes; } + /** + * Sets byte size of the index buffer + */ inline void setBytes(uint32_t bytes) { _bytes = bytes; } using FetchDataCallback = std::function; @@ -68,7 +132,10 @@ public: } return _fetchDataCallback(bytes); } - + + /** + * Destroies the index buffer + */ void destroy(); private: @@ -84,4 +151,7 @@ private: CC_DISALLOW_COPY_ASSIGN_AND_MOVE(IndexBuffer) }; +// end of gfx group +/// @} + RENDERER_END diff --git a/native/cocos/renderer/gfx/Program.cpp b/native/cocos/renderer/gfx/Program.cpp index 6e2d83b0af..00819219e1 100644 --- a/native/cocos/renderer/gfx/Program.cpp +++ b/native/cocos/renderer/gfx/Program.cpp @@ -2,17 +2,17 @@ Copyright (c) 2018 Xiamen Yaji Software Co., Ltd. http://www.cocos2d-x.org - + Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - + The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE diff --git a/native/cocos/renderer/gfx/Program.h b/native/cocos/renderer/gfx/Program.h index c98c07a72c..430bc43aa0 100644 --- a/native/cocos/renderer/gfx/Program.h +++ b/native/cocos/renderer/gfx/Program.h @@ -2,17 +2,17 @@ Copyright (c) 2018 Xiamen Yaji Software Co., Ltd. http://www.cocos2d-x.org - + Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - + The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE @@ -34,41 +34,111 @@ RENDERER_BEGIN +/** + * @addtogroup gfx + * @{ + */ + class DeviceGraphics; +/** + * Program class manages the internal GL shader program. + */ class Program final: public GraphicsHandle { public: + /** + * Describes vertex attribute informations used in the program + * @struct Attribute + */ struct Attribute { + /** + * Attribute name + */ std::string name; + /** + * Number of components per attribute + */ GLsizei size; + /** + * Attribute location + */ GLuint location; + /** + * Attribute type + */ GLenum type; }; + /** + * Describes uniform informations used in the program + * @struct Uniform + */ struct Uniform { + /** + * Uniform name + */ std::string name; + /** + * The length of the array for uniforms declared as arrays, default value is 1 + */ GLsizei size; + /** + * Uniform location + */ GLint location; + /** + * Uniform type + */ GLenum type; + /** + * Sets the uniform value + */ void setUniform(const void* value, UniformElementType elementType) const; + /** + * Sets the callback which will be called when uniform updated + */ using SetUniformCallback = void (*)(GLint, GLsizei, const void*, UniformElementType); // location, count, value, elementType private: SetUniformCallback _callback; friend class Program; }; + /** + * Creates a Program with device and shader sources + */ RENDERER_DEFINE_CREATE_METHOD_3(Program, init, DeviceGraphics*, const char*, const char*) Program(); virtual ~Program(); + /** + * Initializes a Program with device and program sources + * @param[in] device DeviceGraphics pointer + * @param[in] vertSource Vertex shader program + * @param[in] fragSource Fragment shader program + */ bool init(DeviceGraphics* device, const char* vertSource, const char* fragSource); + /** + * Gets the id of program + */ inline uint32_t getID() const { return _id; } + /** + * Gets the attibutes used in the program + */ inline const std::vector& getAttributes() const { return _attributes; } + /** + * Gets the uniforms used in the program + */ inline const std::vector& getUniforms() const { return _uniforms; } + /** + * Indicates whether the program is successfully linked + */ inline bool isLinked() const { return _linked; } + /** + * Link the program with its shader sources + */ void link(); private: DeviceGraphics* _device; @@ -80,4 +150,7 @@ private: bool _linked; }; +// end of gfx group +/// @} + RENDERER_END diff --git a/native/cocos/renderer/gfx/RenderBuffer.cpp b/native/cocos/renderer/gfx/RenderBuffer.cpp index 591a2d25a3..717ecdcb27 100644 --- a/native/cocos/renderer/gfx/RenderBuffer.cpp +++ b/native/cocos/renderer/gfx/RenderBuffer.cpp @@ -2,17 +2,17 @@ Copyright (c) 2018 Xiamen Yaji Software Co., Ltd. http://www.cocos2d-x.org - + Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - + The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE diff --git a/native/cocos/renderer/gfx/RenderBuffer.h b/native/cocos/renderer/gfx/RenderBuffer.h index 60f52b8236..147397a4a4 100644 --- a/native/cocos/renderer/gfx/RenderBuffer.h +++ b/native/cocos/renderer/gfx/RenderBuffer.h @@ -2,17 +2,17 @@ Copyright (c) 2018 Xiamen Yaji Software Co., Ltd. http://www.cocos2d-x.org - + Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - + The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE @@ -31,12 +31,23 @@ RENDERER_BEGIN +/** + * @addtogroup gfx + * @{ + */ + class DeviceGraphics; +/** + * RenderBuffer manages the GL render buffer. + * A render buffer stores data such as an image, or can be source or target of a rendering operation. + */ class RenderBuffer final : public RenderTarget { public: - // render-buffer format + /** + * RenderBuffer's pixel format + */ enum class Format : uint32_t { RGBA4 = GL_RGBA4, @@ -46,11 +57,17 @@ public: // D24S8 = GL_DEPTH_STENCIL }; + /** + * Creates a RenderBuffer with device, pixel format and size + */ RENDERER_DEFINE_CREATE_METHOD_4(RenderBuffer, init, DeviceGraphics*, Format, uint16_t, uint16_t) RenderBuffer(); virtual ~RenderBuffer(); + /** + * Initializes a RenderBuffer with device, pixel format and size + */ bool init(DeviceGraphics* device, Format format, uint16_t width, uint16_t height); private: @@ -60,4 +77,7 @@ private: uint16_t _height; }; +// end of gfx group +/// @} + RENDERER_END diff --git a/native/cocos/renderer/gfx/RenderTarget.cpp b/native/cocos/renderer/gfx/RenderTarget.cpp index 13f5279b06..027d8b8ecd 100644 --- a/native/cocos/renderer/gfx/RenderTarget.cpp +++ b/native/cocos/renderer/gfx/RenderTarget.cpp @@ -2,17 +2,17 @@ Copyright (c) 2018 Xiamen Yaji Software Co., Ltd. http://www.cocos2d-x.org - + Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - + The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE diff --git a/native/cocos/renderer/gfx/RenderTarget.h b/native/cocos/renderer/gfx/RenderTarget.h index 69b6b9c3a6..204529e67c 100644 --- a/native/cocos/renderer/gfx/RenderTarget.h +++ b/native/cocos/renderer/gfx/RenderTarget.h @@ -2,17 +2,17 @@ Copyright (c) 2018 Xiamen Yaji Software Co., Ltd. http://www.cocos2d-x.org - + Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - + The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE @@ -33,10 +33,21 @@ RENDERER_BEGIN +/** + * @addtogroup gfx + * @{ + */ + +/** + * Abstract class for all classes that could act as a render target + */ class RenderTarget : public GraphicsHandle { public: virtual ~RenderTarget() {} }; +// end of gfx group +/// @} + RENDERER_END diff --git a/native/cocos/renderer/gfx/State.cpp b/native/cocos/renderer/gfx/State.cpp index 7ba4d71206..273e16e034 100644 --- a/native/cocos/renderer/gfx/State.cpp +++ b/native/cocos/renderer/gfx/State.cpp @@ -38,7 +38,7 @@ namespace { State::State() // blend : blend(false) -, blendSepartion(false) +, blendSeparation(false) , blendColor(0xFFFFFFFF) , blendEq(BlendOp::ADD) , blendAlphaEq(BlendOp::ADD) @@ -115,7 +115,7 @@ State& State::operator=(const State& o) { // blend blend = o.blend; - blendSepartion = o.blendSepartion; + blendSeparation = o.blendSeparation; blendColor = o.blendColor; blendEq = o.blendEq; blendAlphaEq = o.blendAlphaEq; @@ -218,7 +218,7 @@ State& State::operator=(State&& o) { // blend blend = o.blend; - blendSepartion = o.blendSepartion; + blendSeparation = o.blendSeparation; blendColor = o.blendColor; blendEq = o.blendEq; blendAlphaEq = o.blendAlphaEq; @@ -280,7 +280,7 @@ State& State::operator=(State&& o) // reset o o.blend = false; - o.blendSepartion = false; + o.blendSeparation = false; o.blendColor = 0xFFFFFFFF; o.blendEq = BlendOp::ADD; o.blendAlphaEq = BlendOp::ADD; diff --git a/native/cocos/renderer/gfx/State.h b/native/cocos/renderer/gfx/State.h index f5313a59b2..6b3832e599 100644 --- a/native/cocos/renderer/gfx/State.h +++ b/native/cocos/renderer/gfx/State.h @@ -36,8 +36,22 @@ class IndexBuffer; class Program; class Texture; +/** + * @addtogroup gfx + * @{ + */ + +/** + * State class save the GL states used in one draw call. + * It will be used to compare between the previous states and the current states, so that we know which GL states should be updated. + * User shouldn't be using this Class directly. Instead, they should set the states in Pass of material system. + * @see `Pass` + */ struct State final -{ +{ + /** + * Constructor + */ State(); State(const State&); State(State &&); @@ -46,65 +60,214 @@ struct State final State& operator =(const State& rhs); State& operator =(State&& rhs); + /** + * Reset all states to default values + */ void reset(); - // blend + /** + @name Blend + @{ + */ + /** + * Indicates blending enabled or not + */ bool blend; - bool blendSepartion; + /** + * Indicates the RGB blend equation and alpha blend equation settings are separate or not + */ + bool blendSeparation; + /** + * The blending color + */ uint32_t blendColor; + /** + * The blending equation + */ BlendOp blendEq; + /** + * The blending equation for alpha channel + */ BlendOp blendAlphaEq; + /** + * The blending source factor + */ BlendFactor blendSrc; + /** + * The blending destination factor + */ BlendFactor blendDst; + /** + * The blending source factor for alpha + */ BlendFactor blendSrcAlpha; + /** + * The blending destination factor for alpha + */ BlendFactor blendDstAlpha; + /** + end of Blend + @} + */ - // depth + /** + @name Depth + @{ + */ + /** + * Indicates depth test enabled or not + */ bool depthTest; + /** + * Indicates depth writing enabled or not + */ bool depthWrite; + /** + * The depth comparison function + */ DepthFunc depthFunc; + /** + end of Depth + @} + */ - // stencil + /** + @name Stencil + @{ + */ + /** + * Indicates stencil test enabled or not + */ bool stencilTest; + /** + * Indicates stencil test function for front and back is set separatly or not + */ bool stencilSeparation; + /** + * The front face function for stencil test + */ StencilFunc stencilFuncFront; + /** + * The front reference value for stencil test + */ int32_t stencilRefFront; + /** + * The front mask value to AND with the reference value and store the result into stencil buffer when test is done + */ uint32_t stencilMaskFront; + /** + * The function to use when the stencil test fails for front face + */ StencilOp stencilFailOpFront; + /** + * The function to use when the stencil test passes but the depth test fails for front face + */ StencilOp stencilZFailOpFront; + /** + * The function to use when both the stencil and the depth test pass for front face. + * Or when the stencil test passes and there is no depth buffer or depth testing is disabled. + */ StencilOp stencilZPassOpFront; + /** + * The bit mask to enable or disable writing of individual bits in the front stencil planes + */ uint32_t stencilWriteMaskFront; + /** + * The back face function for stencil test + */ StencilFunc stencilFuncBack; + /** + * The back reference value for stencil test + */ int32_t stencilRefBack; + /** + * The back mask value to AND with the reference value and store the result into stencil buffer when test is done + */ uint32_t stencilMaskBack; + /** + * The function to use when the stencil test fails for back face + */ StencilOp stencilFailOpBack; + /** + * The function to use when the stencil test passes but the depth test fails for back face + */ StencilOp stencilZFailOpBack; + /** + * The function to use when both the stencil and the depth test pass for back face. + * Or when the stencil test passes and there is no depth buffer or depth testing is disabled. + */ StencilOp stencilZPassOpBack; + /** + * The bit mask to enable or disable writing of individual bits in the back stencil planes + */ uint32_t stencilWriteMaskBack; + /** + end of Stencil + @} + */ + /** + * Specifies whether front-facing or back-facing polygons are candidates for culling. + */ CullMode cullMode; + /** + * Specifies the primitive type for rendering + */ PrimitiveType primitiveType; int32_t maxStream; + /** + * Specifies the vertex buffer + */ void setVertexBuffer(size_t index, VertexBuffer* vertBuf); + /** + * Gets the vertex buffer + */ VertexBuffer* getVertexBuffer(size_t index) const; + /** + * Specifies the vertex buffer offset + */ void setVertexBufferOffset(size_t index, int32_t offset); + /** + * Gets the vertex buffer offset + */ int32_t getVertexBufferOffset(size_t index) const; + /** + * Specifies the index buffer + */ void setIndexBuffer(IndexBuffer* indexBuf); + /** + * Gets the index buffer + */ IndexBuffer* getIndexBuffer() const; + /** + * Sets the texture for specific texture unit + */ void setTexture(size_t index, Texture* texture); + /** + * Gets the specific texture unit + */ Texture* getTexture(size_t index) const; - - void setProgram(Program* program); - Program* getProgram() const; + /** + * Gets all texture units + */ const std::vector& getTextureUnits() const { return _textureUnits; } + /** + * Sets the program used for rendering + */ + void setProgram(Program* program); + /** + * Gets the program used for rendering + */ + Program* getProgram() const; + private: std::vector _vertexBuffers; std::vector _vertexBufferOffsets; @@ -113,4 +276,7 @@ private: Program *_program; }; +// end of gfx group +/// @} + RENDERER_END diff --git a/native/cocos/renderer/gfx/Texture.cpp b/native/cocos/renderer/gfx/Texture.cpp index 594dee9647..daf193f9fe 100644 --- a/native/cocos/renderer/gfx/Texture.cpp +++ b/native/cocos/renderer/gfx/Texture.cpp @@ -2,17 +2,17 @@ Copyright (c) 2018 Xiamen Yaji Software Co., Ltd. http://www.cocos2d-x.org - + Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - + The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE @@ -76,6 +76,10 @@ Texture::~Texture() bool Texture::init(DeviceGraphics* device) { + if (device == nullptr) + { + return false; + } _device = device; _width = 4; _height = 4; diff --git a/native/cocos/renderer/gfx/Texture.h b/native/cocos/renderer/gfx/Texture.h index f43ac400d6..542d8bccc1 100644 --- a/native/cocos/renderer/gfx/Texture.h +++ b/native/cocos/renderer/gfx/Texture.h @@ -2,17 +2,17 @@ Copyright (c) 2018 Xiamen Yaji Software Co., Ltd. http://www.cocos2d-x.org - + Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - + The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE @@ -37,10 +37,21 @@ RENDERER_BEGIN class DeviceGraphics; +/** + * @addtogroup gfx + * @{ + */ + +/** + * The base texture class + */ class Texture : public RenderTarget { public: - // texture filter + /** + * @enum Filter + * Texture filter modes + */ enum class Filter : int8_t { NONE = -1, @@ -48,7 +59,10 @@ public: LINEAR = 1 }; - // texture wrap mode + /** + * @enum Filter + * Texture wrap modes + */ enum class WrapMode : uint16_t { REPEAT = GL_REPEAT, @@ -56,7 +70,10 @@ public: MIRROR = GL_MIRRORED_REPEAT }; - // texture format + /** + * @enum Format + * Texture formats + */ enum class Format : uint8_t { BEGIN = 0, @@ -95,35 +112,95 @@ public: // }; + /** + * @struct Image + * Raw image data + */ struct Image { uint8_t* data = nullptr; size_t length = 0; }; + /** + * @struct Options + * Texture setting options including format, width, height, wrap mode, filter etc. + */ struct Options { + /** + * Image mipmaps + */ std::vector images; + /** + * The maximum anisotropy for the texture + */ int32_t anisotropy = 1; + /** + * The internal format specifying the color components in the texture + */ GLenum glInternalFormat = GL_RGBA; + /** + * The pixel format of the texel data + */ GLenum glFormat = GL_RGB; + /** + * The data type of the texel data + */ GLenum glType = GL_UNSIGNED_BYTE; + /** + * The width of the texture + */ uint16_t width = 4; + /** + * The height of the texture + */ uint16_t height = 4; uint8_t bpp = 0; - WrapMode wrapS = WrapMode::REPEAT; - WrapMode wrapT = WrapMode::REPEAT; + /** + * The wrapping function for texture coordinate s + */ + WrapMode wrapS = WrapMode::CLAMP; + /** + * The wrapping function for texture coordinate t + */ + WrapMode wrapT = WrapMode::CLAMP; + /** + * The texture minification filter + */ Filter minFilter = Filter::LINEAR; + /** + * The texture magnification filter + */ Filter magFilter = Filter::LINEAR; + /** + * The texture filter for mipmaps + */ Filter mipFilter = Filter::LINEAR; + /** + * Specifies whether the texture have mipmaps + */ bool hasMipmap = false; - bool flipY = true; + /** + * Specifies whether the texture if flipped vertically + */ + bool flipY = false; + /** + * Specifies whether the texture have alpha premultiplied + */ bool premultiplyAlpha = false; + /** + * Specifies whether the texture is compressed + */ bool compressed = false; }; + /** + * @struct ImageOption + * The informations of Image which indicates the mipmap level, width, height, filpY and premultiplyAlpha + */ struct ImageOption { Image image; @@ -135,6 +212,10 @@ public: bool premultiplyAlpha = false; }; + /** + * @struct SubImageOption + * The informations of sub image which indicates the area to update, mipmap level, filpY and premultiplyAlpha + */ struct SubImageOption { SubImageOption(uint16_t x, uint16_t y, uint16_t width, uint16_t height, uint8_t level, bool flipY, bool premultiplyAlpha) @@ -160,8 +241,17 @@ public: bool premultiplyAlpha = false; }; + /** + * Gets the target gl location + */ inline GLuint getTarget() const { return _target; } + /** + * Gets the width of texture + */ inline uint16_t getWidth() const { return _width; } + /** + * Gets the height of texture + */ inline uint16_t getHeight() const { return _height; } protected: @@ -198,4 +288,7 @@ protected: bool _compressed; }; +// end of gfx group +/// @} + RENDERER_END diff --git a/native/cocos/renderer/gfx/Texture2D.cpp b/native/cocos/renderer/gfx/Texture2D.cpp index 2345d4463f..4baea32301 100644 --- a/native/cocos/renderer/gfx/Texture2D.cpp +++ b/native/cocos/renderer/gfx/Texture2D.cpp @@ -2,17 +2,17 @@ Copyright (c) 2018 Xiamen Yaji Software Co., Ltd. http://www.cocos2d-x.org - + Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - + The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE @@ -149,7 +149,7 @@ void Texture2D::setSubImage(const SubImageOption& option) GL_CHECK(ccPixelStorei(GL_UNPACK_FLIP_Y_WEBGL, flipY)); GL_CHECK(ccPixelStorei(GL_UNPACK_PREMULTIPLY_ALPHA_WEBGL, premultiplyAlpha)); - + ccFlipYOrPremultiptyAlphaIfNeeded(_glFormat, option.width, option.height, (uint32_t)option.imageDataLength, option.imageData); if (_compressed) @@ -202,8 +202,19 @@ void Texture2D::setImage(const ImageOption& option) GL_CHECK(ccPixelStorei(GL_UNPACK_ALIGNMENT, aligment)); GL_CHECK(ccPixelStorei(GL_UNPACK_FLIP_Y_WEBGL, flipY)); GL_CHECK(ccPixelStorei(GL_UNPACK_PREMULTIPLY_ALPHA_WEBGL, premultiplyAlpha)); - - ccFlipYOrPremultiptyAlphaIfNeeded(_glFormat, option.width, option.height, (uint32_t)img.length, img.data); + + uint32_t pixelBytes = (uint32_t)img.length; + + switch(_glType) + { + case GL_FLOAT: + { + pixelBytes /= sizeof(float); + break; + } + } + + ccFlipYOrPremultiptyAlphaIfNeeded(_glFormat, option.width, option.height, pixelBytes, img.data); if (_compressed) { diff --git a/native/cocos/renderer/gfx/Texture2D.h b/native/cocos/renderer/gfx/Texture2D.h index 843c5fb69a..de7084c636 100644 --- a/native/cocos/renderer/gfx/Texture2D.h +++ b/native/cocos/renderer/gfx/Texture2D.h @@ -2,17 +2,17 @@ Copyright (c) 2018 Xiamen Yaji Software Co., Ltd. http://www.cocos2d-x.org - + Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - + The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE @@ -31,15 +31,51 @@ RENDERER_BEGIN +/** + * @addtogroup gfx + * @{ + */ + +/** + * The 2d texture class\n + * JS API: gfx.Texture2D + @code + let texture = new gfx.Texture2D(cc.renderer.device, { + images: [], + width: 128, + height: 128, + wrapS: renderEngine.gfx.WRAP_REPEAT, + wrapT: renderEngine.gfx.WRAP_REPEAT, + format: renderEngine.gfx.TEXTURE_FMT_RGB8, + mipmap: false, + }); + @endcode + */ class Texture2D : public Texture { public: Texture2D(); ~Texture2D(); + /* + * Init the texture with device and options + * @see Texture::Options + */ bool init(DeviceGraphics* device, Options& options); + /** + * Update the texture with new options + * @see Texture::Options + */ void update(const Options& options); + /** + * Update a sub area of the texture with sub image option + * @see Texture::SubImageOption + */ void updateSubImage(const SubImageOption& option); + /** + * Update the image of a given level mipmap specified in image option + * @see Texture::ImageOption + */ void updateImage(const ImageOption& option); private: @@ -50,4 +86,7 @@ private: }; +// end of gfx group +/// @} + RENDERER_END diff --git a/native/cocos/renderer/gfx/VertexBuffer.cpp b/native/cocos/renderer/gfx/VertexBuffer.cpp index 9a492f18fc..f35020def3 100644 --- a/native/cocos/renderer/gfx/VertexBuffer.cpp +++ b/native/cocos/renderer/gfx/VertexBuffer.cpp @@ -2,17 +2,17 @@ Copyright (c) 2018 Xiamen Yaji Software Co., Ltd. http://www.cocos2d-x.org - + Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - + The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE diff --git a/native/cocos/renderer/gfx/VertexBuffer.h b/native/cocos/renderer/gfx/VertexBuffer.h index 94cd2e6273..fea24d4146 100644 --- a/native/cocos/renderer/gfx/VertexBuffer.h +++ b/native/cocos/renderer/gfx/VertexBuffer.h @@ -2,17 +2,17 @@ Copyright (c) 2018 Xiamen Yaji Software Co., Ltd. http://www.cocos2d-x.org - + Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - + The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE @@ -32,30 +32,87 @@ RENDERER_BEGIN +/** + * @addtogroup gfx + * @{ + */ + class DeviceGraphics; +/** + * VertexBuffer manages the GL vertex attributes buffer. + * It creates, updates and destoies the GL vertex buffer. + */ class VertexBuffer final : public GraphicsHandle { public: + /** + * Creates a vertex buffer object + * @param[in] device DeviceGraphics pointer + * @param[in] format Specifies the vertex attributes layout + * @param[in] usage The usage pattern + * @param[in] data Data pointer, could be nullptr, then nothing is updated to the buffer. + * @param[in] dataByteLength Data's byte length. + * @param[in] numVertices Count of vertices. + */ RENDERER_DEFINE_CREATE_METHOD_6(VertexBuffer, init, DeviceGraphics*, VertexFormat*, Usage, const void*, size_t, uint32_t) VertexBuffer(); virtual ~VertexBuffer(); + /** + * Initializes a vertex buffer object + * @param[in] device DeviceGraphics pointer + * @param[in] format Specifies the vertex attributes layout + * @param[in] usage The usage pattern + * @param[in] data Data pointer, could be nullptr, then nothing is updated to the buffer. + * @param[in] dataByteLength Data's byte length. + * @param[in] numVertices Count of vertices. + */ bool init(DeviceGraphics* device, VertexFormat* format, Usage usage, const void* data, size_t dataByteLength, uint32_t numVertices); + /** + * Update data to the GL vertex buffer + * @param[in] offset Destination offset for filling buffer data. + * @param[in] data Data to be updated. + * @param[in] dataByteLength Data byte length to be updated. + */ void update(uint32_t offset, const void* data, size_t dataByteLength); + /** + * Gets the count of vertices + */ inline uint32_t getCount() const { return _numVertices; } + /** + * Sets the count of vertices + */ inline void setCount(uint32_t numVertices) { _numVertices = numVertices; } + /** + * Gets the attributes layout and format of vertices. + */ inline const VertexFormat& getFormat() const { return *_format; } // inline void setFormat(VertexFormat&& format) { _format = std::move(format); } + /** + * Sets the attributes layout and format of vertices. + */ void setFormat(VertexFormat* format); + /** + * Gets usage pattern of the vertex buffer + */ inline Usage getUsage() const { return _usage; } + /** + * Sets usage pattern of the vertex buffer + */ inline void setUsage(Usage usage) { _usage = usage; } + /** + * Gets byte size of the vertex buffer + */ inline uint32_t getBytes() const { return _bytes; } + /** + * Sets byte size of the vertex buffer + */ inline void setBytes(uint32_t bytes) { _bytes = bytes; } using FetchDataCallback = std::function; @@ -68,7 +125,10 @@ public: } return _fetchDataCallback(bytes); } - + + /** + * Destroies the vertex buffer + */ void destroy(); private: @@ -83,4 +143,7 @@ private: CC_DISALLOW_COPY_ASSIGN_AND_MOVE(VertexBuffer) }; +// end of gfx group +/// @} + RENDERER_END diff --git a/native/cocos/renderer/gfx/VertexFormat.cpp b/native/cocos/renderer/gfx/VertexFormat.cpp index a66462cae0..a4c9d612f9 100644 --- a/native/cocos/renderer/gfx/VertexFormat.cpp +++ b/native/cocos/renderer/gfx/VertexFormat.cpp @@ -2,17 +2,17 @@ Copyright (c) 2018 Xiamen Yaji Software Co., Ltd. http://www.cocos2d-x.org - + Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - + The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE @@ -48,6 +48,24 @@ static uint32_t attrTypeBytes(AttribType attrType) return 0; } +VertexFormat* VertexFormat::XY_UV_Two_Color = new VertexFormat(std::vector({ + Info(ATTRIB_NAME_POSITION, AttribType::FLOAT32, 2), + Info(ATTRIB_NAME_UV0, AttribType::FLOAT32, 2), + Info(ATTRIB_NAME_COLOR, AttribType::UINT8, 4, true), + Info(ATTRIB_NAME_COLOR0, AttribType::UINT8, 4, true) +})); + +VertexFormat* VertexFormat::XY_UV_Color = new VertexFormat(std::vector({ + Info(ATTRIB_NAME_POSITION, AttribType::FLOAT32, 2), + Info(ATTRIB_NAME_UV0, AttribType::FLOAT32, 2), + Info(ATTRIB_NAME_COLOR, AttribType::UINT8, 4, true) +})); + +VertexFormat* VertexFormat::XY_Color = new VertexFormat(std::vector({ + Info(ATTRIB_NAME_POSITION, AttribType::FLOAT32, 2), + Info(ATTRIB_NAME_COLOR, AttribType::UINT8, 4, true) +})); + VertexFormat::VertexFormat() { } @@ -76,6 +94,7 @@ VertexFormat::VertexFormat(const std::vector& infos) el.normalize = info._normalize; el.bytes = info._num * attrTypeBytes(info._type); + _names.push_back(el.name); _attr2el[el.name] = el; elements.push_back(&_attr2el[el.name]); @@ -106,6 +125,7 @@ VertexFormat& VertexFormat::operator=(const VertexFormat& o) { if (this != &o) { + _names = o._names; _attr2el = o._attr2el; #if GFX_DEBUG > 0 _elements = o._elements; @@ -119,6 +139,7 @@ VertexFormat& VertexFormat::operator=(VertexFormat&& o) { if (this != &o) { + _names = std::move(o._names); _attr2el = std::move(o._attr2el); #if GFX_DEBUG > 0 _elements = std::move(o._elements); @@ -129,13 +150,13 @@ VertexFormat& VertexFormat::operator=(VertexFormat&& o) return *this; } -const VertexFormat::Element& VertexFormat::getElement(const std::string& attrName) const +const VertexFormat::Element* VertexFormat::getElement(const std::string& attrName) const { - static const Element INVALID_ELEMENT_VALUE; + static const Element* INVALID_ELEMENT_VALUE = nullptr; const auto& iter = _attr2el.find(attrName); if (iter != _attr2el.end()) { - return iter->second; + return &iter->second; } return INVALID_ELEMENT_VALUE; } diff --git a/native/cocos/renderer/gfx/VertexFormat.h b/native/cocos/renderer/gfx/VertexFormat.h index a9f9df41aa..e7a5754db7 100644 --- a/native/cocos/renderer/gfx/VertexFormat.h +++ b/native/cocos/renderer/gfx/VertexFormat.h @@ -2,17 +2,17 @@ Copyright (c) 2018 Xiamen Yaji Software Co., Ltd. http://www.cocos2d-x.org - + Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - + The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE @@ -33,11 +33,38 @@ RENDERER_BEGIN +/** + * @addtogroup gfx + * @{ + */ + +/** + * The vertex format defines the attributes and their data layout in the VertexBuffer\n + * JS API: gfx.VertexFormat + @code + let vertexFmt = new gfx.VertexFormat([ + { name: gfx.ATTR_POSITION, type: gfx.ATTR_TYPE_FLOAT32, num: 3 }, + { name: gfx.ATTR_UV0, type: gfx.ATTR_TYPE_FLOAT32, num: 2 }, + { name: gfx.ATTR_COLOR, type: gfx.ATTR_TYPE_FLOAT32, num: 4, normalize: true }, + ]); + @endcode + */ class VertexFormat : public Ref { public: + /* + * Informations used to define an attribute in vertex data layout. + * @struct Info + */ struct Info { + /* + * Constructor + * @param[in] name Attribute name + * @param[in] type Data type of each component + * @param[in] num Number of components per attribute + * @param[in] normalized Whether integer data values should be normalized into a certain range when being casted to a float + */ Info(const std::string& name, AttribType type, uint32_t num, bool normalize = false) : _name(name) , _num(num) @@ -53,6 +80,10 @@ public: static Info INFO_END; + /* + * Element describes informations of an attribute + * @struct Info + */ struct Element { Element() @@ -70,27 +101,87 @@ public: return type != AttribType::INVALID; } + /* + * Name of the attribute + */ std::string name; + /* + * Byte offset in each vertex data + */ size_t offset; + /* + * Specifies the offset in bytes between the beginning of consecutive vertex attributes + */ uint32_t stride; int32_t stream; + /* + * Number of components per attribute unit + */ uint32_t num; + /* + * Total bytes per attribute unit + */ uint32_t bytes; + /* + * Data type of each component + */ AttribType type; + /* + * Specifies whether integer data values should be normalized into a certain range when being casted to a float + */ bool normalize; }; + /* + * Default constructor + */ VertexFormat(); + /** + * Constructor with specific attribute informations + * @param[in] infos Array of all elements informations + */ VertexFormat(const std::vector& infos); + /* + * Copy constructor + */ VertexFormat(const VertexFormat& o); + /* + * Move constructor + */ VertexFormat(VertexFormat&& o); VertexFormat& operator=(const VertexFormat& o); VertexFormat& operator=(VertexFormat&& o); - const Element& getElement(const std::string& attrName) const; + /** + * Gets all attribute names + */ + const std::vector& getAttributeNames() const { return _names; }; + /** + * Getes an attribute element by name + */ + const Element* getElement(const std::string& attrName) const; + + /** + * Gets total byte size of a vertex + */ + uint32_t getBytes() const { return _bytes; }; + + /* + * Builtin VertexFormat with 2d position, uv, color, color0 attributes + */ + static VertexFormat* XY_UV_Two_Color; + /* + * Builtin VertexFormat with 2d position, uv, color attributes + */ + static VertexFormat* XY_UV_Color; + /* + * Builtin VertexFormat with 2d position, color attributes + */ + static VertexFormat* XY_Color; private: + std::vector _names; std::unordered_map _attr2el; #if GFX_DEBUG > 0 std::vector _elements; @@ -100,4 +191,7 @@ private: friend class VertexBuffer; }; +// end of gfx group +/// @} + RENDERER_END diff --git a/native/cocos/renderer/memop/RecyclePool.hpp b/native/cocos/renderer/memop/RecyclePool.hpp new file mode 100644 index 0000000000..ae715bbded --- /dev/null +++ b/native/cocos/renderer/memop/RecyclePool.hpp @@ -0,0 +1,128 @@ +/**************************************************************************** + Copyright (c) 2018 Xiamen Yaji Software Co., Ltd. + + http://www.cocos2d-x.org + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. + ****************************************************************************/ + +#ifndef RecyclePool_hpp +#define RecyclePool_hpp + +#include +#include "../Macro.h" +#include "../base/CCVector.h" + +RENDERER_BEGIN +template +class RecyclePool +{ +public: + typedef std::function RecycleFunc; + + RecyclePool(RecycleFunc func, int size) + : _data() + { + _count = 0; + _func = func; + _data.resize(size); + + for (int i = 0; i < size; i++) + { + _data[i] = func(); + } + } + + ~RecyclePool() + { + for (size_t i = 0, len = _data.size(); i < len; i++) + { + delete _data[i]; + } + + _data.clear(); + } + + const T* getData(size_t index) const + { + if (index >= _count) + { + RENDERER_LOGW("Failed to get data %d, index not found.", index); + return nullptr; + } + + return _data[index]; + } + + const size_t getLength() const + { + return _count; + } + + void reset() + { + _count = 0; + } + + T* add() + { + int size = (int)_data.size(); + if (_count >= size) + { + resize(size * 2); + } + + return _data[_count++]; + } + + void resize(int size) + { + if (size > _data.size()) + { + for (int i = (int)_data.size(); i < size; i++) + { + T* data = _func(); + _data.push_back(data); + } + } + } + + void remove(int index) + { + if (index >= _count) + { + return; + } + + int last = _count - 1; + T tmp = _data[index]; + _data[index] = _data[last]; + _data[last] = tmp; + _count -= 1; + } +private: + size_t _count = 0; + RecycleFunc _func; + std::vector _data; + + +}; +RENDERER_END + +#endif /* RecyclePool_hpp */ diff --git a/native/cocos/renderer/renderer/BaseRenderer.cpp b/native/cocos/renderer/renderer/BaseRenderer.cpp index a9d4cc524d..6e8689f6b7 100644 --- a/native/cocos/renderer/renderer/BaseRenderer.cpp +++ b/native/cocos/renderer/renderer/BaseRenderer.cpp @@ -30,18 +30,21 @@ #include "View.h" #include "Scene.h" #include "Effect.h" +#include "Light.h" #include "InputAssembler.h" #include "Pass.h" #include "Camera.h" -#include "INode.h" #include "Model.h" RENDERER_BEGIN BaseRenderer::BaseRenderer() { - _drawItems.reserve(100); - _stageInfos.reserve(10); + _drawItems = new RecyclePool([]()mutable->DrawItem*{return new DrawItem();},100); + _stageInfos = new RecyclePool([]()mutable->StageInfo*{return new StageInfo();}, 10); + _views = new RecyclePool([]()mutable->View*{return new View();}, 8); + + _tmpMat3 = new cocos2d::Mat3(); } BaseRenderer::~BaseRenderer() @@ -54,6 +57,17 @@ BaseRenderer::~BaseRenderer() RENDERER_SAFE_RELEASE(_defaultTexture); _defaultTexture = nullptr; + + delete _drawItems; + _drawItems = nullptr; + + delete _stageInfos; + _stageInfos = nullptr; + + delete _views; + _views = nullptr; + + _tmpMat3 = nullptr; } bool BaseRenderer::init(DeviceGraphics* device, std::vector& programTemplates) @@ -99,69 +113,148 @@ void BaseRenderer::render(const View& view, const Scene* scene) _device->clear(view.clearFlags, &clearColor, view.depth, view.stencil); // get all draw items - _drawItems.clear(); - int modelViewId = -1; - uint32_t drawItemCount = 0; - DrawItem drawItem; + _drawItems->reset(); + int modelMask = -1; for (const auto& model : scene->getModels()) { - modelViewId = model->getViewId(); + modelMask = model->getCullingMask(); if (view.cullingByID) { - if (modelViewId != view.id) + if ((modelMask & view.cullingMask) == 0) continue; } else { - if (-1 != modelViewId) + if (-1 != modelMask) continue; } - drawItemCount = model->getDrawItemCount(); - for (uint32_t i = 0; i < drawItemCount; ++i) - { - model->extractDrawItem(drawItem, i); - _drawItems.push_back(drawItem); - } + DrawItem* drawItem = _drawItems->add(); + model->extractDrawItem(*drawItem); } // dispatch draw items to different stage - _stageInfos.clear(); + _stageInfos->reset(); StageItem stageItem; - StageInfo stageInfo; std::vector stageItems; for (const auto& stage : view.stages) { - for (const auto& item : _drawItems) + for (size_t i = 0, len = _drawItems->getLength(); i < len; i++) { - auto tech = item.effect->getTechnique(stage); + const DrawItem* item = _drawItems->getData(i); + auto tech = item->effect->getTechnique(stage); if (tech) { - stageItem.model = item.model; - stageItem.ia = item.ia; - stageItem.effect = item.effect; - stageItem.defines = item.defines; + stageItem.model = item->model; + stageItem.ia = item->ia; + stageItem.effect = item->effect; + stageItem.defines = item->defines; stageItem.technique = tech; stageItem.sortKey = -1; + stageItem.uniforms = item->uniforms; stageItems.push_back(stageItem); } } - - stageInfo.stage = stage; - stageInfo.items = &stageItems; - _stageInfos.push_back(std::move(stageInfo)); + StageInfo* stageInfo = _stageInfos->add(); + stageInfo->stage = stage; + stageInfo->items = &stageItems; } // render stages std::unordered_map::iterator foundIter; - for (const auto& stageInfo : _stageInfos) + for (size_t i = 0, len = _stageInfos->getLength(); i < len; i++) { - foundIter = _stage2fn.find(stageInfo.stage); + const StageInfo* stageInfo = _stageInfos->getData(i); + foundIter = _stage2fn.find(stageInfo->stage); if (_stage2fn.end() != foundIter) { auto& fn = foundIter->second; - fn(view, *stageInfo.items); + fn(view, *stageInfo->items); + } + } +} + +void BaseRenderer::setProperty (Effect::Property& prop) +{ + Technique::Parameter::Type propType = prop.getType(); + auto& propName = prop.getName(); + if (Effect::Property::Type::UNKNOWN == propType) + { + RENDERER_LOGW("Failed to set technique property, type unknown"); + return; + } + + if (nullptr == prop.getValue()) + { + prop = Effect::Property(propName, propType); + + if (Effect::Property::Type::TEXTURE_2D == propType) + { + prop.setTexture(_defaultTexture); + } + } + + if (nullptr == prop.getValue()) + { + RENDERER_LOGW("Failed to set technique property %s, value not found", propName.c_str()); + return; + } + + if (Effect::Property::Type::TEXTURE_2D == propType || + Effect::Property::Type::TEXTURE_CUBE == propType) + { + if (1 == prop.getCount()) + { + _device->setTexture(propName, + (renderer::Texture *)(prop.getValue()), + allocTextureUnit()); + } + else if (0 < prop.getCount()) + { + std::vector slots; + slots.reserve(10); + for (int i = 0; i < prop.getCount(); ++i) + { + slots.push_back(allocTextureUnit()); + } + + _device->setTextureArray(propName, + prop.getTextureArray(), + slots); + } + } + else + { + if (0 != prop.getCount()) + { +// if (Technique::Parameter::Type::COLOR3 == propType || +// Technique::Parameter::Type::INT3 == propType || +// Technique::Parameter::Type::FLOAT3 == propType || +// Technique::Parameter::Type::MAT3 == propType) +// { +// RENDERER_LOGW("Uinform array of color3/int3/float3/mat3 can not be supported!"); +// return; +// } + + uint8_t size = Technique::Parameter::getElements(propType); + if (size * prop.getCount() > 64) + { + RENDERER_LOGW("Uniform array is too long!"); + return; + } + } + + uint16_t bytes = prop.getBytes(); + if (Effect::Property::Type::INT == propType || + Effect::Property::Type::INT2 == propType || + Effect::Property::Type::INT4 == propType) + { + _device->setUniformiv(propName, bytes / sizeof(int), (const int*)prop.getValue()); + } + else + { + _device->setUniformfv(propName, bytes / sizeof(float), (const float*)prop.getValue()); } } } @@ -169,163 +262,90 @@ void BaseRenderer::render(const View& view, const Scene* scene) void BaseRenderer::draw(const StageItem& item) { Mat4 worldMatrix = item.model->getWorldMatrix(); - _device->setUniformMat4("model", worldMatrix.m); + _device->setUniformMat4("cc_matWorld", worldMatrix.m); - //REFINE: add Mat3 - worldMatrix.inverse(); - worldMatrix.transpose(); - _device->setUniformMat4("normalMatrix", worldMatrix.m); + cocos2d::Mat3::fromMat4(*_tmpMat3, worldMatrix); + _tmpMat3->inverse(); + _tmpMat3->transpose(); + _device->setUniformMat4("cc_mat3WorldIT", _tmpMat3->m); // set technique uniforms - auto ia = item.ia; - Technique::Parameter::Type propType = Technique::Parameter::Type::UNKNOWN; - for (const auto& param : item.technique->getParameters()) + for (int i = 0, len = (int)item.uniforms->size(); i < len; i++) { - Effect::Property* prop = const_cast(&item.effect->getProperty(param.getName())); + std::unordered_map* properties = (*item.uniforms)[i]; + for (auto& prop : *properties) { + setProperty(prop.second); + } + } + + auto ia = item.ia; + // for each pass + for (const auto& pass : item.technique->getPasses()) + { + // set vertex buffer + _device->setVertexBuffer(0, ia->getVertexBuffer()); - if (Effect::Property::Type::UNKNOWN == prop->getType()) - *prop = param; + // set index buffer + if (ia->_indexBuffer) + _device->setIndexBuffer(ia->_indexBuffer); - if (nullptr == prop->getValue()) + // set primitive type + _device->setPrimitiveType(ia->_primitiveType); + _program = _programLib->getProgram(pass->_programName, *(item.defines)); + _device->setProgram(_program); + + // cull mode + _device->setCullMode(pass->_cullMode); + + // blend + if (pass->_blend) { - *prop = Effect::Property(param.getName(), param.getType()); - - if (Effect::Property::Type::TEXTURE_2D == param.getType()) - prop->setTexture(_defaultTexture); + _device->enableBlend(); + _device->setBlendFuncSeparate(pass->_blendSrc, + pass->_blendDst, + pass->_blendSrcAlpha, + pass->_blendDstAlpha); + _device->setBlendEquationSeparate(pass->_blendEq, pass->_blendAlphaEq); + _device->setBlendColor(pass->_blendColor); } - if (nullptr == prop->getValue()) + // depth test & write + if (pass->_depthTest) { - RENDERER_LOGW("Failed to set technique property %s, value not found", param.getName().c_str()); - continue; + _device->enableDepthTest(); + _device->setDepthFunc(pass->_depthFunc); + } + if (pass->_depthWrite) + _device->enableDepthWrite(); + + // setencil + if (pass->_stencilTest) + { + _device->enableStencilTest(); + + // front + _device->setStencilFuncFront(pass->_stencilFuncFront, + pass->_stencilRefFront, + pass->_stencilMaskFront); + _device->setStencilOpFront(pass->_stencilFailOpFront, + pass->_stencilZFailOpFront, + pass->_stencilZPassOpFront, + pass->_stencilWriteMaskFront); + + // back + _device->setStencilFuncBack(pass->_stencilFuncBack, + pass->_stencilRefBack, + pass->_stencilMaskBack); + _device->setStencilOpBack(pass->_stencilFailOpBack, + pass->_stencilZFailOpBack, + pass->_stencilZPassOpBack, + pass->_stencilWriteMaskBack); } - propType = prop->getType(); - if (Effect::Property::Type::TEXTURE_2D == propType || - Effect::Property::Type::TEXTURE_CUBE == propType) - { - if (0 != param.getCount()) - { - if (param.getCount() != prop->getCount()) - { - RENDERER_LOGW("The length of texture array %d is not correct(expect %d)", prop->getCount(), param.getCount()); - continue; - } - - std::vector slots; - slots.reserve(10); - for (int i = 0; i < param.getCount(); ++i) - slots.push_back(allocTextureUnit()); - - _device->setTextureArray(param.getName(), - std::move(prop->getTextureArray()), - slots); - } - else - _device->setTexture(param.getName(), - (renderer::Texture *)(prop->getValue()), - allocTextureUnit()); - } - else - { - if (0 != prop->getCount()) - { - if (Technique::Parameter::Type::COLOR3 == propType || - Technique::Parameter::Type::INT3 == propType || - Technique::Parameter::Type::FLOAT3 == propType || - Technique::Parameter::Type::MAT3 == propType) - { - RENDERER_LOGW("Uinform array of color3/int3/float3/mat3 can not be supported!"); - continue; - } - - uint8_t size = Technique::Parameter::getElements(propType); - if (size * prop->getCount() > 64) - { - RENDERER_LOGW("Uniform array is too long!"); - continue; - } - } - - uint16_t bytes = prop->getBytes(); - if (Effect::Property::Type::INT == propType || - Effect::Property::Type::INT2 == propType || - Effect::Property::Type::INT4 == propType) - _device->setUniformiv(param.getName(), bytes / sizeof(int), (const int*)prop->getValue()); - else - _device->setUniformfv(param.getName(), bytes / sizeof(float), (const float*)prop->getValue()); - } + // draw pass + _device->draw(ia->_start, ia->getPrimitiveCount()); - // for each pass - for (const auto& pass : item.technique->getPasses()) - { - // set vertex buffer - _device->setVertexBuffer(0, ia->getVertexBuffer()); - - // set index buffer - if (ia->_indexBuffer) - _device->setIndexBuffer(ia->_indexBuffer); - - // set primitive type - _device->setPrimitiveType(ia->_primitiveType); - - // set program - auto program = _programLib->getProgram(pass->_programName, *(item.defines)); - _device->setProgram(program); - - // cull mode - _device->setCullMode(pass->_cullMode); - - // blend - if (pass->_blend) - { - _device->enableBlend(); - _device->setBlendFuncSeparate(pass->_blendSrc, - pass->_blendDst, - pass->_blendSrcAlpha, - pass->_blendDstAlpha); - _device->setBlendEquationSeparate(pass->_blendEq, pass->_blendAlphaEq); - _device->setBlendColor(pass->_blendColor); - } - - // depth test & write - if (pass->_depthTest) - { - _device->enableDepthTest(); - _device->setDepthFunc(pass->_depthFunc); - } - if (pass->_depthWrite) - _device->enableDepthWrite(); - - // setencil - if (pass->_stencilTest) - { - _device->enableStencilTest(); - - // front - _device->setStencilFuncFront(pass->_stencilFuncFront, - pass->_stencilRefFront, - pass->_stencilMaskFront); - _device->setStencilOpFront(pass->_stencilFailOpFront, - pass->_stencilZFailOpFront, - pass->_stencilZPassOpFront, - pass->_stencilWriteMaskFront); - - // back - _device->setStencilFuncBack(pass->_stencilFuncBack, - pass->_stencilRefBack, - pass->_stencilMaskBack); - _device->setStencilOpBack(pass->_stencilFailOpBack, - pass->_stencilZFailOpBack, - pass->_stencilZPassOpBack, - pass->_stencilWriteMaskBack); - } - - // draw pass - _device->draw(ia->_start, ia->getPrimitiveCount()); - - resetTextureUint(); - } + resetTextureUint(); } } @@ -347,12 +367,13 @@ int BaseRenderer::allocTextureUnit() void BaseRenderer::reset() { - + _views->reset(); + _stageInfos->reset(); } View* BaseRenderer::requestView() { - return new (std::nothrow) View(); + return _views->add(); } RENDERER_END diff --git a/native/cocos/renderer/renderer/BaseRenderer.h b/native/cocos/renderer/renderer/BaseRenderer.h index 4dad284ff3..5c6426c147 100644 --- a/native/cocos/renderer/renderer/BaseRenderer.h +++ b/native/cocos/renderer/renderer/BaseRenderer.h @@ -31,6 +31,8 @@ #include "../Macro.h" #include "ProgramLib.h" #include "Model.h" +#include "Effect.h" +#include "../memop/RecyclePool.hpp" RENDERER_BEGIN @@ -44,33 +46,66 @@ class Effect; class Technique; class Texture2D; +/** + * @addtogroup renderer + * @{ + */ + +/** + * @brief Base renderer implements the basic render process. + */ class BaseRenderer : public Ref { public: struct StageItem { Model* model = nullptr; - INode* node = nullptr; InputAssembler *ia = nullptr; Effect* effect = nullptr; - ValueMap* defines = nullptr; Technique* technique = nullptr; + std::vector* defines = nullptr; + std::vector*>* uniforms = nullptr; int sortKey = -1; }; typedef std::function&)> StageCallback; - + /** + * @brief The default constructor. + */ BaseRenderer(); + /** + * @brief Initializes the base renderer. + * @param[in] device DeviceGraphics pointer. + * @param[in] programTemplates All linked programs. + */ bool init(DeviceGraphics* device, std::vector& programTemplates); + /** + * @brief Initializes the base renderer. + * @param[in] device DeviceGraphics pointer. + * @param[in] programTemplates All programs. + * @param[in] defaultTexture Default texture pointer. + */ bool init(DeviceGraphics* device, std::vector& programTemplates, Texture2D* defaultTexture); + /** + * @brief The default destructor. + */ virtual ~BaseRenderer(); - + /** + * @brief Register a new render stage. + * @param[in] name Stage name. + * @param[in] call Stage handle callback. + */ void registerStage(const std::string& name, const StageCallback& callback); - ProgramLib* getProgramLib() const { return _programLib; } + /** + * @brief Gets the program library pointer. + * @return Program library pointer. + */ + ProgramLib* getProgramLib() const { return _programLib; }; protected: void render(const View&, const Scene* scene); void draw(const StageItem& item); + void setProperty (Effect::Property& prop); struct StageInfo { @@ -84,14 +119,22 @@ protected: View* requestView(); int _usedTextureUnits = 0; + std::string _programName; + int32_t _definesKey = 0; DeviceGraphics* _device = nullptr; ProgramLib* _programLib = nullptr; + Program* _program = nullptr; Texture2D* _defaultTexture = nullptr; std::unordered_map _stage2fn; - std::vector _drawItems; - std::vector _stageInfos; + RecyclePool* _drawItems = nullptr; + RecyclePool* _stageInfos = nullptr; + RecyclePool* _views = nullptr; + + cocos2d::Mat3* _tmpMat3 = nullptr; CC_DISALLOW_COPY_ASSIGN_AND_MOVE(BaseRenderer); }; +// end of renderer group +/// @} RENDERER_END diff --git a/native/cocos/renderer/renderer/Camera.cpp b/native/cocos/renderer/renderer/Camera.cpp index 24d6b38228..d958d2fb08 100644 --- a/native/cocos/renderer/renderer/Camera.cpp +++ b/native/cocos/renderer/renderer/Camera.cpp @@ -24,21 +24,18 @@ #include "Camera.h" #include "gfx/FrameBuffer.h" -#include "INode.h" +#include "math/MathUtil.h" RENDERER_BEGIN Camera::Camera() { - _cachedView.color = _color; - _cachedView.depth = _depth; - _cachedView.clearFlags = _clearFlags; - _cachedView.stencil = _stencil; } Camera::~Camera() { RENDERER_SAFE_RELEASE(_framebuffer); + RENDERER_SAFE_RELEASE(_node); } void Camera::setFrameBuffer(FrameBuffer* framebuffer) @@ -46,8 +43,6 @@ void Camera::setFrameBuffer(FrameBuffer* framebuffer) RENDERER_SAFE_RELEASE(_framebuffer); _framebuffer = framebuffer; RENDERER_SAFE_RETAIN(_framebuffer); - - _cachedView.frameBuffer = _framebuffer; } void Camera::setWorldMatrix(const Mat4& worldMatrix) @@ -63,25 +58,21 @@ void Camera::setWorldMatrix(const Mat4& worldMatrix) void Camera::setColor(float r, float g, float b, float a) { _color.set(r, g, b, a); - _cachedView.color = _color; } void Camera::setDepth(float depth) { _depth = depth; - _cachedView.depth = _depth; } void Camera::setStencil(int stencil) { _stencil = stencil; - _cachedView.stencil = _stencil; } void Camera::setClearFlags(uint8_t flags ) { _clearFlags = flags; - _cachedView.clearFlags = _clearFlags; } void Camera::setRect(float x, float y, float w, float h) @@ -92,46 +83,63 @@ void Camera::setRect(float x, float y, float w, float h) void Camera::setStages(const std::vector& stages) { _stages = stages; - _cachedView.stages = _stages; } -void Camera::setNode(INode* node) +void Camera::setNode(NodeProxy* node) { + if (_node != nullptr) + { + _node->release(); + } _node = node; + if (_node != nullptr) + { + _node->retain(); + } } -const View& Camera::extractView( int width, int height) +void Camera::extractView(View& out, int width, int height) { - // can optimize it if node's position is not changed - // rect - _cachedView.rect.set(_rect.x * width, + out.rect.set(_rect.x * width, _rect.y * height, _rect.w * width, _rect.h * height); + + // clear opts + out.color = _color; + out.depth = _depth; + out.stencil = _stencil; + out.clearFlags = _clearFlags; // view matrix //REFINE: - _worldRTInv.set(_node->getWorldRT()); - _cachedView.matView.set(_worldRTInv.getInversed()); + _node->getWorldRT(&_worldRTInv); + out.matView.set(_worldRTInv.getInversed()); // projecton matrix float aspect = (float)width / height; if (ProjectionType::PERSPECTIVE == _projection) - Mat4::createPerspective(_fov / 3.1415926 * 180, aspect, _near, _far, &_cachedView.matProj); + Mat4::createPerspective(_fov / 3.1415926 * 180, aspect, _near, _far, &out.matProj); else { float x = _orthoHeight * aspect; float y = _orthoHeight; - Mat4::createOrthographic(-x, x, -y, y, &_cachedView.matProj); + Mat4::createOrthographicOffCenter(-x, x, -y, y, _near, _far, &out.matProj); } // view projection - Mat4::multiply(_cachedView.matProj, _cachedView.matView, &_cachedView.matViewProj); - _cachedView.matInvViewPorj.set(_cachedView.matViewProj.getInversed()); + Mat4::multiply(out.matProj, out.matView, &out.matViewProj); + out.matInvViewPorj.set(out.matViewProj.getInversed()); - return _cachedView; + // stages & framebuffer + out.stages = _stages; + out.frameBuffer = _framebuffer; + + // culling mask + out.cullingMask = _cullingMask; + out.cullingByID = true; } Vec3& Camera::screenToWorld(Vec3& out, const Vec3& screenPos, int width, int height) const @@ -153,7 +161,7 @@ Vec3& Camera::screenToWorld(Vec3& out, const Vec3& screenPos, int width, int hei Mat4::createOrthographic(-x, x, -y, y, &matProj); } - const_cast(this)->_worldRTInv = _node->getWorldRT(); + _node->getWorldRT(&(const_cast(this)->_worldRTInv)); const_cast(this)->_worldRTInv.inverse(); // view projection @@ -172,16 +180,15 @@ Vec3& Camera::screenToWorld(Vec3& out, const Vec3& screenPos, int width, int hei // Transform to world position. matInvViewProj.transformPoint(&out); - const_cast(this)->_worldPos.set(_node->getWorldPos()); + _node->getWorldPosition(&(const_cast(this)->_worldPos)); Vec3 tmpVec3 = _worldPos; - out = tmpVec3.lerp(out, screenPos.z / _far); + out = tmpVec3.lerp(out, MathUtil::lerp(_near / _far, 1, screenPos.z)); } else { - float range = _far - _near; out.set((screenPos.x - cx) * 2.0f / cw - 1.0f, (screenPos.y - cy) * 2.0f / ch - 1.0f, - (_far - screenPos.z) / range * 2.0f - 1.0f); + screenPos.z * 2.0f - 1.0f); // Transform to world position. matInvViewProj.transformPoint(&out); @@ -209,21 +216,16 @@ Vec3& Camera::worldToScreen(Vec3& out, const Vec3& worldPos, int width, int heig Mat4::createOrthographic(-x, x, -y, y, &matProj); } - const_cast(this)->_worldRTInv = _node->getWorldRT(); + _node->getWorldRT(&(const_cast(this)->_worldRTInv)); const_cast(this)->_worldRTInv.inverse(); // view projection Mat4 matViewProj; Mat4::multiply(matProj, _worldRTInv, &matViewProj); - // caculate w - float w = worldPos.x * matViewProj.m[3] + - worldPos.y * matViewProj.m[7] + - worldPos.z * matViewProj.m[11] + - matViewProj.m[15]; - matViewProj.transformPoint(worldPos, &out); - out.x = cx + (out.x / w + 1) * 0.5f * cw; - out.y = cy + (out.y / w + 1) * 0.5f * ch; + out.x = cx + (out.x + 1) * 0.5f * cw; + out.y = cy + (out.y + 1) * 0.5f * ch; + out.z = out.z * 0.5 + 0.5; return out; } diff --git a/native/cocos/renderer/renderer/Camera.h b/native/cocos/renderer/renderer/Camera.h index d101506554..a489ff5a2b 100644 --- a/native/cocos/renderer/renderer/Camera.h +++ b/native/cocos/renderer/renderer/Camera.h @@ -32,6 +32,7 @@ #include "../Macro.h" #include "../Types.h" #include "View.h" +#include "../scene/NodeProxy.hpp" #ifdef near #undef near @@ -44,67 +45,172 @@ RENDERER_BEGIN class FrameBuffer; -class INode; +/** + * @addtogroup renderer + * @{ + */ + +/** + * @brief Manage scene camera. + */ class Camera : public Ref { public: + /** + * @brief The default constructor. + */ Camera(); + /** + * @brief The default destructor. + */ ~Camera(); + /** + * @brief Gets the camera type. + */ ProjectionType getType() const { return _projection; } - + /** + * @brief Sets the camera type. + */ + inline void setType(ProjectionType value) { _projection = value; } + /** + * @brief Gets the view height for orthographic camera. + */ inline float getOrthoHeight() const { return _orthoHeight; } + /** + * @brief Sets the view height for orthographic camera. + */ inline void setOrthoHeight(float value) { _orthoHeight = value; } - + /** + * @brief Gets the field of view for the camera. + */ inline float getFov() const { return _fov; } + /** + * @brief Sets the field of view for the camera. + */ inline void setFov(float fov) { _fov = fov; } - + /** + * @brief Gets the near clip plane. + */ inline float getNear() const { return _near; } + /** + * @brief Sets the near clip plane. + */ inline void setNear(float near) { _near = near; } - + /** + * @brief Gets the far clip plane. + */ inline float getFar() const { return _far; } + /** + * @brief Sets the far clip plane. + */ inline void setFar(float far) { _far = far; } - + /** + * @brief Gets the clear color. + */ inline void getColor(Color4F& out) const { out = _color; } + /** + * @brief Sets the clear color. + */ void setColor(float r, float g, float b, float a); - + /** + * @brief Gets the depth of the camera, camera of smaller depth gets rendered earlier. + */ inline float getDepth() const { return _depth; } + /** + * @brief Sets the depth of the camera, camera of smaller depth gets rendered earlier + */ void setDepth(float depth); - + /** + * @brief Gets the culling mask. + */ + inline int getCullingMask() const { return _cullingMask; } + /** + * @brief Sets the culling mask. + */ + inline void setCullingMask(int mask) { _cullingMask = mask; } + /** + * @brief Gets the stencil value to clear + */ inline int getStencil() const { return _stencil; } + /** + * @brief Sets the stencil value to clear + */ void setStencil(int stencil); - + /** + * @brief Gets the clear flags including color, stencil and depth. + */ inline uint8_t getClearFlags() const { return _clearFlags; } + /** + * @brief Sets the clear flags including color, stencil and depth. + */ void setClearFlags(uint8_t flags ); - + /** + * @brief Gets rect. + */ inline Rect* getRect(Rect& out) const { out = _rect; return &out; } + /** + * @brief Sets rect. + */ void setRect(float x, float y, float w, float h); - + /** + * @brief Gets stages. + */ inline const std::vector& getStages() const { return _stages; } + /** + * @brief Sets stages. + */ void setStages(const std::vector& stages); - + /** + * @brief Gets the frame buffer as render target. + */ inline FrameBuffer* getFrameBuffer() const { return _framebuffer; } + /** + * @brief Sets the frame buffer as render target. + */ void setFrameBuffer(FrameBuffer* framebuffer); - + /** + * @brief Sets the world matrix. + */ void setWorldMatrix(const Mat4& worldMatrix); - - const View& extractView(int width, int height); - + /** + * @brief Extracts the camera info to view. + */ + void extractView(View& view, int width, int height); + /** + * @brief Transform a screen position to world in the current camera projection. + */ Vec3& screenToWorld(Vec3& out, const Vec3& screenPos, int width, int height) const; + /** + * @brief Transform a world position to screen in the current camera projection. + */ Vec3& worldToScreen(Vec3& out, const Vec3& worldPos, int width, int height) const; - - void setNode(INode* node); - inline INode* getNode() const { return _node; } - + /** + * @brief Sets the related node proxy which provids model matrix for camera. + */ + void setNode(NodeProxy* node); + /** + * @brief Gets the related node proxy which provids model matrix for camera. + */ + inline NodeProxy* getNode() const { return _node; } + /** + * @brief Sets the camera render priority. + */ + void setPriority(int priority) { _priority = priority; } + /** + * @brief Gets the camera render priority. + */ + int getPriority() const { return _priority; } private: - INode* _node = nullptr; + NodeProxy* _node = nullptr; ProjectionType _projection = ProjectionType::PERSPECTIVE; // clear options Color4F _color = {0.2f, 0.3f, 0.47f, 1.f}; float _depth = 1.f; int _stencil = 1; + int _cullingMask = 1; uint8_t _clearFlags = ClearFlag::COLOR | ClearFlag::DEPTH; // stage & framebuffer @@ -122,8 +228,11 @@ private: Mat4 _worldRTInv; Vec3 _worldPos; - - View _cachedView; + + int _priority = 0; }; +// end of renderer group +/// @} + RENDERER_END diff --git a/native/cocos/renderer/renderer/Config.h b/native/cocos/renderer/renderer/Config.h index 81a6dc0177..c545db1933 100644 --- a/native/cocos/renderer/renderer/Config.h +++ b/native/cocos/renderer/renderer/Config.h @@ -31,11 +31,33 @@ RENDERER_BEGIN +/** + * @addtogroup renderer + * @{ + */ + +/** + * @brief Stage config which use to store stageID. + */ class Config { public: + /** + * @brief Adds stage id by name. + * @param[in] name Stage name. + */ static void addStage(const std::string& name); + /** + * @brief Gets stage id by name. + * @param[in] name Stage name. + * @return Stage id. + */ static int getStageID(const std::string& name); + /** + * @brief Gets all stage id by a list of names and store in uint32 value by AND operation. + * @param[in] nameList Stage name list. + * @return A uint32 represents all stages. + */ static unsigned int getStageIDs(const std::vector& nameList); private: @@ -43,4 +65,7 @@ private: static std::unordered_map _name2stageID; }; +// end of renderer group +/// @} + RENDERER_END diff --git a/native/cocos/renderer/renderer/CustomProperties.cpp b/native/cocos/renderer/renderer/CustomProperties.cpp new file mode 100644 index 0000000000..db7a4fdd13 --- /dev/null +++ b/native/cocos/renderer/renderer/CustomProperties.cpp @@ -0,0 +1,91 @@ +/**************************************************************************** + Copyright (c) 2018 Xiamen Yaji Software Co., Ltd. + + http://www.cocos2d-x.org + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. + ****************************************************************************/ + +#include "CustomProperties.hpp" + +RENDERER_BEGIN +CustomProperties::CustomProperties() +{ +} + +CustomProperties::~CustomProperties() +{ + _properties.clear(); + _defines.clear(); +} + +void CustomProperties::setProperty(const std::string name, const Property& property) +{ + auto iter = _properties.find(name); + if (iter != _properties.end() && iter->second == property) + { + return; + } + _properties[name] = property; + _dirty = true; +} + +const CustomProperties::Property& CustomProperties::getProperty(std::string name) const +{ + static Property EMPTY_PROPERTY; + if (_properties.end() == _properties.find(name)) + return EMPTY_PROPERTY; + else + return _properties.at(name); +} + +void CustomProperties::define(const std::string& name, const Value& value) +{ + if (_defines[name] == value) + { + return; + }; + + _dirty = true; + _defines[name] = value; +} + +Value CustomProperties::getDefine(const std::string& name) const +{ + auto iter = _defines.find(name); + if (iter != _defines.end()) + { + return iter->second; + } + + RENDERER_LOGW("Failed to get CustomProperties define %s, define not found.", name.c_str()); + return Value::Null; +} + +std::unordered_map* CustomProperties::extractProperties() +{ + return &_properties; +} + +ValueMap* CustomProperties::extractDefines() +{ + return &_defines; +} + +RENDERER_END diff --git a/native/cocos/renderer/renderer/CustomProperties.hpp b/native/cocos/renderer/renderer/CustomProperties.hpp new file mode 100644 index 0000000000..0707f1b932 --- /dev/null +++ b/native/cocos/renderer/renderer/CustomProperties.hpp @@ -0,0 +1,56 @@ +/**************************************************************************** + Copyright (c) 2018 Xiamen Yaji Software Co., Ltd. + + http://www.cocos2d-x.org + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. + ****************************************************************************/ + +#pragma once + +#include +#include "../Macro.h" +#include "Technique.h" +#include "base/CCValue.h" + +RENDERER_BEGIN + +class CustomProperties +{ +public: + using Property = Technique::Parameter; + + CustomProperties(); + ~CustomProperties(); + + void setProperty(const std::string name, const Property& property); + const Property& getProperty(std::string name) const; + void define(const std::string& name, const Value& value); + Value getDefine(const std::string& name) const; + std::unordered_map* extractProperties(); + ValueMap* extractDefines(); + const double getHash() const {return _hash; }; +private: + std::unordered_map _properties; + ValueMap _defines; + double _hash = 0; + bool _dirty = false; +}; + +RENDERER_END diff --git a/native/cocos/renderer/renderer/Effect.cpp b/native/cocos/renderer/renderer/Effect.cpp index e4847eee68..b663e04487 100644 --- a/native/cocos/renderer/renderer/Effect.cpp +++ b/native/cocos/renderer/renderer/Effect.cpp @@ -27,7 +27,12 @@ RENDERER_BEGIN +std::map Effect::_defineBitOrder; +std::vector Effect::_sharedDefineList; + Effect::Effect() +: _hash(0) +, _definesKey(0) {} void Effect::init(const Vector& techniques, @@ -41,6 +46,7 @@ void Effect::init(const Vector& techniques, for (const auto defineTemplate: _defineTemplates) _cachedNameValues.emplace(defineTemplate.at("name").asString(), defineTemplate.at("value")); + generateKey(); } Effect::~Effect() @@ -70,7 +76,7 @@ Technique* Effect::getTechnique(const std::string& stage) const return nullptr; } -Value Effect::getDefineValue(const std::string& name) const +Value Effect::getDefine(const std::string& name) const { for (const auto& def : _defineTemplates) { @@ -82,27 +88,33 @@ Value Effect::getDefineValue(const std::string& name) const return Value::Null; } -void Effect::setDefineValue(const std::string& name, const Value& value) +void Effect::define(const std::string& name, const Value& value) { for (auto& def : _defineTemplates) { if (name == def.at("name").asString()) { def["value"] = value; - _cachedNameValues[name] = value; + if (_cachedNameValues[name] != value) + { + _cachedNameValues[name] = value; + generateKey(); + } return; } - } + }; } ValueMap* Effect::extractDefines() { -// for (auto& def : _defineTemplates) -// out.emplace(def.at("name").asString(), def.at("value")); - return &_cachedNameValues; } +std::unordered_map* Effect::extractProperties() +{ + return &_properties; +} + const Effect::Property& Effect::getProperty(const std::string& name) const { static Property EMPTY_PROPERTY; @@ -117,4 +129,91 @@ void Effect::setProperty(const std::string& name, const Property& property) _properties[name] = property; } +void Effect::_updateDefineBitOrder(const ValueMap& nameValues) +{ + for (auto& tmplDefs : nameValues) + { + if (_defineBitOrder.find(tmplDefs.first) == _defineBitOrder.end()) + { + _sharedDefineList.push_back(tmplDefs.first); + _defineBitOrder[tmplDefs.first] = _sharedDefineList.size(); + } + } +} + +void Effect::generateKey() +{ + // Update global order when has new define. + _updateDefineBitOrder(_cachedNameValues); + + _definesKey = 0; + for (auto& tmplDefs : _cachedNameValues) { + uint32_t value = tmplDefs.second.asUnsignedInt(); + CCASSERT(value <= 1,"Define value can't greater than 1"); + value <<= _defineBitOrder[tmplDefs.first]; + _definesKey |= value; + } + + // Reserve 8 bit for the OR operation with program id in ProgramLib. + _definesKey <<= 8; +} + +void Effect::copy(const Effect* effect) +{ + _hash = effect->_hash; + auto& otherTech = effect->_techniques; + for (auto it = otherTech.begin(); it != otherTech.end(); it ++) + { + auto tech = new Technique(); + tech->autorelease(); + tech->copy(**it); + _techniques.pushBack(tech); + } + _defineTemplates = effect->_defineTemplates; + _cachedNameValues = effect->_cachedNameValues; + _properties = effect->_properties; + _definesKey = effect->_definesKey; +} + +void Effect::setCullMode(CullMode cullMode) +{ + Technique* tech = _techniques.front(); + const Vector& passes = tech->getPasses(); + for (const auto& pass : passes) + { + pass->setCullMode(cullMode); + } +} + +void Effect::setBlend(BlendOp blendEq, BlendFactor blendSrc, BlendFactor blendDst, BlendOp blendAlphaEq, BlendFactor blendSrcAlpha, BlendFactor blendDstAlpha, uint32_t blendColor) +{ + Technique* tech = _techniques.front(); + const Vector& passes = tech->getPasses(); + for (const auto& pass : passes) + { + pass->setBlend(blendEq, blendSrc, blendDst, blendAlphaEq, blendSrcAlpha, blendDstAlpha, blendColor); + } +} + +void Effect::setStencilTest(bool value) +{ + Technique* tech = _techniques.front(); + const Vector& passes = tech->getPasses(); + for (const auto& pass : passes) + { + pass->setStencilTest(value); + } +} + +void Effect::setStencil(StencilFunc stencilFunc, uint32_t stencilRef, uint8_t stencilMask, StencilOp stencilFailOp, StencilOp stencilZFailOp, StencilOp stencilZPassOp, uint8_t stencilWriteMask) +{ + Technique* tech = _techniques.front(); + const Vector& passes = tech->getPasses(); + for (const auto& pass : passes) + { + pass->setStencilFront(stencilFunc, stencilRef, stencilMask, stencilFailOp, stencilZFailOp, stencilZPassOp, stencilWriteMask); + pass->setStencilBack(stencilFunc, stencilRef, stencilMask, stencilFailOp, stencilZFailOp, stencilZPassOp, stencilWriteMask); + } +} + RENDERER_END diff --git a/native/cocos/renderer/renderer/Effect.h b/native/cocos/renderer/renderer/Effect.h index 5ae79b1a14..61469f2a4b 100644 --- a/native/cocos/renderer/renderer/Effect.h +++ b/native/cocos/renderer/renderer/Effect.h @@ -26,44 +26,192 @@ #include #include +#include #include "base/CCRef.h" #include "base/CCValue.h" #include "../Macro.h" #include "Technique.h" +#include "Pass.h" RENDERER_BEGIN +/** + * @addtogroup renderer + * @{ + */ + +/** + * @brief Fundamental class of material system, contains techniques, shader template define settings and uniform properties.\n + * JS API: renderer.Effect + * @code + * let pass = new renderer.Pass('sprite'); + * pass.setDepth(false, false); + * pass.setCullMode(gfx.CULL_NONE); + * let mainTech = new renderer.Technique( + * ['transparent'], + * [ + * { name: 'texture', type: renderer.PARAM_TEXTURE_2D }, + * { name: 'color', type: renderer.PARAM_COLOR4 } + * ], + * [ + * pass + * ] + * ); + * let effect = new renderer.Effect( + * [ + * mainTech + * ], + * { + * 'color': {r: 1, g: 1, b: 1, a: 1} + * }, + * [ + * { name: 'useTexture', value: true }, + * { name: 'useModel', value: false }, + * { name: 'alphaTest', value: false }, + * { name: 'useColor', value: true } + * ] + * ); + * @endcode + */ class Effect : public Ref { public: - using Property = Technique::Parameter; + /* + * @brief The default constructor. + */ Effect(); + /* + * @brief The default destructor. + */ ~Effect(); + /* + * @brief Initialize with techniques, properties and define settings. + * @param[in] techniques All techniques in an array + * @param[in] properties All properties in a map + * @param[in] defineTemplates All defines and their value in a map + */ void init(const Vector& techniques, const std::unordered_map& properties, const std::vector& defineTemplates); + /** + * @brief Clears techniques and define list. + */ void clear(); + /** + * @brief Gets technique by stage. + */ Technique* getTechnique(const std::string& stage) const; + /* + * @brief Gets all techniques. + */ const Vector& getTechniques() const { return _techniques; } - Value getDefineValue(const std::string& name) const; + /** + * @brief Gets define property value by name. + */ + Value getDefine(const std::string& name) const; + /** + * @brief Sets a define's value. + */ + void define(const std::string& name, const Value& value); + /* + * @brief Gets all define values. + */ const std::vector& getDefines() const { return _defineTemplates; } - void setDefineValue(const std::string& name, const Value& value); + /* + * @brief Extracts all defines. + */ ValueMap* extractDefines(); - + /* + * @brief Extracts all propertyps. + */ + std::unordered_map* extractProperties(); + /** + * @brief Gets uniform property value by name. + */ const Property& getProperty(const std::string& name) const; + /** + * @brief Sets uniform property value by name. + */ void setProperty(const std::string& name, const Property& property); - + /* + * @brief Gets all uniform properties. + */ const std::unordered_map& getProperties() const { return _properties; } + /** + * @brief Updates hash. + */ + void updateHash(double hash) { _hash = hash; }; + /** + * @brief Gets hash. + */ + double getHash() const { return _hash; }; + /** + * @brief Sets cull mode. + * @param[in] cullMode Cull front or back or both. + */ + void setCullMode(CullMode cullMode); + /** + * @brief Sets blend mode. + * @param[in] blendEq RGB blend equation. + * @param[in] blendSrc Src RGB blend factor. + * @param[in] blendDst Dst RGB blend factor. + * @param[in] blendAlphaEq Alpha blend equation. + * @param[in] blendSrcAlpha Src Alpha blend equation. + * @param[in] blendDstAlpha Dst Alpha blend equation. + * @param[in] blendColor Blend constant color value. + */ + void setBlend(BlendOp blendEq = BlendOp::ADD, + BlendFactor blendSrc = BlendFactor::ONE, + BlendFactor blendDst = BlendFactor::ZERO, + BlendOp blendAlphaEq = BlendOp::ADD, + BlendFactor blendSrcAlpha = BlendFactor::ONE, + BlendFactor blendDstAlpha = BlendFactor::ZERO, + uint32_t blendColor = 0xffffffff); + /** + * @brief Sets stencil front-facing function, reference, mask, fail operation, write mask. + */ + void setStencil(StencilFunc stencilFunc = StencilFunc::ALWAYS, + uint32_t stencilRef = 0, + uint8_t stencilMask = 0xff, + StencilOp stencilFailOp = StencilOp::KEEP, + StencilOp stencilZFailOp = StencilOp::KEEP, + StencilOp stencilZPassOp = StencilOp::KEEP, + uint8_t stencilWriteMask = 0xff); + /* + * @brief Sets stencil test enabled or not. + */ + void setStencilTest(bool value); + + /* + * @brief Gets the define key for the current define settings. + */ + const int32_t& getDefinesKey() { return _definesKey; }; + /** + * @brief Deep copy from other effect. + */ + void copy(const Effect* effect); private: + double _hash; + int32_t _definesKey; Vector _techniques; std::vector _defineTemplates; ValueMap _cachedNameValues; std::unordered_map _properties; + + // Global define order. + static std::map _defineBitOrder; + static std::vector _sharedDefineList; + static void _updateDefineBitOrder(const ValueMap& nameValues); + + void generateKey(); }; +// end of renderer group +/// @} + RENDERER_END diff --git a/native/cocos/renderer/renderer/ForwardRenderer.cpp b/native/cocos/renderer/renderer/ForwardRenderer.cpp index 0db6332dd9..a3fe76e896 100644 --- a/native/cocos/renderer/renderer/ForwardRenderer.cpp +++ b/native/cocos/renderer/renderer/ForwardRenderer.cpp @@ -2,17 +2,17 @@ Copyright (c) 2018 Xiamen Yaji Software Co., Ltd. http://www.cocos2d-x.org - + Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - + The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE @@ -28,6 +28,7 @@ #include "gfx/Texture2D.h" #include "gfx/VertexBuffer.h" #include "gfx/IndexBuffer.h" +#include "gfx/FrameBuffer.h" #include "ProgramLib.h" #include "View.h" #include "Scene.h" @@ -35,12 +36,28 @@ #include "InputAssembler.h" #include "Pass.h" #include "Camera.h" - +#include "Light.h" +#include RENDERER_BEGIN ForwardRenderer::ForwardRenderer() { + _arrayPool = new RecyclePool([]()mutable->float*{return new float[16];}, 8); + +} + +ForwardRenderer::~ForwardRenderer() +{ + _directionalLights.clear(); + _pointLights.clear(); + _spotLights.clear(); + _shadowLights.clear(); + _ambientLights.clear(); + _defines.clear(); + + delete _arrayPool; + _arrayPool = nullptr; } bool ForwardRenderer::init(DeviceGraphics* device, std::vector& programTemplates, Texture2D* defaultTexture, int width, int height) @@ -48,32 +65,395 @@ bool ForwardRenderer::init(DeviceGraphics* device, std::vectorreset(); + reset(); +} + void ForwardRenderer::render(Scene* scene) { -// reset(); + resetData(); + updateLights(scene); + scene->sortCameras(); + auto& cameras = scene->getCameras(); + for (auto& camera : cameras) + { + View* view = requestView(); + camera->extractView(*view, _width, _height); + } - const auto& cameras = scene->getCameras(); - for (auto camera : cameras) - BaseRenderer::render(camera->extractView(_width, _height), scene); + for (size_t i = 0, len = _views->getLength(); i < len; ++i) { + const View* view = _views->getData(i); + BaseRenderer::render(*view, scene); + } scene->removeModels(); } +void ForwardRenderer::renderCamera(Camera* camera, Scene* scene) +{ + reset(); + int width = _width; + int height = _height; + FrameBuffer* fb = camera->getFrameBuffer(); + if (nullptr != fb) { + width = fb->getWidth(); + height = fb->getHeight(); + } + View* view = requestView(); + camera->extractView(*view, width, height); + BaseRenderer::render(*view, scene); + + scene->removeModels(); +} + +void ForwardRenderer::updateLights(Scene* scene) +{ + _directionalLights.clear(); + _pointLights.clear(); + _spotLights.clear(); + _shadowLights.clear(); + _ambientLights.clear(); + + const Vector lights = scene->getLights(); + for (const auto& light : lights) + { + light->update(_device); + if (light->getShadowType() != Light::ShadowType::NONE) + { + _shadowLights.pushBack(light); + View* view = requestView(); + std::vector stages; + stages.push_back("shadowcast"); + light->extractView(*view, stages); + } + + switch(light->getType()) + { + case Light::LightType::DIRECTIONAL: + { + _directionalLights.pushBack(light); + break; + } + case Light::LightType::POINT: + { + _pointLights.pushBack(light); + break; + } + case Light::LightType::SPOT: + { + _spotLights.pushBack(light); + break; + } + case Light::LightType::AMBIENT: + { + _ambientLights.pushBack(light); + break; + } + } + } + + if (lights.size() > 0) + { + updateDefines(); + } + + _numLights = lights.size(); +} + +void ForwardRenderer::updateDefines() +{ + _defines.emplace(std::make_pair("CC_NUM_DIR_LIGHTS", Value(std::min(4, (int)_directionalLights.size())))); + _defines.emplace(std::make_pair("CC_NUM_POINT_LIGHTS", Value(std::min(4, (int)_pointLights.size())))); + _defines.emplace(std::make_pair("CC_NUM_SPOT_LIGHTS", Value(std::min(4, (int)_spotLights.size())))); + _defines.emplace(std::make_pair("CC_NUM_AMBIENT_LIGHTS", Value(std::min(4, (int)_ambientLights.size())))); + _defines.emplace(std::make_pair("CC_NUM_SHADOW_LIGHTS", Value(std::min(4, (int)_shadowLights.size())))); +} + +void ForwardRenderer::submitLightsUniforms() +{ + if (_directionalLights.size() > 0) + { + size_t count = _directionalLights.size(); + float* directions = _arrayPool->add(); + float* colors = _arrayPool->add(); + Vec3 lightVec3; + Vec3 colorVec3; + for (int i = 0; i < count; ++i) + { + int index = i * 4; + auto* light = _directionalLights.at(i); + lightVec3.set(light->getDirectionUniform()); + *(directions + index) = lightVec3.x; + *(directions + index + 1) = lightVec3.y; + *(directions + index + 2) = lightVec3.z; + *(directions + index + 3) = 0; + + colorVec3.set(light->getColorUniform()); + *(colors + index) = colorVec3.x; + *(colors + index + 1) = colorVec3.y; + *(colors + index + 2) = colorVec3.z; + *(colors + index + 3) = 0; + } + _device->setUniformfv("cc_dirLightDirection", count * 4, directions); + _device->setUniformfv("cc_dirLightColor", count * 4, colors); + } + + if (_pointLights.size() > 0) + { + size_t count = _pointLights.size(); + float* positionAndRanges = _arrayPool->add(); + float* colors = _arrayPool->add(); + Vec3 posVec3; + Vec3 colorVec3; + for (int i = 0; i < count; ++i) + { + int index = i * 4; + auto* light = _pointLights.at(i); + posVec3.set(light->getPositionUniform()); + *(positionAndRanges + index) = posVec3.x; + *(positionAndRanges + index + 1) = posVec3.y; + *(positionAndRanges + index + 2) = posVec3.z; + *(positionAndRanges + index + 3) = light->getRange(); + + colorVec3.set(light->getColorUniform()); + *(colors + index) = colorVec3.x; + *(colors + index + 1) = colorVec3.y; + *(colors + index + 2) = colorVec3.z; + *(colors + index + 3) = 0; + } + _device->setUniformfv("cc_pointLightPositionAndRange", count * 4, positionAndRanges); + _device->setUniformfv("cc_pointLightColor", count * 4, colors); + } + + if (_spotLights.size() > 0) + { + size_t count = _spotLights.size(); + float* directions = _arrayPool->add(); + float* positionAndRanges = _arrayPool->add(); + float* colors = _arrayPool->add(); + Vec3 lightVec3; + Vec3 posVec3; + Vec3 colorVec3; + for (int i = 0; i < count; ++i) + { + int index = i * 4; + auto* light = _spotLights.at(i); + lightVec3.set(light->getDirectionUniform()); + *(directions + index) = lightVec3.x; + *(directions + index + 1) = lightVec3.y; + *(directions + index + 2) = lightVec3.z; + *(directions + index + 3) = 0; + + posVec3.set(light->getPositionUniform()); + *(positionAndRanges + index) = posVec3.x; + *(positionAndRanges + index + 1) = posVec3.y; + *(positionAndRanges + index + 2) = posVec3.z; + *(positionAndRanges + index + 3) = light->getRange(); + + colorVec3.set(light->getColorUniform()); + *(colors + index) = colorVec3.x; + *(colors + index + 1) = colorVec3.y; + *(colors + index + 2) = colorVec3.z; + *(colors + index + 3) = 0; + } + _device->setUniformfv("cc_spotLightDirection", count * 4, directions); + _device->setUniformfv("cc_spotLightPositionAndRange", count * 4, positionAndRanges); + _device->setUniformfv("cc_spotLightColor", count * 4, colors); + } + + if (_ambientLights.size() > 0) { + size_t count = _ambientLights.size(); + float* colors = _arrayPool->add(); + Vec3 colorVec3; + for (int i = 0; i < count; ++i) + { + int index = i * 4; + auto* light = _ambientLights.at(i); + colorVec3.set(light->getColorUniform()); + *(colors + index) = colorVec3.x; + *(colors + index + 1) = colorVec3.y; + *(colors + index + 2) = colorVec3.z; + *(colors + index + 3) = 0; + } + _device->setUniformfv("cc_pointLightColor", count * 4, colors); + } +} + +void ForwardRenderer::submitShadowStageUniforms(const View& view) +{ + static float* shadowInfo = new float[4]; + shadowInfo[0] = view.shadowLight->getShadowMinDepth(); + shadowInfo[1] = view.shadowLight->getShadowMaxDepth(); + shadowInfo[2] = view.shadowLight->getShadowDepthScale(); + shadowInfo[3] = view.shadowLight->getShadowDarkness(); + + _device->setUniformMat4("cc_shadow_map_lightViewProjMatrix", view.matViewProj); + _device->setUniformfv("cc_shadow_map_info", 4, shadowInfo); + _device->setUniformf("cc_shadow_map_bias", view.shadowLight->getShadowBias()); +} + +void ForwardRenderer::submitOtherStagesUniforms() +{ + size_t count = _shadowLights.size(); + float* shadowLightInfo = _arrayPool->add(); + static float* shadowLightProjs = new float[count * 16]; + for (int i = 0; i < count; ++i) + { + int index = i * 4; + + Light* light = _shadowLights.at(i); + const Mat4 view = light->getViewProjMatrix(); + memcpy(shadowLightProjs + index, view.m, 16); + + *(shadowLightInfo + index) = light->getShadowMinDepth(); + *(shadowLightInfo + index + 1) = light->getShadowMaxDepth(); + *(shadowLightInfo + index + 2) = light->getShadowDepthScale(); + *(shadowLightInfo + index + 3) = light->getShadowDarkness(); + } + + _device->setUniformfv("cc_shadow_lightViewProjMatrix", count * 16, shadowLightProjs); + _device->setUniformfv("cc_shadow_info", count * 4, shadowLightInfo); +} + +void ForwardRenderer::updateShaderDefines(const StageItem& item) +{ + item.defines->push_back(&_defines); +} + +bool ForwardRenderer::compareItems(const StageItem &a, const StageItem &b) +{ + const Technique* techA = a.technique; + const Technique* techB = b.technique; + + if (techA->getLayer() != techB->getLayer()) { + return techA->getLayer() > techB->getLayer(); + } + + size_t pa = techA->getPasses().size(); + size_t pb = techB->getPasses().size(); + + if (pa != pb) { + return pa > pb; + } + + return a.sortKey > b.sortKey; +} + +void ForwardRenderer::sortItems(std::vector& items) +{ + std::sort(items.begin(), items.end(), compareItems); +} + +void ForwardRenderer::drawItems(const std::vector& items) +{ + size_t count = _shadowLights.size(); + if (count == 0 && _numLights == 0) + { + for (const auto& item : items) + { + draw(item); + } + } + else + { + std::vector shadowMaps; + shadowMaps.reserve(count); + std::vector slots; + slots.reserve(count); + for (auto item : items) + { + shadowMaps.clear(); + for(int i = 0; i < count; i++) + { + Light* light = _shadowLights.at(i); + shadowMaps.push_back(light->getShadowMap()); + slots.push_back(allocTextureUnit()); + } + _device->setTextureArray("cc_shadow_map", shadowMaps, slots); + updateShaderDefines(item); + draw(item); + } + } +} + +void ForwardRenderer::opaqueStage(const View& view, const std::vector& items) +{ + // update uniforms + _device->setUniformMat4("cc_matView", view.matView); + _device->setUniformMat4("cc_matpProj", view.matProj); + _device->setUniformMat4("cc_matViewProj", view.matViewProj); + static Vec3 cameraPos3; + static Vec4 cameraPos4; + view.getPosition(cameraPos3); + cameraPos4.set(cameraPos3.x, cameraPos3.y, cameraPos3.z, 0); + _device->setUniformVec4("cc_cameraPos", cameraPos4); + submitLightsUniforms(); + submitOtherStagesUniforms(); + drawItems(items); +} + +void ForwardRenderer::shadowStage(const View& view, const std::vector& items) +{ + // update rendering + submitShadowStageUniforms(view); + + for (auto& item : items) + { + if (_programLib->getValueFromDefineList("CC_SHADOW_CASTING", *item.defines) != Value::Null) { + updateShaderDefines(item); + draw(item); + } + } +} + void ForwardRenderer::transparentStage(const View& view, const std::vector& items) { // update uniforms - _device->setUniformMat4("view", view.matView); - _device->setUniformMat4("proj", view.matProj); - _device->setUniformMat4("viewProj", view.matViewProj); - -// RENDERER_LOGD("StageItem count: %d", (int)items.size()); - // draw it - for (const auto& item : items) - draw(item); + _device->setUniformMat4("cc_matView", view.matView); + _device->setUniformMat4("cc_matpProj", view.matProj); + _device->setUniformMat4("cc_matViewProj", view.matViewProj); + static Vec3 cameraPos3; + static Vec4 cameraPos4; + view.getPosition(cameraPos3); + cameraPos4.set(cameraPos3.x, cameraPos3.y, cameraPos3.z, 0); + _device->setUniformVec4("cc_cameraPos", cameraPos4); + + static Vec3 camFwd; + static Vec3 tmpVec3; + view.getForward(camFwd); + + submitLightsUniforms(); + submitOtherStagesUniforms(); + + NodeProxy* node; + // calculate zdist + for (auto& item : const_cast&>(items)) + { + // TODO: we should use mesh center instead! + node = const_cast(item.model->getNode()); + if (node != nullptr) + { + node->getWorldPosition(&tmpVec3); + } + else + { + tmpVec3.set(0, 0, 0); + } + + Vec3::subtract(tmpVec3, tmpVec3, &cameraPos3); + item.sortKey = -Vec3::dot(tmpVec3, camFwd); + } + + sortItems(const_cast&>(items)); + drawItems(items); } RENDERER_END diff --git a/native/cocos/renderer/renderer/ForwardRenderer.h b/native/cocos/renderer/renderer/ForwardRenderer.h index 292ca6c321..123bf7d20a 100644 --- a/native/cocos/renderer/renderer/ForwardRenderer.h +++ b/native/cocos/renderer/renderer/ForwardRenderer.h @@ -2,17 +2,17 @@ Copyright (c) 2018 Xiamen Yaji Software Co., Ltd. http://www.cocos2d-x.org - + Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - + The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE @@ -25,22 +25,74 @@ #pragma once #include "BaseRenderer.h" +#include "Camera.h" +#include "../memop/RecyclePool.hpp" RENDERER_BEGIN +/** + * @addtogroup renderer + * @{ + */ + +/** + * @brief A builtin forward renderer implementation + */ class ForwardRenderer final : public BaseRenderer { public: + /** + * @brief The default constructor. + */ ForwardRenderer(); - + ~ForwardRenderer(); + /** + * @brief Initializes the forward renderer. + * @param[in] device DeviceGraphics pointer. + * @param[in] programTemplates All linked programs. + * @param[in] defaultTexture Default texture pointer. + * @param[in] width. + * @param[in] height. + */ bool init(DeviceGraphics* device, std::vector& programTemplates, Texture2D* defaultTexture, int width, int height); + /** + * @brief Renders the given render scene. + */ void render(Scene* scene); - + /** + * @brief Renders the given render scene with a given camera setting. + */ + void renderCamera(Camera* camera, Scene* scene); private: + void updateLights(Scene* scene); + void updateDefines(); + void submitLightsUniforms(); + void submitShadowStageUniforms(const View& view); + void submitOtherStagesUniforms(); + void updateShaderDefines(const StageItem& item); + void sortItems(std::vector& items); + void drawItems(const std::vector& items); + void opaqueStage(const View& view, const std::vector& items); + void shadowStage(const View& view, const std::vector& items); void transparentStage(const View& view, const std::vector& items); - + void resetData(); + static bool compareItems(const StageItem& a, const StageItem& b); + + Vector _directionalLights; + Vector _pointLights; + Vector _spotLights; + Vector _shadowLights; + Vector _ambientLights; + + RecyclePool* _arrayPool = nullptr; + ValueMap _defines; + int _width = 0; int _height = 0; + std::size_t _numLights = 0; }; +// end of renderer group +/// @} + RENDERER_END diff --git a/native/cocos/renderer/renderer/InputAssembler.cpp b/native/cocos/renderer/renderer/InputAssembler.cpp index a2062e8d04..26a5ef93c9 100644 --- a/native/cocos/renderer/renderer/InputAssembler.cpp +++ b/native/cocos/renderer/renderer/InputAssembler.cpp @@ -48,6 +48,18 @@ InputAssembler::~InputAssembler() RENDERER_SAFE_RELEASE(_indexBuffer); } +void InputAssembler::clear() +{ + CC_SAFE_RELEASE(_vertexBuffer); + CC_SAFE_RELEASE(_indexBuffer); + + _vertexBuffer = nullptr; + _indexBuffer = nullptr; + _primitiveType = PrimitiveType::TRIANGLES; + _start = 0; + _count = -1; +} + InputAssembler& InputAssembler::operator=(const InputAssembler& o) { CC_SAFE_RELEASE(_vertexBuffer); @@ -78,6 +90,8 @@ InputAssembler& InputAssembler::operator=(InputAssembler&& o) o._indexBuffer = nullptr; o._vertexBuffer = nullptr; + o._start = 0; + o._count = -1; return *this; } @@ -118,4 +132,13 @@ uint32_t InputAssembler::getPrimitiveCount() const return _vertexBuffer->getCount(); } +bool InputAssembler::isMergeable(const InputAssembler& ia) const +{ + if (_indexBuffer != ia._indexBuffer || _vertexBuffer != ia._vertexBuffer) + { + return false; + } + return (_start + _count) == ia._start; +} + RENDERER_END diff --git a/native/cocos/renderer/renderer/InputAssembler.h b/native/cocos/renderer/renderer/InputAssembler.h index 2ea233af37..173fe18ceb 100644 --- a/native/cocos/renderer/renderer/InputAssembler.h +++ b/native/cocos/renderer/renderer/InputAssembler.h @@ -32,6 +32,14 @@ RENDERER_BEGIN class VertexBuffer; class IndexBuffer; +/** + * @addtogroup renderer + * @{ + */ + +/** + * @brief InputAssembler is an fundamental data structure to store vertex buffer and index buffer. + */ class InputAssembler { public: @@ -43,24 +51,66 @@ public: InputAssembler& operator=(const InputAssembler& o); InputAssembler& operator=(InputAssembler&& o); + /** + * @brief Initializes with vertex buffer, index buffer and primitive type. + */ bool init(VertexBuffer* vb, IndexBuffer* ib, PrimitiveType pt = PrimitiveType::TRIANGLES); - + /** + * @brief Gets the primitive count. + */ uint32_t getPrimitiveCount() const; + /** + * @brief Sets the vertex buffer. + */ void setVertexBuffer(VertexBuffer* vb); + /** + * @brief Gets the vertex buffer. + */ inline VertexBuffer* getVertexBuffer() const { return _vertexBuffer; } + /** + * @brief Sets the index buffer. + */ void setIndexBuffer(IndexBuffer* ib); + /** + * @brief Gets the index buffer. + */ inline IndexBuffer* getIndexBuffer() const { return _indexBuffer; } + /** + * @brief Sets the index offset in buffer. + */ inline void setStart(int start) { _start = start; } + /** + * @brief Gets the index offset in buffer. + */ inline int getStart() const { return _start; } + /** + * @brief Sets the count of indices. + */ inline void setCount(int count) { _count = count; } + /** + * @brief Gets the count of indices. + */ inline int getCount() const { return _count; } + /** + * @brief Gets the primitive type. + */ inline PrimitiveType getPrimitiveType() const { return _primitiveType; } + /** + * @brief Sets the primitive type. + */ inline void setPrimitiveType(PrimitiveType type) { _primitiveType = type; } - + /** + * @brief Clears all field. + */ + void clear(); + /** + * @brief Can be merge. + */ + bool isMergeable(const InputAssembler& ia) const; private: friend class BaseRenderer; @@ -71,4 +121,6 @@ private: int _count = -1; }; +// end of renderer group +/// @} RENDERER_END diff --git a/native/cocos/renderer/renderer/Light.cpp b/native/cocos/renderer/renderer/Light.cpp index ebc224a243..ef303d084b 100644 --- a/native/cocos/renderer/renderer/Light.cpp +++ b/native/cocos/renderer/renderer/Light.cpp @@ -164,7 +164,7 @@ void Light::update(DeviceGraphics* device) void Light::updateLightPositionAndDirection() { - _worldMatrix.transformVector(Vec3(0, 0, -1.f), &_directionUniform); + _worldMatrix.transformVector(_forward, &_directionUniform); _positionUniform.set(_worldMatrix.m[12], _worldMatrix.m[13], _worldMatrix.m[14]); } @@ -197,7 +197,7 @@ void Light::generateShadowMap(DeviceGraphics* device) Texture2D::Options options; options.width = _shadowResolution; options.height = _shadowResolution; -// options.format = Texture2D::Format::RGBA8; + options.glFormat = GL_RGBA; options.wrapS = Texture2D::WrapMode::CLAMP; options.wrapT = Texture2D::WrapMode::CLAMP; _shadowMap->init(device, options); diff --git a/native/cocos/renderer/renderer/Light.h b/native/cocos/renderer/renderer/Light.h index f9b70858fd..51a41c1a77 100644 --- a/native/cocos/renderer/renderer/Light.h +++ b/native/cocos/renderer/renderer/Light.h @@ -39,78 +39,223 @@ class Texture2D; class RenderBuffer; class DeviceGraphics; +/** + * @addtogroup renderer + * @{ + */ + +/** + * @brief Manage scene light. + */ class Light : public Ref { public: + /** + * @brief Light type. + */ enum class LightType { + /** + * Directional light + */ DIRECTIONAL, + /** + * Point light + */ POINT, - SPOT + /** + * Spot light + */ + SPOT, + /** + * Ambient light + */ + AMBIENT }; + /** + * @brief Shadow type. + */ enum class ShadowType { + /** + * No shadow + */ NONE, + /** + * Hard shadow + */ HARD, + /** + * Soft shadow + */ SOFT }; + /** + * @brief The default constructor. + */ Light(); + /** + * @brief Sets the light color. + */ void setColor(float r, float g, float b); + /** + * @brief Gets the light color. + */ inline Color3F getColor() const { return _color; } - + /** + * @brief Sets the light intensity. + */ void setIntensity(float val); + /** + * @brief Gets the light intensity. + */ inline float getIntensity() const { return _intensity; } - + /** + * @brief Sets the light type. + */ inline void setType(LightType type) { _type = type; } + /** + * @brief Gets the light type. + */ inline LightType getType() const { return _type; } - + /** + * @brief Sets the spot light angle. + */ void setSpotAngle(float val); + /** + * @brief Gets the spot light angle. + */ inline float getSpotAngle() const { return _spotAngle; } + /** + * @brief Sets the light attenuation exponent. + */ void setSpotExp(float val); + /** + * @brief Gets the light attenuation exponent. + */ inline float getSpotExp() const { return _spotExp; } - + /** + * @brief Sets spot or point light range. + */ inline void setRange(float val) { _range = val; } + /** + * @brief Gets spot or point light range. + */ inline float getRange() const { return _range; } - + /** + * @brief Gets the shadow type. + */ void setShadowType(ShadowType val); + /** + * @brief Gets the shadow type. + */ inline ShadowType getShadowType() const { return _shadowType; } - + /** + * @brief Gets the shadow map texture. + */ inline Texture2D* getShadowMap() const { return _shadowMap; } - + /** + * @brief Gets the view projection matrix. + */ inline Mat4 getViewPorjMatrix() const { return _viewProjMatrix; } + /** + * @brief Gets the view projection matrix. + */ inline const Mat4& getViewProjMatrix() const { return _viewProjMatrix; } - + /** + * @brief Gets the direction uniform. + */ + inline const Vec3& getDirectionUniform() const { return _directionUniform; } + /** + * @brief Gets the color uniform. + */ + inline const Vec3& getColorUniform() const { return _colorUniform; } + /** + * @brief Gets the position uniform. + */ + inline const Vec3& getPositionUniform() const { return _positionUniform; } + /** + * @brief Sets the resolution of shadow + */ void setShadowResolution(uint32_t val); + /** + * @brief Gets the resolution of shadow + */ inline uint32_t getShadowResolution() const { return _shadowResolution; } + /** + * @brief Sets the shadow bias setting. + */ inline void setShadowBias(float val) { _shadowBias = val; } + /** + * @brief Gets the shadow bias setting. + */ inline float getShadowBias() const { return _shadowBias; } + /** + * @brief Sets the shadow darkness setting. + */ + inline void setShadowDarkness(float val) { _shadowDarkness = val; } + /** + * @brief Gets the shadow darkness setting. + */ + inline float getShadowDarkness() const { return _shadowDarkness; } - inline void setShadowDarkness(uint32_t val) { _shadowDarkness = val; } - inline uint32_t getShadowDarkness() const { return _shadowDarkness; } - + /** + * @brief Sets the min depth of shadow. + */ inline void setShadowMinDepth(float val) { _shadowMinDepth = val; } + /** + * @brief Gets the min depth of shadow. + */ float getShadowMinDepth() const; - + /** + * @brief Sets the max depth of shadow. + */ inline void setShadowMaxDepth(float val) { _shadowMaxDepth = val; } + /** + * @brief Gets the max depth of shadow. + */ float getShadowMaxDepth() const; - - inline void setShadowScale(float val) { _shadowScale = val; } - inline float getShadowScale() const { return _shadowScale; } - + /** + * @brief Sets the shadow scale. + */ + inline void setShadowDepthScale(float val) { _shadowScale = val; } + /** + * @brief Gets the shadow scale. + */ + inline float getShadowDepthScale() const { return _shadowScale; } + /** + * @brief Sets the frustum edge fall off. + */ inline void setFrustumEdgeFalloff(uint32_t val) { _frustumEdgeFalloff = val; } + /** + * @brief Gets the frustum edge fall off. + */ inline uint32_t getFrustumEdgeFalloff() const { return _frustumEdgeFalloff; } - + /** + * @brief Sets the world matrix. + */ void setWorldMatrix(const Mat4& worldMatrix); + /** + * @brief Gets the world matrix. + */ inline const Mat4& getWorldMatrix() const { return _worldMatrix; } - + /** + * @brief Extract light informations to view. + */ void extractView(View& out, const std::vector& stages); - + /** + * @brief Update light and generate new shadow map. + */ void update(DeviceGraphics* device); + /** + * @brief Sets the shadow frustum size. + */ + inline void setShadowFrustumSize(float val) {_shadowFustumSize = val;}; private: void updateLightPositionAndDirection(); @@ -150,10 +295,15 @@ private: uint32_t _frustumEdgeFalloff = 0; // used by directional and spot light. Mat4 _viewProjMatrix; float _spotAngleScale = 1; // used for spot light. - uint32_t _shadowFustumSize = 80; // used for directional light. + float _shadowFustumSize = 50; // used for directional light. Mat4 _worldMatrix; Mat4 _worldRT; + + Vec3 _forward = Vec3(0, 0, -1.f); }; +// end of renderer group +/// @} + RENDERER_END diff --git a/native/cocos/renderer/renderer/Model.cpp b/native/cocos/renderer/renderer/Model.cpp index 6aa30aa7d5..473f14e409 100644 --- a/native/cocos/renderer/renderer/Model.cpp +++ b/native/cocos/renderer/renderer/Model.cpp @@ -25,6 +25,8 @@ #include "Model.h" #include "Effect.h" #include "InputAssembler.h" +#include "../scene/NodeProxy.hpp" +#include "../gfx/VertexBuffer.h" RENDERER_BEGIN @@ -61,78 +63,78 @@ void ModelPool::returnModel(Model *model) Model::Model() { -// RENDERER_LOGD("Model construction %p", this); - - _inputAssemblers.reserve(500); } Model::~Model() { - RENDERER_LOGD("Model destruction %p", this); reset(); +} + +void Model::setInputAssembler(const InputAssembler& ia) +{ + _inputAssembler = ia; +} + +void Model::setEffect(Effect* effect, CustomProperties* customProperties) +{ + if (_effect != effect) + { + CC_SAFE_RELEASE(_effect); + _effect = effect; + CC_SAFE_RETAIN(_effect); + } - ccCArrayFree(_effects); -} - -void Model::addInputAssembler(const InputAssembler& ia) -{ - _inputAssemblers.push_back(std::move(ia)); -} - -void Model::clearInputAssemblers() -{ - _inputAssemblers.clear(); -} - -void Model::addEffect(Effect* effect) -{ - if (ccCArrayContainsValue(_effects, effect)) - return; + _uniforms.clear(); - ccCArrayAppendValue(_effects, effect); + if (effect != nullptr) + { + _definesList.push_back(effect->extractDefines()); + _uniforms.push_back(effect->extractProperties()); + } - _defines.push_back(effect->extractDefines()); + if (customProperties != nullptr) + { + _definesList.push_back(customProperties->extractDefines()); + _uniforms.push_back(customProperties->extractProperties()); + } } -void Model::clearEffects() +void Model::setNode(NodeProxy* node) { - ccCArrayRemoveAllValues(_effects); - _defines.clear(); + if (_node != node) + { + CC_SAFE_RELEASE(_node); + _node = node; + CC_SAFE_RETAIN(_node); + } } -void Model::extractDrawItem(DrawItem& out, uint32_t index) const +void Model::extractDrawItem(DrawItem& out) const { if (_dynamicIA) { out.model = const_cast(this); out.ia = nullptr; - out.effect = static_cast(_effects->arr[0]); - out.defines = out.effect->extractDefines(); - + out.effect = _effect; + out.defines = const_cast*>(&_definesList); + return; } - if (index >= _inputAssemblers.size()) - return; - out.model = const_cast(this); - out.ia = const_cast(&(_inputAssemblers[index])); - - auto effectsSize = _effects->num; - if (index >= effectsSize) - index = (uint32_t)(effectsSize - 1); - - out.effect = static_cast(_effects->arr[index]); - - out.defines = out.effect->extractDefines(); + out.ia = const_cast(&_inputAssembler); + out.effect = _effect; + out.defines = const_cast*>(&_definesList); + out.uniforms = const_cast*>*>(&_uniforms); } void Model::reset() { - ccCArrayRemoveAllValues(_effects); - _inputAssemblers.clear(); - - _defines.clear(); + CC_SAFE_RELEASE_NULL(_effect); + CC_SAFE_RELEASE_NULL(_node); + _inputAssembler.clear(); + _uniforms.clear(); + _definesList.clear(); } RENDERER_END diff --git a/native/cocos/renderer/renderer/Model.h b/native/cocos/renderer/renderer/Model.h index c7f105f84f..c4beecec8b 100644 --- a/native/cocos/renderer/renderer/Model.h +++ b/native/cocos/renderer/renderer/Model.h @@ -31,20 +31,29 @@ #include "base/ccCArray.h" #include "math/Mat4.h" #include "../Macro.h" +#include "InputAssembler.h" +#include "../gfx/DeviceGraphics.h" +#include "CustomProperties.hpp" +#include "../scene/NodeProxy.hpp" RENDERER_BEGIN class Effect; class InputAssembler; class Model; -class INode; + +/** + * @addtogroup renderer + * @{ + */ struct DrawItem { Model* model = nullptr; InputAssembler* ia = nullptr; Effect* effect = nullptr; - ValueMap* defines = nullptr; + std::vector* defines = nullptr; + std::vector*>* uniforms = nullptr; }; class Model; @@ -59,41 +68,80 @@ private: static ccCArray* _pool;; }; +/** + * @brief Model contains InputAssembler, effect, culling mask and model matrix. + */ class Model { public: + /** + * @brief The default constructor. + */ Model(); + /** + * @brief The default destructor. + */ ~Model(); - - inline uint32_t getInputAssemblerCount() const { return (uint32_t)_inputAssemblers.size(); } - - inline bool isDynamicIA() const { return _dynamicIA; } - inline void setDynamicIA(bool value) { _dynamicIA = value; } - - inline uint32_t getDrawItemCount() const { return _dynamicIA ? 1 : (uint32_t)_inputAssemblers.size(); } - inline void setWorldMatix(const Mat4& matrix) { _worldMatrix = std::move(matrix); } + /** + * @brief Sets model matrix. + */ + inline void setWorldMatix(const Mat4& matrix) { _worldMatrix = matrix; } + /** + * @brief Gets mode matrix. + */ inline const Mat4& getWorldMatrix() const { return _worldMatrix; } - - inline void setViewId(int val) { _viewID = val; } - inline int getViewId() const { return _viewID; } - - void addInputAssembler(const InputAssembler& ia); - void clearInputAssemblers(); - void addEffect(Effect* effect); - void clearEffects(); - void extractDrawItem(DrawItem& out, uint32_t index) const; - + /** + * @brief Sets culling mask. + */ + inline void setCullingMask(int val) { _cullingMask = val; } + /** + * @brief Gets culling mask. + */ + inline int getCullingMask() const { return _cullingMask; } + /** + * @brief Adds a input assembler. + */ + void setInputAssembler(const InputAssembler& ia); + /** + * @brief Adds an effect. + */ + void setEffect(Effect* effect, CustomProperties* customProperties); + /** + * @brief Set user key. + */ + inline void setUserKey(int key) { _userKey = key; }; + /** + * @brief Set node. + */ + void setNode(NodeProxy* node); + /** + * @brief Get node. + */ + inline const NodeProxy* getNode() const { return _node; }; + /** + * @brief Extract draw item for the given index during rendering process. + */ + void extractDrawItem(DrawItem& out) const; + /** + * @brief Resets models. + */ + void reset(); private: friend class ModelPool; - void reset(); + NodeProxy* _node = nullptr; Mat4 _worldMatrix; - ccCArray* _effects = ccCArrayNew(2); + Effect* _effect = nullptr; - std::vector _inputAssemblers; - std::vector _defines; + InputAssembler _inputAssembler; + std::vector _definesList; + std::vector*> _uniforms; bool _dynamicIA = false; - int _viewID = -1; + int _cullingMask = -1; + int _userKey = -1; }; +// end of renderer group +/// @} + RENDERER_END diff --git a/native/cocos/renderer/renderer/Pass.cpp b/native/cocos/renderer/renderer/Pass.cpp index 5cc3a2e731..0bd9183c97 100644 --- a/native/cocos/renderer/renderer/Pass.cpp +++ b/native/cocos/renderer/renderer/Pass.cpp @@ -103,4 +103,47 @@ void Pass::setStencilBack(StencilFunc stencilFunc, _stencilWriteMaskBack = stencilWriteMask; } +void Pass::copy(const Pass& pass) +{ + // blending + _blend = pass._blend; + _blendEq = pass._blendEq; + _blendAlphaEq = pass._blendAlphaEq; + _blendSrc = pass._blendSrc; + _blendDst = pass._blendDst; + _blendSrcAlpha = pass._blendSrcAlpha; + _blendDstAlpha = pass._blendDstAlpha; + _blendColor = pass._blendColor; + + // depth + _depthTest = pass._depthTest; + _depthWrite = pass._depthWrite; + _depthFunc = pass._depthFunc; + + // stencil + + _stencilTest = pass._stencilTest; + // front + _stencilRefFront = pass._stencilRefFront; + _stencilFuncFront = pass._stencilFuncFront; + _stencilFailOpFront = pass._stencilFailOpFront; + _stencilZFailOpFront = pass._stencilZFailOpFront; + _stencilZPassOpFront = pass._stencilZPassOpFront; + _stencilWriteMaskFront = pass._stencilWriteMaskFront; + _stencilMaskFront = pass._stencilMaskFront; + // back + _stencilRefBack = pass._stencilRefBack; + _stencilFuncBack = pass._stencilFuncBack; + _stencilFailOpBack = pass._stencilFailOpBack; + _stencilZFailOpBack = pass._stencilZFailOpBack; + _stencilZPassOpBack = pass._stencilZPassOpBack; + _stencilWriteMaskBack = pass._stencilWriteMaskBack; + _stencilMaskBack = pass._stencilMaskBack; + + // cull mode + _cullMode = pass._cullMode; + + _programName = pass._programName; +} + RENDERER_END diff --git a/native/cocos/renderer/renderer/Pass.h b/native/cocos/renderer/renderer/Pass.h index 21f969744d..5d0845c243 100644 --- a/native/cocos/renderer/renderer/Pass.h +++ b/native/cocos/renderer/renderer/Pass.h @@ -31,14 +31,52 @@ RENDERER_BEGIN +/** + * @addtogroup renderer + * @{ + */ + +/** + * @brief Pass describes base render pass configurations, including program, cull face, blending, depth testing and stencil testing configs.\n + * JS API: renderer.Pass + * @code + * let pass = new renderer.Pass('sprite'); + * pass.setDepth(false, false); + * pass.setCullMode(gfx.CULL_NONE); + * pass.setBlend( + * gfx.BLEND_FUNC_ADD, + * gfx.BLEND_SRC_ALPHA, gfx.BLEND_ONE_MINUS_SRC_ALPHA, + * gfx.BLEND_FUNC_ADD, + * gfx.BLEND_SRC_ALPHA, gfx.BLEND_ONE_MINUS_SRC_ALPHA + * ); + * @endcode + */ class Pass : public Ref { public: + /** + * @brief Constructor with linked program name. + * @param[in] programName Shader program name + */ Pass(const std::string& programName); - Pass() {} + Pass() {}; ~Pass(); + /** + * @brief Sets cull mode. + * @param[in] cullMode Cull front or back or both. + */ void setCullMode(CullMode cullMode); + /** + * @brief Sets blend mode. + * @param[in] blendEq RGB blend equation. + * @param[in] blendSrc Src RGB blend factor. + * @param[in] blendDst Dst RGB blend factor. + * @param[in] blendAlphaEq Alpha blend equation. + * @param[in] blendSrcAlpha Src Alpha blend equation. + * @param[in] blendDstAlpha Dst Alpha blend equation. + * @param[in] blendColor Blend constant color value. + */ void setBlend(BlendOp blendEq = BlendOp::ADD, BlendFactor blendSrc = BlendFactor::ONE, BlendFactor blendDst = BlendFactor::ZERO, @@ -46,9 +84,18 @@ public: BlendFactor blendSrcAlpha = BlendFactor::ONE, BlendFactor blendDstAlpha = BlendFactor::ZERO, uint32_t blendColor = 0xffffffff); + /** + * @brief Switch depth test or write, and sets depth test function. + * @param[in] depthTest Enable depth test or not. + * @param[in] depthWrite Enable depth write or not. + * @param[in] depthFunc Depth test function. + */ void setDepth(bool depthTest = false, bool depthWrite = false, DepthFunc depthFunc = DepthFunc::LESS); + /** + * @brief Sets stencil front-facing function, reference, mask, fail operation, write mask. + */ void setStencilFront(StencilFunc stencilFunc = StencilFunc::ALWAYS, uint32_t stencilRef = 0, uint8_t stencilMask = 0xff, @@ -56,6 +103,9 @@ public: StencilOp stencilZFailOp = StencilOp::KEEP, StencilOp stencilZPassOp = StencilOp::KEEP, uint8_t stencilWriteMask = 0xff); + /** + * @brief Sets stencil back-facing function, reference, mask, fail operation, write mask. + */ void setStencilBack(StencilFunc stencilFunc = StencilFunc::ALWAYS, uint32_t stencilRef = 0, uint8_t stencilMask = 0xff, @@ -63,10 +113,30 @@ public: StencilOp stencilZFailOp = StencilOp::KEEP, StencilOp stencilZPassOp = StencilOp::KEEP, uint8_t stencilWriteMask = 0xff); + /* + * @brief Sets stencil test enabled or not. + */ inline void setStencilTest(bool value) { _stencilTest = value; } + /** + * @brief Gets stencil test enabled or not. + */ inline bool getStencilTest() const { return _stencilTest; } + /** + * @brief Sets linked program name. + */ inline void setProgramName(const std::string& programName) { _programName = programName; } + /** + * @brief Gets linked program name. + */ + inline std::string getProgramName() const { return _programName; } + /** + * @brief Disable stencil test. + */ inline void disableStencilTest() { _stencilTest = false; } + /** + * @brief deep copy from other pass. + */ + void copy(const Pass& pass); private: friend class BaseRenderer; @@ -75,10 +145,10 @@ private: bool _blend = false; BlendOp _blendEq = BlendOp::ADD; BlendOp _blendAlphaEq = BlendOp::ADD; - BlendFactor _blendSrc = BlendFactor::ONE; - BlendFactor _blendDst = BlendFactor::ZERO; - BlendFactor _blendSrcAlpha = BlendFactor::ONE; - BlendFactor _blendDstAlpha = BlendFactor::ZERO; + BlendFactor _blendSrc = BlendFactor::SRC_ALPHA; + BlendFactor _blendDst = BlendFactor::ONE_MINUS_SRC_ALPHA; + BlendFactor _blendSrcAlpha = BlendFactor::SRC_ALPHA; + BlendFactor _blendDstAlpha = BlendFactor::ONE_MINUS_SRC_ALPHA; uint32_t _blendColor = 0xffffffff; // depth @@ -87,7 +157,6 @@ private: DepthFunc _depthFunc = DepthFunc::LESS; // stencil - bool _stencilTest = false; // front uint32_t _stencilRefFront = 0; @@ -112,4 +181,6 @@ private: std::string _programName = ""; }; +// end of renderer group +/// @} RENDERER_END diff --git a/native/cocos/renderer/renderer/ProgramLib.cpp b/native/cocos/renderer/renderer/ProgramLib.cpp index caeefbcf7a..c447272e18 100644 --- a/native/cocos/renderer/renderer/ProgramLib.cpp +++ b/native/cocos/renderer/renderer/ProgramLib.cpp @@ -2,17 +2,17 @@ Copyright (c) 2018 Xiamen Yaji Software Co., Ltd. http://www.cocos2d-x.org - + Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - + The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE @@ -21,7 +21,6 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ****************************************************************************/ - #include "ProgramLib.h" #include "../gfx/Program.h" #include "gfx/DeviceGraphics.h" @@ -34,36 +33,67 @@ namespace { uint32_t _shdID = 0; - std::string generateDefines(const cocos2d::ValueMap& defMap) + std::string generateDefines(const std::vector& definesList) { std::string ret; - for (const auto& def : defMap) - { - if (def.second.asBool()) - { - ret += "#define " + def.first + "\n"; - } - } - return ret; - } - - std::string replaceMacroNums(const std::string str, const cocos2d::ValueMap& defMap) - { + std::string v; cocos2d::ValueMap cache; - std::string tmp = str; - for (const auto& def : defMap) + for (int i = (int)definesList.size() - 1; i >= 0; i--) { - if (def.second.getType() == cocos2d::Value::Type::INTEGER || def.second.getType() == cocos2d::Value::Type::UNSIGNED) + cocos2d::ValueMap* defMap = definesList[i]; + for (const auto& def : *defMap) { + if (cache.find(def.first) != cache.end()) + { + continue; + } + + if (def.second.getType() == cocos2d::Value::Type::BOOLEAN) + { + v = def.second.asBool() ? "1" : "0"; + } + else + { + v = std::to_string(def.second.asUnsignedInt()); + } + + ret += "#define " + def.first + " " + v + "\n"; + cache.emplace(def.first, def.second); } } + + return ret; + } + std::string replaceMacroNums(const std::string str, const std::vector& definesList) + { + cocos2d::ValueMap cache; + std::string tmp = str; + for (int i = (int)definesList.size() - 1; i >= 0; i--) + { + cocos2d::ValueMap* defMap = definesList[i]; + + for (const auto& def : *defMap) + { + if (cache.find(def.first) != cache.end()) + { + continue; + } + + if (def.second.getType() == cocos2d::Value::Type::INTEGER || def.second.getType() == cocos2d::Value::Type::UNSIGNED) + { + cache.emplace(def.first, def.second); + } + } + } + for (const auto& def : cache) { std::regex pattern(def.first); tmp = std::regex_replace(tmp, pattern, def.second.asString()); } + return tmp; } @@ -178,9 +208,57 @@ void ProgramLib::define(const std::string& name, const std::string& vert, const oneDefMap["_offset"] = offset; } - std::string newVert = _precision + vert; - std::string newFrag = _precision + frag; - + std::string newVert = vert; + std::string newFrag = frag; + +#if (CC_TARGET_PLATFORM == CC_PLATFORM_WIN32) || (CC_TARGET_PLATFORM == CC_PLATFORM_MAC) || (CC_TARGET_PLATFORM == CC_PLATFORM_LINUX) + std::string::size_type pos = 0; + pos = newVert.find(_precisionVert); + if (pos != std::string::npos) + { + newVert.replace(pos, strlen(_precisionVert), ""); + } + + pos = newFrag.find(_precisionFrag); + if (pos != std::string::npos) + { + newFrag.replace(pos, strlen(_precisionFrag), ""); + } + + while((pos = newVert.find(_mediump)) != std::string::npos) + { + newVert.replace(pos, strlen(_mediump), ""); + } + + while((pos = newFrag.find(_mediump)) != std::string::npos) + { + newFrag.replace(pos, strlen(_mediump), ""); + } + + while((pos = newVert.find(_lowp)) != std::string::npos) + { + newVert.replace(pos, strlen(_lowp), ""); + } + + while((pos = newFrag.find(_lowp)) != std::string::npos) + { + newFrag.replace(pos, strlen(_lowp), ""); + } +#else + std::string::size_type pos = 0; + pos = newVert.find(_precisionVert); + if (pos == std::string::npos) + { + newVert = _precisionVertReplace + vert; + } + + pos = newVert.find(_precisionFrag); + if (pos == std::string::npos) + { + newFrag = _precisionFragReplace + frag; + } +#endif + // store it auto& templ = _templates[name]; templ.id = id; @@ -190,32 +268,44 @@ void ProgramLib::define(const std::string& name, const std::string& vert, const templ.defines = defines; } -uint32_t ProgramLib::getKey(const std::string& name, const ValueMap& defines) +std::string ProgramLib::getKey(const std::string& name, const std::vector& definesList) { auto iter = _templates.find(name); assert(iter != _templates.end()); - - auto& tmpl = iter->second; - int32_t key = 0; - for (auto& tmplDefs : tmpl.defines) { - auto& tmplDefMap = tmplDefs.asValueMap(); - std::string tempName = tmplDefMap["name"].asString(); - auto iter2 = defines.find(tempName); - if (iter2 == defines.end()) { + + uint32_t key = 0; + uint32_t offset = 0; + for (const auto& tmpl : iter->second.defines) + { + auto& temp = tmpl.asValueMap(); + const Value& value = getValueFromDefineList(temp.find("name")->second.asString(), definesList); + if (value == Value::Null) + { continue; } -// const auto& value = iter2->second; -// key |= tmplDefs._map(100); //IDEA: - uint32_t offset = tmplDefMap["_offset"].asUnsignedInt(); - key |= 1 << offset; + + uint32_t vkey = getValueKey(value); + + key |= vkey << offset; + + if (value.getType() != Value::Type::BOOLEAN) + { + offset += ceil(log2(vkey)); + } + else + { + offset += 1; + } } - - return key << 8 | tmpl.id; + + // return key << 8 | tmpl.id; + // key number maybe bigger than 32 bit, need use string to store value. + return std::to_string(iter->second.id) + ":" + std::to_string(key); } -Program* ProgramLib::getProgram(const std::string& name, const ValueMap& defines) +Program* ProgramLib::getProgram(const std::string& name, const std::vector& definesList) { - uint32_t key = getKey(name, defines); + std::string key = getKey(name, definesList); auto iter = _cache.find(key); if (iter != _cache.end()) { iter->second->retain(); @@ -228,12 +318,12 @@ Program* ProgramLib::getProgram(const std::string& name, const ValueMap& defines if (templIter != _templates.end()) { const auto& tmpl = templIter->second; - std::string customDef = generateDefines(defines) + "\n"; - std::string vert = replaceMacroNums(tmpl.vert, defines); + std::string customDef = generateDefines(definesList) + "\n"; + std::string vert = replaceMacroNums(tmpl.vert, definesList); vert = customDef + unrollLoops(vert); - std::string frag = replaceMacroNums(tmpl.frag, defines); + std::string frag = replaceMacroNums(tmpl.frag, definesList); frag = customDef + unrollLoops(frag); - + program = new Program(); program->init(_device, vert.c_str(), frag.c_str()); program->link(); @@ -243,4 +333,31 @@ Program* ProgramLib::getProgram(const std::string& name, const ValueMap& defines return program; } +Value ProgramLib::getValueFromDefineList(const std::string& name, const std::vector& definesList) +{ + for (int i = (int)definesList.size() - 1; i >= 0; i--) + { + ValueMap* defines = definesList[i]; + auto iter = defines->find(name); + if (iter != defines->end()) + { + return iter->second; + } + } + + return Value::Null; +} + +uint32_t ProgramLib::getValueKey(const Value &v) +{ + if (v.getType() == Value::Type::BOOLEAN) + { + return v.asBool() ? 1 : 0; + } + else + { + return v.asUnsignedInt(); + } +} + RENDERER_END diff --git a/native/cocos/renderer/renderer/ProgramLib.h b/native/cocos/renderer/renderer/ProgramLib.h index 825b703f72..2afd05ba66 100644 --- a/native/cocos/renderer/renderer/ProgramLib.h +++ b/native/cocos/renderer/renderer/ProgramLib.h @@ -2,17 +2,17 @@ Copyright (c) 2018 Xiamen Yaji Software Co., Ltd. http://www.cocos2d-x.org - + Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - + The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE @@ -36,9 +36,20 @@ RENDERER_BEGIN class DeviceGraphics; class Program; +/** + * @addtogroup renderer + * @{ + */ + +/** + * @brief This class manages shader template and linked programs, material can customize shader by setting different defines. + */ class ProgramLib final { public: + /** + * @brief Program template + */ struct Template { uint32_t id = 0; @@ -48,20 +59,51 @@ public: ValueVector defines; }; + /** + * @brief Constructor with device and all initial templates. + */ ProgramLib(DeviceGraphics* device, std::vector