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 564 BakedOpState* bakedState = BakedOpState::tryStrokeableOpConstruct(
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);
600 if (!bakedState) return; // quick rejected
603 bakedState->setupOpacity(op.paint);
609 if (bakedState->computedState.transform.isSimple()
610 && bakedState->computedState.transform.positiveScale(
    [all...]
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>(
138 if (bakedState->computedState.clippedBounds.isEmpty()) {
141 allocator.rewindIfLastAlloc(bakedState);
144 return bakedState;
FontRenderer.h 60 const BakedOpState* bakedState,
69 , bakedState(bakedState)
84 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 72 .setRoundRectClipState(bakedState->roundRectClipState)
74 .setFillTexturePaint(texture.getTexture(), textureFillFlags, paint, bakedState->alpha)
75 .setTransform(bakedState->computedState.transform, transformFlags)

Completed in 822 milliseconds