• Home
  • Raw
  • Download

Lines Matching refs:kStride

843 		const int kStride = 116;  in Run()  local
845 glBufferData(GL_ARRAY_BUFFER, kStride * 2, NULL, GL_STATIC_DRAW); in Run()
905 glBufferSubData(GL_ARRAY_BUFFER, 0 + kStride, sizeof(d), d); in Run()
910 glBufferSubData(GL_ARRAY_BUFFER, 4 + kStride, sizeof(d), d); in Run()
915 glBufferSubData(GL_ARRAY_BUFFER, 12 + kStride, sizeof(d), d); in Run()
920 glBufferSubData(GL_ARRAY_BUFFER, 28 + kStride, sizeof(d), d); in Run()
925 glBufferSubData(GL_ARRAY_BUFFER, 32 + kStride, sizeof(d), d); in Run()
930 glBufferSubData(GL_ARRAY_BUFFER, 40 + kStride, sizeof(d), d); in Run()
935 glBufferSubData(GL_ARRAY_BUFFER, 56 + kStride, sizeof(d), d); in Run()
940 glBufferSubData(GL_ARRAY_BUFFER, 72 + kStride, sizeof(d), d); in Run()
945 glBufferSubData(GL_ARRAY_BUFFER, 104 + kStride, sizeof(d), d); in Run()
950 glBufferSubData(GL_ARRAY_BUFFER, 108 + kStride, sizeof(d), &d); in Run()
955 glBufferSubData(GL_ARRAY_BUFFER, 112 + kStride, sizeof(d), &d); in Run()
978 glBindVertexBuffer(0, m_vbo, 0, kStride); in Run()
1039 const int kStride = 112; in Run() local
1041 glBufferData(GL_ARRAY_BUFFER, kStride * 2, NULL, GL_STATIC_DRAW); in Run()
1096 glBufferSubData(GL_ARRAY_BUFFER, 0 + kStride, sizeof(d), d); in Run()
1101 glBufferSubData(GL_ARRAY_BUFFER, 4 + kStride, sizeof(d), d); in Run()
1106 glBufferSubData(GL_ARRAY_BUFFER, 12 + kStride, sizeof(d), d); in Run()
1111 glBufferSubData(GL_ARRAY_BUFFER, 28 + kStride, sizeof(d), d); in Run()
1116 glBufferSubData(GL_ARRAY_BUFFER, 32 + kStride, sizeof(d), d); in Run()
1121 glBufferSubData(GL_ARRAY_BUFFER, 40 + kStride, sizeof(d), d); in Run()
1126 glBufferSubData(GL_ARRAY_BUFFER, 56 + kStride, sizeof(d), d); in Run()
1131 glBufferSubData(GL_ARRAY_BUFFER, 72 + kStride, sizeof(d), d); in Run()
1136 glBufferSubData(GL_ARRAY_BUFFER, 104 + kStride, sizeof(d), &d); in Run()
1142 glBufferSubData(GL_ARRAY_BUFFER, 108 + kStride, sizeof(d), &d); in Run()
1162 glBindVertexBuffer(0, m_vbo, 0, kStride); in Run()
1628 const int kStride = 88; in Run() local
1630 glBufferData(GL_ARRAY_BUFFER, kStride * 2, NULL, GL_STATIC_DRAW); in Run()
1675 glBufferSubData(GL_ARRAY_BUFFER, 0 + kStride, sizeof(d), d); in Run()
1680 glBufferSubData(GL_ARRAY_BUFFER, 4 + kStride, sizeof(d), d); in Run()
1685 glBufferSubData(GL_ARRAY_BUFFER, 12 + kStride, sizeof(d), d); in Run()
1690 glBufferSubData(GL_ARRAY_BUFFER, 28 + kStride, sizeof(d), d); in Run()
1695 glBufferSubData(GL_ARRAY_BUFFER, 32 + kStride, sizeof(d), d); in Run()
1700 glBufferSubData(GL_ARRAY_BUFFER, 40 + kStride, sizeof(d), d); in Run()
1705 glBufferSubData(GL_ARRAY_BUFFER, 56 + kStride, sizeof(d), d); in Run()
1710 glBufferSubData(GL_ARRAY_BUFFER, 72 + kStride, sizeof(d), d); in Run()
1731 glBindVertexBuffer(0, m_vbo, 0, kStride); in Run()
2479 const GLsizei kStride[2] = { 52, 64 }; in Run() local
2484 glBufferData(GL_ARRAY_BUFFER, kOffset[0] + 4 * kStride[0], NULL, GL_STATIC_DRAW); in Run()
2486 glMapBufferRange(GL_ARRAY_BUFFER, 0, kOffset[0] + 4 * kStride[0], GL_MAP_WRITE_BIT)); in Run()
2487 *reinterpret_cast<Vec2*>(&ptr[kOffset[0] + 0 * kStride[0]]) = Vec2(-1.0f, -1.0f); in Run()
2488 *reinterpret_cast<Vec2*>(&ptr[kOffset[0] + 1 * kStride[0]]) = Vec2(1.0f, -1.0f); in Run()
2489 *reinterpret_cast<Vec2*>(&ptr[kOffset[0] + 2 * kStride[0]]) = Vec2(1.0f, 1.0f); in Run()
2490 *reinterpret_cast<Vec2*>(&ptr[kOffset[0] + 3 * kStride[0]]) = Vec2(-1.0f, 1.0f); in Run()
2493 *reinterpret_cast<Vec2*>(&ptr[kOffset[0] + 8 + i * kStride[0]]) = Vec2(0.0f, 1.0f); in Run()
2494 *reinterpret_cast<float*>(&ptr[kOffset[0] + 16 + i * kStride[0]]) = 0.0f; in Run()
2495 *reinterpret_cast<UVec3*>(&ptr[kOffset[0] + 20 + i * kStride[0]]) = UVec3(1, 2, 3); in Run()
2496 *reinterpret_cast<IVec2*>(&ptr[kOffset[0] + 44 + i * kStride[0]]) = IVec2(1, 2); in Run()
2503 glBufferData(GL_ARRAY_BUFFER, kOffset[1] + 4 * kStride[1], NULL, GL_STATIC_DRAW); in Run()
2505 glMapBufferRange(GL_ARRAY_BUFFER, 0, kOffset[1] + 4 * kStride[1], GL_MAP_WRITE_BIT)); in Run()
2506 *reinterpret_cast<Vec2*>(&ptr[kOffset[1] + 0 * kStride[1]]) = Vec2(-1.0f, 1.0f); in Run()
2507 *reinterpret_cast<Vec2*>(&ptr[kOffset[1] + 1 * kStride[1]]) = Vec2(1.0f, 1.0f); in Run()
2508 *reinterpret_cast<Vec2*>(&ptr[kOffset[1] + 2 * kStride[1]]) = Vec2(1.0f, -1.0f); in Run()
2509 *reinterpret_cast<Vec2*>(&ptr[kOffset[1] + 3 * kStride[1]]) = Vec2(-1.0f, -1.0f); in Run()
2512 *reinterpret_cast<Vec2*>(&ptr[kOffset[1] + 8 + i * kStride[1]]) = Vec2(0.0f, 0.0f); in Run()
2513 *reinterpret_cast<float*>(&ptr[kOffset[1] + 16 + i * kStride[1]]) = 1.0f; in Run()
2514 *reinterpret_cast<UVec3*>(&ptr[kOffset[1] + 20 + i * kStride[1]]) = UVec3(4, 5, 6); in Run()
2515 *reinterpret_cast<IVec2*>(&ptr[kOffset[1] + 44 + i * kStride[1]]) = IVec2(3, 4); in Run()
2562 glBindVertexBuffer(1, m_vbo[1], kOffset[1], kStride[1]); in Run()
2563 glBindVertexBuffer(8, m_vbo[0], kOffset[0], kStride[0]); in Run()
2584 glBindVertexBuffer(0, m_vbo[0], kOffset[0], kStride[0]); in Run()
2598 glBindVertexBuffer(0, m_vbo[1], kOffset[1], kStride[1]); in Run()
2615 glBindVertexBuffer(15, m_vbo[0], kOffset[0], kStride[0]); in Run()
2630 glBindVertexBuffer(7, m_vbo[0], kOffset[0], kStride[0]); in Run()
2631 glBindVertexBuffer(12, m_vbo[1], kOffset[1], kStride[1]); in Run()