Home
last modified time | relevance | path

Searched refs:drawType (Results 1 – 25 of 42) sorted by relevance

12

/external/swiftshader/src/OpenGL/libGLES_CM/
Dutilities.cpp754 …primitiveType, GLsizei elementCount, GLenum elementType, sw::DrawType &drawType, int &primitiveCo… in ConvertPrimitiveType() argument
759 drawType = sw::DRAW_POINTLIST; in ConvertPrimitiveType()
763 drawType = sw::DRAW_LINELIST; in ConvertPrimitiveType()
767 drawType = sw::DRAW_LINELOOP; in ConvertPrimitiveType()
771 drawType = sw::DRAW_LINESTRIP; in ConvertPrimitiveType()
775 drawType = sw::DRAW_TRIANGLELIST; in ConvertPrimitiveType()
779 drawType = sw::DRAW_TRIANGLESTRIP; in ConvertPrimitiveType()
783 drawType = sw::DRAW_TRIANGLEFAN; in ConvertPrimitiveType()
800 drawType = sw::DrawType(drawType | elementSize); in ConvertPrimitiveType()
/external/swiftshader/src/D3D8/
DDirect3DDevice8.cpp905 sw::DrawType drawType; in DrawIndexedPrimitive() local
911 case D3DPT_POINTLIST: drawType = sw::DRAW_INDEXEDPOINTLIST32; break; in DrawIndexedPrimitive()
912 case D3DPT_LINELIST: drawType = sw::DRAW_INDEXEDLINELIST32; break; in DrawIndexedPrimitive()
913 case D3DPT_LINESTRIP: drawType = sw::DRAW_INDEXEDLINESTRIP32; break; in DrawIndexedPrimitive()
914 case D3DPT_TRIANGLELIST: drawType = sw::DRAW_INDEXEDTRIANGLELIST32; break; in DrawIndexedPrimitive()
915 case D3DPT_TRIANGLESTRIP: drawType = sw::DRAW_INDEXEDTRIANGLESTRIP32; break; in DrawIndexedPrimitive()
916 case D3DPT_TRIANGLEFAN: drawType = sw::DRAW_INDEXEDTRIANGLEFAN32; break; in DrawIndexedPrimitive()
925 case D3DPT_POINTLIST: drawType = sw::DRAW_INDEXEDPOINTLIST16; break; in DrawIndexedPrimitive()
926 case D3DPT_LINELIST: drawType = sw::DRAW_INDEXEDLINELIST16; break; in DrawIndexedPrimitive()
927 case D3DPT_LINESTRIP: drawType = sw::DRAW_INDEXEDLINESTRIP16; break; in DrawIndexedPrimitive()
[all …]
/external/skqp/src/gpu/
DGrPathRendererChain.cpp71 DrawType drawType, in getPathRenderer() argument
78 if (DrawType::kStencil == drawType) { in getPathRenderer()
80 } else if (DrawType::kStencilAndColor == drawType) { in getPathRenderer()
DGrPathRendererChain.h48 DrawType drawType,
/external/skqp/src/core/
DSkPictureRecord.h100 size_t addDraw(DrawType drawType, size_t* size) { in addDraw() argument
106 SkASSERT(((uint8_t) drawType) == drawType); in addDraw()
109 fWriter.writeInt(PACK_8_24(drawType, MASK_24)); in addDraw()
113 fWriter.writeInt(PACK_8_24(drawType, SkToU32(*size))); in addDraw()
/external/skia/src/core/
DSkPictureRecord.h100 size_t addDraw(DrawType drawType, size_t* size) { in addDraw() argument
106 SkASSERT(((uint8_t) drawType) == drawType); in addDraw()
109 fWriter.writeInt(PACK_8_24(drawType, MASK_24)); in addDraw()
113 fWriter.writeInt(PACK_8_24(drawType, SkToU32(*size))); in addDraw()
/external/skia/src/gpu/
DGrPathRendererChain.cpp79 DrawType drawType, in getPathRenderer() argument
86 if (DrawType::kStencil == drawType) { in getPathRenderer()
88 } else if (DrawType::kStencilAndColor == drawType) { in getPathRenderer()
DGrPathRendererChain.h48 DrawType drawType,
/external/deqp/modules/egl/
DteglPreservingSwapTests.cpp111 … 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() argument
162 if (drawType == PreservingSwapTest::DRAWTYPE_GLES2_RENDER) in render()
207 else if (drawType == PreservingSwapTest::DRAWTYPE_GLES2_CLEAR) 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() argument
254 …if (drawType == PreservingSwapTest::DRAWTYPE_GLES2_RENDER || drawType == PreservingSwapTest::DRAWT… in render()
DteglBufferAgeTests.cpp146 BufferAgeTest::DrawType drawType; member
151 : drawType(drawType_) in DrawCommand()
263 if (frame.draws[drawNdx].drawType == BufferAgeTest::DRAWTYPE_GLES2_RENDER) in render()
313 else if (frame.draws[drawNdx].drawType == BufferAgeTest::DRAWTYPE_GLES2_CLEAR) in render()
346 …if (frame.draws[drawNdx].drawType == BufferAgeTest::DRAWTYPE_GLES2_RENDER || frame.draws[drawNdx]. in render()
DteglPartialUpdateTests.cpp134 PartialUpdateTest::DrawType drawType; member
139 : drawType (drawType_) in DrawCommand()
252 if (frame.draws[drawNdx].drawType == PartialUpdateTest::DRAWTYPE_GLES2_RENDER) in render()
302 else if (frame.draws[drawNdx].drawType == PartialUpdateTest::DRAWTYPE_GLES2_CLEAR) in render()
335 …if (frame.draws[drawNdx].drawType == PartialUpdateTest::DRAWTYPE_GLES2_RENDER || frame.draws[drawN… in render()
DteglSwapBuffersWithDamageTests.cpp102 DrawType drawType; member
107 : drawType (drawType_) in DrawCommand()
194 if (frame.draws[drawNdx].drawType == DRAWTYPE_GLES2_RENDER) in render()
244 else if (frame.draws[drawNdx].drawType == DRAWTYPE_GLES2_CLEAR) in render()
/external/skia/bench/
DAlternatingColorPatternBench.cpp98 AlternatingColorPatternBench(ColorPattern pattern1, ColorPattern pattern2, DrawType drawType) { in AlternatingColorPatternBench() argument
103 kRect_DrawType == drawType ? "rect" : "path"); in AlternatingColorPatternBench()
104 fDrawType = drawType; in AlternatingColorPatternBench()
/external/skqp/bench/
DAlternatingColorPatternBench.cpp98 AlternatingColorPatternBench(ColorPattern pattern1, ColorPattern pattern2, DrawType drawType) { in AlternatingColorPatternBench() argument
103 kRect_DrawType == drawType ? "rect" : "path"); in AlternatingColorPatternBench()
104 fDrawType = drawType; in AlternatingColorPatternBench()
/external/swiftshader/src/D3D9/
DDirect3DDevice9.cpp1014 sw::DrawType drawType; in DrawIndexedPrimitive() local
1020 case D3DPT_POINTLIST: drawType = sw::DRAW_INDEXEDPOINTLIST32; break; in DrawIndexedPrimitive()
1021 case D3DPT_LINELIST: drawType = sw::DRAW_INDEXEDLINELIST32; break; in DrawIndexedPrimitive()
1022 case D3DPT_LINESTRIP: drawType = sw::DRAW_INDEXEDLINESTRIP32; break; in DrawIndexedPrimitive()
1023 case D3DPT_TRIANGLELIST: drawType = sw::DRAW_INDEXEDTRIANGLELIST32; break; in DrawIndexedPrimitive()
1024 case D3DPT_TRIANGLESTRIP: drawType = sw::DRAW_INDEXEDTRIANGLESTRIP32; break; in DrawIndexedPrimitive()
1025 case D3DPT_TRIANGLEFAN: drawType = sw::DRAW_INDEXEDTRIANGLEFAN32; break; in DrawIndexedPrimitive()
1034 case D3DPT_POINTLIST: drawType = sw::DRAW_INDEXEDPOINTLIST16; break; in DrawIndexedPrimitive()
1035 case D3DPT_LINELIST: drawType = sw::DRAW_INDEXEDLINELIST16; break; in DrawIndexedPrimitive()
1036 case D3DPT_LINESTRIP: drawType = sw::DRAW_INDEXEDLINESTRIP16; break; in DrawIndexedPrimitive()
[all …]
/external/skqp/gm/
Dblurignorexform.cpp26 BlurIgnoreXformGM(DrawType drawType) : fDrawType(drawType) { } in BlurIgnoreXformGM() argument
/external/skia/gm/
Dblurignorexform.cpp26 BlurIgnoreXformGM(DrawType drawType) : fDrawType(drawType) { } in BlurIgnoreXformGM() argument
/external/swiftshader/src/OpenGL/libGLESv2/
Dutilities.cpp2301 … primitiveType, GLsizei elementCount, GLenum elementType, sw::DrawType &drawType, int &primitiveCo… in ConvertPrimitiveType() argument
2306 drawType = sw::DRAW_POINTLIST; in ConvertPrimitiveType()
2311 drawType = sw::DRAW_LINELIST; in ConvertPrimitiveType()
2316 drawType = sw::DRAW_LINELOOP; in ConvertPrimitiveType()
2321 drawType = sw::DRAW_LINESTRIP; in ConvertPrimitiveType()
2326 drawType = sw::DRAW_TRIANGLELIST; in ConvertPrimitiveType()
2331 drawType = sw::DRAW_TRIANGLESTRIP; in ConvertPrimitiveType()
2336 drawType = sw::DRAW_TRIANGLEFAN; in ConvertPrimitiveType()
2354 drawType = sw::DrawType(drawType | elementSize); in ConvertPrimitiveType()
/external/swiftshader/src/Device/
DContext.cpp67 switch(drawType) in isDrawPoint()
99 switch(drawType) in isDrawLine()
131 switch(drawType) in isDrawTriangle()
DRenderer.hpp253 void draw(DrawType drawType, unsigned int indexOffset, unsigned int count, bool update = true);
440 AtomicInt drawType; member
/external/deqp/external/vulkancts/modules/vulkan/draw/
DvktDrawIndirectTest.cpp80 DrawType drawType; member
244 , m_drawType (testSpec.drawType) in IndirectDraw()
257 if (testSpec.drawType == DRAW_TYPE_INDEXED) in IndirectDraw()
957 testSpec.drawType = static_cast<DrawType>(drawTypeIdx); in init()
980 testSpec.drawType = static_cast<DrawType>(drawTypeIdx); in init()
1005 testSpec.drawType = static_cast<DrawType>(drawTypeIdx); in init()
1028 testSpec.drawType = static_cast<DrawType>(drawTypeIdx); in init()
/external/skqp/tests/
DGrSurfaceTest.cpp538 for (auto drawType : in DEF_GPUTEST()
541 auto possiblyDrawAndFlush = [&context, &texture, drawType, unrefFirst] { in DEF_GPUTEST()
542 if (drawType == DrawType::kNoDraw) { in DEF_GPUTEST()
561 if (drawType == DrawType::kDrawAndFlush) { in DEF_GPUTEST()
/external/deqp/modules/glshared/
DglsStateChangePerfTestCases.hpp55 …Context& renderCtx, const char* name, const char* description, DrawType drawType, int drawCallCoun…
/external/swiftshader/src/Vulkan/
DVkPipeline.cpp265 context.drawType = Convert(assemblyState->topology); in GraphicsPipeline()
413 switch(context.drawType) in computePrimitiveCount()
/external/skia/tests/
DGrSurfaceTest.cpp532 for (auto drawType : in DEF_GPUTEST()
535 auto possiblyDrawAndFlush = [&context, &texture, drawType, unrefFirst, w, in DEF_GPUTEST()
537 if (drawType == DrawType::kNoDraw) { in DEF_GPUTEST()
553 if (drawType == DrawType::kDrawAndFlush) { in DEF_GPUTEST()

12