Home
last modified time | relevance | path

Searched refs:Draw (Results 1 - 25 of 331) sorted by relevance

12345678910>>...14

/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/conditional_rendering/
H A DvktConditionalDrawTests.cpp78 struct ConditionalTestSpec : public Draw::TestSpecBase
85 class ConditionalDraw : public Draw::DrawTestsBaseClass
106 de::SharedPtr<Draw::Buffer> m_conditionalBuffer;
111 de::SharedPtr<Draw::Buffer> m_indexBuffer;
113 de::SharedPtr<Draw::Buffer> m_indirectBuffer;
114 de::SharedPtr<Draw::Buffer> m_indirectCountBuffer;
128 : Draw::DrawTestsBaseClass(context, in ConditionalDraw()
131 Draw::SharedGroupParams(new Draw::GroupParams{ false, false, false }), in ConditionalDraw()
149 m_data.push_back(Draw
[all...]
H A DvktConditionalRenderingTestUtil.cpp49 de::SharedPtr<Draw::Buffer> createConditionalRenderingBuffer (vkt::Context& context, const ConditionalData& data) in createConditionalRenderingBuffer()
65 de::SharedPtr<Draw::Buffer> hostBuffer = Draw::Buffer::createAndAlloc(vk, device, in createConditionalRenderingBuffer()
66 Draw::BufferCreateInfo(bufferSize, hostUsage), in createConditionalRenderingBuffer()
83 de::SharedPtr<Draw::Buffer> deviceLocalBuffer = Draw::Buffer::createAndAlloc(vk, device, in createConditionalRenderingBuffer()
84 Draw::BufferCreateInfo(bufferSize, deviceLocalUsage), in createConditionalRenderingBuffer()
101 void beginConditionalRendering (const vk::DeviceInterface& vk, vk::VkCommandBuffer cmdBuffer, Draw::Buffer& buffer, const ConditionalData& data) in beginConditionalRendering()
H A DvktConditionalClearAttachmentTests.cpp50 struct ConditionalTestSpec : public Draw::TestSpecBase
55 class ConditionalClearAttachmentTest : public Draw::DrawTestsBaseClass
65 de::SharedPtr<Draw::Buffer> m_conditionalBuffer;
71 : Draw::DrawTestsBaseClass(context, in ConditionalClearAttachmentTest()
74 Draw::SharedGroupParams(new Draw::GroupParams{ false, false, false }), in ConditionalClearAttachmentTest()
80 m_data.push_back(Draw::VertexElementData(tcu::Vec4(0.0f), tcu::Vec4(0.0f), 0));
255 conditionalDrawRootGroup->addChild(new Draw::InstanceFactory<ConditionalClearAttachmentTest>(m_testCtx, "clear_attachments", testSpec)); in init()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/conditional_rendering/
H A DvktConditionalDrawTests.cpp78 struct ConditionalTestSpec : public Draw::TestSpecBase
85 class ConditionalDraw : public Draw::DrawTestsBaseClass
106 de::SharedPtr<Draw::Buffer> m_conditionalBuffer;
111 de::SharedPtr<Draw::Buffer> m_indexBuffer;
113 de::SharedPtr<Draw::Buffer> m_indirectBuffer;
114 de::SharedPtr<Draw::Buffer> m_indirectCountBuffer;
128 : Draw::DrawTestsBaseClass(context, in ConditionalDraw()
131 Draw::SharedGroupParams(new Draw::GroupParams{ false, false, false }), in ConditionalDraw()
149 m_data.push_back(Draw
[all...]
H A DvktConditionalRenderingTestUtil.cpp49 de::SharedPtr<Draw::Buffer> createConditionalRenderingBuffer (vkt::Context& context, const ConditionalData& data) in createConditionalRenderingBuffer()
65 de::SharedPtr<Draw::Buffer> hostBuffer = Draw::Buffer::createAndAlloc(vk, device, in createConditionalRenderingBuffer()
66 Draw::BufferCreateInfo(bufferSize, hostUsage), in createConditionalRenderingBuffer()
83 de::SharedPtr<Draw::Buffer> deviceLocalBuffer = Draw::Buffer::createAndAlloc(vk, device, in createConditionalRenderingBuffer()
84 Draw::BufferCreateInfo(bufferSize, deviceLocalUsage), in createConditionalRenderingBuffer()
101 void beginConditionalRendering (const vk::DeviceInterface& vk, vk::VkCommandBuffer cmdBuffer, Draw::Buffer& buffer, const ConditionalData& data) in beginConditionalRendering()
H A DvktConditionalClearAttachmentTests.cpp50 struct ConditionalTestSpec : public Draw::TestSpecBase
55 class ConditionalClearAttachmentTest : public Draw::DrawTestsBaseClass
65 de::SharedPtr<Draw::Buffer> m_conditionalBuffer;
71 : Draw::DrawTestsBaseClass(context, in ConditionalClearAttachmentTest()
74 Draw::SharedGroupParams(new Draw::GroupParams{ false, false, false }), in ConditionalClearAttachmentTest()
80 m_data.push_back(Draw::VertexElementData(tcu::Vec4(0.0f), tcu::Vec4(0.0f), 0));
255 conditionalDrawRootGroup->addChild(new Draw::InstanceFactory<ConditionalClearAttachmentTest>(m_testCtx, "clear_attachments", "", testSpec)); in init()
/third_party/skia/modules/sksg/include/
H A DSkSGDraw.h24 class Draw : public RenderNode { class
26 static sk_sp<Draw> Make(sk_sp<GeometryNode> geo, sk_sp<PaintNode> paint) { in Make()
27 return (geo && paint) ? sk_sp<Draw>(new Draw(std::move(geo), std::move(paint))) : nullptr; in Make()
31 Draw(sk_sp<GeometryNode>, sk_sp<PaintNode> paint);
32 ~Draw() override;
/third_party/skia/modules/sksg/src/
H A DSkSGDraw.cpp19 Draw::Draw(sk_sp<GeometryNode> geometry, sk_sp<PaintNode> paint) in Draw() function in sksg::Draw
26 Draw::~Draw() { in ~Draw()
31 void Draw::onRender(SkCanvas* canvas, const RenderContext* ctx) const { in onRender()
45 const RenderNode* Draw::onNodeAt(const SkPoint& p) const { in onNodeAt()
64 SkRect Draw::onRevalidate(InvalidationController* ic, const SkMatrix& ctm) { in onRevalidate()
/third_party/skia/samplecode/
H A DSampleSG.cpp22 sksg::Draw* fDraw;
34 PerNodeInfo* findInfo(sksg::Draw* key) { in findInfo()
43 void appendNode(sk_sp<sksg::Draw> d, sk_sp<sksg::GeometryNode> g, sk_sp<sksg::PaintNode> p) { in appendNode()
59 auto d = sksg::Draw::Make(r, p); in SampleSG()
64 d = sksg::Draw::Make(r, p); in SampleSG()
85 sksg::Draw* node = nullptr;
/third_party/skia/third_party/externals/dawn/src/tests/unittests/
H A DCommandAllocatorTests.cpp25 Draw, member in CommandType
83 CommandDraw* draw = allocator.Allocate<CommandDraw>(CommandType::Draw); in TEST()
102 ASSERT_EQ(type, CommandType::Draw); in TEST()
167 CommandDraw* draw = allocator.Allocate<CommandDraw>(CommandType::Draw); in TEST()
179 ASSERT_EQ(type, CommandType::Draw); in TEST()
191 ASSERT_EQ(type, CommandType::Draw); in TEST()
290 CommandDraw* draw = allocator.Allocate<CommandDraw>(CommandType::Draw); in TEST()
319 ASSERT_EQ(type, CommandType::Draw); in TEST()
418 IntWithDefault<42>* int42 = allocator.Allocate<IntWithDefault<42>>(CommandType::Draw); in TEST()
421 IntWithDefault<43>* int43 = allocator.Allocate<IntWithDefault<43>>(CommandType::Draw); in TEST()
[all...]
/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/
H A DRenderBundleValidationTests.cpp190 renderBundleEncoder.Draw(3); in TEST_F()
278 renderBundleEncoder.Draw(3); in TEST_F()
297 renderBundleEncoder.Draw(3); in TEST_F()
316 renderBundleEncoder.Draw(3); in TEST_F()
335 renderBundleEncoder.Draw(3); in TEST_F()
365 pass.Draw(3); in TEST_F()
384 pass.Draw(3); in TEST_F()
403 pass.Draw(3); in TEST_F()
422 pass.Draw(3); in TEST_F()
450 pass.Draw( in TEST_F()
[all...]
H A DVertexBufferValidationTests.cpp106 pass.Draw(3); in TEST_F()
118 pass.Draw(3); in TEST_F()
120 pass.Draw(3); in TEST_F()
145 pass.Draw(3); in TEST_F()
152 pass.Draw(3); in TEST_F()
164 pass.Draw(3); in TEST_F()
170 pass.Draw(3); in TEST_F()
/third_party/skia/modules/sksg/tests/
H A DSGTest.cpp83 auto d1 = sksg::Draw::Make(r1, color), in inval_test1()
84 d2 = sksg::Draw::Make(r2, color); in inval_test1()
226 auto t1 = sksg::TransformEffect::Make(sksg::Draw::Make(rect, color), in inval_test2()
228 t2 = sksg::TransformEffect::Make(sksg::Draw::Make(rect, color), m1); in inval_test2()
293 group->addChild(sksg::Draw::Make(sksg::Rect::Make(SkRect::MakeWH(100, 100)), in inval_test3()
295 group->addChild(sksg::Draw::Make(sksg::Rect::Make(SkRect::MakeXYWH(200, 0, 100, 100)), in inval_test3()
341 auto draw = sksg::Draw::Make(sksg::Rect::Make(SkRect::MakeWH(100, 100)), in inval_group_remove()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/dynamic_state/
H A DvktDynamicStateBaseClass.hpp117 de::SharedPtr<Draw::Image> m_colorTargetImage;
120 Draw::PipelineCreateInfo::VertexInputState m_vertexInputState;
121 de::SharedPtr<Draw::Buffer> m_vertexBuffer;
134 Draw::PipelineCreateInfo::ColorBlendState::Attachment m_attachmentState;
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/dynamic_state/
H A DvktDynamicStateBaseClass.hpp113 de::SharedPtr<Draw::Image> m_colorTargetImage;
116 Draw::PipelineCreateInfo::VertexInputState m_vertexInputState;
117 de::SharedPtr<Draw::Buffer> m_vertexBuffer;
131 Draw::PipelineCreateInfo::ColorBlendState::Attachment m_attachmentState;
/third_party/skia/gm/
H A Dclipdrawdraw.cpp24 static void Draw(SkCanvas* canvas, const SkRect& rect) { in Draw() function
51 Draw(canvas, rect1); in DEF_SIMPLE_GM_BG()
52 Draw(canvas, rect2); in DEF_SIMPLE_GM_BG()
/third_party/skia/third_party/externals/dawn/src/tests/end2end/
H A DRenderBundleTests.cpp103 renderBundleEncoder.Draw(6); in TEST_P()
133 renderBundleEncoder.Draw(3); in TEST_P()
143 renderBundleEncoder.Draw(3, 1, 3); in TEST_P()
172 renderBundleEncoder.Draw(3); in TEST_P()
184 pass.Draw(3, 1, 3); in TEST_P()
H A DRenderPassTests.cpp91 pass.Draw(3); in TEST_P()
103 pass.Draw(3); in TEST_P()
135 pass.Draw(3); in TEST_P()
154 pass.Draw(3); in TEST_P()
H A DScissorTests.cpp59 pass.Draw(6); in TEST_P()
87 pass.Draw(6); in TEST_P()
112 pass.Draw(6); in TEST_P()
141 pass.Draw(6); in TEST_P()
H A DVertexOnlyRenderPipelineTests.cpp195 // Draw the whole line in TEST_P()
196 pass.Draw(2, 1, 4, 0); in TEST_P()
231 // Draw the whole line in TEST_P()
232 pass.Draw(2, 1, 4, 0); in TEST_P()
272 // Draw the middle line in TEST_P()
273 pass.Draw(2, 1, 0, 0); in TEST_P()
283 // Draw the right line in TEST_P()
284 pass.Draw(2, 1, 2, 0); in TEST_P()
294 // Draw the full line with depth and stencil tests in TEST_P()
295 pass.Draw( in TEST_P()
[all...]
/third_party/skia/src/core/
H A DSkRecordDraw.cpp26 // Draw only ops that affect pixels in the canvas's current clip. in SkRecordDraw()
36 SkRecords::Draw draw(canvas, drawablePicts, drawables, drawableCount); in SkRecordDraw()
41 // This visit call uses the SkRecords::Draw::operator() to call in SkRecordDraw()
47 // Draw all ops. in SkRecordDraw()
48 SkRecords::Draw draw(canvas, drawablePicts, drawables, drawableCount); in SkRecordDraw()
53 // This visit call uses the SkRecords::Draw::operator() to call in SkRecordDraw()
68 SkRecords::Draw draw(canvas, drawablePicts, nullptr, drawableCount, &initialCTM); in SkRecordPartialDraw()
77 template <> void Draw::draw(const NoOp&) {} in draw()
79 #define DRAW(T, call) template <> void Draw::draw(const T& r) { fCanvas->call; }
89 template <> void Draw
[all...]
/third_party/skia/include/utils/
H A DSkTextUtils.h26 static void Draw(SkCanvas*, const void* text, size_t size, SkTextEncoding,
31 Draw(canvas, text, strlen(text), SkTextEncoding::kUTF8, x, y, font, paint, align); in DrawString()
/third_party/skia/experimental/graphite/src/
H A DDrawList.cpp92 size_t DrawList::Draw::requiredVertexSpace(int renderStep) const { in requiredVertexSpace()
97 size_t DrawList::Draw::requiredIndexSpace(int renderStep) const { in requiredIndexSpace()
102 void DrawList::Draw::writeVertices(VertexWriter vertexWriter, in writeVertices()
H A DDrawPass.cpp53 * Each Draw in a DrawList might be processed by multiple RenderSteps (determined by the Draw's
61 * The Draw's CompresssedPaintersOrder and DisjointStencilINdex represent the most significant bits
77 SortKey(const DrawList::Draw* draw, in SortKey()
96 const DrawList::Draw* draw() const { return fDraw; } in draw()
122 const DrawList::Draw* fDraw;
169 // 4 low bits from the Draw* pointer since it's 16 byte aligned. in Make()
170 // - Compact the Draw* to an index into the original collection, although that has extra in Make()
183 for (const DrawList::Draw& draw : draws->fDraws.items()) { in Make()
248 const DrawList::Draw in Make()
[all...]
/third_party/skia/modules/sksg/samples/
H A DSampleSVGPong.cpp137 group->addChild(sksg::Draw::Make(std::move(bg_path), std::move(bg_paint)));
138 group->addChild(sksg::Draw::Make(fPaddle0.shadowNode, shadow_paint));
139 group->addChild(sksg::Draw::Make(fPaddle1.shadowNode, shadow_paint));
140 group->addChild(sksg::Draw::Make(fBall.shadowNode, shadow_paint));
141 group->addChild(sksg::Draw::Make(fPaddle0.objectNode, paddle0_paint));
142 group->addChild(sksg::Draw::Make(fPaddle1.objectNode, paddle1_paint));
143 group->addChild(sksg::Draw::Make(fBall.objectNode, ball_paint));

Completed in 13 milliseconds

12345678910>>...14