1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 14:07:46 +00:00

LibGL+LibGPU+LibSoftGPU: Move ImageDataLayout.h to LibGPU

This commit is contained in:
Stephan Unverwerth 2022-03-15 13:26:31 +01:00 committed by Andreas Kling
parent 4e0643ae97
commit 54307a9cd3
4 changed files with 7 additions and 7 deletions

View file

@ -0,0 +1,20 @@
/*
* Copyright (c) 2021, Stephan Unverwerth <s.unverwerth@serenityos.org>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#pragma once
#include <LibGPU/ImageFormat.h>
namespace GPU {
struct ImageDataLayout final {
GPU::ImageFormat format;
size_t column_stride;
size_t row_stride;
size_t depth_stride;
};
}