- Home /
 
               Question by 
               mamingshuo · Jan 13, 2018 at 10:43 AM · 
                memoryframerategpu  
              
 
              what's the conditions by main loop checked befor enter a frame works?
hi guys, we are make a project about some works like movie play, camera preview and so on with Unity3d on Android platform, but we have some problem about unity's main loop. it will drop a frame regular. this is sad. some context can make it happend:
- play 4k/60fps/60bps movies. 
- play a movie, i request a FBO with 4096*4096 size . 
- play a movie and camera preview in one scene Simultaneously. 
PS: movie is a native file,i use Android's SurfaceTexture,Surface,OpenGLES FBO... render to texture to Unity Texture2D, Camera Preview is like this too.
i have a systrace like this ,the red flag is where Unity drop a frame work: 
 
                 
                fp.png 
                (6.9 kB) 
               
 
              
               Comment
              
 
               
              Your answer
 
 
              koobas.hobune.stream
koobas.hobune.stream 
                       
                
                       
			     
			 
                