mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-14 13:47:58 -05:00
Merge yuzu-emu#12756
This commit is contained in:
@ -11,6 +11,12 @@
|
||||
|
||||
namespace Tegra {
|
||||
|
||||
enum class BlendMode {
|
||||
Opaque,
|
||||
Premultiplied,
|
||||
Coverage,
|
||||
};
|
||||
|
||||
/**
|
||||
* Struct describing framebuffer configuration
|
||||
*/
|
||||
@ -23,6 +29,7 @@ struct FramebufferConfig {
|
||||
Service::android::PixelFormat pixel_format{};
|
||||
Service::android::BufferTransformFlags transform_flags{};
|
||||
Common::Rectangle<int> crop_rect{};
|
||||
BlendMode blending{};
|
||||
};
|
||||
|
||||
Common::Rectangle<f32> NormalizeCrop(const FramebufferConfig& framebuffer, u32 texture_width,
|
||||
|
Reference in New Issue
Block a user