Home
last modified time | relevance | path

Searched refs:vertex_data (Results 1 – 20 of 20) sorted by relevance

/third_party/gstreamer/gstplugins_bad/tests/examples/d3d11/
Dd3d11device.cpp341 VertexData *vertex_data = (VertexData *) map.pData; in prepare_shader() local
342 vertex_data[0].position.x = -1.0f; in prepare_shader()
343 vertex_data[0].position.y = -1.0f; in prepare_shader()
344 vertex_data[0].position.z = 0.0f; in prepare_shader()
345 vertex_data[0].texture.x = 0.0f; in prepare_shader()
346 vertex_data[0].texture.y = 1.0f; in prepare_shader()
348 vertex_data[1].position.x = -1.0f; in prepare_shader()
349 vertex_data[1].position.y = 1.0f; in prepare_shader()
350 vertex_data[1].position.z = 0.0f; in prepare_shader()
351 vertex_data[1].texture.x = 0.0f; in prepare_shader()
[all …]
/third_party/vk-gl-cts/external/openglcts/modules/glesext/tessellation_shader/
DesextcTessellationShaderInvariance.cpp1442 const glw::GLfloat* vertex_data = data_float + 3 /* components */ * n_vertex; in verifyResultDataForIteration() local
1459 if (vertex_data[0] == 0.0f && vertex_data[1] != 0.0f) in verifyResultDataForIteration()
1461 expected_vertex.u = vertex_data[0]; in verifyResultDataForIteration()
1462 expected_vertex.v = 1.0f - vertex_data[1]; in verifyResultDataForIteration()
1465 else if (vertex_data[0] == 1.0f && vertex_data[1] != 0.0f) in verifyResultDataForIteration()
1467 expected_vertex.u = vertex_data[0]; in verifyResultDataForIteration()
1468 expected_vertex.v = 1.0f - vertex_data[1]; in verifyResultDataForIteration()
1481 if (vertex_data[0] != 0.0f && vertex_data[1] == 0.0f) in verifyResultDataForIteration()
1483 expected_vertex.u = 1.0f - vertex_data[0]; in verifyResultDataForIteration()
1484 expected_vertex.v = vertex_data[1]; in verifyResultDataForIteration()
[all …]
DesextcTessellationShaderUtils.cpp1381 …ellationShaderUtils::isTriangleDefined(const float* triangle_vertex_data, const float* vertex_data) in isTriangleDefined() argument
1389 if ((de::abs(triangle_vertex_data[0] - vertex_data[0]) < epsilon && in isTriangleDefined()
1390 de::abs(triangle_vertex_data[1] - vertex_data[1]) < epsilon && in isTriangleDefined()
1391 de::abs(triangle_vertex_data[2] - vertex_data[2]) < epsilon) || in isTriangleDefined()
1392 (de::abs(triangle_vertex_data[3] - vertex_data[0]) < epsilon && in isTriangleDefined()
1393 de::abs(triangle_vertex_data[4] - vertex_data[1]) < epsilon && in isTriangleDefined()
1394 de::abs(triangle_vertex_data[5] - vertex_data[2]) < epsilon) || in isTriangleDefined()
1395 (de::abs(triangle_vertex_data[6] - vertex_data[0]) < epsilon && in isTriangleDefined()
1396 de::abs(triangle_vertex_data[7] - vertex_data[1]) < epsilon && in isTriangleDefined()
1397 de::abs(triangle_vertex_data[8] - vertex_data[2]) < epsilon)) in isTriangleDefined()
[all …]
DesextcTessellationShaderInvariance.hpp335 …bool isVertexDefined(const float* vertex_data, unsigned int n_vertices, const float* vertex_data_s…
402 …bool isVertexDefined(const float* vertex_data, unsigned int n_vertices, const float* vertex_data_s…
548 bool isTriangleDefinedInVertexDataSet(const float* base_triangle_data, const float* vertex_data,
551 …bool isVertexDefined(const float* vertex_data, unsigned int n_vertices, const float* vertex_data_s…
DesextcTessellationShaderQuads.cpp367 const float* vertex_data = raw_data + n_vertex * 3 /* components */; in getUniqueTessCoordinatesFromVertexDataSet() local
368 _vec2 vertex(vertex_data[0], vertex_data[1]); in getUniqueTessCoordinatesFromVertexDataSet()
DesextcTessellationShaderUtils.hpp309 static bool isTriangleDefined(const float* triangle_vertex_data, const float* vertex_data);
DesextcTessellationShaderVertexSpacing.cpp235 const float* vertex_data = (const float*)(&run.data[0]) + 3 /* components */ * n_vertex; in getEdgesForQuadsTessellation() local
237 new_coordinate.x = vertex_data[0]; in getEdgesForQuadsTessellation()
238 new_coordinate.y = vertex_data[1]; in getEdgesForQuadsTessellation()
DesextcTessellationShaderTessellation.cpp2083 …const float* vertex_data = (const float*)gl.mapBufferRange(GL_TRANSFORM_FEEDBACK_BUFFER, 0, /* off… in iterate() local
2095 const float* vertex_uvw = vertex_data + 3 /* components */ * n_vertex; in iterate()
2117 const float* vertex_uvw = vertex_data + 3 /* components */ * n_vertex; in iterate()
2139 const float* vertex_uvw = vertex_data + 3 /* components */ * n_vertex; in iterate()
/third_party/gstreamer/gstplugins_bad/sys/d3d11/
Dgstd3d11overlaycompositor.cpp120 VertexData *vertex_data; in gst_d3d11_composition_overlay_new() local
231 vertex_data = (VertexData *) map.pData; in gst_d3d11_composition_overlay_new()
250 vertex_data[0].position.x = x1; in gst_d3d11_composition_overlay_new()
251 vertex_data[0].position.y = y1; in gst_d3d11_composition_overlay_new()
252 vertex_data[0].position.z = 0.0f; in gst_d3d11_composition_overlay_new()
253 vertex_data[0].texture.x = 0.0f; in gst_d3d11_composition_overlay_new()
254 vertex_data[0].texture.y = 1.0f; in gst_d3d11_composition_overlay_new()
257 vertex_data[1].position.x = x1; in gst_d3d11_composition_overlay_new()
258 vertex_data[1].position.y = y2; in gst_d3d11_composition_overlay_new()
259 vertex_data[1].position.z = 0.0f; in gst_d3d11_composition_overlay_new()
[all …]
Dgstd3d11converter.cpp1472 VertexData *vertex_data; in gst_d3d11_color_convert_setup_shader() local
1691 vertex_data = (VertexData *) map.pData; in gst_d3d11_color_convert_setup_shader()
1705 vertex_data[0].position.x = -1.0f; in gst_d3d11_color_convert_setup_shader()
1706 vertex_data[0].position.y = -1.0f; in gst_d3d11_color_convert_setup_shader()
1707 vertex_data[0].position.z = 0.0f; in gst_d3d11_color_convert_setup_shader()
1708 vertex_data[0].texture.x = 0.0f; in gst_d3d11_color_convert_setup_shader()
1709 vertex_data[0].texture.y = 1.0f; in gst_d3d11_color_convert_setup_shader()
1712 vertex_data[1].position.x = -1.0f; in gst_d3d11_color_convert_setup_shader()
1713 vertex_data[1].position.y = 1.0f; in gst_d3d11_color_convert_setup_shader()
1714 vertex_data[1].position.z = 0.0f; in gst_d3d11_color_convert_setup_shader()
[all …]
Dgstd3d11compositor.cpp2083 VertexData *vertex_data; in gst_d3d11_compositor_create_checker_quad() local
2143 vertex_data = (VertexData *) map.pData; in gst_d3d11_compositor_create_checker_quad()
2146 vertex_data[0].position.x = -1.0f; in gst_d3d11_compositor_create_checker_quad()
2147 vertex_data[0].position.y = -1.0f; in gst_d3d11_compositor_create_checker_quad()
2148 vertex_data[0].position.z = 0.0f; in gst_d3d11_compositor_create_checker_quad()
2149 vertex_data[0].texture.u = 0.0f; in gst_d3d11_compositor_create_checker_quad()
2150 vertex_data[0].texture.v = 1.0f; in gst_d3d11_compositor_create_checker_quad()
2153 vertex_data[1].position.x = -1.0f; in gst_d3d11_compositor_create_checker_quad()
2154 vertex_data[1].position.y = 1.0f; in gst_d3d11_compositor_create_checker_quad()
2155 vertex_data[1].position.z = 0.0f; in gst_d3d11_compositor_create_checker_quad()
[all …]
/third_party/mesa3d/src/gallium/auxiliary/draw/
Ddraw_pt_emit.c141 const float (*vertex_data)[4] = (const float (*)[4])vert_info->verts->data; in draw_pt_emit() local
178 vertex_data, in draw_pt_emit()
216 const float (*vertex_data)[4] = (const float (*)[4])vert_info->verts->data; in draw_pt_emit_linear() local
250 vertex_data, stride, count - 1); in draw_pt_emit_linear()
/third_party/boost/boost/geometry/formulas/
Dsjoberg_intersection.hpp351 struct vertex_data struct in boost::geometry::formula::sjoberg_geodesic
359 vertex_data get_vertex_data() const in get_vertex_data()
365 vertex_data res; in get_vertex_data()
442 bool k_diffs(CT const& sin_beta, vertex_data const& vd, in k_diffs()
479 bool lon_diffs(CT const& sin_beta, CT const& t, vertex_data const& vd, in lon_diffs()
509 bool lon(CT const& sin_beta, CT const& t, vertex_data const& vd, in lon()
963 typename geodesic_type::vertex_data vertex1;
964 typename geodesic_type::vertex_data vertex2;
1152 typename geodesic_type::vertex_data const& vertex, in converge_07_one_geod()
/third_party/vk-gl-cts/external/openglcts/modules/gl/
Dgl4cPipelineStatisticsQueryTests.cpp3020 const float vertex_data[] = { -0.1f, 0.2f, 0.3f, 0.1f, 0.2f, -0.7f, 0.5f, -0.5f, in executeTest() local
3033 …initVBO(vertex_data, sizeof(vertex_data), index_data, sizeof(index_data), m_indirect_draw_call_cou… in executeTest()
3581 …const float vertex_data[] = { -0.1f, 0.2f, 0.3f, 0.1f, 0.2f, -0.7f, 0.5f, -0.5f, 0.0f, 0.0f, … in executeTest() local
3594 …initVBO(vertex_data, sizeof(vertex_data), index_data, sizeof(index_data), m_indirect_draw_call_cou… in executeTest()
3757 const float vertex_data[] = { in executeTest() local
3768 …initVBO(vertex_data, sizeof(vertex_data), index_data, sizeof(index_data), m_indirect_draw_call_cou… in executeTest()
3901 const float vertex_data[] = { in executeTest() local
3912 …initVBO(vertex_data, sizeof(vertex_data), index_data, sizeof(index_data), m_indirect_draw_call_cou… in executeTest()
4137 const float vertex_data[] = { 0.0f, 0.75f, -0.75f, -0.75f, 0.75f, -0.75f, 0.3f, 0.7f, in executeTest() local
4149 …initVBO(vertex_data, sizeof(vertex_data), index_data, sizeof(index_data), m_indirect_draw_call_cou… in executeTest()
Dgl4cShadingLanguage420PackTests.cpp1824 Utils::shaderSource vertex_data; in testDrawArray() local
1830 initShaderSource(Utils::VERTEX_SHADER, use_version_400, vertex_data); in testDrawArray()
1835 …(0 /* compute shader */, fragment_data, geometry_data, tess_ctrl_data, tess_eval_data, vertex_data, in testDrawArray()
2152 Utils::shaderSource vertex_data; in testDrawArray() local
2158 initShaderSource(Utils::VERTEX_SHADER, use_version_400, vertex_data); in testDrawArray()
2163 …(0 /* compute shader */, fragment_data, geometry_data, tess_ctrl_data, tess_eval_data, vertex_data, in testDrawArray()
2191 …const Utils::shaderSource* data[] = { &vertex_data, &tess_ctrl_data, &tess_eval_data, &geometry_da… in testDrawArray()
2310 Utils::shaderSource vertex_data; in testDrawArray() local
2316 initShaderSource(Utils::VERTEX_SHADER, use_version_400, vertex_data); in testDrawArray()
2321 …(0 /* compute shader */, fragment_data, geometry_data, tess_ctrl_data, tess_eval_data, vertex_data, in testDrawArray()
/third_party/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_defines.h213 vertex_data = 0, enumerator
Dsfn_instruction_fetch.cpp199 m_fetch_type(vertex_data), in FetchInstruction()
/third_party/boost/boost/polygon/detail/
Dproperty_merge.hpp62 typedef std::pair<property_merge_point<coordinate_type>, property_map> vertex_data; typedef in boost::polygon::merge_scanline
225 vertex_data currentVertex;
Dscan_arbitrary.hpp969 typedef std::pair<half_edge, property_map> vertex_data; typedef in boost::polygon::scanline
1514 typedef std::pair<half_edge, property_map> vertex_data; typedef in boost::polygon::property_merge
1692 static inline void sort_vertex_half_edges(vertex_data& vertex) { in sort_vertex_half_edges()
1771 static stream_type& print (stream_type& o, const vertex_data& v) in print()
1777 static stream_type& print (stream_type& o, const std::vector<vertex_data>& vv) in print()
2515 typedef std::pair<half_edge, property_map> vertex_data; typedef in boost::polygon::arbitrary_boolean_op
2734 typedef std::pair<half_edge, property_map> vertex_data; typedef in boost::polygon::arbitrary_connectivity_extraction
/third_party/mesa3d/docs/relnotes/
D20.3.0.rst563 - panfrost: Avoid postfix dep for vertex_data