Prefer top-level headers.

This commit is contained in:
Daniel K. O. (dkosmari)
2026-06-01 17:14:12 -03:00
parent 51101b17d4
commit 809d0623f1
5 changed files with 43 additions and 43 deletions

28
include/gx2.h Normal file
View File

@@ -0,0 +1,28 @@
#pragma once
/**
* \ingroup gx2
* This is a convenience header to include all gx2 headers at once.
*/
#include "gx2/aperture.h"
#include "gx2/clear.h"
#include "gx2/context.h"
#include "gx2/debug.h"
#include "gx2/display.h"
#include "gx2/displaylist.h"
#include "gx2/draw.h"
#include "gx2/enum.h"
#include "gx2/event.h"
#include "gx2/mem.h"
#include "gx2/registers.h"
#include "gx2/sampler.h"
#include "gx2/semaphore.h"
#include "gx2/shaders.h"
#include "gx2/state.h"
#include "gx2/surface.h"
#include "gx2/swap.h"
#include "gx2/temp.h"
#include "gx2/tessellation.h"
#include "gx2/texture.h"
#include "gx2/utils.h"

View File

@@ -1,28 +0,0 @@
#pragma once
/**
* \ingroup gx2
* This is a convenience header to include all gx2 headers at once.
*/
#include "aperture.h"
#include "clear.h"
#include "context.h"
#include "debug.h"
#include "display.h"
#include "displaylist.h"
#include "draw.h"
#include "enum.h"
#include "event.h"
#include "mem.h"
#include "registers.h"
#include "sampler.h"
#include "semaphore.h"
#include "shaders.h"
#include "state.h"
#include "surface.h"
#include "swap.h"
#include "temp.h"
#include "tessellation.h"
#include "texture.h"
#include "utils.h"

13
include/gx2r.h Normal file
View File

@@ -0,0 +1,13 @@
#pragma once
/**
* \ingroup gx2r
* This is a convenience header to include all gx2r headers at once.
*/
#include "gx2r/buffer.h"
#include "gx2r/displaylist.h"
#include "gx2r/draw.h"
#include "gx2r/mem.h"
#include "gx2r/resource.h"
#include "gx2r/surface.h"

View File

@@ -1,13 +0,0 @@
#pragma once
/**
* \ingroup gx2r
* This is a convenience header to include all gx2r headers at once.
*/
#include "buffer.h"
#include "displaylist.h"
#include "draw.h"
#include "mem.h"
#include "resource.h"
#include "surface.h"

View File

@@ -69,7 +69,7 @@
#include <coreinit/userconfig.h>
#include <dmae/mem.h>
#include <dmae/sync.h>
#include <gx2/all.h>
#include <gx2.h>
#include <gx2/aperture.h>
#include <gx2/clear.h>
#include <gx2/context.h>
@@ -90,7 +90,7 @@
#include <gx2/tessellation.h>
#include <gx2/texture.h>
#include <gx2/utils.h>
#include <gx2r/all.h>
#include <gx2r.h>
#include <gx2r/buffer.h>
#include <gx2r/displaylist.h>
#include <gx2r/draw.h>