mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-28 11:49:44 +00:00
LibGL+LibGPU+LibSoftGPU: Move ImageDataLayout.h to LibGPU
This commit is contained in:
parent
4e0643ae97
commit
54307a9cd3
Notes:
sideshowbarker
2024-07-17 14:23:29 +09:00
Author: https://github.com/sunverwerth
Commit: 54307a9cd3
Pull-request: https://github.com/SerenityOS/serenity/pull/13294
Reviewed-by: https://github.com/Quaker762 ✅
Reviewed-by: https://github.com/creator1creeper1
Reviewed-by: https://github.com/gmta
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