Home
last modified time | relevance | path

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

123

/external/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()
94 case DrawType::kDrawImage: in onDraw()
97 case DrawType::kDrawImageRectStrict: in onDraw()
101 case DrawType::kDrawImageRectFast: in onDraw()
/external/skqp/gm/
Dblurignorexform.cpp20 enum class DrawType { enum in BlurIgnoreXformGM
26 BlurIgnoreXformGM(DrawType drawType) : fDrawType(drawType) { } in BlurIgnoreXformGM()
34 DrawType::kCircle == fDrawType ? "circle" in onShortName()
35 : DrawType::kRect == fDrawType ? "rect" : "rrect"); in onShortName()
76 if (DrawType::kCircle == fDrawType) { in onDraw()
78 } else if (DrawType::kRect == fDrawType) { in onDraw()
124 DrawType fDrawType;
141 DEF_GM(return new BlurIgnoreXformGM(BlurIgnoreXformGM::DrawType::kCircle);)
142 DEF_GM(return new BlurIgnoreXformGM(BlurIgnoreXformGM::DrawType::kRect);)
143 DEF_GM(return new BlurIgnoreXformGM(BlurIgnoreXformGM::DrawType::kRRect);)
Dperspimages.cpp63 enum class DrawType { in onDraw() enum
69 {DrawType::kDrawImage, DrawType::kDrawImageRectStrict, DrawType::kDrawImageRectFast}) { in onDraw()
84 case DrawType::kDrawImage: in onDraw()
87 case DrawType::kDrawImageRectStrict: in onDraw()
91 case DrawType::kDrawImageRectFast: in onDraw()
/external/skqp/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.cpp533 enum class DrawType { in DEF_GPUTEST() enum
539 {DrawType::kNoDraw, DrawType::kDraw, DrawType::kDrawAndFlush}) { in DEF_GPUTEST()
542 if (drawType == DrawType::kNoDraw) { in DEF_GPUTEST()
561 if (drawType == DrawType::kDrawAndFlush) { in DEF_GPUTEST()
/external/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 …]
/external/deqp/modules/egl/
DteglPartialUpdateTests.cpp76 enum DrawType enum in deqp::egl::__anon5d5a7f590111::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::__anon2cf161500111::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::__anon8dd376690111::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 …]
/external/deqp/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;
/external/skia/src/gpu/
DGrPathRendererChain.cpp72 DrawType drawType, in getPathRenderer()
79 if (DrawType::kStencil == drawType) { in getPathRenderer()
81 } else if (DrawType::kStencilAndColor == drawType) { in getPathRenderer()
DGrPathRendererChain.h36 enum class DrawType { enum
47 DrawType drawType,
/external/skqp/src/gpu/
DGrPathRendererChain.h37 enum class DrawType { enum
48 DrawType drawType,
DGrPathRendererChain.cpp71 DrawType drawType, in getPathRenderer()
78 if (DrawType::kStencil == drawType) { in getPathRenderer()
80 } else if (DrawType::kStencilAndColor == drawType) { in getPathRenderer()
/external/skqp/src/core/
DSkPicturePlayback.h41 DrawType op,
46 static DrawType ReadOpAndSize(SkReadBuffer* reader, uint32_t* size);
DSkPicturePlayback.cpp45 DrawType SkPicturePlayback::ReadOpAndSize(SkReadBuffer* reader, uint32_t* size) { in ReadOpAndSize()
58 return (DrawType)op; in ReadOpAndSize()
92 DrawType op = ReadOpAndSize(&reader, &size); in draw()
113 DrawType op, in handleOp()
/external/swiftshader/src/OpenGL/libGLES_CM/
DDevice.hpp52 …void drawIndexedPrimitive(sw::DrawType type, unsigned int indexOffset, unsigned int primitiveCount…
53 void drawPrimitive(sw::DrawType type, unsigned int primiveCount);
/external/skia/bench/
DAlternatingColorPatternBench.cpp35 enum DrawType { enum
94 DrawType fDrawType;
98 AlternatingColorPatternBench(ColorPattern pattern1, ColorPattern pattern2, DrawType drawType) { in AlternatingColorPatternBench()
/external/skqp/bench/
DAlternatingColorPatternBench.cpp35 enum DrawType { enum
94 DrawType fDrawType;
98 AlternatingColorPatternBench(ColorPattern pattern1, ColorPattern pattern2, DrawType drawType) { in AlternatingColorPatternBench()
/external/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);
/external/skia/src/core/
DSkPicturePlayback.h41 DrawType op,
/external/deqp/external/vulkancts/modules/vulkan/draw/
DvktDrawIndirectTest.cpp65 enum DrawType enum
89 DrawType drawType;
121 const DrawType m_drawType;
1033 testSpec.drawType = static_cast<DrawType>(drawTypeIdx); in init()
1064 testSpec.drawType = static_cast<DrawType>(drawTypeIdx); in init()
1098 testSpec.drawType = static_cast<DrawType>(drawTypeIdx); in init()
1129 testSpec.drawType = static_cast<DrawType>(drawTypeIdx); in init()
/external/deqp/modules/gles31/stress/
Des31sDrawTests.cpp85 enum DrawType enum in deqp::gles31::Stress::__anon52ff76040111::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