Flutter Engine
The Flutter Engine
Functions
SkImageFilter.cpp File Reference
#include "include/core/SkImageFilter.h"
#include "include/core/SkColorFilter.h"
#include "include/core/SkImage.h"
#include "include/core/SkImageInfo.h"
#include "include/core/SkMatrix.h"
#include "include/core/SkPoint.h"
#include "include/core/SkRect.h"
#include "include/core/SkTypes.h"
#include "include/private/base/SkTArray.h"
#include "include/private/base/SkTemplates.h"
#include "src/core/SkImageFilterCache.h"
#include "src/core/SkImageFilterTypes.h"
#include "src/core/SkImageFilter_Base.h"
#include "src/core/SkLocalMatrixImageFilter.h"
#include "src/core/SkPicturePriv.h"
#include "src/core/SkReadBuffer.h"
#include "src/core/SkRectPriv.h"
#include "src/core/SkSpecialImage.h"
#include "src/core/SkValidationUtils.h"
#include "src/core/SkWriteBuffer.h"
#include "src/effects/colorfilters/SkColorFilterBase.h"
#include <algorithm>
#include <atomic>
#include <cstdint>
#include <optional>
#include <utility>

Go to the source code of this file.

Functions

static int32_t next_image_filter_unique_id ()
 

Function Documentation

◆ next_image_filter_unique_id()

static int32_t next_image_filter_unique_id ( )
static

Definition at line 138 of file SkImageFilter.cpp.

138 {
139 static std::atomic<int32_t> nextID{1};
140
141 int32_t id;
142 do {
143 id = nextID.fetch_add(1, std::memory_order_relaxed);
144 } while (id == 0);
145 return id;
146}
const uintptr_t id