Flutter Engine
The Flutter Engine
|
#include "include/core/SkRefCnt.h"
#include "include/core/SkTypes.h"
#include "include/private/SkWeakRefCnt.h"
#include "include/private/base/SkDebug.h"
#include "tests/Test.h"
#include <thread>
#include <utility>
Go to the source code of this file.
Classes | |
class | Effect |
class | Paint |
struct | EffectImpl |
Macros | |
#define | check(reporter, ref, unref, make, kill) |
Functions | |
static void | bounce_ref (void *data) |
static void | test_refCnt (skiatest::Reporter *reporter) |
static void | bounce_weak_ref (void *data) |
static void | bounce_weak_weak_ref (void *data) |
static void | test_weakRefCnt (skiatest::Reporter *reporter) |
DEF_TEST (RefCnt, reporter) | |
static sk_sp< Effect > | Create () |
static sk_sp< Effect > | make_effect () |
static void | reset_counters () |
DEF_TEST (sk_sp, reporter) | |
static sk_sp< FooAbstract > | make_foo () |
DEF_TEST (sk_make_sp, r) | |
DEF_TEST (sk_sp_reset, r) | |
DEF_TEST (sk_sp_ref, r) | |
Variables | |
static int | gRefCounter |
static int | gUnrefCounter |
static int | gNewCounter |
static int | gDeleteCounter |
Definition at line 85 of file RefCntTest.cpp.
|
static |
Definition at line 17 of file RefCntTest.cpp.
|
static |
Definition at line 38 of file RefCntTest.cpp.
|
static |
Definition at line 47 of file RefCntTest.cpp.
Definition at line 117 of file RefCntTest.cpp.
DEF_TEST | ( | RefCnt | , |
reporter | |||
) |
Definition at line 73 of file RefCntTest.cpp.
DEF_TEST | ( | sk_make_sp | , |
r | |||
) |
Definition at line 346 of file RefCntTest.cpp.
Definition at line 152 of file RefCntTest.cpp.
DEF_TEST | ( | sk_sp_ref | , |
r | |||
) |
Definition at line 368 of file RefCntTest.cpp.
DEF_TEST | ( | sk_sp_reset | , |
r | |||
) |
Definition at line 352 of file RefCntTest.cpp.
Definition at line 140 of file RefCntTest.cpp.
|
static |
Definition at line 341 of file RefCntTest.cpp.
|
static |
Definition at line 146 of file RefCntTest.cpp.
|
static |
Definition at line 25 of file RefCntTest.cpp.
|
static |
Definition at line 55 of file RefCntTest.cpp.
|
static |
Definition at line 83 of file RefCntTest.cpp.
|
static |
Definition at line 82 of file RefCntTest.cpp.
|
static |
Definition at line 80 of file RefCntTest.cpp.
|
static |
Definition at line 81 of file RefCntTest.cpp.