Renamed gfx/ to display/

This commit is contained in:
plutooo 2018-02-20 06:59:05 +01:00 committed by fincs
parent 978c3f7f15
commit d8bb563546
21 changed files with 34 additions and 34 deletions

View File

@ -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

View File

@ -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"

View File

@ -1,5 +1,5 @@
#pragma once
#include "../gfx/nvioctl.h"
#include "../display/nvioctl.h"
typedef struct {
u32 is_valid;

View File

@ -1,6 +1,6 @@
#pragma once
#include "../result.h"
#include "../gfx/binder.h"
#include "../display/binder.h"
#define PARCEL_MAX_PAYLOAD 0x400

View File

@ -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)
{

View File

@ -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.

View File

@ -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;

View File

@ -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 {

View File

@ -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 {

View File

@ -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;

View File

@ -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 {

View File

@ -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;

View File

@ -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"

View File

@ -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.

View File

@ -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"

View File

@ -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"