# Graphic flickering in Android with dynamic vertex buffer updates.

**URL:** <https://forums.unrealengine.com/t/graphic-flickering-in-android-with-dynamic-vertex-buffer-updates/138642>\
**Category:** Mobile\
**Tags:** unreal-engine, Android\
**Created:** [February 21, 2020, 12:04pm UTC](https://forums.unrealengine.com/t/graphic-flickering-in-android-with-dynamic-vertex-buffer-updates/138642 "2020-02-21T12:04:02Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Deadlineproof](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Deadlineproof](https://forums.unrealengine.com/u/Deadlineproof)\
**Post date:** [February 21, 2020, 12:04pm UTC](https://forums.unrealengine.com/t/graphic-flickering-in-android-with-dynamic-vertex-buffer-updates/138642/1 "2020-02-21T12:04:02Z")

</div>

I have 3 dynamic buffers with usage BUF\_ShaderResource | BUF\_Volatile VET\_Short2N position VET\_Color color and VET\_UShort2N Uv.  
They are used to render 2d sprites and get updated every frame.  
I tested on very few devices and on gles emulator in editor and it presents some flickering to black at random intervals.  
on my snapdragon 820 the issue is very relevant 2 or 3 black frames in rapid succession every 2 seconds while on snapdragon 625 or with the editor mobile emulator the flickering is far more acceptable but still present(e.g. a black frame every 10 seconds or more).  
I also tried to rotate multiple buffers between frames with no luck.  
In render thread I have a loop to read some custom commandarray so I first I lock the entire size of the 3 buffers at the same time as I don’t calculate the vertices for that frame upfront and fill all of them at the same time with my vertex data and then unlock them.  
Do someone have experienced the same issue or has an idea about what is happening?  
I don’t know if it may make any difference if I use some temporary mem to write my data and then lock memcopy and unlock the buffers just for the required size and one at the time instead of filling them directly all at the same time.
