So i have a large bitmap i redraw evey frame, and its causing some pretty bad tearing even with vsync on.
Any ideas what can be done to avoid this? Win / Cpp target
setup:
texture = Lib.current.stage.stage3Ds[0].context3D.createRectangleTexture(theWidth, theHeight, BGRA, true);
bitmap.bitmapData = BitmapData.fromTexture(texture);
renderloop:
NativeArray.setUnmanagedData(bufferMem, getPixelData(), frameSize);
texture.uploadFromByteArray( Bytes.ofData(cast(bufferMem)), 0 );