mirror of
https://github.com/switchbrew/libnx.git
synced 2025-06-21 12:32:40 +02:00
Renamed gfx/ to display/
This commit is contained in:
parent
978c3f7f15
commit
d8bb563546
@ -24,7 +24,7 @@ VERSION := $(LIBNX_MAJOR).$(LIBNX_MINOR).$(LIBNX_PATCH)
|
||||
#---------------------------------------------------------------------------------
|
||||
TARGET := nx
|
||||
#BUILD := build
|
||||
SOURCES := source/arm source/kernel source/services source/gfx source/gfx/ioctl source/audio source/runtime source/runtime/devices source/runtime/util/utf
|
||||
SOURCES := source/arm source/kernel source/services source/display source/display/ioctl source/audio source/runtime source/runtime/devices source/runtime/util/utf
|
||||
DATA := data
|
||||
INCLUDES := include external/bsd/include
|
||||
|
||||
|
@ -65,13 +65,13 @@ extern "C" {
|
||||
#include "switch/services/spl.h"
|
||||
#include "switch/services/ncm.h"
|
||||
|
||||
#include "switch/gfx/gfx.h"
|
||||
#include "switch/gfx/binder.h"
|
||||
#include "switch/gfx/parcel.h"
|
||||
#include "switch/gfx/buffer_producer.h"
|
||||
#include "switch/gfx/ioctl.h"
|
||||
#include "switch/gfx/nvioctl.h"
|
||||
#include "switch/gfx/nvgfx.h"
|
||||
#include "switch/display/gfx.h"
|
||||
#include "switch/display/binder.h"
|
||||
#include "switch/display/parcel.h"
|
||||
#include "switch/display/buffer_producer.h"
|
||||
#include "switch/display/ioctl.h"
|
||||
#include "switch/display/nvioctl.h"
|
||||
#include "switch/display/nvgfx.h"
|
||||
|
||||
#include "switch/audio/driver.h"
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
#pragma once
|
||||
#include "../gfx/nvioctl.h"
|
||||
#include "../display/nvioctl.h"
|
||||
|
||||
typedef struct {
|
||||
u32 is_valid;
|
@ -1,6 +1,6 @@
|
||||
#pragma once
|
||||
#include "../result.h"
|
||||
#include "../gfx/binder.h"
|
||||
#include "../display/binder.h"
|
||||
|
||||
#define PARCEL_MAX_PAYLOAD 0x400
|
||||
|
@ -3,7 +3,7 @@
|
||||
#include "result.h"
|
||||
#include "kernel/ipc.h"
|
||||
#include "kernel/detect.h"
|
||||
#include "gfx/binder.h"
|
||||
#include "display/binder.h"
|
||||
|
||||
void binderCreateSession(Binder *session, Handle sessionHandle, s32 id)
|
||||
{
|
@ -1,8 +1,8 @@
|
||||
#include <string.h>
|
||||
#include "types.h"
|
||||
#include "result.h"
|
||||
#include "gfx/parcel.h"
|
||||
#include "gfx/buffer_producer.h"
|
||||
#include "display/parcel.h"
|
||||
#include "display/buffer_producer.h"
|
||||
|
||||
|
||||
// This implements the version of Android IGraphicBufferProducer used by Switch.
|
@ -7,10 +7,10 @@
|
||||
#include "services/vi.h"
|
||||
#include "services/applet.h"
|
||||
#include "services/nv.h"
|
||||
#include "gfx/binder.h"
|
||||
#include "gfx/buffer_producer.h"
|
||||
#include "gfx/nvgfx.h"
|
||||
#include "gfx/gfx.h"
|
||||
#include "display/binder.h"
|
||||
#include "display/buffer_producer.h"
|
||||
#include "display/nvgfx.h"
|
||||
#include "display/gfx.h"
|
||||
|
||||
static bool g_gfxInitialized = 0;
|
||||
static ViDisplay g_gfxDisplay;
|
@ -2,8 +2,8 @@
|
||||
#include "types.h"
|
||||
#include "result.h"
|
||||
#include "services/nv.h"
|
||||
#include "gfx/ioctl.h"
|
||||
#include "gfx/nvioctl.h"
|
||||
#include "display/ioctl.h"
|
||||
#include "display/nvioctl.h"
|
||||
|
||||
Result nvioctlChannel_SetNvmapFd(u32 fd, u32 nvmap_fd) {
|
||||
struct {
|
@ -2,8 +2,8 @@
|
||||
#include "types.h"
|
||||
#include "result.h"
|
||||
#include "services/nv.h"
|
||||
#include "gfx/ioctl.h"
|
||||
#include "gfx/nvioctl.h"
|
||||
#include "display/ioctl.h"
|
||||
#include "display/nvioctl.h"
|
||||
|
||||
Result nvioctlNvhostAsGpu_BindChannel(u32 fd, u32 channel_fd) {
|
||||
struct {
|
@ -2,8 +2,8 @@
|
||||
#include "types.h"
|
||||
#include "result.h"
|
||||
#include "services/nv.h"
|
||||
#include "gfx/ioctl.h"
|
||||
#include "gfx/nvioctl.h"
|
||||
#include "display/ioctl.h"
|
||||
#include "display/nvioctl.h"
|
||||
|
||||
Result nvioctlNvhostCtrlGpu_ZCullGetCtxSize(u32 fd, u32 *out) {
|
||||
Result rc = 0;
|
@ -2,8 +2,8 @@
|
||||
#include "types.h"
|
||||
#include "result.h"
|
||||
#include "services/nv.h"
|
||||
#include "gfx/ioctl.h"
|
||||
#include "gfx/nvioctl.h"
|
||||
#include "display/ioctl.h"
|
||||
#include "display/nvioctl.h"
|
||||
|
||||
Result nvioctlNvhostCtrl_EventSignal(u32 fd, u32 event_id) {
|
||||
struct {
|
@ -2,8 +2,8 @@
|
||||
#include "types.h"
|
||||
#include "result.h"
|
||||
#include "services/nv.h"
|
||||
#include "gfx/ioctl.h"
|
||||
#include "gfx/nvioctl.h"
|
||||
#include "display/ioctl.h"
|
||||
#include "display/nvioctl.h"
|
||||
|
||||
Result nvioctlNvmap_Create(u32 fd, u32 size, u32 *nvmap_handle) {
|
||||
Result rc=0;
|
@ -5,10 +5,10 @@
|
||||
#include "arm/cache.h"
|
||||
#include "kernel/svc.h"
|
||||
#include "services/nv.h"
|
||||
#include "gfx/binder.h"
|
||||
#include "gfx/buffer_producer.h"
|
||||
#include "gfx/nvioctl.h"
|
||||
#include "gfx/nvgfx.h"
|
||||
#include "display/binder.h"
|
||||
#include "display/buffer_producer.h"
|
||||
#include "display/nvioctl.h"
|
||||
#include "display/nvgfx.h"
|
||||
|
||||
//#include "nvgfx_gpu_gpfifo_data0_bin.h"
|
||||
|
@ -1,6 +1,6 @@
|
||||
#include <string.h>
|
||||
#include "result.h"
|
||||
#include "gfx/parcel.h"
|
||||
#include "display/parcel.h"
|
||||
|
||||
// This implements Android Parcel, hence names etc here are based on Android Parcel.cpp.
|
||||
|
@ -3,7 +3,7 @@
|
||||
#include <sys/iosupport.h>
|
||||
#include "runtime/devices/console.h"
|
||||
#include "kernel/svc.h"
|
||||
#include "gfx/gfx.h"
|
||||
#include "display/gfx.h"
|
||||
|
||||
#include "default_font_bin.h"
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
#include "result.h"
|
||||
#include "kernel/ipc.h"
|
||||
#include "services/applet.h"
|
||||
#include "gfx/ioctl.h"
|
||||
#include "display/ioctl.h"
|
||||
#include "services/nv.h"
|
||||
#include "services/sm.h"
|
||||
#include "kernel/tmem.h"
|
||||
|
Loading…
Reference in New Issue
Block a user