Norman Feske 21acbed65b blit: Blit::blend_xrgb_a
This commit adds support for SIMD-based alpha blending, which speeds up
the alpha-compositing of the nitpicker GUI server by circa 300% on ARM
Neon and x86_64 using SSE4.1

Issue #5428
2025-02-24 16:39:19 +01:00

28 lines
660 B
C++

/*
* \brief Blit API
* \author Norman Feske
* \date 2025-01-16
*/
/*
* Copyright (C) 2025 Genode Labs GmbH
*
* This file is part of the Genode OS framework, which is distributed
* under the terms of the GNU Affero General Public License version 3.
*/
#ifndef _INCLUDE__SPEC__ARM_64__BLIT_H_
#define _INCLUDE__SPEC__ARM_64__BLIT_H_
#include <blit/types.h>
#include <blit/internal/neon.h>
#include <blit/internal/slow.h>
namespace Blit {
static inline void back2front (auto &&... args) { _b2f<Neon>(args...); }
static inline void blend_xrgb_a(auto &&... args) { Neon::Blend::xrgb_a(args...); }
}
#endif /* _INCLUDE__SPEC__ARM_64__BLIT_H_ */