OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:SkCachedData
(Results
1 - 17
of
17
) sorted by null
/external/skia/src/core/
SkCachedData.cpp
8
#include "
SkCachedData
.h"
18
SkDebugf("
SkCachedData
inc %d\n", oldCount + 1);
23
SkDebugf("
SkCachedData
dec %d\n", oldCount - 1);
30
SkCachedData
::
SkCachedData
(void* data, size_t size)
42
SkCachedData
::
SkCachedData
(size_t size, SkDiscardableMemory* dm)
54
SkCachedData
::~
SkCachedData
() {
66
class
SkCachedData
::AutoMutexWritable
[
all
...]
SkYUVPlanesCache.h
11
#include "
SkCachedData
.h"
36
* On success, return a ref to the
SkCachedData
that holds the pixels.
40
static
SkCachedData
* FindAndRef(uint32_t genID, Info* info,
46
static void Add(uint32_t genID,
SkCachedData
* data, Info* info,
SkMaskCache.h
12
#include "
SkCachedData
.h"
21
* On success, return a ref to the
SkCachedData
that holds the pixels, and have mask
26
static
SkCachedData
* FindAndRef(SkScalar sigma, SkBlurStyle style, SkBlurQuality quality,
29
static
SkCachedData
* FindAndRef(SkScalar sigma, SkBlurStyle style, SkBlurQuality quality,
37
const SkRRect& rrect, const SkMask& mask,
SkCachedData
* data,
40
const SkRect rects[], int count, const SkMask& mask,
SkCachedData
* data,
SkCachedData.h
16
class
SkCachedData
: ::SkNoncopyable {
18
SkCachedData
(void* mallocData, size_t size);
19
SkCachedData
(size_t size, SkDiscardableMemory*);
20
virtual ~
SkCachedData
();
SkYUVPlanesCache.cpp
20
SkCachedData
* fData;
35
YUVPlanesRec(YUVPlanesKey key,
SkCachedData
* data, SkYUVPlanesCache::Info* info)
60
SkCachedData
* tmpData = rec.fValue.fData;
73
SkCachedData
* SkYUVPlanesCache::FindAndRef(uint32_t genID, Info* info,
85
void SkYUVPlanesCache::Add(uint32_t genID,
SkCachedData
* data, Info* info,
SkMipMap.h
11
#include "
SkCachedData
.h"
21
class SkMipMap : public
SkCachedData
{
54
typedef
SkCachedData
INHERITED;
SkMaskCache.cpp
15
SkCachedData
* fData;
40
RRectBlurRec(RRectBlurKey key, const SkMask& mask,
SkCachedData
* data)
65
SkCachedData
* tmpData = rec.fValue.fData;
77
SkCachedData
* SkMaskCache::FindAndRef(SkScalar sigma, SkBlurStyle style, SkBlurQuality quality,
91
const SkRRect& rrect, const SkMask& mask,
SkCachedData
* data,
135
RectsBlurRec(RectsBlurKey key, const SkMask& mask,
SkCachedData
* data)
160
SkCachedData
* tmpData = rec.fValue.fData;
172
SkCachedData
* SkMaskCache::FindAndRef(SkScalar sigma, SkBlurStyle style, SkBlurQuality quality,
187
const SkRect rects[], int count, const SkMask& mask,
SkCachedData
* data,
SkResourceCache.h
15
class
SkCachedData
;
176
static
SkCachedData
* NewCachedData(size_t bytes);
248
SkCachedData
* newCachedData(size_t bytes);
SkResourceCache.cpp
385
SkCachedData
* SkResourceCache::newCachedData(size_t bytes) {
390
return dm ? new
SkCachedData
(bytes, dm) : nullptr;
392
return new
SkCachedData
(sk_malloc_throw(bytes), bytes);
597
SkCachedData
* SkResourceCache::NewCachedData(size_t bytes) {
/external/skia/tests/
CachedDataTest.cpp
8
#include "
SkCachedData
.h"
22
static void check_data(skiatest::Reporter* reporter,
SkCachedData
* data,
29
static
SkCachedData
* make_data(size_t size, SkDiscardableMemoryPool* pool) {
34
return new
SkCachedData
(size, dm);
36
return new
SkCachedData
(sk_malloc_throw(size), size);
41
static
SkCachedData
* test_locking(skiatest::Reporter* reporter,
43
SkCachedData
* data = make_data(size, pool);
67
*
SkCachedData
behaves differently (regarding its locked/unlocked state) depending on
81
SkCachedData
* data = test_locking(reporter, size, useDiscardable ? pool.get() : nullptr);
MaskCacheTest.cpp
8
#include "
SkCachedData
.h"
23
static void check_data(skiatest::Reporter* reporter,
SkCachedData
* data,
42
SkCachedData
* data = SkMaskCache::FindAndRef(sigma, style, quality, rrect, &mask, &cache);
80
SkCachedData
* data = SkMaskCache::FindAndRef(sigma, style, quality, rects, 1, &mask, &cache);
YUVCacheTest.cpp
8
#include "
SkCachedData
.h"
23
static void check_data(skiatest::Reporter* reporter,
SkCachedData
* data,
45
SkCachedData
* data = SkYUVPlanesCache::FindAndRef(genID, &yuvInfo, &cache);
SkResourceCacheTest.cpp
84
static void check_data(skiatest::Reporter* reporter, const
SkCachedData
* data,
/external/skia/include/core/
SkMaskFilter.h
25
class
SkCachedData
;
193
SkCachedData
* fCache;
/external/skia/src/effects/
SkBlurMaskFilter.cpp
268
static
SkCachedData
* copy_mask_to_cacheddata(SkMask* mask) {
270
SkCachedData
* data = SkResourceCache::NewCachedData(size);
279
static
SkCachedData
* find_cached_rrect(SkMask* mask, SkScalar sigma, SkBlurStyle style,
284
static
SkCachedData
* add_cached_rrect(SkMask* mask, SkScalar sigma, SkBlurStyle style,
286
SkCachedData
* cache = copy_mask_to_cacheddata(mask);
293
static
SkCachedData
* find_cached_rects(SkMask* mask, SkScalar sigma, SkBlurStyle style,
298
static
SkCachedData
* add_cached_rects(SkMask* mask, SkScalar sigma, SkBlurStyle style,
300
SkCachedData
* cache = copy_mask_to_cacheddata(mask);
414
SkCachedData
* cache = find_cached_rrect(&patch->fMask, sigma, fBlurStyle,
547
SkCachedData
* cache = find_cached_rects(&patch->fMask, sigma, fBlurStyle
[
all
...]
/external/skia/src/gpu/
GrYUVProvider.cpp
13
#include "
SkCachedData
.h"
30
SkAutoTUnref<
SkCachedData
> fCachedData;
/external/skia/
Android.mk
123
src/core/
SkCachedData
.cpp \
Completed in 1281 milliseconds