Searched defs:bakedState (Results 1 - 5 of 5) sorted by relevance

/frameworks/base/libs/hwui/tests/unit/
H A DBakedOpStateTests.cpp196 BakedOpState* bakedState = local
199 EXPECT_EQ(nullptr, bakedState) << "op should be rejected by clip, so not constructed";
205 BakedOpState* bakedState = local
208 ASSERT_NE(nullptr, bakedState) << "NOT rejected by clip, so op should be constructed";
211 EXPECT_MATRIX_APPROX_EQ(translate10x20, bakedState->computedState.transform);
212 EXPECT_EQ(Rect(100, 200), bakedState->computedState.clippedBounds);
226 auto bakedState = BakedOpState::tryStrokeableOpConstruct( local
229 EXPECT_EQ(nullptr, bakedState);
241 auto bakedState = BakedOpState::tryStrokeableOpConstruct( local
244 ASSERT_NE(nullptr, bakedState);
256 auto bakedState = BakedOpState::tryStrokeableOpConstruct( local
[all...]
/frameworks/base/libs/hwui/
H A DBakedOpState.cpp116 BakedOpState* bakedState =
118 if (bakedState->computedState.clippedBounds.isEmpty()) {
120 allocator.rewindIfLastAlloc(bakedState);
123 return bakedState;
141 BakedOpState* bakedState = allocator.create_trivial<BakedOpState>( local
143 if (bakedState->computedState.clippedBounds.isEmpty()) {
146 allocator.rewindIfLastAlloc(bakedState);
149 return bakedState;
H A DFontRenderer.h54 TextDrawFunctor(BakedOpRenderer* renderer, const BakedOpState* bakedState, const ClipBase* clip, argument
58 , bakedState(bakedState)
70 const BakedOpState* bakedState; member in class:android::uirenderer::TextDrawFunctor
H A DLayerBuilder.cpp237 void LayerBuilder::onDeferOp(LinearAllocator& allocator, const BakedOpState* bakedState) { argument
238 if (bakedState->op->opId != RecordedOpId::CopyToLayerOp) {
244 bakedState->computedState.opaqueOverClippedBounds &&
245 bakedState->computedState.clippedBounds.contains(repaintRect) &&
278 BakedOpState* bakedState = local
280 deferUnmergeableOp(allocator, bakedState, OpBatchType::Vertices);
H A DFrameBuilder.cpp554 BakedOpState* bakedState = BakedOpState::tryStrokeableOpConstruct( local
556 if (!bakedState) return nullptr; // quick rejected
559 bakedState->setupOpacity(op.paint);
562 currentLayer().deferUnmergeableOp(mAllocator, bakedState, batchId);
563 return bakedState;
592 BakedOpState* bakedState = tryBakeOpState(op); local
593 if (!bakedState) return; // quick rejected
596 bakedState->setupOpacity(op.paint);
602 if (bakedState->computedState.transform.isSimple() &&
603 bakedState
614 BakedOpState* bakedState = tryBakeOpState(op); local
620 BakedOpState* bakedState = tryBakeOpState(op); local
647 BakedOpState* bakedState = tryBakeUnboundedOpState(op); local
653 BakedOpState* bakedState = tryBakeUnboundedOpState(op); local
668 BakedOpState* bakedState = tryBakeOpState(op); local
720 BakedOpState* bakedState = tryBakeOpState(op); local
731 BakedOpState* bakedState = BakedOpState::tryStrokeableOpConstruct( local
761 BakedOpState* bakedState = tryBakeUnboundedOpState(op); local
781 BakedOpState* bakedState = tryBakeOpState(*textureLayerOp); local
940 BakedOpState* bakedState = BakedOpState::directConstruct( local
[all...]

Completed in 53 milliseconds