SDL:Simple DirectMedia Layer

Simple DirectMedia Layer

分支9Tags89
文件最后提交记录最后更新时间
Fix Cygwin building and add CI (#15566) Co-authored-by: TrueCat17 <truecat17@gmail.com> Co-authored-by: Anonymous Maarten <anonymous.maarten@gmail.com> Co-authored-by: Ozkan Sezer <sezeroz@gmail.com>12 天前
gdk: Update Suspend/Resume best practices. Updated testgdk to demonstrate correct handling of suspend/resume and the new Render APIs, and updated the docs to explain the correct usage of these GDK functions.2 个月前
examples: Add blending example (#15657)7 天前
Added curved window mode on visionOS 26 (#15298)14 天前
Ensure we release exclusive USB access to controllers when backgrounded. #1569417 小时前
ci+release: build with gameinput support 12 天前
opengles: Readd an OpenGL ES 1 renderer to SDL3! (#15185) This readds the "opengles" renderer, updated from SDL2 to work on SDL3. Fixes #15661. Co-authored-by: Ryan C. Gordon <icculus@icculus.org> Co-authored-by: Cameron Cawley <ccawley2011@gmail.com>1 天前
Sync SDL3 wiki -> header [ci skip] 2 天前
examples/demo/04-bytepusher: go back to showing help text on load failures. If the VM was already running, and then a file failed to open at all (a directory was dropped on the window, etc), this wouldn't go back to showing the help text. 3 天前
Sync SDL3 wiki -> header [ci skip] 1 天前
x11: Fix boolean/enum comparison This could set the pending flag even if there was no state change requested, which would cause errant sync timeouts in certain situations. 1 小时前
testgpurender_msdf: allow changing the text being rendered 1 天前
revert parts of CodeSpell commit d870911202 from 3rd party sources 14 天前
Add CHECK_PARAM as a conditional macro in clang-format Otherwise, it won't be treated as a conditional expression, and clang-format will automatically move the opening brace to the line below it. 1 个月前
Fix size of memcpy in SDL_AudioDeviceFormatChangedAlreadyLocked And add diagnostic that allows to find this kind of issue in clang-tidy2 年前
.editorconfig: Remove excess apostrophe at *.cocci Remove the excess apostrophe (') introduced by commit c4b471bd1314933fd726ef987d96c92c68033f99. Some editors complain about it. Signed-off-by: Yasushi SHOJI <yashi@spacecubics.com> 1 年前
Updated .gitignore for png test data 7 个月前
wikiheaders: Generate a current list of supported environment variables. Fixes #13827. 8 个月前
AGENTS.md: Change "may not" to "must not". (Hat tip to Sean Barrett on the stronger wording here.) 1 个月前
Add SVE2 SIMD Alpha-Blending Blitter (#15504) SVE/SVE2 is a new SIMD extension for AArch64. Compared to NEON, SVE/SVE2 brings the following benefits that are good for SDL projects: - Lane prediction: we don't have to treat the tail part of a stride separately when the width is n times the hardware vector size - Although the performance is almost no difference from NEON when the hardware vector size is 128bits, when the hardware provides a longer vector size, e.g. 256, 512, ... 2048, we can enjoy the large performance gain without modifying the source code or recompiling a library. The functional correctness is validated in a dedicated [qemu project](https://github.com/GorgonMeducer/aarch64_qemu_mac_template/tree/SDL-SVE2-Acceleration-Validation). The performance is tested on [Radxa Orion 6 N](https://radxa.com/products/orion/o6n/), which provides 4x A720 and 4x A520 processors. Since the vector size is 128 bits, which is the same as NEON, the performance is almost the same (or no worse than) the NEON acceleration. 13 天前
Added a Discord link to BUGS.txt 1 年前
CLAUDE.md: Just copy the text from AGENTS.md in here for now. Someone mentioned that Claude sees this file's previous text and adds "look at AGENTS.md" to it's TODO list instead of treating it as the thing it should do first. If everything decides to prefer AGENTS.md at some point, we'll delete this file. A symlink would apparently also work, but it would be the only symlink in the SDL git repo, so it seemed less disruptive to just copy the file over for now. 1 个月前
SVE2: Improves SVE2 8888 swizzling performance and important fixes (#15662) * SVE2 was actually disabled in fdfbbce, this issue is fixed - The macro __ARM_FEATURE_SVE is only defined when the compilation target is set as -march=armv8-m+sve2 * Improves 8888 alpha-blending performance - Now, in In-Order AArch64 processors, e.g. A520, SVE2 is better than NEON with the 128bit vector width - For Out-of-order processors, NEON is still better than SVE2 (We could improve this in the future), the performance is improved from 3.0 to 3.6. * The 8888 -> RGB565 performance is also improved (from 7.4 to 9.3)1 天前
Updated the credits for SDL 3.0 1 年前
Add a link to docs/INTRO-mingw.md 1 年前
Updated copyright for 2026 4 个月前
Revert "Update README.md" This reverts commit b83bd80424dd5251747a8b696157c06d2fcc303f. Looks like it was accidental.. 6 个月前
Added SDL_HINT_MOUSE_DPI_SCALE_CURSORS We only want to change cursor display scale if the application or the user opts in by setting a hint. Otherwise cursors could change size unexpectedly when upgrading to SDL 3.4.0. 5 个月前

Simple DirectMedia Layer(简称 SDL)是一款跨平台库,旨在简化多媒体软件(如游戏和模拟器)的编写工作。

您可以在以下网址获取最新版本及更多信息: https://www.libsdl.org/

安装说明和快速入门指南详见 INSTALL.md

本库依据 zlib 许可证进行分发,许可证详情参见 LICENSE.txt

祝您使用愉快!

Sam Lantinga(slouken@libsdl.org)

项目介绍

简单直接媒体层【此简介由AI生成】

定制我的领域
14515.74 K2.78 K访问 GitHub

下载使用量

0

项目总下载次数(含Clone、Pull、 zip 包及 release 下载),每日凌晨更新

语言类型

C90.12%
Objective-C3.12%
C++2.53%
CMake1.54%
Perl0.66%