7 个仓库
Techniques for offloading heavy processing to background threads to prevent UI freezing.
Distinct from Multi-threaded Command Encoders: None of the candidates focus specifically on the relationship between multi-threading and UI responsiveness; they focus on memory or agent threads.
Explore 7 awesome GitHub repositories matching user interface & experience · Responsive Interface Threading. Refine with filters or upvote what's useful.
LearningNotes 是一个技术知识库和工程学习指南,专注于 Android 框架内部原理、系统架构和移动性能优化。它作为分析 Android 引导序列、进程引导和系统服务初始化的参考。 该项目提供了关于移动性能的详细指南,包括减少内存占用、识别内存泄漏和优化图像解码的策略。它进一步涵盖了使用 AIDL 和 Binder 内核驱动程序的 Android 进程间通信,以及通过 MVVM 和 MVP 等模式将业务逻辑与用户界面解耦的软件架构手册。 除了移动开发外,该仓库还包括用于技术面试准备的计算机科学知识库,涵盖数据结构、算法和操作系统概念。它还具有 Git 版本控制的实用参考,详细介绍了仓库管理、同步和分支工作流。
Offloads expensive computations and network requests to background threads to maintain interface responsiveness.
wxWidgets is a C++ UI toolkit and cross-platform GUI framework used to develop desktop applications for Windows, macOS, and Linux. It functions as a native widget wrapper, providing an abstraction layer that maps a single set of API calls to the native interface elements of different platforms. The framework allows for the creation of native graphical user interfaces by utilizing the host operating system's own controls and APIs. This ensures that applications maintain a native look and feel across various operating systems while using a consistent codebase. Beyond interface development, the
Runs background tasks and concurrent operations specifically to keep the graphical user interface responsive.
Grafika 是 Android 平台的参考实现和基准测试工具集合。它提供用于验证相机生命周期、GPU 性能和媒体编解码器配置的技术演示,包括一套 OpenGL ES 示例和一个图形参考应用程序。 该项目通过用于测量图形性能的专用工具脱颖而出,例如用于纹理上传速度和像素读取延迟的基准测试。它还实现了特定的硬件聚焦模式,例如使用循环缓冲区进行连续视频捕获,以及利用虚拟显示器进行系统级屏幕录制。 该仓库涵盖了广泛的媒体和图形能力。这包括用于实时操作的相机到纹理渲染、使用专用渲染器线程实现响应式界面,以及使用系统合成器层的各种视频播放方法。它还通过同步帧缓冲区录制和多流解码进一步解决了视频处理问题。
Offloads graphics processing and surface management to a background thread to ensure the main user interface remains responsive.
vcmi 是《魔法门之英雄无敌 III》的开源游戏引擎,重现了原版策略游戏的玩法、逻辑和渲染。它作为一个跨平台游戏运行时,支持 Windows、Linux、macOS、Android 和 iOS,提供用于战略世界地图导航和战术战斗的回合制策略模拟器。 该项目构建为可模组化的游戏框架,具有数据驱动的模组系统和沙盒 Lua 脚本集成。这些允许通过外部配置文件和模式验证来定义自定义游戏逻辑、法术效果,并添加新的阵营、角色和资产。 该引擎包含一个多人游戏状态同步器,通过二进制序列化在客户端之间协调同步回合和游戏状态更新。它还集成了用于策略模拟的 AI、专用的地图创作与生成系统,以及用于资产覆盖和本地化的工具。 该软件支持多平台构建配置,并提供用于提取游戏数据和调试游戏状态的工具。
Offloads computationally heavy simulations to background threads to ensure the user interface remains responsive.
Simpl 是一个 HTML、CSS 和 JavaScript 示例库,提供了一系列核心 Web 技术和原生浏览器 API 的最小功能演示。它作为前端开发的参考实现和模式库,提供了如何实现常见 Web 功能的实用示例。 该项目展示了广泛的浏览器功能,包括通过 WebSockets 和 WebRTC 进行的实时 Web 通信、用于自适应布局的响应式 Web 设计技术,以及使用 Service Workers 实现离线工作流。它还提供了使用 IndexedDB 和基于浏览器的键值存储进行客户端存储的演示。 该库涵盖了广泛的 Web 功能,包括与设备传感器和地理位置的硬件集成、用于音频和视频的高级媒体捕获和播放,以及使用 Canvas 进行二维和三维图形渲染。其他领域包括数据操作、异步编程以及使用浏览器 API 监控性能和网络连接。
Run heavy computations in a separate thread to prevent processing delays and keep the user interface responsive.
Keras-js 是一个 JavaScript 推理引擎和基于浏览器的机器学习框架,旨在执行预训练的 Keras 神经网络。它允许在 Web 浏览器或 Node.js 环境中进行客户端模型推理,而无需后端服务器。 该库利用 WebGL 张量加速器将数学运算映射到图形处理器进行硬件加速。为了在繁重计算期间保持用户界面响应,它结合了一个 Web Worker 推理运行时,在后台线程中执行神经网络处理。 该系统支持通过 JSON 配置文件和权重张量加载模型。它使用 WebGL 纹理存储管理大型数值数组,以促进张量执行期间的高速内存访问。
Offloads heavy neural network computations to background threads to prevent the browser interface from freezing.
OBS is a professional software suite designed for live video streaming and recording. It functions as a comprehensive production platform that captures, mixes, and broadcasts high-quality audio and video content to various online platforms or local storage. The software utilizes a modular architecture that allows for the integration of third-party extensions, enabling users to customize their production environment. It features a scene-graph composition system that organizes multiple visual and audio sources into a unified layout, supported by a real-time audio mixing pipeline and a multi-thr
Offloads heavy video encoding and audio mixing to background threads to maintain smooth user interface responsiveness.