Home
last modified time | relevance | path

Searched refs:GRID_SIZE (Results 1 – 6 of 6) sorted by relevance

/external/deqp/modules/gles31/functional/
Des31fVertexAttributeBindingTests.cpp247 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/
Des31sVertexAttributeBindingTests.cpp241 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/
Dgl4cTextureBarrierTests.cpp191 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/
DvktSparseResourcesBufferTests.cpp74 GRID_SIZE = RENDER_SIZE / 8, //!< number of grid tiles in a row enumerator
1281 GRID_SIZE * GRID_SIZE * 6 * sizeof(Vec4)) in VertexBufferTestInstance()
1293 const deUint32 vertexCount = 6 * (GRID_SIZE * GRID_SIZE) / 2; in rendererDraw()
1308 const float step = 2.0f / static_cast<float>(GRID_SIZE); in initializeBuffers()
1311 generateGrid(pData, step, -1.0f, -1.0f, GRID_SIZE, GRID_SIZE/2); in initializeBuffers()
1312 generateGrid(pData + m_perDrawBufferOffset, step, -1.0f, 0.0f, GRID_SIZE, GRID_SIZE/2); in initializeBuffers()
1324 GRID_SIZE * GRID_SIZE * 6 * sizeof(deUint32)) in IndexBufferTestInstance()
1325 , m_halfVertexCount (6 * (GRID_SIZE * GRID_SIZE) / 2) in IndexBufferTestInstance()
1360 const float step = 2.0f / static_cast<float>(GRID_SIZE); in initializeBuffers()
1362 generateGrid(m_vertexBufferAlloc->getHostPtr(), step, -1.0f, -1.0f, GRID_SIZE, GRID_SIZE); in initializeBuffers()
/external/deqp/external/openglcts/modules/common/
DglcShaderRenderCase.cpp58 static const int GRID_SIZE = 64; variable
484 QuadGrid quadGrid(m_isVertexCase ? GRID_SIZE : 4, width, height, Vec4(0.0f, 0.0f, 0.0f, 1.0f), in iterate()
/external/deqp/modules/glshared/
DglsShaderRenderCase.cpp62 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()