blob: 6076e810b3d17624fd069f130a5e779fdcc99805 [file] [log] [blame] [edit]
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#pragma once
#include <cstddef>
#include "flutter/fml/build_config.h"
#include "flutter/fml/macros.h"
namespace impeller {
constexpr size_t DefaultUniformAlignment() {
#if FML_OS_IOS && !TARGET_OS_SIMULATOR
return 16u;
#elif FML_OS_MACOSX
return 256u;
#else
return 16u;
#endif
}
} // namespace impeller