// Copyright 2024 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CC_TILES_TILE_INDEX_H_ #define CC_TILES_TILE_INDEX_H_ #include <tuple> #include <utility> #include "cc/cc_export.h" namespace cc { // An index identifying a specific tile within some tiling. A tiling is a 2D // grid of non-overlapping, tightly packed, uniformly-sized tiles. struct CC_EXPORT TileIndex { … }; } // namespace cc template <> struct CC_EXPORT std::hash<cc::TileIndex> { … }; #endif // CC_TILES_TILE_INDEX_H_