Home
last modified time | relevance | path

Searched refs:SkDeque (Results 1 – 14 of 14) sorted by relevance

/external/skia/include/core/
DSkDeque.h26 class SK_API SkDeque : SkNoncopyable {
32 explicit SkDeque(size_t elemSize, int allocCount = 1);
33 SkDeque(size_t elemSize, void* storage, size_t storageSize, int allocCount = 1);
34 ~SkDeque();
44 return (void*)((const SkDeque*)this)->front(); in front()
48 return (void*)((const SkDeque*)this)->back(); in back()
77 Iter(const SkDeque& d, IterStart startLoc);
81 void reset(const SkDeque& d, IterStart startLoc);
84 SkDeque::Block* fCurBlock;
98 F2BIter(const SkDeque& d) : INHERITED(d, kFront_IterStart) {} in F2BIter()
[all …]
DSkClipStack.h366 kBottom_IterStart = SkDeque::Iter::kFront_IterStart,
367 kTop_IterStart = SkDeque::Iter::kBack_IterStart
397 SkDeque::Iter fIter;
454 SkDeque fDeque;
DSkCanvas.h1257 SkDeque fMCStack;
/external/skia/src/core/
DSkDeque.cpp12 struct SkDeque::Block {
29 SkDeque::SkDeque(size_t elemSize, int allocCount) in SkDeque() function in SkDeque
39 SkDeque::SkDeque(size_t elemSize, void* storage, size_t storageSize, int allocCount) in SkDeque() function in SkDeque
57 SkDeque::~SkDeque() { in ~SkDeque()
70 void* SkDeque::push_front() { in push_front()
110 void* SkDeque::push_back() { in push_back()
151 void SkDeque::pop_front() { in pop_front()
185 void SkDeque::pop_back() { in pop_back()
219 int SkDeque::numBlocksAllocated() const { in numBlocksAllocated()
229 SkDeque::Block* SkDeque::allocateBlock(int allocCount) { in allocateBlock()
[all …]
DSkClipStack.cpp530 SkDeque::F2BIter recIter(b.fDeque); in operator =()
548 SkDeque::F2BIter myIter(fDeque); in operator ==()
549 SkDeque::F2BIter bIter(b.fDeque); in operator ==()
675 SkDeque::Iter iter(fDeque, SkDeque::Iter::kBack_IterStart); in pushElement()
772 fIter.reset(fStack->fDeque, SkDeque::Iter::kBack_IterStart); in skipToTopmost()
791 fIter.reset(fStack->fDeque, SkDeque::Iter::kFront_IterStart); in skipToTopmost()
799 fIter.reset(fStack->fDeque, SkDeque::Iter::kFront_IterStart); in skipToTopmost()
807 fIter.reset(stack.fDeque, static_cast<SkDeque::Iter::IterStart>(startLoc)); in reset()
DSkCanvas.cpp853 SkDeque::Iter iter(fMCStack, SkDeque::Iter::kFront_IterStart); in getSaveCount()
/external/skia/src/effects/
DSkLayerRasterizer.cpp29 : fLayers(SkNEW_ARGS(SkDeque, (sizeof(SkLayerRasterizer_Rec)))) in SkLayerRasterizer()
33 SkLayerRasterizer::SkLayerRasterizer(SkDeque* layers) : fLayers(layers) in SkLayerRasterizer()
38 static void clean_up_layers(SkDeque* layers) { in clean_up_layers()
39 SkDeque::F2BIter iter(*layers); in clean_up_layers()
50 clean_up_layers(const_cast<SkDeque*>(fLayers)); in ~SkLayerRasterizer()
53 static bool compute_bounds(const SkDeque& layers, const SkPath& path, in compute_bounds()
56 SkDeque::F2BIter iter(layers); in compute_bounds()
139 SkDeque::F2BIter iter(*fLayers); in onRasterize()
155 SkDeque* SkLayerRasterizer::ReadLayers(SkReadBuffer& buffer) { in ReadLayers()
158 SkDeque* layers = SkNEW_ARGS(SkDeque, (sizeof(SkLayerRasterizer_Rec))); in ReadLayers()
[all …]
/external/skia/tests/
DDequeTest.cpp11 static void assert_count(skiatest::Reporter* reporter, const SkDeque& deq, int count) { in assert_count()
32 static void assert_iter(skiatest::Reporter* reporter, const SkDeque& deq, in assert_iter()
35 SkDeque::Iter iter(deq, SkDeque::Iter::kFront_IterStart); in assert_iter()
46 iter.reset(deq, SkDeque::Iter::kBack_IterStart); in assert_iter()
56 iter.reset(deq, SkDeque::Iter::kFront_IterStart); in assert_iter()
78 DequeUnitTestHelper(const SkDeque& deq) { in DequeUnitTestHelper()
84 const SkDeque& deq, in assert_blocks()
101 SkDeque deq(sizeof(int), allocCount); in TestSub()
DLayerRasterizerTest.cpp69 static const SkDeque& GetLayers(const SkLayerRasterizer& layerRasterizer) { in GetLayers()
114 const SkDeque& layersFirstCopy = LayerRasterizerTester::GetLayers(*firstCopy.get()); in DEF_TEST()
115 const SkDeque& layersOneLarger = LayerRasterizerTester::GetLayers(*oneLarger.get()); in DEF_TEST()
116 const SkDeque& layersDetached = LayerRasterizerTester::GetLayers(*detached.get()); in DEF_TEST()
125 SkDeque::F2BIter iterFirstCopy(layersFirstCopy); in DEF_TEST()
126 SkDeque::F2BIter iterOneLarger(layersOneLarger); in DEF_TEST()
127 SkDeque::F2BIter iterDetached(layersDetached); in DEF_TEST()
/external/skia/include/effects/
DSkLayerRasterizer.h64 SkDeque* fLayers;
71 SkLayerRasterizer(SkDeque* layers);
80 const SkDeque* const fLayers;
82 static SkDeque* ReadLayers(SkReadBuffer& buffer);
/external/skia/src/gpu/
DGrClipMaskCache.h185 SkDeque::F2BIter iter(fStack); in purgeResources()
235 SkDeque fStack;
/external/skia/gyp/
Dcore.gypi73 '<(skia_src_path)/core/SkDeque.cpp',
260 '<(skia_include_path)/core/SkDeque.h',
/external/skia/experimental/iOSSampleApp/iOSSampleApp.xcodeproj/
Dproject.pbxproj82 …260E02C313B1225D0064D447 /* SkDeque.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 260E023B13B…
609 …064D447 /* SkDeque.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecod…
724 …3B1225D0064D447 /* SkDeque.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType =…
1622 260E01C313B1225D0064D447 /* SkDeque.h */,
1772 260E023B13B1225D0064D447 /* SkDeque.cpp */,
2979 260E02C313B1225D0064D447 /* SkDeque.cpp in Sources */,
/external/skia/
DAndroid.mk126 src/core/SkDeque.cpp \