Searched defs:bakedState (Results 1 - 5 of 5) sorted by relevance
/frameworks/base/libs/hwui/ |
H A D | BakedOpState.cpp | 113 BakedOpState* bakedState = allocator.create_trivial<BakedOpState>( 115 if (bakedState->computedState.clippedBounds.isEmpty()) { 117 allocator.rewindIfLastAlloc(bakedState); 120 return bakedState; 136 BakedOpState* bakedState = allocator.create_trivial<BakedOpState>( local 138 if (bakedState->computedState.clippedBounds.isEmpty()) { 141 allocator.rewindIfLastAlloc(bakedState); 144 return bakedState;
|
H A D | FontRenderer.h | 60 const BakedOpState* bakedState, 69 , bakedState(bakedState) 84 const BakedOpState* bakedState; member in class:android::uirenderer::TextDrawFunctor 57 TextDrawFunctor( BakedOpRenderer* renderer, const BakedOpState* bakedState, const ClipBase* clip, float x, float y, bool pureTranslate, int alpha, SkXfermode::Mode mode, const SkPaint* paint) argument
|
H A D | LayerBuilder.cpp | 239 void LayerBuilder::onDeferOp(LinearAllocator& allocator, const BakedOpState* bakedState) { argument 240 if (bakedState->op->opId != RecordedOpId::CopyToLayerOp) { 246 && bakedState->computedState.opaqueOverClippedBounds 247 && bakedState->computedState.clippedBounds.contains(repaintRect) 281 BakedOpState* bakedState = BakedOpState::directConstruct(allocator, local 283 deferUnmergeableOp(allocator, bakedState, OpBatchType::Vertices);
|
H A D | FrameBuilder.cpp | 564 BakedOpState* bakedState = BakedOpState::tryStrokeableOpConstruct( local 566 if (!bakedState) return nullptr; // quick rejected 569 bakedState->setupOpacity(op.paint); 572 currentLayer().deferUnmergeableOp(mAllocator, bakedState, batchId); 573 return bakedState; 599 BakedOpState* bakedState = tryBakeOpState(op); local 600 if (!bakedState) return; // quick rejected 603 bakedState->setupOpacity(op.paint); 609 if (bakedState->computedState.transform.isSimple() 610 && bakedState 623 BakedOpState* bakedState = tryBakeOpState(op); local 629 BakedOpState* bakedState = tryBakeOpState(op); local 662 BakedOpState* bakedState = tryBakeUnboundedOpState(op); local 668 BakedOpState* bakedState = tryBakeUnboundedOpState(op); local 683 BakedOpState* bakedState = tryBakeOpState(op); local 737 BakedOpState* bakedState = tryBakeOpState(op); local 748 BakedOpState* bakedState = BakedOpState::tryStrokeableOpConstruct( local 778 BakedOpState* bakedState = tryBakeUnboundedOpState(op); local 797 BakedOpState* bakedState = tryBakeOpState(*textureLayerOp); local 963 BakedOpState* bakedState = BakedOpState::directConstruct(mAllocator, local [all...] |
/frameworks/base/libs/hwui/tests/unit/ |
H A D | BakedOpStateTests.cpp | 208 BakedOpState* bakedState = BakedOpState::tryShadowOpConstruct(allocator, *snapshot, (ShadowOp*)0x1234); local 210 EXPECT_EQ(nullptr, bakedState) << "op should be rejected by clip, so not constructed"; 216 BakedOpState* bakedState = BakedOpState::tryShadowOpConstruct(allocator, *snapshot, (ShadowOp*)0x1234); local 218 ASSERT_NE(nullptr, bakedState) << "NOT rejected by clip, so op should be constructed"; 221 EXPECT_MATRIX_APPROX_EQ(translate10x20, bakedState->computedState.transform); 222 EXPECT_EQ(Rect(100, 200), bakedState->computedState.clippedBounds); 236 auto bakedState = BakedOpState::tryStrokeableOpConstruct(allocator, *snapshot, rejectOp, local 239 EXPECT_EQ(nullptr, bakedState); 250 auto bakedState = BakedOpState::tryStrokeableOpConstruct(allocator, *snapshot, rejectOp, local 253 ASSERT_NE(nullptr, bakedState); 265 auto bakedState = BakedOpState::tryStrokeableOpConstruct(allocator, *snapshot, rejectOp, local [all...] |
Completed in 677 milliseconds