This website requires JavaScript.
Explore
Help
Sign In
mika
/
libnx
Watch
1
Star
0
Fork
0
You've already forked libnx
mirror of
https://github.com/switchbrew/libnx.git
synced
2025-06-21 12:32:40 +02:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
02ec6d5c8a
libnx
/
nx
/
source
/
gfx
History
yellows8
02ec6d5c8a
Updated the delay code in gfx-init and removed disabled get-{width/height} code.
2017-12-27 18:52:54 -05:00
..
ioctl
Added gfxInitResolution() + added gfx.h comments. Updated gfxGetFramebufferDisplayOffset() so that the returned pixel-offset is in a region that's not displayed when the x/y is out-of-bounds. Fixed g_gfx_framebuf_aligned_{width/height} init when the initial width/height is not the default 0. Updated nvioctlNvhostAsGpu_InitializeEx/nvioctlNvhostAsGpu_AllocSpace usage etc, required for using non-720p framebufs.
2017-12-27 18:52:54 -05:00
binder.c
Updated bufferProducerFence. Updated nvgfxEventWait. Added better initialization validation to binder, etc. In bufferProducerDequeueBuffer(), use sizeof instead of a constant for the fence size. Updated g_gfxQueueBufferData. Fixed validation in _gfxGetNativeWindowID. Other changes.
2017-12-27 18:52:52 -05:00
buffer_producer.c
Added bufferProducerGraphicBuffer struct. Parse the bufferProducerRequestBuffer parcel reply properly. Renamed bufferProducerTegraBufferInit to bufferProducerGraphicBufferInit + renamed the enum for it, and handle input/output for it properly. Properly return rc in bufferProducerGraphicBufferInit().
2017-12-27 18:52:53 -05:00
gfx.c
Updated the delay code in gfx-init and removed disabled get-{width/height} code.
2017-12-27 18:52:54 -05:00
nvgfx.c
Added gfxInitResolution() + added gfx.h comments. Updated gfxGetFramebufferDisplayOffset() so that the returned pixel-offset is in a region that's not displayed when the x/y is out-of-bounds. Fixed g_gfx_framebuf_aligned_{width/height} init when the initial width/height is not the default 0. Updated nvioctlNvhostAsGpu_InitializeEx/nvioctlNvhostAsGpu_AllocSpace usage etc, required for using non-720p framebufs.
2017-12-27 18:52:54 -05:00
parcel.c
Fixed output ptr for parcelReadData(). Pass fence ptr to _gfxDequeueBuffer() in gfxSwapBuffers().
2017-12-27 18:52:52 -05:00