summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/nvflinger/graphic_buffer_producer.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2022-03-20 06:47:46 +0100
committerbunnei <bunneidev@gmail.com>2022-03-25 02:13:33 +0100
commit4d9488033f849132446ffb7840f1309fa38be8fd (patch)
treea8737261a62a54962acb4957b1a72c2a9e0c3eea /src/core/hle/service/nvflinger/graphic_buffer_producer.h
parenthle: nvflinger: buffer_queue_core: Declare default dtor. (diff)
downloadyuzu-4d9488033f849132446ffb7840f1309fa38be8fd.tar
yuzu-4d9488033f849132446ffb7840f1309fa38be8fd.tar.gz
yuzu-4d9488033f849132446ffb7840f1309fa38be8fd.tar.bz2
yuzu-4d9488033f849132446ffb7840f1309fa38be8fd.tar.lz
yuzu-4d9488033f849132446ffb7840f1309fa38be8fd.tar.xz
yuzu-4d9488033f849132446ffb7840f1309fa38be8fd.tar.zst
yuzu-4d9488033f849132446ffb7840f1309fa38be8fd.zip
Diffstat (limited to '')
-rw-r--r--src/core/hle/service/nvflinger/graphic_buffer_producer.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/hle/service/nvflinger/graphic_buffer_producer.h b/src/core/hle/service/nvflinger/graphic_buffer_producer.h
index 58763cf08..98d27871c 100644
--- a/src/core/hle/service/nvflinger/graphic_buffer_producer.h
+++ b/src/core/hle/service/nvflinger/graphic_buffer_producer.h
@@ -8,8 +8,8 @@
#include "common/common_funcs.h"
#include "common/common_types.h"
+#include "common/math_util.h"
#include "core/hle/service/nvflinger/ui/fence.h"
-#include "core/hle/service/nvflinger/ui/rect.h"
#include "core/hle/service/nvflinger/window.h"
namespace Service::android {
@@ -20,7 +20,7 @@ class Parcel;
struct QueueBufferInput final {
explicit QueueBufferInput(Parcel& parcel);
- void Deflate(s64* timestamp_, bool* is_auto_timestamp_, Rect* crop_,
+ void Deflate(s64* timestamp_, bool* is_auto_timestamp_, Common::Rectangle<s32>* crop_,
NativeWindowScalingMode* scaling_mode_, NativeWindowTransform* transform_,
u32* sticky_transform_, bool* async_, s32* swap_interval_, Fence* fence_) const {
*timestamp_ = timestamp;
@@ -37,7 +37,7 @@ struct QueueBufferInput final {
private:
s64 timestamp{};
s32 is_auto_timestamp{};
- Rect crop{};
+ Common::Rectangle<s32> crop{};
NativeWindowScalingMode scaling_mode{};
NativeWindowTransform transform{};
u32 sticky_transform{};