Flutter Engine
The Flutter Engine
Functions
SkTypefaceCache.cpp File Reference
#include "src/core/SkTypefaceCache.h"
#include "include/core/SkFontStyle.h"
#include "include/core/SkGraphics.h"
#include "include/core/SkString.h"
#include "include/private/base/SkDebug.h"
#include "include/private/base/SkMutex.h"
#include <atomic>
#include <cstdint>
#include <utility>

Go to the source code of this file.

Functions

static SkMutex & typeface_cache_mutex ()
 

Function Documentation

◆ typeface_cache_mutex()

static SkMutex & typeface_cache_mutex ( )
static

Definition at line 74 of file SkTypefaceCache.cpp.

74 {
75 static SkMutex& mutex = *(new SkMutex);
76 return mutex;
77}