Home
last modified time | relevance | path

Searched refs:geometry (Results 1 - 25 of 180) sorted by relevance

12345678

/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/dynamic_state/
H A DvktDynamicStateInheritanceTests.cpp28 * rectangles using a trivial geometry pipeline (no vertex
30 * geometry shader selects viewport/scissor index). The depth test is
100 // Input test geometry.
159 // struct Rectangles using geometry shader, which also selects the
185 void startRenderCmds(const TestGeometry& geometry);
186 void rasterizeExpectedResults(const TestGeometry& geometry, Texel (&output)[kHeight][kWidth]);
510 void InheritanceTestInstance::startRenderCmds(const TestGeometry& geometry) in startRenderCmds() argument
512 DE_ASSERT(geometry.viewports.size() > 0); in startRenderCmds()
513 DE_ASSERT(geometry.viewports.size() <= kMaxViewports); in startRenderCmds()
514 DE_ASSERT(geometry in startRenderCmds()
889 rasterizeExpectedResults(const TestGeometry& geometry, Texel (&output)[kHeight][kWidth]) rasterizeExpectedResults() argument
978 TestGeometry geometry; makeGeometry() local
1073 const TestGeometry& geometry = testGeometries[i]; iterate() local
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/dynamic_state/
H A DvktDynamicStateInheritanceTests.cpp26 * rectangles using a trivial geometry pipeline (no vertex
28 * geometry shader selects viewport/scissor index). The depth test is
98 // Input test geometry.
156 // struct Rectangles using geometry shader, which also selects the
182 void startRenderCmds(const TestGeometry& geometry);
183 void rasterizeExpectedResults(const TestGeometry& geometry, Texel (&output)[kHeight][kWidth]);
506 void InheritanceTestInstance::startRenderCmds(const TestGeometry& geometry) in startRenderCmds() argument
508 DE_ASSERT(geometry.viewports.size() > 0); in startRenderCmds()
509 DE_ASSERT(geometry.viewports.size() <= kMaxViewports); in startRenderCmds()
510 DE_ASSERT(geometry in startRenderCmds()
798 rasterizeExpectedResults(const TestGeometry& geometry, Texel (&output)[kHeight][kWidth]) rasterizeExpectedResults() argument
887 TestGeometry geometry; makeGeometry() local
982 const TestGeometry& geometry = testGeometries[i]; iterate() local
[all...]
/third_party/skia/src/core/
H A DSkImageFilterTypes.h53 // geometry is wrapped by templated structs to declare in the type system what coordinate space
68 // space. SkImageFilters are defined in terms of ParameterSpace<T> geometry and must use the Mapping
91 // 'ParameterSpace' except that it is used to represent geometry that has been transformed or
109 // LayerSpace is a geometric wrapper that specifies the geometry is defined in the shared layer
128 explicit LayerSpace(const IVector& geometry) : fData(geometry) {} in LayerSpace() argument
129 explicit LayerSpace(IVector&& geometry) : fData(std::move(geometry)) {} in LayerSpace() argument
168 explicit LayerSpace(const Vector& geometry) : fData(geometry) {} in LayerSpace() argument
169 LayerSpace(Vector&& geometry) LayerSpace() argument
224 LayerSpace(const SkIPoint& geometry) LayerSpace() argument
225 LayerSpace(SkIPoint&& geometry) LayerSpace() argument
263 LayerSpace(const SkPoint& geometry) LayerSpace() argument
264 LayerSpace(SkPoint&& geometry) LayerSpace() argument
304 LayerSpace(const SkISize& geometry) LayerSpace() argument
305 LayerSpace(SkISize&& geometry) LayerSpace() argument
322 LayerSpace(const SkSize& geometry) LayerSpace() argument
323 LayerSpace(SkSize&& geometry) LayerSpace() argument
345 LayerSpace(const SkIRect& geometry) LayerSpace() argument
346 LayerSpace(SkIRect&& geometry) LayerSpace() argument
379 LayerSpace(const SkRect& geometry) LayerSpace() argument
380 LayerSpace(SkRect&& geometry) LayerSpace() argument
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_query/
H A DvktRayQueryAccelerationStructuresTests.cpp190 BottomTestType bottomTestType; // what kind of geometry is stored in bottom AS
1041 de::SharedPtr<RaytracedGeometryBase> geometry; in fillCommandBuffer() local
1052 geometry = makeRaytracedGeometry(VK_GEOMETRY_TYPE_TRIANGLES_KHR, VK_FORMAT_R32G32B32_SFLOAT, VK_INDEX_TYPE_NONE_KHR); in fillCommandBuffer()
1053 geometry->addVertex(v0 + missOffset); in fillCommandBuffer()
1054 geometry->addVertex(v1 + missOffset); in fillCommandBuffer()
1055 geometry->addVertex(v2 + missOffset); in fillCommandBuffer()
1056 geometry->addVertex(v2 + missOffset); in fillCommandBuffer()
1057 geometry->addVertex(v1 + missOffset); in fillCommandBuffer()
1058 geometry->addVertex(v3 + missOffset); in fillCommandBuffer()
1065 geometry in fillCommandBuffer()
1223 de::SharedPtr<RaytracedGeometryBase> geometry; initBottomAccelerationStructures() local
1329 de::SharedPtr<RaytracedGeometryBase> geometry; initBottomAccelerationStructures() local
1400 de::SharedPtr<RaytracedGeometryBase> geometry; initBottomAccelerationStructures() local
[all...]
H A DvktRayQueryDirectionTests.cpp63 // Should rays be shot from inside the geometry or not?
70 // When rays are shot from the outside, they are expected to cross the geometry.
71 // When shot from the inside, they can end inside, at the edge or outside the geometry.
85 GeometryData geometry; member
90 , geometry () in SpaceObjects()
98 geometry.reserve(3u); in SpaceObjects()
99 geometry.push_back(tcu::Vec3( 0.0f, 0.5f, 5.0f)); in SpaceObjects()
100 geometry.push_back(tcu::Vec3(-0.5f, -0.5f, 5.0f)); in SpaceObjects()
101 geometry.push_back(tcu::Vec3( 0.5f, -0.5f, 5.0f)); in SpaceObjects()
106 geometry in SpaceObjects()
[all...]
H A DvktRayQueryTraversalControlTests.cpp1014 de::SharedPtr<RaytracedGeometryBase> geometry; in fillCommandBuffer() local
1022 geometry = makeRaytracedGeometry(VK_GEOMETRY_TYPE_TRIANGLES_KHR, VK_FORMAT_R32G32B32_SFLOAT, VK_INDEX_TYPE_NONE_KHR); in fillCommandBuffer()
1023 geometry->addVertex(v0); in fillCommandBuffer()
1024 geometry->addVertex(v1); in fillCommandBuffer()
1025 geometry->addVertex(v2); in fillCommandBuffer()
1026 geometry->addVertex(v2); in fillCommandBuffer()
1027 geometry->addVertex(v1); in fillCommandBuffer()
1028 geometry->addVertex(v3); in fillCommandBuffer()
1035 geometry = makeRaytracedGeometry(VK_GEOMETRY_TYPE_AABBS_KHR, VK_FORMAT_R32G32B32_SFLOAT, VK_INDEX_TYPE_NONE_KHR); in fillCommandBuffer()
1036 geometry in fillCommandBuffer()
1930 de::SharedPtr<RaytracedGeometryBase> geometry; iterate() local
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ray_query/
H A DvktRayQueryAccelerationStructuresTests.cpp186 BottomTestType bottomTestType; // what kind of geometry is stored in bottom AS
1032 de::SharedPtr<RaytracedGeometryBase> geometry; in fillCommandBuffer() local
1043 geometry = makeRaytracedGeometry(VK_GEOMETRY_TYPE_TRIANGLES_KHR, VK_FORMAT_R32G32B32_SFLOAT, VK_INDEX_TYPE_NONE_KHR); in fillCommandBuffer()
1044 geometry->addVertex(v0 + missOffset); in fillCommandBuffer()
1045 geometry->addVertex(v1 + missOffset); in fillCommandBuffer()
1046 geometry->addVertex(v2 + missOffset); in fillCommandBuffer()
1047 geometry->addVertex(v2 + missOffset); in fillCommandBuffer()
1048 geometry->addVertex(v1 + missOffset); in fillCommandBuffer()
1049 geometry->addVertex(v3 + missOffset); in fillCommandBuffer()
1056 geometry in fillCommandBuffer()
1214 de::SharedPtr<RaytracedGeometryBase> geometry; initBottomAccelerationStructures() local
1320 de::SharedPtr<RaytracedGeometryBase> geometry; initBottomAccelerationStructures() local
1391 de::SharedPtr<RaytracedGeometryBase> geometry; initBottomAccelerationStructures() local
[all...]
H A DvktRayQueryDirectionTests.cpp63 // Should rays be shot from inside the geometry or not?
70 // When rays are shot from the outside, they are expected to cross the geometry.
71 // When shot from the inside, they can end inside, at the edge or outside the geometry.
85 GeometryData geometry; member
90 , geometry () in SpaceObjects()
98 geometry.reserve(3u); in SpaceObjects()
99 geometry.push_back(tcu::Vec3( 0.0f, 0.5f, 5.0f)); in SpaceObjects()
100 geometry.push_back(tcu::Vec3(-0.5f, -0.5f, 5.0f)); in SpaceObjects()
101 geometry.push_back(tcu::Vec3( 0.5f, -0.5f, 5.0f)); in SpaceObjects()
106 geometry in SpaceObjects()
[all...]
H A DvktRayQueryTraversalControlTests.cpp1014 de::SharedPtr<RaytracedGeometryBase> geometry; in fillCommandBuffer() local
1022 geometry = makeRaytracedGeometry(VK_GEOMETRY_TYPE_TRIANGLES_KHR, VK_FORMAT_R32G32B32_SFLOAT, VK_INDEX_TYPE_NONE_KHR); in fillCommandBuffer()
1023 geometry->addVertex(v0); in fillCommandBuffer()
1024 geometry->addVertex(v1); in fillCommandBuffer()
1025 geometry->addVertex(v2); in fillCommandBuffer()
1026 geometry->addVertex(v2); in fillCommandBuffer()
1027 geometry->addVertex(v1); in fillCommandBuffer()
1028 geometry->addVertex(v3); in fillCommandBuffer()
1035 geometry = makeRaytracedGeometry(VK_GEOMETRY_TYPE_AABBS_KHR, VK_FORMAT_R32G32B32_SFLOAT, VK_INDEX_TYPE_NONE_KHR); in fillCommandBuffer()
1036 geometry in fillCommandBuffer()
1930 de::SharedPtr<RaytracedGeometryBase> geometry; iterate() local
[all...]
/third_party/NuttX/fs/vfs/include/
H A Ddriver.h55 struct geometry struct
78 int (*geometry)(struct Vnode *vnode, struct geometry *geometry); member
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_tracing/
H A DvktRayTracingAccelerationStructuresTests.cpp179 BottomTestType bottomTestType; // what kind of geometry is stored in bottom AS
310 // Checkerboard configuration does not support empty geometry tests. in initBottomAccelerationStructures()
326 de::SharedPtr<RaytracedGeometryBase> geometry; in initBottomAccelerationStructures() local
329 geometry = makeRaytracedGeometry(VK_GEOMETRY_TYPE_TRIANGLES_KHR, testParams.vertexFormat, testParams.indexType, testParams.padVertices); in initBottomAccelerationStructures()
334 geometry->addVertex(v0); in initBottomAccelerationStructures()
335 geometry->addVertex(v1); in initBottomAccelerationStructures()
336 geometry->addVertex(v2); in initBottomAccelerationStructures()
337 geometry->addVertex(v2); in initBottomAccelerationStructures()
338 geometry->addVertex(v1); in initBottomAccelerationStructures()
339 geometry in initBottomAccelerationStructures()
426 de::SharedPtr<RaytracedGeometryBase> geometry; initBottomAccelerationStructures() local
758 de::SharedPtr<RaytracedGeometryBase> geometry; initBottomAccelerationStructures() local
789 de::SharedPtr<RaytracedGeometryBase> geometry; initBottomAccelerationStructures() local
991 de::SharedPtr<RaytracedGeometryBase> geometry; initBottomAccelerationStructures() local
4701 de::SharedPtr<RaytracedGeometryBase> geometry; iterate() local
4736 de::SharedPtr<RaytracedGeometryBase> geometry; iterate() local
[all...]
H A DvktRayTracingTraversalControlTests.cpp210 de::SharedPtr<RaytracedGeometryBase> geometry; in initBottomAccelerationStructures() local
218 geometry = makeRaytracedGeometry(VK_GEOMETRY_TYPE_TRIANGLES_KHR, VK_FORMAT_R32G32B32_SFLOAT, VK_INDEX_TYPE_NONE_KHR); in initBottomAccelerationStructures()
219 geometry->addVertex(v0); in initBottomAccelerationStructures()
220 geometry->addVertex(v1); in initBottomAccelerationStructures()
221 geometry->addVertex(v2); in initBottomAccelerationStructures()
222 geometry->addVertex(v2); in initBottomAccelerationStructures()
223 geometry->addVertex(v1); in initBottomAccelerationStructures()
224 geometry->addVertex(v3); in initBottomAccelerationStructures()
231 geometry = makeRaytracedGeometry(VK_GEOMETRY_TYPE_AABBS_KHR, VK_FORMAT_R32G32B32_SFLOAT, VK_INDEX_TYPE_NONE_KHR); in initBottomAccelerationStructures()
232 geometry in initBottomAccelerationStructures()
[all...]
H A DvktRayTracingCaptureReplayTests.cpp560 de::SharedPtr<RaytracedGeometryBase> geometry; in initBottomAccelerationStructures() local
563 geometry = makeRaytracedGeometry(VK_GEOMETRY_TYPE_TRIANGLES_KHR, VK_FORMAT_R32G32B32_SFLOAT, VK_INDEX_TYPE_NONE_KHR); in initBottomAccelerationStructures()
564 geometry->addVertex(v0); in initBottomAccelerationStructures()
565 geometry->addVertex(v1); in initBottomAccelerationStructures()
566 geometry->addVertex(v2); in initBottomAccelerationStructures()
567 geometry->addVertex(v2); in initBottomAccelerationStructures()
568 geometry->addVertex(v1); in initBottomAccelerationStructures()
569 geometry->addVertex(v3); in initBottomAccelerationStructures()
573 geometry = makeRaytracedGeometry(VK_GEOMETRY_TYPE_AABBS_KHR, VK_FORMAT_R32G32B32_SFLOAT, VK_INDEX_TYPE_NONE_KHR); in initBottomAccelerationStructures()
574 geometry in initBottomAccelerationStructures()
595 de::SharedPtr<RaytracedGeometryBase> geometry; initBottomAccelerationStructures() local
[all...]
H A DvktRayTracingDirectionTests.cpp63 // Should rays be shot from inside the geometry or not?
70 // When rays are shot from the outside, they are expected to cross the geometry.
71 // When shot from the inside, they can end inside, at the edge or outside the geometry.
85 GeometryData geometry; member
90 , geometry () in SpaceObjects()
98 geometry.reserve(3u); in SpaceObjects()
99 geometry.push_back(tcu::Vec3( 0.0f, 0.5f, 5.0f)); in SpaceObjects()
100 geometry.push_back(tcu::Vec3(-0.5f, -0.5f, 5.0f)); in SpaceObjects()
101 geometry.push_back(tcu::Vec3( 0.5f, -0.5f, 5.0f)); in SpaceObjects()
106 geometry in SpaceObjects()
[all...]
/third_party/NuttX/drivers/bch/
H A Dbchlib_setup.c50 struct geometry geo; in bchlib_setup()
77 DEBUGASSERT(bch->vnode && bops && bops->geometry); in bchlib_setup()
79 ret = bops->geometry(bch->vnode, &geo); in bchlib_setup()
82 PRINTK("ERROR: geometry failed: %d\n", -ret); in bchlib_setup()
88 PRINTK("ERROR: geometry failed: %d\n", -ret); in bchlib_setup()
100 /* Save the geometry info and complete initialization of the structure */ in bchlib_setup()
/third_party/gptfdisk/
H A Ddiskio-unix.cc230 struct hd_geometry geometry; in GetNumHeads() local
236 if (!ioctl(fd, HDIO_GETGEO, &geometry)) in GetNumHeads()
237 numHeads = (uint32_t) geometry.heads; in GetNumHeads()
248 struct hd_geometry geometry; in GetNumSecsPerTrack() local
254 if (!ioctl(fd, HDIO_GETGEO, &geometry)) in GetNumSecsPerTrack()
255 numSecs = (uint32_t) geometry.sectors; in GetNumSecsPerTrack()
/third_party/pulseaudio/src/modules/echo-cancel/
H A Dwebrtc.cc165 static bool parse_mic_geometry(const char **mic_geometry, std::vector<webrtc::Point>& geometry) { in parse_mic_geometry() argument
166 /* The microphone geometry is expressed as cartesian point form: in parse_mic_geometry()
202 for (i = 0; i < geometry.size(); i++) { in parse_mic_geometry()
209 if (i != geometry.size() - 1) { in parse_mic_geometry()
220 geometry[i].c[0] = f[0]; in parse_mic_geometry()
221 geometry[i].c[1] = f[1]; in parse_mic_geometry()
222 geometry[i].c[2] = f[2]; in parse_mic_geometry()
381 std::vector<webrtc::Point> geometry(rec_ss->channels); in pa_webrtc_ec_init()
390 if (!parse_mic_geometry(&mic_geometry, geometry)) { in pa_webrtc_ec_init()
421 config.Set<webrtc::Beamforming>(new webrtc::Beamforming(true, geometry)); in pa_webrtc_ec_init()
[all...]
/third_party/vk-gl-cts/external/openglcts/modules/common/subgroups/
H A DglcSubgroupsQuadTests.cpp149 std::ostringstream geometry; in initFrameBufferPrograms() local
151 geometry << "${VERSION_DECL}\n" in initFrameBufferPrograms()
169 geometry << " " << subgroups::getFormatNameForGLSL(caseDef.format) << " op = " in initFrameBufferPrograms()
175 geometry << " " << subgroups::getFormatNameForGLSL(caseDef.format) << " op = " in initFrameBufferPrograms()
180 geometry << " if (subgroupBallotBitExtract(mask, otherID))\n" in initFrameBufferPrograms()
193 programCollection.add("geometry") << glu::GeometrySource(geometry.str()); in initFrameBufferPrograms()
481 const string geometry = in initPrograms() local
513 subgroups::addGeometryShadersFromTemplate(geometry, programCollection); in initPrograms()
H A DglcSubgroupsBallotOtherTests.cpp268 std::ostringstream geometry; in initFrameBufferPrograms() local
270 geometry << "${VERSION_DECL}\n" in initFrameBufferPrograms()
284 programCollection.add("geometry") << glu::GeometrySource(geometry.str()); in initFrameBufferPrograms()
419 const string geometry = in initPrograms() local
454 subgroups::addGeometryShadersFromTemplate(geometry, programCollection); in initPrograms()
H A DglcSubgroupsShapeTests.cpp165 std::ostringstream geometry; in initFrameBufferPrograms() local
167 geometry << "${VERSION_DECL}\n" in initFrameBufferPrograms()
182 programCollection.add("geometry") << glu::GeometrySource(geometry.str()); in initFrameBufferPrograms()
387 const string geometry = in initPrograms() local
406 subgroups::addGeometryShadersFromTemplate(geometry, programCollection); in initPrograms()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ray_tracing/
H A DvktRayTracingAccelerationStructuresTests.cpp167 BottomTestType bottomTestType; // what kind of geometry is stored in bottom AS
295 // Checkerboard configuration does not support empty geometry tests. in initBottomAccelerationStructures()
311 de::SharedPtr<RaytracedGeometryBase> geometry; in initBottomAccelerationStructures() local
314 geometry = makeRaytracedGeometry(VK_GEOMETRY_TYPE_TRIANGLES_KHR, testParams.vertexFormat, testParams.indexType, testParams.padVertices); in initBottomAccelerationStructures()
319 geometry->addVertex(v0); in initBottomAccelerationStructures()
320 geometry->addVertex(v1); in initBottomAccelerationStructures()
321 geometry->addVertex(v2); in initBottomAccelerationStructures()
322 geometry->addVertex(v2); in initBottomAccelerationStructures()
323 geometry->addVertex(v1); in initBottomAccelerationStructures()
324 geometry in initBottomAccelerationStructures()
411 de::SharedPtr<RaytracedGeometryBase> geometry; initBottomAccelerationStructures() local
743 de::SharedPtr<RaytracedGeometryBase> geometry; initBottomAccelerationStructures() local
774 de::SharedPtr<RaytracedGeometryBase> geometry; initBottomAccelerationStructures() local
[all...]
H A DvktRayTracingTraversalControlTests.cpp210 de::SharedPtr<RaytracedGeometryBase> geometry; in initBottomAccelerationStructures() local
218 geometry = makeRaytracedGeometry(VK_GEOMETRY_TYPE_TRIANGLES_KHR, VK_FORMAT_R32G32B32_SFLOAT, VK_INDEX_TYPE_NONE_KHR); in initBottomAccelerationStructures()
219 geometry->addVertex(v0); in initBottomAccelerationStructures()
220 geometry->addVertex(v1); in initBottomAccelerationStructures()
221 geometry->addVertex(v2); in initBottomAccelerationStructures()
222 geometry->addVertex(v2); in initBottomAccelerationStructures()
223 geometry->addVertex(v1); in initBottomAccelerationStructures()
224 geometry->addVertex(v3); in initBottomAccelerationStructures()
231 geometry = makeRaytracedGeometry(VK_GEOMETRY_TYPE_AABBS_KHR, VK_FORMAT_R32G32B32_SFLOAT, VK_INDEX_TYPE_NONE_KHR); in initBottomAccelerationStructures()
232 geometry in initBottomAccelerationStructures()
[all...]
H A DvktRayTracingDirectionTests.cpp63 // Should rays be shot from inside the geometry or not?
70 // When rays are shot from the outside, they are expected to cross the geometry.
71 // When shot from the inside, they can end inside, at the edge or outside the geometry.
85 GeometryData geometry; member
90 , geometry () in SpaceObjects()
98 geometry.reserve(3u); in SpaceObjects()
99 geometry.push_back(tcu::Vec3( 0.0f, 0.5f, 5.0f)); in SpaceObjects()
100 geometry.push_back(tcu::Vec3(-0.5f, -0.5f, 5.0f)); in SpaceObjects()
101 geometry.push_back(tcu::Vec3( 0.5f, -0.5f, 5.0f)); in SpaceObjects()
106 geometry in SpaceObjects()
[all...]
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
H A DInstancingTest.cpp98 Geometry geometry, in runTest()
114 ANGLE_SKIP_TEST_IF(IsD3D9() && draw == Indexed && geometry == Point); in runTest()
142 switch (geometry) in runTest()
163 if (geometry == Point) in runTest()
177 else if (geometry == Quad) in runTest()
191 else if (geometry == TriFan) in runTest()
322 #define TEST_INDEXED(attrib, geometry, storage, vendor) \
323 TEST_P(InstancingTest, IndexedAttrib##attrib##geometry##storage##vendor) \
325 runTest(11, 2, attrib, geometry, Indexed, storage, vendor, 0); \
328 #define TEST_NONINDEXED(attrib, geometry, storag
95 runTest(unsigned numInstance, unsigned divisor, const int instanceAttrib, Geometry geometry, Draw draw, Storage storage, Vendor vendor, unsigned offset) runTest() argument
[all...]
/third_party/python/Lib/idlelib/
H A Ddynoption.py37 x, y = map(int, parent.geometry().split('+')[1:])
38 top.geometry("200x100+%d+%d" % (x + 250, y + 175))

Completed in 39 milliseconds

12345678