OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:SkResourceCache
(Results
1 - 22
of
22
) sorted by null
/external/skia/src/core/
SkYUVPlanesCache.h
14
class
SkResourceCache
;
41
SkResourceCache
* localCache = nullptr);
47
SkResourceCache
* localCache = nullptr);
SkBitmapCache.h
15
class
SkResourceCache
;
47
SkResourceCache
* localCache = nullptr);
53
SkResourceCache
* localCache = nullptr);
60
SkResourceCache
* localCache = nullptr);
67
SkResourceCache
* localCache = nullptr);
69
static bool Find(uint32_t genID, SkBitmap* result,
SkResourceCache
* localCache = nullptr);
71
static void Add(uint32_t genID, const SkBitmap&,
SkResourceCache
* localCache = nullptr);
77
SkResourceCache
* localCache = nullptr);
78
static const SkMipMap* AddAndRef(const SkBitmap& src,
SkResourceCache
* localCache = nullptr);
SkMaskCache.h
15
#include "
SkResourceCache
.h"
28
SkResourceCache
* localCache = nullptr);
31
SkResourceCache
* localCache = nullptr);
38
SkResourceCache
* localCache = nullptr);
41
SkResourceCache
* localCache = nullptr);
SkResourceCache.cpp
13
#include "
SkResourceCache
.h"
19
DECLARE_SKMESSAGEBUS_MESSAGE(
SkResourceCache
::PurgeSharedIDMessage)
32
void
SkResourceCache
::Key::init(void* nameSpace, uint64_t sharedID, size_t dataSize) {
56
class
SkResourceCache
::Hash :
57
public SkTDynamicHash<
SkResourceCache
::Rec,
SkResourceCache
::Key> {};
62
void
SkResourceCache
::init() {
160
SkResourceCacheDiscardableAllocator(
SkResourceCache
::DiscardableFactory factory) {
168
SkResourceCache
::DiscardableFactory fFactory;
198
SkResourceCache
::SkResourceCache(DiscardableFactory factory)
[
all
...]
SkYUVPlanesCache.cpp
9
#include "
SkResourceCache
.h"
13
((localCache) ? localCache->localName(__VA_ARGS__) :
SkResourceCache
::globalName(__VA_ARGS__))
23
struct YUVPlanesKey : public
SkResourceCache
::Key {
34
struct YUVPlanesRec : public
SkResourceCache
::Rec {
56
static bool Visitor(const
SkResourceCache
::Rec& baseRec, void* contextData) {
74
SkResourceCache
* localCache) {
86
SkResourceCache
* localCache) {
SkBitmapCache.cpp
10
#include "
SkResourceCache
.h"
24
SkResourceCache
::PostPurgeSharedID(SkMakeResourceCacheSharedIDForBitmap(bitmapGenID));
30
return
SkResourceCache
::GetAllocator();
85
struct BitmapKey : public
SkResourceCache
::Key {
118
struct BitmapRec : public
SkResourceCache
::Rec {
146
static bool Finder(const
SkResourceCache
::Rec& baseRec, void* contextBitmap) {
162
((localCache) ? localCache->localName(__VA_ARGS__) :
SkResourceCache
::globalName(__VA_ARGS__))
165
SkResourceCache
* localCache) {
174
SkResourceCache
* localCache) {
186
SkResourceCache
* localCache)
[
all
...]
SkMaskCache.cpp
11
((localCache) ? localCache->localName(__VA_ARGS__) :
SkResourceCache
::globalName(__VA_ARGS__))
21
struct RRectBlurKey : public
SkResourceCache
::Key {
39
struct RRectBlurRec : public
SkResourceCache
::Rec {
61
static bool Visitor(const
SkResourceCache
::Rec& baseRec, void* contextData) {
78
const SkRRect& rrect, SkMask* mask,
SkResourceCache
* localCache) {
92
SkResourceCache
* localCache) {
102
struct RectsBlurKey : public
SkResourceCache
::Key {
134
struct RectsBlurRec : public
SkResourceCache
::Rec {
156
static bool Visitor(const
SkResourceCache
::Rec& baseRec, void* contextData) {
174
SkResourceCache
* localCache)
[
all
...]
SkResourceCache.h
29
class
SkResourceCache
{
75
typedef
SkResourceCache
::Key Key;
97
friend class
SkResourceCache
;
194
SkResourceCache
(DiscardableFactory);
202
explicit
SkResourceCache
(size_t byteLimit);
203
~
SkResourceCache
();
SkGraphics.cpp
24
#include "
SkResourceCache
.h"
65
SkResourceCache
::DumpMemoryStatistics(dump);
SkPictureShader.cpp
17
#include "
SkResourceCache
.h"
27
struct BitmapShaderKey : public
SkResourceCache
::Key {
65
struct BitmapShaderRec : public
SkResourceCache
::Rec {
82
static bool Visitor(const
SkResourceCache
::Rec& baseRec, void* contextShader) {
217
if (!
SkResourceCache
::Find(key, BitmapShaderRec::Visitor, &tileShader)) {
233
SkResourceCache
::Add(new BitmapShaderRec(key, tileShader.get(),
SkBitmapController.cpp
43
#include "
SkResourceCache
.h"
60
size_t maximumAllocation =
SkResourceCache
::GetEffectiveSingleAllocationByteLimit();
126
dstW, dstH,
SkResourceCache
::GetAllocator())) {
SkImageCacherator.cpp
15
#include "
SkResourceCache
.h"
88
SkBitmap::Allocator* allocator =
SkResourceCache
::GetAllocator();
/external/skia/bench/
ImageCacheBench.cpp
9
#include "
SkResourceCache
.h"
13
class TestKey : public
SkResourceCache
::Key {
21
struct TestRec : public
SkResourceCache
::Rec {
32
static bool Visitor(const
SkResourceCache
::Rec&, void*) {
39
SkResourceCache
fCache;
/external/skia/tests/
ImageCacheTest.cpp
9
#include "
SkResourceCache
.h"
14
struct TestingKey : public
SkResourceCache
::Key {
21
struct TestingRec : public
SkResourceCache
::Rec {
32
static bool Visitor(const
SkResourceCache
::Rec& baseRec, void* context) {
45
static void test_cache(skiatest::Reporter* reporter,
SkResourceCache
& cache, bool testPurge) {
76
static void test_cache_purge_shared_id(skiatest::Reporter* reporter,
SkResourceCache
& cache) {
120
SkResourceCache
cache(defLimit);
127
SkResourceCache
cache(pool_factory);
131
SkResourceCache
cache(SkDiscardableMemory::Create);
135
SkResourceCache
cache(defLimit)
[
all
...]
SkResourceCacheTest.cpp
15
#include "
SkResourceCache
.h"
38
SkResourceCache
::DiscardableFactory factory =
SkResourceCache
::GetDiscardableFactory();
41
SkAutoTDelete<
SkResourceCache
> cache;
43
cache.reset(new
SkResourceCache
(factory));
46
cache.reset(new
SkResourceCache
(byteLimit));
92
static void test_mipmapcache(skiatest::Reporter* reporter,
SkResourceCache
* cache) {
129
static void test_mipmap_notify(skiatest::Reporter* reporter,
SkResourceCache
* cache) {
154
static void test_bitmap_notify(skiatest::Reporter* reporter,
SkResourceCache
* cache) {
191
static void testBitmapCache_discarded_bitmap(skiatest::Reporter* reporter,
SkResourceCache
* cache
[
all
...]
MaskCacheTest.cpp
10
#include "
SkResourceCache
.h"
32
SkResourceCache
cache(1024);
71
SkResourceCache
cache(1024);
YUVCacheTest.cpp
10
#include "
SkResourceCache
.h"
32
SkResourceCache
cache(1024);
/external/skia/src/ports/
SkFontHost_fontconfig.cpp
15
#include "
SkResourceCache
.h"
82
struct Request : public
SkResourceCache
::Key {
89
SkASSERT(SkTAddOffset<char>(this, sizeof(
SkResourceCache
::Key) + keySize) == content);
117
struct Result : public
SkResourceCache
::Rec {
133
SkResourceCache
fCachedResults;
145
fCachedResults.find(*request, [](const
SkResourceCache
::Rec& rec, void* context) -> bool {
/external/skia/src/gpu/
GrYUVProvider.cpp
15
#include "
SkResourceCache
.h"
60
fCachedData.reset(
SkResourceCache
::NewCachedData(totalSize));
/external/skia/src/effects/
SkBlurMaskFilter.cpp
270
SkCachedData* data =
SkResourceCache
::NewCachedData(size);
[
all
...]
/external/skia/
Android.mk
229
src/core/
SkResourceCache
.cpp \
/external/skia/samplecode/
SampleApp.cpp
[
all
...]
Completed in 784 milliseconds