Commit Graph

3 Commits

Author SHA1 Message Date
fincs
2a7632ecf9 Add NvColorFormat enum 2018-12-18 12:57:03 +01:00
fincs
3fab228e23 Misc code style fixes, rename NvGraphicBuffer::layers to planes 2018-12-18 12:57:03 +01:00
fincs
02fe78c71d Major buffer producer refactor, see details:
- Introduced NativeHandle (display/types.h)
- Introduced NvGraphicBuffer (nvidia/graphic_buffer.h)
- Renamed BqQueueBufferInput to BqBufferInput
- Renamed BqQueueBufferOutput to BqBufferOutput
- BqGraphicBuffer is now defined and marshalled in a way that matches
  official sw more closely, with a pointer to a NativeHandle instead of
  inline flattened data and other miscellaneous junk
- Const correctness fixes
- bqSetPreallocatedBuffer now has flattening logic for BqGraphicBuffer
- bqRequestBuffer doesn't have this logic for now, passing anything other
  than NULL will fail
- gfx.c updated to use the refactored buffer producer
2018-12-18 12:57:03 +01:00