summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty/SDL2/test/testnative.c
diff options
context:
space:
mode:
author r09 <rzero9@gmail.com>2025-05-03 18:26:11 +0200
committer GitHub <noreply@github.com>2025-05-04 02:26:11 +1000
commit4eba5a95cac868c16a0dbe88aeb9259495371b7c (patch)
treeae0bdffdc2d3f328e0b61a96ad4105f8d8fa4a06 /3rdparty/SDL2/test/testnative.c
parentceaf942c8f40950e81d05235dc9591e83ede0a9b (diff)
fmtowns_cd.xml: Added 23 items (twenty working) and replaced three items with better dumps. (#13651)
New working software list items (fmtowns_cd.xml) ----------------------------------- Advanced Dungeons & Dragons - Heroes of the Lance [redump.org] Arquelphos [redump.org] CD Learning System II - New Horizon English Course 3 [redump.org] CD Learning System II - New Horizon English Course 3 (FM Towns Marty version) [redump.org] ClearMind - Shimoguchi Yuuzan no Shuuchuuryoku Kaihatsu [redump.org] Digital Pinup Girls Vol. 2 - Lovely Shooting [redump.org] Euphony II / Score V1.1 L10 [redump.org] F-BASIC386 Compiler V2.1 L20 [redump.org] FM Towns Appli Jikkou Set (TownsGEAR, F-BASIC386) V2.1 L20 [redump.org] FM Towns Demonstration CD-ROM 1993-nen Haru-gou [redump.org] Fouge Vol. 1 - Ki - Japan - Maeda Shinzou no Sekai [redump.org] Fujitsu Journal Special Edition by CD-ROM [redump.org] Heike Monogatari (Joukan) (rerelease) [redump.org] Image Fight (demo) [redump.org] Iwanami Bungakukan - Natsume Souseki [redump.org] LiveMovie V1.1 L10 [redump.org] Many Colors (HMD-225) [redump.org] Moko - Dougen Zenji 750-kai Daionki Kinen [redump.org] Music Pro-Towns v1.3 (MIDI Ongenban) [redump.org] TownsGraph V2.1 L10 [redump.org] New software list items marked not working (fmtowns_cd.xml) --------------------------------------- CRI StacCard [redump.org] FM Towns Demonstration CD-ROM 1992-nen Haru-gou [redump.org] Tele Harmonium - City Lights [redump.org] Replaced software list items (fmtowns_cd.xml) ---------------------------- Hishouzame / Flying Shark [redump.org] Strike Commander Plus [redump.org] Super Street Fighter II - The New Challengers (sample disc) [redump.org]
Diffstat (limited to '3rdparty/SDL2/test/testnative.c')
0 files changed, 0 insertions, 0 deletions
x */ .highlight .mi { color: #0000DD; font-weight: bold } /* Literal.Number.Integer */ .highlight .mo { color: #0000DD; font-weight: bold } /* Literal.Number.Oct */ .highlight .sa { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Affix */ .highlight .sb { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Backtick */ .highlight .sc { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Char */ .highlight .dl { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Delimiter */ .highlight .sd { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Doc */ .highlight .s2 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Double */ .highlight .se { color: #0044dd; background-color: #fff0f0 } /* Literal.String.Escape */ .highlight .sh { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Heredoc */ .highlight .si { color: #3333bb; background-color: #fff0f0 } /* Literal.String.Interpol */ .highlight .sx { color: #22bb22; background-color: #f0fff0 } /* Literal.String.Other */ .highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */ .highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
/*
 * Copyright 2011-2019 Branimir Karadzic. All rights reserved.
 * License: https://github.com/bkaradzic/bgfx#license-bsd-2-clause
 */

#ifndef BGFX_TOPOLOGY_H_HEADER_GUARD
#define BGFX_TOPOLOGY_H_HEADER_GUARD

#include <bgfx/bgfx.h>

namespace bgfx
{
	/// Convert index buffer for use with different primitive topologies.
	///
	/// @param[in] _conversion Conversion type, see `TopologyConvert::Enum`.
	/// @param[in] _dst Destination index buffer. If this argument it NULL
	///    function will return number of indices after conversion.
	/// @param[in] _dstSize Destination index buffer in bytes. It must be
	///    large enough to contain output indices. If destination size is
	///    insufficient index buffer will be truncated.
	/// @param[in] _indices Source indices.
	/// @param[in] _numIndices Number of input indices.
	/// @param[in] _index32 Set to `true` if input indices are 32-bit.
	///
	/// @returns Number of output indices after conversion.
	///
	/// @attention C99 equivalent is `bgfx_topology_convert`.
	///
	uint32_t topologyConvert(
		  TopologyConvert::Enum _conversion
		, void* _dst
		, uint32_t _dstSize
		, const void* _indices
		, uint32_t _numIndices
		, bool _index32
		, bx::AllocatorI* _allocator
		);

	///
	void topologySortTriList(
		  TopologySort::Enum _sort
		, void* _dst
		, uint32_t _dstSize
		, const float _dir[3]
		, const float _pos[3]
		, const void* _vertices
		, uint32_t _stride
		, const void* _indices
		, uint32_t _numIndices
		, bool _index32
		, bx::AllocatorI* _allocator
		);

} // namespace bgfx

#endif // BGFX_TOPOLOGY_H_HEADER_GUARD