Home
last modified time | relevance | path

Searched refs:RectOp (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/libs/hwui/tests/unit/
DBakedOpStateTests.cpp34 RectOp recordedOp(Rect(30, 40, 100, 200), translate10x20, &clip, &paint); in TEST()
69 RectOp recordedOp(Rect(1000, 1000), translate10x20, &clip, &paint); in TEST()
155 RectOp recordedOp(Rect(50, 50, 150, 150), Matrix4::identity(), &clip, &strokedPaint); in TEST()
174 RectOp successOp(Rect(30, 40, 100, 200), Matrix4::identity(), &clip, &paint); in TEST()
181 RectOp rejectOp(Rect(30, 40, 100, 200), translate100x0, &clip, &paint); in TEST()
224 RectOp rejectOp(Rect(100, 200), Matrix4::identity(), &clip, &paint); in TEST()
239 RectOp rejectOp(Rect(50, 50, 150, 150), Matrix4::identity(), &clip, &paint); in TEST()
254 RectOp rejectOp(Rect(50, 50, 150, 150), Matrix4::identity(), &clip, &paint); in TEST()
DRecordingCanvasTests.cpp151 ASSERT_EQ(RecordedOpId::RectOp, op.opId); in OPENGL_PIPELINE_TEST()
169 ASSERT_EQ(RecordedOpId::RectOp, dl->getOps()[0]->opId) in OPENGL_PIPELINE_TEST()
224 EXPECT_EQ(RecordedOpId::RectOp, ops[index++]->opId); // strikethrough only in OPENGL_PIPELINE_TEST()
227 EXPECT_EQ(RecordedOpId::RectOp, ops[index++]->opId); // underline only in OPENGL_PIPELINE_TEST()
230 EXPECT_EQ(RecordedOpId::RectOp, ops[index++]->opId); // underline in OPENGL_PIPELINE_TEST()
231 EXPECT_EQ(RecordedOpId::RectOp, ops[index++]->opId); // strikethrough in OPENGL_PIPELINE_TEST()
302 ASSERT_EQ(RecordedOpId::RectOp, op.opId); in OPENGL_PIPELINE_TEST()
358 EXPECT_EQ(RecordedOpId::RectOp, op.opId); in OPENGL_PIPELINE_TEST()
390 EXPECT_EQ(RecordedOpId::RectOp, op.opId); in OPENGL_PIPELINE_TEST()
436 EXPECT_EQ(RecordedOpId::RectOp, op.opId); in OPENGL_PIPELINE_TEST()
[all …]
DFrameBuilderTests.cpp118 void onRectOp(const RectOp& op, const BakedOpState& state) override { in RENDERTHREAD_OPENGL_PIPELINE_TEST()
221 void onRectOp(const RectOp& op, const BakedOpState& state) override { in RENDERTHREAD_OPENGL_PIPELINE_TEST()
255 void onRectOp(const RectOp& op, const BakedOpState& state) override { in RENDERTHREAD_OPENGL_PIPELINE_TEST()
281 void onRectOp(const RectOp& op, const BakedOpState& state) override { in RENDERTHREAD_OPENGL_PIPELINE_TEST()
416 void onRectOp(const RectOp& op, const BakedOpState& state) override { in RENDERTHREAD_OPENGL_PIPELINE_TEST()
589 void onRectOp(const RectOp& op, const BakedOpState& state) override { in RENDERTHREAD_OPENGL_PIPELINE_TEST()
813 void onRectOp(const RectOp& op, const BakedOpState& state) override { in RENDERTHREAD_OPENGL_PIPELINE_TEST()
893 void onRectOp(const RectOp& op, const BakedOpState& state) override { in RENDERTHREAD_OPENGL_PIPELINE_TEST()
962 void onRectOp(const RectOp& op, const BakedOpState& state) override { in RENDERTHREAD_OPENGL_PIPELINE_TEST()
1055 void onRectOp(const RectOp& op, const BakedOpState& state) override { in RENDERTHREAD_OPENGL_PIPELINE_TEST()
[all …]
DOpDumperTests.cpp27 RectOp op(uirenderer::Rect(100, 100), Matrix4::identity(), nullptr, &paint); in TEST()
/frameworks/base/libs/hwui/
DRecordedOp.h101 UNMERGEABLE_OP_FN(RectOp) \
302 struct RectOp : RecordedOp { struct
303 RectOp(BASE_PARAMS) : SUPER(RectOp) {} in RectOp() argument
DBakedOpDispatcher.cpp635 void BakedOpDispatcher::onRectOp(BakedOpRenderer& renderer, const RectOp& op, in onRectOp()
804 RectOp rectOp(op.unmappedBounds, op.localMatrix, op.localClip, &paint); in renderRectForLayer()
858 RectOp rectOp(state.computedState.clippedBounds, Matrix4::identity(), nullptr, in onCopyFromLayerOp()
DFrameBuilder.cpp558 if (op.opId == RecordedOpId::RectOp && op.paint->getStyle() != SkPaint::kStroke_Style) { in deferStrokeableOp()
696 void FrameBuilder::deferRectOp(const RectOp& op) { in deferRectOp()
DRecordingCanvas.cpp281 addOp(alloc().create_trivial<RectOp>(Rect(left, top, right, bottom), in drawRect()