Home
last modified time | relevance | path

Searched refs:m_grid (Results 1 – 5 of 5) sorted by relevance

/third_party/vk-gl-cts/external/openglcts/modules/glesext/geometry_shader/
DesextcGeometryShaderAdjacencyTests.cpp332 test_data.m_grid = new AdjacencyGrid; in createGrid()
335 test_data.m_grid->m_n_points = (m_grid_granulity + 1) * (m_grid_granulity + 1); in createGrid()
336 test_data.m_grid->m_line_segments = in createGrid()
338 test_data.m_grid->m_points = new AdjacencyGridPoint[test_data.m_grid->m_n_points]; in createGrid()
349 test_data.m_grid->m_points[nPoint].index = nPoint; in createGrid()
350 test_data.m_grid->m_points[nPoint].x = dx * static_cast<float>(x); in createGrid()
351 test_data.m_grid->m_points[nPoint].y = dy * static_cast<float>(y); in createGrid()
417 AdjacencyGridPoint* pointTL = test_data.m_grid->m_points + nPoint; in createGridLineSegments()
423 pointTR = test_data.m_grid->m_points + nPoint + 1; in createGridLineSegments()
424 pointBL = test_data.m_grid->m_points + m_grid_granulity + 1; in createGridLineSegments()
[all …]
DesextcGeometryShaderAdjacency.cpp93 , m_grid(0) in AdjacencyTestData()
135 if (m_grid) in ~AdjacencyTestData()
137 delete m_grid; in ~AdjacencyTestData()
138 m_grid = 0; in ~AdjacencyTestData()
DesextcGeometryShaderAdjacency.hpp280 AdjacencyGrid* m_grid; member in glcts::AdjacencyTestData
/third_party/boost/libs/graph/example/
Dastar_maze.cpp95 : m_grid(create_grid(0, 0)), m_barrier_grid(create_barrier_grid()) {}; in maze()
97 : m_grid(create_grid(x, y)), m_barrier_grid(create_barrier_grid()) {}; in maze()
100 vertices_size_type length(std::size_t d) const { return m_grid.length(d); } in length()
109 vertex_descriptor source() const { return vertex(0, m_grid); } in source()
112 return vertex(num_vertices(m_grid) - 1, m_grid); in goal()
133 return boost::make_vertex_subset_complement_filter(m_grid, m_barriers); in create_barrier_grid()
137 grid m_grid; member in maze
288 vertices_size_type n = num_vertices(m.m_grid); in random_maze()
300 vertex_descriptor u = vertex(random_int(0, n - 1), m.m_grid); in random_maze()
313 vertex_descriptor v = m.m_grid.next(u, direction); in random_maze()
/third_party/vk-gl-cts/modules/gles31/functional/
Des31fCopyImageTests.cpp276 const IVec2 m_grid; member in deqp::gles31::Functional::__anon7d3375f50111::RandomizedRenderGrid
285 , m_grid (targetSize / cellSize) in RandomizedRenderGrid()
288 …((targetSize.y() % cellSize.y()) == 0) && m_grid.y() > 1 ? m_grid.x() * (m_grid.y() - 1) : m_grid in RandomizedRenderGrid()
289 , m_baseRandomOffset (getRandomOffset(seed, targetSize, cellSize, m_grid, m_cellCount)) in RandomizedRenderGrid()
327 const int gridX = (m_currentCell - 1) % m_grid.x(); in getOrigin()
328 const int gridY = (m_currentCell - 1) / m_grid.x(); in getOrigin()
339 …const IVec2 lastCell (de::min(m_currentCell + 1, m_grid.x()), ((m_currentCell + m_grid.x() - 1) / in getUsedAreaBoundingBox()