blob: c2783d7581e080aff8cbad582c09a76dab18d1b5 [file] [log] [blame]
// 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
return 16u;
#elif FML_OS_MACOSX
return 256u;
#else
return 16u;
#endif
}
} // namespace impeller