Flutter Engine
flutter::EmbedderExternalView::RenderTargetDescriptor::Hash Struct Reference

#include <embedder_external_view.h>

Public Member Functions

constexpr std::size_t operator() (const RenderTargetDescriptor &desc) const
 

Detailed Description

Definition at line 57 of file embedder_external_view.h.

Member Function Documentation

◆ operator()()

constexpr std::size_t flutter::EmbedderExternalView::RenderTargetDescriptor::Hash::operator() ( const RenderTargetDescriptor desc) const
inline

Definition at line 58 of file embedder_external_view.h.

References fml::HashCombine(), flutter::EmbedderExternalView::RenderTargetDescriptor::surface_size, and flutter::EmbedderExternalView::RenderTargetDescriptor::view_identifier.

59  {
60  return fml::HashCombine(desc.surface_size.width(),
61  desc.surface_size.height(),
62  ViewIdentifier::Hash{}(desc.view_identifier));
63  }
constexpr std::size_t HashCombine()
Definition: hash_combine.h:25

The documentation for this struct was generated from the following file: