public final class IOSurfaceLockOptions
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
AvoidSync
If you want to detect/avoid a potentially expensive paging operation (such as readback from a GPU to system memory)
when you lock the buffer, you may include this flag.
|
static int |
ReadOnly
If you are not going to modify the data while you hold the lock, you should set this flag to avoid invalidating
any existing caches of the buffer contents.
|
public static final int ReadOnly
public static final int AvoidSync