Package org.robolectric.shadows
Class ShadowBlastBufferQueue
java.lang.Object
org.robolectric.shadows.ShadowBlastBufferQueue
@Implements(value=android.graphics.BLASTBufferQueue.class,
isInAndroidSdk=false,
minSdk=33)
public class ShadowBlastBufferQueue
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Surfaceprotected SurfaceThe real Android implementation is backed by native code which is currently unsupported on host OSes.protected voidupdate(SurfaceControl sc, int width, int height, int format)
-
Constructor Details
-
ShadowBlastBufferQueue
public ShadowBlastBufferQueue()
-
-
Method Details
-
update
-
createSurfaceWithHandle
The real Android implementation is backed by native code which is currently unsupported on host OSes.This implementation uses ImageReader to ensure a Surface where isValid() is true is returned. Returning a valid Surface is vital to performing the real Draw logic.
-
createSurface
-