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:
parent
4e0643ae97
commit
54307a9cd3
4 changed files with 7 additions and 7 deletions
20
Userland/Libraries/LibGPU/ImageDataLayout.h
Normal file
20
Userland/Libraries/LibGPU/ImageDataLayout.h
Normal 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;
|
||||
};
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue