Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Namespaces | Functions | Variables
DistanceFieldAdjustTable.cpp File Reference
#include "src/text/gpu/DistanceFieldAdjustTable.h"
#include "include/core/SkTypes.h"
#include "include/private/base/SkDebug.h"
#include "include/private/base/SkTemplates.h"
#include "src/base/SkNoDestructor.h"
#include "src/core/SkScalerContext.h"
#include <cstddef>
#include <cstdint>

Go to the source code of this file.

Namespaces

namespace  sktext
 
namespace  sktext::gpu
 

Functions

 sktext::gpu::SkDEBUGCODE (static const int kExpectedDistanceAdjustTableSize=8;) SkScalar *build_distance_adjust_table(SkScalar paintGamma
 
 sktext::gpu::SkASSERT (kExpectedDistanceAdjustTableSize==height)
 
AutoTArray< uint8_t > sktext::gpu::data ((int) size)
 
 sktext::gpu::if (!SkScalerContext::GetGammaLUTData(contrast, paintGamma, deviceGamma, data.get()))
 
 sktext::gpu::for (int row=0;row< height;++row)
 

Variables

SkScalar sktext::gpu::deviceGamma
 
size_t sktext::gpu::size
 
SkScalar sktext::gpu::contrast = SK_GAMMA_CONTRAST
 
SkScalarsktext::gpu::table = new SkScalar[height]