Searched refs:GRID_SIZE (Results 1 – 6 of 6) sorted by relevance
/external/deqp/modules/gles31/functional/ |
D | es31fVertexAttributeBindingTests.cpp | 247 GRID_SIZE = 20 enumerator 285 << "Rendering " << (int)GRID_SIZE << "x" << (int)GRID_SIZE << " grid.\n" in init() 350 gl.glDrawArrays(GL_TRIANGLES, 0, GRID_SIZE*GRID_SIZE*6); in renderTo() 363 gl.glDrawArrays(GL_TRIANGLES, 0, GRID_SIZE*GRID_SIZE*6); in renderTo() 447 …std::vector<deUint8> dataBuf (m_spec.bufferOffset + m_spec.bufferStride * GRID_SIZE * GRID_SIZE * … in createBuffers() 453 for (int y = 0; y < GRID_SIZE; ++y) in createBuffers() 454 for (int x = 0; x < GRID_SIZE; ++x) in createBuffers() 459 …tcu::Vec4(float(x+0) / float(GRID_SIZE) * 2.0f - 1.0f, float(y+0) / float(GRID_SIZE) * 2.0f - 1.0f… in createBuffers() 460 …tcu::Vec4(float(x+0) / float(GRID_SIZE) * 2.0f - 1.0f, float(y+1) / float(GRID_SIZE) * 2.0f - 1.0f… in createBuffers() 461 …tcu::Vec4(float(x+1) / float(GRID_SIZE) * 2.0f - 1.0f, float(y+1) / float(GRID_SIZE) * 2.0f - 1.0f… in createBuffers() [all …]
|
/external/deqp/modules/gles31/stress/ |
D | es31sVertexAttributeBindingTests.cpp | 241 GRID_SIZE = 20 enumerator 279 << "Rendering " << (int)GRID_SIZE << "x" << (int)GRID_SIZE << " grid.\n" in init() 344 gl.glDrawArrays(GL_TRIANGLES, 0, GRID_SIZE*GRID_SIZE*6); in renderTo() 357 gl.glDrawArrays(GL_TRIANGLES, 0, GRID_SIZE*GRID_SIZE*6); in renderTo() 441 …std::vector<deUint8> dataBuf (m_spec.bufferOffset + m_spec.bufferStride * GRID_SIZE * GRID_SIZE * … in createBuffers() 447 for (int y = 0; y < GRID_SIZE; ++y) in createBuffers() 448 for (int x = 0; x < GRID_SIZE; ++x) in createBuffers() 453 …tcu::Vec4(float(x+0) / float(GRID_SIZE) * 2.0f - 1.0f, float(y+0) / float(GRID_SIZE) * 2.0f - 1.0f… in createBuffers() 454 …tcu::Vec4(float(x+0) / float(GRID_SIZE) * 2.0f - 1.0f, float(y+1) / float(GRID_SIZE) * 2.0f - 1.0f… in createBuffers() 455 …tcu::Vec4(float(x+1) / float(GRID_SIZE) * 2.0f - 1.0f, float(y+1) / float(GRID_SIZE) * 2.0f - 1.0f… in createBuffers() [all …]
|
/external/deqp/external/openglcts/modules/gl/ |
D | gl4cTextureBarrierTests.cpp | 191 gl.bufferData(GL_ARRAY_BUFFER, GRID_SIZE * GRID_SIZE * sizeof(float) * 12, NULL, GL_STATIC_DRAW); in init() 261 static Vertex grid[GRID_SIZE + 1][GRID_SIZE + 1]; in generateVertexData() 264 for (int x = 0; x < GRID_SIZE + 1; ++x) in generateVertexData() 265 for (int y = 0; y < GRID_SIZE + 1; ++y) in generateVertexData() 268 float normx = (((float)x) / GRID_SIZE); in generateVertexData() 269 float normy = (((float)y) / GRID_SIZE); in generateVertexData() 272 grid[x][y].x = normx * 2.f - 1.f + deFloatSin(normx * DE_PI * 13.f) * 0.3f / GRID_SIZE; in generateVertexData() 273 grid[x][y].y = normy * 2.f - 1.f + deFloatSin(normy * DE_PI * 13.f) * 0.3f / GRID_SIZE; in generateVertexData() 279 for (int x = 0; x < GRID_SIZE; ++x) in generateVertexData() 280 for (int y = 0; y < GRID_SIZE; ++y) in generateVertexData() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/sparse_resources/ |
D | vktSparseResourcesBufferTests.cpp | 74 GRID_SIZE = RENDER_SIZE / 8, //!< number of grid tiles in a row enumerator 1269 GRID_SIZE * GRID_SIZE * 6 * sizeof(Vec4)) in VertexBufferTestInstance() 1281 const deUint32 vertexCount = 6 * (GRID_SIZE * GRID_SIZE) / 2; in rendererDraw() 1296 const float step = 2.0f / static_cast<float>(GRID_SIZE); in initializeBuffers() 1299 generateGrid(pData, step, -1.0f, -1.0f, GRID_SIZE, GRID_SIZE/2); in initializeBuffers() 1300 generateGrid(pData + m_perDrawBufferOffset, step, -1.0f, 0.0f, GRID_SIZE, GRID_SIZE/2); in initializeBuffers() 1312 GRID_SIZE * GRID_SIZE * 6 * sizeof(deUint32)) in IndexBufferTestInstance() 1313 , m_halfVertexCount (6 * (GRID_SIZE * GRID_SIZE) / 2) in IndexBufferTestInstance() 1348 const float step = 2.0f / static_cast<float>(GRID_SIZE); in initializeBuffers() 1350 generateGrid(m_vertexBufferAlloc->getHostPtr(), step, -1.0f, -1.0f, GRID_SIZE, GRID_SIZE); in initializeBuffers()
|
/external/deqp/modules/glshared/ |
D | glsShaderRenderCase.cpp | 62 static const int GRID_SIZE = 64; variable 436 …QuadGrid quadGrid(m_isVertexCase ? GRID_SIZE : 4, width, height, Vec4(0.125f, 0.25f, 0.5f, 1.0f), … in iterate()
|
/external/deqp/external/openglcts/modules/common/ |
D | glcShaderRenderCase.cpp | 58 static const int GRID_SIZE = 64; variable 499 QuadGrid quadGrid(m_isVertexCase ? GRID_SIZE : 4, width, height, Vec4(0.0f, 0.0f, 0.0f, 1.0f), in iterate()
|