Home
last modified time | relevance | path

Searched refs:DrawType (Results 1 – 25 of 54) sorted by relevance

123

/third_party/flutter/skia/gm/
Dblurignorexform.cpp30 enum class DrawType { enum in BlurIgnoreXformGM
36 BlurIgnoreXformGM(DrawType drawType) : fDrawType(drawType) { } in BlurIgnoreXformGM()
44 DrawType::kCircle == fDrawType ? "circle" in onShortName()
45 : DrawType::kRect == fDrawType ? "rect" : "rrect"); in onShortName()
86 if (DrawType::kCircle == fDrawType) { in onDraw()
88 } else if (DrawType::kRect == fDrawType) { in onDraw()
134 DrawType fDrawType;
151 DEF_GM(return new BlurIgnoreXformGM(BlurIgnoreXformGM::DrawType::kCircle);)
152 DEF_GM(return new BlurIgnoreXformGM(BlurIgnoreXformGM::DrawType::kRect);)
153 DEF_GM(return new BlurIgnoreXformGM(BlurIgnoreXformGM::DrawType::kRRect);)
Dperspimages.cpp71 enum class DrawType { in onDraw() enum
77 {DrawType::kDrawImage, DrawType::kDrawImageRectStrict, DrawType::kDrawImageRectFast}) { in onDraw()
92 case DrawType::kDrawImage: in onDraw()
95 case DrawType::kDrawImageRectStrict: in onDraw()
99 case DrawType::kDrawImageRectFast: in onDraw()
/third_party/skia/gm/
Dblurignorexform.cpp30 enum class DrawType { enum in BlurIgnoreXformGM
36 BlurIgnoreXformGM(DrawType drawType) : fDrawType(drawType) { } in BlurIgnoreXformGM()
44 DrawType::kCircle == fDrawType ? "circle" in onShortName()
45 : DrawType::kRect == fDrawType ? "rect" : "rrect"); in onShortName()
86 if (DrawType::kCircle == fDrawType) { in onDraw()
88 } else if (DrawType::kRect == fDrawType) { in onDraw()
134 DrawType fDrawType;
151 DEF_GM(return new BlurIgnoreXformGM(BlurIgnoreXformGM::DrawType::kCircle);)
152 DEF_GM(return new BlurIgnoreXformGM(BlurIgnoreXformGM::DrawType::kRect);)
153 DEF_GM(return new BlurIgnoreXformGM(BlurIgnoreXformGM::DrawType::kRRect);)
Dperspimages.cpp70 enum class DrawType { in onDraw() enum
76 {DrawType::kDrawImage, DrawType::kDrawImageRectStrict, DrawType::kDrawImageRectFast}) { in onDraw()
93 case DrawType::kDrawImage: in onDraw()
96 case DrawType::kDrawImageRectStrict: in onDraw()
100 case DrawType::kDrawImageRectFast: in onDraw()
/third_party/flutter/skia/tests/
DMatrixClipCollapseTest.cpp61 static void gets_ops(SkPicture& input, SkTDArray<DrawType>* ops) { in gets_ops()
142 DrawOpType draw, SkTDArray<DrawType>* expected,
146 SkTDArray<DrawType>* expected, int accumulatedClips);
149 SkTDArray<DrawType>* expected);
194 static void add_clip(ClipType clip, MatType mat, SkTDArray<DrawType>* expected) { in add_clip()
257 static void add_mat(MatType mat, SkTDArray<DrawType>* expected) { in add_mat()
283 static void emit_draw(SkCanvas* canvas, DrawOpType draw, SkTDArray<DrawType>* expected) { in emit_draw()
326 DrawOpType draw, SkTDArray<DrawType>* expected, in emit_clip_and_mat()
347 DrawOpType draw, SkTDArray<DrawType>* expected, in emit_mat_and_clip()
370 DrawOpType draw, SkTDArray<DrawType>* expected, in emit_double_mat_and_clip()
[all …]
DGrSurfaceTest.cpp663 enum class DrawType { in DEF_GPUTEST() enum
669 {DrawType::kNoDraw, DrawType::kDraw, DrawType::kDrawAndFlush}) { in DEF_GPUTEST()
673 if (drawType == DrawType::kNoDraw) { in DEF_GPUTEST()
689 if (drawType == DrawType::kDrawAndFlush) { in DEF_GPUTEST()
/third_party/skia/tests/
DMatrixClipCollapseTest.cpp61 static void gets_ops(SkPicture& input, SkTDArray<DrawType>* ops) { in gets_ops()
142 DrawOpType draw, SkTDArray<DrawType>* expected,
146 SkTDArray<DrawType>* expected, int accumulatedClips);
149 SkTDArray<DrawType>* expected);
194 static void add_clip(ClipType clip, MatType mat, SkTDArray<DrawType>* expected) { in add_clip()
257 static void add_mat(MatType mat, SkTDArray<DrawType>* expected) { in add_mat()
283 static void emit_draw(SkCanvas* canvas, DrawOpType draw, SkTDArray<DrawType>* expected) { in emit_draw()
326 DrawOpType draw, SkTDArray<DrawType>* expected, in emit_clip_and_mat()
347 DrawOpType draw, SkTDArray<DrawType>* expected, in emit_mat_and_clip()
370 DrawOpType draw, SkTDArray<DrawType>* expected, in emit_double_mat_and_clip()
[all …]
/third_party/vk-gl-cts/modules/egl/
DteglPartialUpdateTests.cpp76 enum DrawType enum in deqp::egl::__anonce96ebd80111::PartialUpdateTest
83 const vector<DrawType>& oddFrameDrawType,
84 const vector<DrawType>& evenFrameDrawType,
103 const vector<DrawType> m_oddFrameDrawType;
104 const vector<DrawType> m_evenFrameDrawType;
133 DrawCommand (const PartialUpdateTest::DrawType drawType_, const ColoredRect& rect_);
134 PartialUpdateTest::DrawType drawType;
138 DrawCommand::DrawCommand (const PartialUpdateTest::DrawType drawType_, const ColoredRect& rect_) in DrawCommand()
162 void generateRandomFrame (Frame& dst, const vector<PartialUpdateTest::DrawType>& drawTypes, de::Ran… in generateRandomFrame()
351 const vector<DrawType>& oddFrameDrawType, in PartialUpdateTest()
[all …]
DteglBufferAgeTests.cpp76 enum DrawType enum in deqp::egl::__anonf9c5664f0111::BufferAgeTest
93 const vector<DrawType>& oddFrameDrawType,
94 const vector<DrawType>& evenFrameDrawType,
111 const vector<DrawType> m_oddFrameDrawType;
112 const vector<DrawType> m_evenFrameDrawType;
145 DrawCommand (const BufferAgeTest::DrawType drawType_, const ColoredRect& rect_);
146 BufferAgeTest::DrawType drawType;
150 DrawCommand::DrawCommand (const BufferAgeTest::DrawType drawType_, const ColoredRect& rect_) in DrawCommand()
175 void generateRandomFrame (Frame* dst, const vector<BufferAgeTest::DrawType>& drawTypes, de::Random&… in generateRandomFrame()
363 const vector<DrawType>& oddFrameDrawType, in BufferAgeTest()
[all …]
DteglPreservingSwapTests.cpp70 enum DrawType enum in deqp::egl::__anon269d72c80111::PreservingSwapTest
77 …tCtx, bool preserveColorbuffer, bool readPixelsBeforeSwap, DrawType preSwapDrawType, DrawType post…
88 const DrawType m_preSwapDrawType;
89 const DrawType m_postSwapDrawType;
111 … width, int height, float x1, float y1, float x2, float y2, PreservingSwapTest::DrawType drawType);
160 …t width, int height, float x1, float y1, float x2, float y2, PreservingSwapTest::DrawType drawType) in render()
237 …u::Surface* target, float x1, float y1, float x2, float y2, PreservingSwapTest::DrawType drawType);
252 …cu::Surface* target, float x1, float y1, float x2, float y2, PreservingSwapTest::DrawType drawType) in render()
280 …tCtx, bool preserveColorbuffer, bool readPixelsBeforeSwap, DrawType preSwapDrawType, DrawType post… in PreservingSwapTest()
525 string generateTestName (PreservingSwapTest::DrawType preSwapDrawType, PreservingSwapTest::DrawType in generateTestName()
[all …]
DteglSwapBuffersWithDamageTests.cpp68 enum DrawType enum
101 DrawCommand (DrawType drawType_, const ColoredRect& rect_);
102 DrawType drawType;
106 DrawCommand::DrawCommand (DrawType drawType_, const ColoredRect& rect_) in DrawCommand()
262 const vector<DrawType>& frameDrawType,
285 const vector<DrawType> m_frameDrawType;
293 …st::SwapBuffersWithDamageTest (EglTestContext& eglTestCtx, const vector<DrawType>& frameDrawType, … in SwapBuffersWithDamageTest()
394 FrameSequence generateFrameSequence (const vector<DrawType>& frameDrawType, de::Random& rnd, int nu…
449 const vector<DrawType>& frameDrawType,
462 const vector<DrawType>& frameDrawType, in SwapBuffersWithDamageAndPreserveBufferTest()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/mesh_shader/
DvktMeshShaderApiTests.cpp63 enum class DrawType enum
70 std::ostream& operator<< (std::ostream& stream, DrawType drawType) in operator <<()
74 case DrawType::DRAW: stream << "draw"; break; in operator <<()
75 case DrawType::DRAW_INDIRECT: stream << "draw_indirect"; break; in operator <<()
76 case DrawType::DRAW_INDIRECT_COUNT: stream << "draw_indirect_count"; break; in operator <<()
98 DrawType drawType;
349 if (m_params.drawType == DrawType::DRAW_INDIRECT && m_params.drawCount > 1u) in checkSupport()
357 if (m_params.drawType == DrawType::DRAW_INDIRECT_COUNT) in checkSupport()
522 if (m_params.drawType != DrawType::DRAW) in iterate()
543 if (m_params.drawType == DrawType::DRAW_INDIRECT_COUNT) in iterate()
[all …]
/third_party/vk-gl-cts/modules/glshared/
DglsStateChangePerfTestCases.hpp48 enum DrawType enum in deqp::gls::StateChangePerformanceCase
55 …u::RenderContext& renderCtx, const char* name, const char* description, DrawType drawType, int dra…
84 const DrawType m_drawType;
/third_party/skia/src/gpu/v1/
DPathRendererChain.cpp71 DrawType drawType, in getPathRenderer()
78 if (DrawType::kStencil == drawType) { in getPathRenderer()
80 } else if (DrawType::kStencilAndColor == drawType) { in getPathRenderer()
DPathRendererChain.h38 enum class DrawType { enum
49 DrawType,
/third_party/flutter/skia/src/gpu/
DGrPathRendererChain.h37 enum class DrawType { enum
48 DrawType drawType,
DGrPathRendererChain.cpp79 DrawType drawType, in getPathRenderer()
86 if (DrawType::kStencil == drawType) { in getPathRenderer()
88 } else if (DrawType::kStencilAndColor == drawType) { in getPathRenderer()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/
DvktDrawMultiExtTests.cpp61 enum class DrawType { NORMAL = 0, INDEXED }; enum
85 DrawType drawType;
231 DrawType m_drawType;
240 static bool indexedWithOffset (DrawType drawType, const tcu::Maybe<VertexOffsetType>& offsetType) in indexedWithOffset()
242 return (drawType == DrawType::INDEXED && *offsetType != VertexOffsetType::CONSTANT_PACK); in indexedWithOffset()
246 static deUint32 baseSize (DrawType drawType, const tcu::Maybe<VertexOffsetType>& offsetType) in baseSize()
252 …static deUint32 calcExtraBytes (DrawType drawType, const tcu::Maybe<VertexOffsetType>& offsetType,… in calcExtraBytes()
270 …DrawInfoPacker (DrawType drawType, const tcu::Maybe<VertexOffsetType>& offsetType, deUint32 stride… in DrawInfoPacker()
711 const auto isIndexed = (m_params.drawType == DrawType::INDEXED); in iterate()
1219 DrawType drawType; in createDrawMultiExtTests()
[all …]
DvktDrawIndirectTest.cpp65 enum DrawType enum
90 DrawType drawType;
122 const DrawType m_drawType;
1039 testSpec.drawType = static_cast<DrawType>(drawTypeIdx); in init()
1078 testSpec.drawType = static_cast<DrawType>(drawTypeIdx); in init()
1122 testSpec.drawType = static_cast<DrawType>(drawTypeIdx); in init()
1162 testSpec.drawType = static_cast<DrawType>(drawTypeIdx); in init()
/third_party/flutter/skia/src/core/
DSkPicturePlayback.h41 DrawType op,
46 static DrawType ReadOpAndSize(SkReadBuffer* reader, uint32_t* size);
/third_party/skia/bench/
DAlternatingColorPatternBench.cpp35 enum DrawType { enum
94 DrawType fDrawType;
98 AlternatingColorPatternBench(ColorPattern pattern1, ColorPattern pattern2, DrawType drawType) { in AlternatingColorPatternBench()
/third_party/flutter/skia/bench/
DAlternatingColorPatternBench.cpp35 enum DrawType { enum
94 DrawType fDrawType;
98 AlternatingColorPatternBench(ColorPattern pattern1, ColorPattern pattern2, DrawType drawType) { in AlternatingColorPatternBench()
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/
DDevice.hpp61 …void drawIndexedPrimitive(sw::DrawType type, unsigned int indexOffset, unsigned int primitiveCount…
62 void drawPrimitive(sw::DrawType type, unsigned int primiveCount);
/third_party/skia/src/core/
DSkPicturePlayback.h41 DrawType op,
/third_party/vk-gl-cts/modules/gles31/stress/
Des31sDrawTests.cpp85 enum DrawType enum in deqp::gles31::Stress::__anon0508fe430111::InvalidDrawCase
105 …InvalidDrawCase (Context& context, const char* name, const char* desc, DrawType type, InvalidOper…
113 const DrawType m_drawType;
122 InvalidDrawCase::InvalidDrawCase (Context& context, const char* name, const char* desc, DrawType ty… in InvalidDrawCase()

123