Flutter Impeller
platform.h
Go to the documentation of this file.
1
// Copyright 2013 The Flutter Authors. All rights reserved.
2
// Use of this source code is governed by a BSD-style license that can be
3
// found in the LICENSE file.
4
5
#pragma once
6
7
#include <cstddef>
8
9
#include "flutter/fml/build_config.h"
10
#include "flutter/fml/macros.h"
11
12
namespace
impeller
{
13
14
constexpr
size_t
DefaultUniformAlignment
() {
15
#if FML_OS_IOS && !TARGET_OS_SIMULATOR
16
return
16u;
17
#else
18
return
256u;
19
#endif
20
}
21
22
}
// namespace impeller
impeller::DefaultUniformAlignment
constexpr size_t DefaultUniformAlignment()
Definition:
platform.h:14
impeller
Definition:
aiks_context.cc:10
impeller
core
platform.h
Generated by
1.8.17