HomeSort by relevance Sort by last modified time
    Searched refs:bakedState (Results 1 - 7 of 7) sorted by null

  /frameworks/base/libs/hwui/tests/unit/
BakedOpStateTests.cpp 208 BakedOpState* bakedState = BakedOpState::tryShadowOpConstruct(allocator, *snapshot, (ShadowOp*)0x1234);
210 EXPECT_EQ(nullptr, bakedState) << "op should be rejected by clip, so not constructed";
216 BakedOpState* bakedState = BakedOpState::tryShadowOpConstruct(allocator, *snapshot, (ShadowOp*)0x1234);
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,
239 EXPECT_EQ(nullptr, bakedState);
250 auto bakedState = BakedOpState::tryStrokeableOpConstruct(allocator, *snapshot, rejectOp,
253 ASSERT_NE(nullptr, bakedState);
    [all...]
  /frameworks/base/libs/hwui/
FrameBuilder.cpp 567 BakedOpState* bakedState = BakedOpState::tryStrokeableOpConstruct(
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);
607 if (!bakedState) return; // quick rejected
610 bakedState->setupOpacity(op.paint);
616 if (bakedState->computedState.transform.isSimple()
617 && bakedState->computedState.transform.positiveScale(
    [all...]
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>(
140 if (bakedState->computedState.clippedBounds.isEmpty()) {
143 allocator.rewindIfLastAlloc(bakedState);
146 return bakedState;
FontRenderer.h 56 const BakedOpState* bakedState,
61 , bakedState(bakedState)
74 const BakedOpState* bakedState;
LayerBuilder.cpp 239 void LayerBuilder::onDeferOp(LinearAllocator& allocator, const BakedOpState* bakedState) {
240 if (bakedState->op->opId != RecordedOpId::CopyToLayerOp) {
246 && bakedState->computedState.opaqueOverClippedBounds
247 && bakedState->computedState.clippedBounds.contains(repaintRect)
281 BakedOpState* bakedState = BakedOpState::directConstruct(allocator,
283 deferUnmergeableOp(allocator, bakedState, OpBatchType::Vertices);
LayerBuilder.h 118 void onDeferOp(LinearAllocator& allocator, const BakedOpState* bakedState);
FontRenderer.cpp 68 .setRoundRectClipState(bakedState->roundRectClipState)
70 .setFillTexturePaint(texture.getTexture(), textureFillFlags, paint, bakedState->alpha)
72 .setTransform(bakedState->computedState.transform, transformFlags)

Completed in 169 milliseconds