struct DriverDirectMode_FrameTiming {
uint32_t m_nSize;
uint32_t m_nNumFramePresents;
uint32_t m_nNumMisPresented;
uint32_t m_nNumDroppedFrames;
uint32_t m_nReprojectionFlags;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | DriverDirectModeFrameTiming.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | M_NNUMDROPPEDFRAMES
The struct member offsets. |
| public static final int | M_NNUMFRAMEPRESENTS
The struct member offsets. |
| public static final int | M_NNUMMISPRESENTED
The struct member offsets. |
| public static final int | M_NREPROJECTIONFLAGS
The struct member offsets. |
| public static final int | M_NSIZE
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | DriverDirectModeFrameTiming(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| protected DriverDirectModeFrameTiming | create(long
the struct memory address address, ByteBuffer an optional container buffer, to be referenced strongly by the struct instance. container)Implements abstract org. the constructor, but returns the exact type of the Struct subclass.
|
| public static DriverDirectModeFrameTiming | create(long address)
Returns a new |
| public static DriverDirectModeFrameTiming. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static DriverDirectModeFrameTiming | |
| public static DriverDirectModeFrameTiming. | |
| public int | m_nNumDroppedFrames()
number of additional times previous frame was scanned out (i.e. compositor missed vsync) |
| public int | |
| public int | m_nNumMisPresented()
number of times frame was presented on a vsync other than it was originally predicted to |
| public int | |
| public int | |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public int |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| M_NNUMDROPPEDFRAMES | back to summary |
|---|---|
| public static final int M_NNUMDROPPEDFRAMES The struct member offsets. | |
| M_NNUMFRAMEPRESENTS | back to summary |
|---|---|
| public static final int M_NNUMFRAMEPRESENTS The struct member offsets. | |
| M_NNUMMISPRESENTED | back to summary |
|---|---|
| public static final int M_NNUMMISPRESENTED The struct member offsets. | |
| M_NREPROJECTIONFLAGS | back to summary |
|---|---|
| public static final int M_NREPROJECTIONFLAGS The struct member offsets. | |
| M_NSIZE | back to summary |
|---|---|
| public static final int M_NSIZE The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| DriverDirectModeFrameTiming | back to summary |
|---|---|
| protected DriverDirectModeFrameTiming(long address, ByteBuffer container) | |
| DriverDirectModeFrameTiming | back to summary |
|---|---|
| public DriverDirectModeFrameTiming(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| create | back to summary |
|---|---|
| protected DriverDirectModeFrameTiming create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static DriverDirectModeFrameTiming create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static DriverDirectModeFrameTiming. Create a
| |
| createSafe | back to summary |
|---|---|
| public static DriverDirectModeFrameTiming createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static DriverDirectModeFrameTiming. Like
| |
| m_nNumDroppedFrames | back to summary |
|---|---|
| public int m_nNumDroppedFrames() number of additional times previous frame was scanned out (i.e. compositor missed vsync)
| |
| m_nNumFramePresents | back to summary |
|---|---|
| public int m_nNumFramePresents() number of times frame was presented
| |
| m_nNumMisPresented | back to summary |
|---|---|
| public int m_nNumMisPresented() number of times frame was presented on a vsync other than it was originally predicted to
| |
| m_nReprojectionFlags | back to summary |
|---|---|
public int m_nReprojectionFlags()
| |
| m_nSize | back to summary |
|---|---|
| public int m_nSize() sSet to
| |
| nm_nNumDroppedFrames | back to summary |
|---|---|
| public static int nm_nNumDroppedFrames(long struct) Unsafe version of | |
| nm_nNumFramePresents | back to summary |
|---|---|
| public static int nm_nNumFramePresents(long struct) Unsafe version of | |
| nm_nNumMisPresented | back to summary |
|---|---|
| public static int nm_nNumMisPresented(long struct) Unsafe version of | |
| nm_nReprojectionFlags | back to summary |
|---|---|
| public static int nm_nReprojectionFlags(long struct) Unsafe version of | |
| nm_nSize | back to summary |
|---|---|
| public static int nm_nSize(long struct) Unsafe version of | |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
DriverDirectModeFrameTiming structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final DriverDirectModeFrameTiming |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| protected DriverDirectModeFrameTiming | |
| public int | Returns: the value of theDriverDirectModeFrameTiming#m_nNumDroppedFrames field.
|
| public int | Returns: the value of theDriverDirectModeFrameTiming#m_nNumFramePresents field.
|
| public int | |
| public int | |
| public int | |
| protected DriverDirectModeFrameTiming. |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final DriverDirectModeFrameTiming ELEMENT_FACTORY | |
| Buffer | back to summary |
|---|---|
| public Buffer(ByteBuffer container) Creates a new Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values
will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided
by The created buffer instance holds a strong reference to the container object. | |
| Buffer | back to summary |
|---|---|
| public Buffer(long address, int cap) | |
| Buffer | back to summary |
|---|---|
| pack-priv Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap) | |
| getElementFactory | back to summary |
|---|---|
| protected DriverDirectModeFrameTiming getElementFactory() Implements abstract org.
| |
| m_nNumDroppedFrames | back to summary |
|---|---|
public int m_nNumDroppedFrames()
| |
| m_nNumFramePresents | back to summary |
|---|---|
public int m_nNumFramePresents()
| |
| m_nNumMisPresented | back to summary |
|---|---|
public int m_nNumMisPresented()
| |
| m_nReprojectionFlags | back to summary |
|---|---|
public int m_nReprojectionFlags()
| |
| m_nSize | back to summary |
|---|---|
public int m_nSize()
| |
| self | back to summary |
|---|---|
| protected DriverDirectModeFrameTiming. Implements abstract org.
| |