fincs
cc594e6da2
Deprecate old gfx API; scheduled for removal at a later date.
2018-12-18 12:57:04 +01:00
fincs
33547e3445
console_sw: Use Framebuffer object instead of old gfx api. Moved RGBA8/_MAXALPHA to framebuffer.h.
2018-12-18 12:57:04 +01:00
fincs
0bc2356752
Add framebufferMakeLinear - linear shadow buffer support
2018-12-18 12:57:04 +01:00
fincs
4eef02bd71
NWindow: Internal rework to fix resource leak in nwindowReleaseBuffers
2018-12-18 12:57:04 +01:00
fincs
5e8a88ce85
Introduce nwindowGetDefault
2018-12-18 12:57:04 +01:00
fincs
7807fa7078
Document NWindow and Framebuffer objects
2018-12-18 12:57:03 +01:00
fincs
5a9eb1844b
NWindow: add several new functions:
...
- nwindowIsValid
- nwindowGetDimensions
- nwindowSetDimensions
- nwindowSetCrop
- nwindowSetTransform
- nwindowIsConsumerRunningBehind
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
e7f15dbffb
Introduce Framebuffer, experimental wrapper object around a framebuffer queue for use by software rendering clients
2018-12-18 12:57:03 +01:00
fincs
83118cd838
NWindow: add nwindowReleaseBuffers, which is also done automatically on Close
2018-12-18 12:57:03 +01:00
fincs
c3cfe0acd6
Introduce NWindow, an experimental replacement for the GFX API
2018-12-18 12:57:03 +01:00
fincs
841eca73c6
Const correctness in bqCancelBuffer
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
fincs
4467e6a305
display/parcel.h: Const correctness fixes
2018-12-18 12:57:03 +01:00
fincs
dc2125ed3a
gfx: finally get rid of nvgfx, replaced with an NvMap object
2018-12-18 12:57:03 +01:00
fincs
4645ef7004
gfx: Add gfxAppendFence. Remove obsolete comments related to double buffering.
2018-09-16 18:03:35 +02:00
fincs
e3a7187973
gfx: Remove gfxSetDrawFlip. Make 0 the default transform instead of FLIP_V.
2018-08-31 20:14:50 +02:00
fincs
0d1b8bd723
BqQueueBufferInput: add swapInterval field (purpose currently unknown)
2018-08-31 20:11:53 +02:00
fincs
651dd72ac1
Add bqCancelBuffer and use it in gfx.c
2018-08-31 14:14:54 +02:00
fincs
a62fae427b
Introduce Module_LibnxBinder result codes (based on Android status_t) and binderConvertErrorCode
2018-08-31 13:59:18 +02:00
fincs
819a6f0d89
display/binder.h: refactoring and other changes:
...
- Removed session_handle/native_handle state
- Consequence of the above: simplified binderCreate/binderInitSession
- Now using viGetSession_IHOSBinderDriverRelay internally
- Changed binderGetNativeHandle to return an Event
- Added readable aliases for binderAdjustRefcount
- gfx: now using async bqDequeueBuffer when the binder event is available
2018-08-31 13:05:23 +02:00
fincs
60cbb68f46
gfx: use new NvFence waiting code
2018-08-31 13:05:23 +02:00
fincs
f2f59c75c0
display/gfx.h & buffer_producer.h: Start major refactor, highly WIP
2018-08-31 13:05:22 +02:00
fincs
ace0dea08b
Move Android types to display/types.h; add PIXEL_FORMAT/GRALLOC_USAGE enums
2018-08-31 13:05:22 +02:00
fincs
180cd9b550
display/parcel.h: publish ParcelHeader struct
2018-08-31 13:05:22 +02:00
Jules Blok
e234129598
gfx: Add a buffer index to gfxGetFramebufferHandle().
2018-08-31 13:05:22 +02:00
Jules Blok
4f331eb9f7
gfx: Add function to query framebuffer pitch.
2018-08-31 13:05:22 +02:00
Jules Blok
06e50f74ab
gfx: Add a call to get the framebuffer nvmap handle.
2018-08-31 13:05:22 +02:00
plutooo
f6aa4e3d52
Minimize nvgfx.c
2018-08-31 13:05:21 +02:00
plutooo
04751087ca
Stylechanges to binder, and implemented gpu address space
2018-08-31 13:05:21 +02:00
plutooo
cd753b1b58
Implemented nvmap.c
2018-08-31 13:05:21 +02:00
plutooo
d8bb563546
Renamed gfx/ to display/
2018-08-31 13:05:21 +02:00