Searched refs:bakedState (Results 1 - 7 of 7) sorted by relevance
/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...] |
/frameworks/base/libs/hwui/ |
H A D | FrameBuilder.cpp | 567 BakedOpState* bakedState = BakedOpState::tryStrokeableOpConstruct( local 570 if (!bakedState) return nullptr; // quick rejected 573 bakedState->setupOpacity(op.paint); 576 currentLayer().deferUnmergeableOp(mAllocator, bakedState, batchId); 577 return bakedState; 606 BakedOpState* bakedState = tryBakeOpState(op); local 607 if (!bakedState) return; // quick rejected 610 bakedState->setupOpacity(op.paint); 616 if (bakedState->computedState.transform.isSimple() 617 && bakedState 629 BakedOpState* bakedState = tryBakeOpState(op); local 635 BakedOpState* bakedState = tryBakeOpState(op); local 668 BakedOpState* bakedState = tryBakeUnboundedOpState(op); local 674 BakedOpState* bakedState = tryBakeUnboundedOpState(op); local 689 BakedOpState* bakedState = tryBakeOpState(op); local 742 BakedOpState* bakedState = tryBakeOpState(op); local 753 BakedOpState* bakedState = BakedOpState::tryStrokeableOpConstruct( local 783 BakedOpState* bakedState = tryBakeUnboundedOpState(op); local 803 BakedOpState* bakedState = tryBakeOpState(*textureLayerOp); local 969 BakedOpState* bakedState = BakedOpState::directConstruct(mAllocator, local [all...] |
H A D | BakedOpState.cpp | 115 BakedOpState* bakedState = allocator.create_trivial<BakedOpState>( 117 if (bakedState->computedState.clippedBounds.isEmpty()) { 119 allocator.rewindIfLastAlloc(bakedState); 122 return bakedState; 138 BakedOpState* bakedState = allocator.create_trivial<BakedOpState>( local 140 if (bakedState->computedState.clippedBounds.isEmpty()) { 143 allocator.rewindIfLastAlloc(bakedState); 146 return bakedState;
|
H A D | FontRenderer.h | 56 const BakedOpState* bakedState, 61 , bakedState(bakedState) 74 const BakedOpState* bakedState; member in class:android::uirenderer::TextDrawFunctor 54 TextDrawFunctor( BakedOpRenderer* renderer, const BakedOpState* bakedState, const ClipBase* clip, float x, float y, bool pureTranslate, int alpha, SkBlendMode 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 | LayerBuilder.h | 118 void onDeferOp(LinearAllocator& allocator, const BakedOpState* bakedState);
|
H A D | FontRenderer.cpp | 68 .setRoundRectClipState(bakedState->roundRectClipState) 70 .setFillTexturePaint(texture.getTexture(), textureFillFlags, paint, bakedState->alpha) 72 .setTransform(bakedState->computedState.transform, transformFlags)
|
Completed in 265 milliseconds