Home
last modified time | relevance | path

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

12

/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.h367 kBottom_IterStart = SkDeque::Iter::kFront_IterStart,
368 kTop_IterStart = SkDeque::Iter::kBack_IterStart
398 SkDeque::Iter fIter;
455 SkDeque fDeque;
/external/chromium_org/third_party/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.h367 kBottom_IterStart = SkDeque::Iter::kFront_IterStart,
368 kTop_IterStart = SkDeque::Iter::kBack_IterStart
398 SkDeque::Iter fIter;
455 SkDeque fDeque;
/external/chromium_org/third_party/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.cpp532 SkDeque::F2BIter recIter(b.fDeque); in operator =()
550 SkDeque::F2BIter myIter(fDeque); in operator ==()
551 SkDeque::F2BIter bIter(b.fDeque); in operator ==()
667 SkDeque::Iter iter(fDeque, SkDeque::Iter::kBack_IterStart); in pushElement()
764 fIter.reset(fStack->fDeque, SkDeque::Iter::kBack_IterStart); in skipToTopmost()
783 fIter.reset(fStack->fDeque, SkDeque::Iter::kFront_IterStart); in skipToTopmost()
791 fIter.reset(fStack->fDeque, SkDeque::Iter::kFront_IterStart); in skipToTopmost()
799 fIter.reset(stack.fDeque, static_cast<SkDeque::Iter::IterStart>(startLoc)); in reset()
DSkMatrixClipStateMgr.cpp299 SkDeque::Iter iter(fMatrixClipStack, SkDeque::Iter::kBack_IterStart); in call()
315 iter.reset(fMatrixClipStack, SkDeque::Iter::kFront_IterStart); in call()
388 SkDeque::Iter iter(fMatrixClipStack, SkDeque::Iter::kBack_IterStart); in validate()
DSkPictureStateTree.h138 SkDeque fStateStack;
DSkMatrixClipStateMgr.h353 SkDeque fMatrixClipStack;
/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.cpp532 SkDeque::F2BIter recIter(b.fDeque); in operator =()
550 SkDeque::F2BIter myIter(fDeque); in operator ==()
551 SkDeque::F2BIter bIter(b.fDeque); in operator ==()
667 SkDeque::Iter iter(fDeque, SkDeque::Iter::kBack_IterStart); in pushElement()
764 fIter.reset(fStack->fDeque, SkDeque::Iter::kBack_IterStart); in skipToTopmost()
783 fIter.reset(fStack->fDeque, SkDeque::Iter::kFront_IterStart); in skipToTopmost()
791 fIter.reset(fStack->fDeque, SkDeque::Iter::kFront_IterStart); in skipToTopmost()
799 fIter.reset(stack.fDeque, static_cast<SkDeque::Iter::IterStart>(startLoc)); in reset()
DSkMatrixClipStateMgr.cpp299 SkDeque::Iter iter(fMatrixClipStack, SkDeque::Iter::kBack_IterStart); in call()
315 iter.reset(fMatrixClipStack, SkDeque::Iter::kFront_IterStart); in call()
388 SkDeque::Iter iter(fMatrixClipStack, SkDeque::Iter::kBack_IterStart); in validate()
DSkPictureStateTree.h138 SkDeque fStateStack;
/external/chromium_org/third_party/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()
64 static bool compute_bounds(const SkDeque& layers, const SkPath& path, in compute_bounds()
67 SkDeque::F2BIter iter(layers); in compute_bounds()
150 SkDeque::F2BIter iter(*fLayers); in onRasterize()
165 SkDeque* SkLayerRasterizer::ReadLayers(SkReadBuffer& buffer) { in ReadLayers()
168 SkDeque* layers = SkNEW_ARGS(SkDeque, (sizeof(SkLayerRasterizer_Rec))); in ReadLayers()
[all …]
/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()
64 static bool compute_bounds(const SkDeque& layers, const SkPath& path, in compute_bounds()
67 SkDeque::F2BIter iter(layers); in compute_bounds()
150 SkDeque::F2BIter iter(*fLayers); in onRasterize()
165 SkDeque* SkLayerRasterizer::ReadLayers(SkReadBuffer& buffer) { in ReadLayers()
168 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.cpp67 static const SkDeque& GetLayers(const SkLayerRasterizer& layerRasterizer) { in GetLayers()
112 const SkDeque& layersFirstCopy = LayerRasterizerTester::GetLayers(*firstCopy.get()); in DEF_TEST()
113 const SkDeque& layersOneLarger = LayerRasterizerTester::GetLayers(*oneLarger.get()); in DEF_TEST()
114 const SkDeque& layersDetached = LayerRasterizerTester::GetLayers(*detached.get()); in DEF_TEST()
123 SkDeque::F2BIter iterFirstCopy(layersFirstCopy); in DEF_TEST()
124 SkDeque::F2BIter iterOneLarger(layersOneLarger); in DEF_TEST()
125 SkDeque::F2BIter iterDetached(layersDetached); in DEF_TEST()
/external/chromium_org/third_party/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.cpp67 static const SkDeque& GetLayers(const SkLayerRasterizer& layerRasterizer) { in GetLayers()
112 const SkDeque& layersFirstCopy = LayerRasterizerTester::GetLayers(*firstCopy.get()); in DEF_TEST()
113 const SkDeque& layersOneLarger = LayerRasterizerTester::GetLayers(*oneLarger.get()); in DEF_TEST()
114 const SkDeque& layersDetached = LayerRasterizerTester::GetLayers(*detached.get()); in DEF_TEST()
123 SkDeque::F2BIter iterFirstCopy(layersFirstCopy); in DEF_TEST()
124 SkDeque::F2BIter iterOneLarger(layersOneLarger); in DEF_TEST()
125 SkDeque::F2BIter iterDetached(layersDetached); in DEF_TEST()
/external/chromium_org/third_party/skia/include/effects/
DSkLayerRasterizer.h64 SkDeque* fLayers;
83 SkLayerRasterizer(SkDeque* layers);
99 SkDeque* fLayers;
101 const SkDeque* const fLayers;
104 static SkDeque* ReadLayers(SkReadBuffer& buffer);
/external/skia/include/effects/
DSkLayerRasterizer.h64 SkDeque* fLayers;
83 SkLayerRasterizer(SkDeque* layers);
99 SkDeque* fLayers;
101 const SkDeque* const fLayers;
104 static SkDeque* ReadLayers(SkReadBuffer& buffer);
/external/chromium_org/third_party/skia/bench/
DStackBench.cpp49 SkDeque s(sizeof(int), 1024); in BENCH()
54 SkDeque::Iter it(s, SkDeque::Iter::kFront_IterStart); in BENCH()
113 SkDeque s(sizeof(int), 1024); in BENCH()
138 SkDeque s(sizeof(int), 1024); in BENCH()
164 SkDeque s(sizeof(int), 1024); in BENCH()
/external/skia/bench/
DStackBench.cpp49 SkDeque s(sizeof(int), 1024); in BENCH()
54 SkDeque::Iter it(s, SkDeque::Iter::kFront_IterStart); in BENCH()
113 SkDeque s(sizeof(int), 1024); in BENCH()
138 SkDeque s(sizeof(int), 1024); in BENCH()
164 SkDeque s(sizeof(int), 1024); in BENCH()
/external/chromium_org/third_party/skia/src/gpu/
DGrClipMaskCache.h184 SkDeque::F2BIter iter(fStack); in releaseResources()
230 SkDeque fStack;
/external/skia/src/gpu/
DGrClipMaskCache.h184 SkDeque::F2BIter iter(fStack); in releaseResources()
230 SkDeque fStack;

12