Lines Matching defs:idx

234 		"	for (int idx = 0; idx < MAX_VECTOR_SIZE; idx++) \n"
238 " colorBlended[idx] = (colorSrc[idx] * uFactorSrc) + colorDst[idx] * uFactorDst; \n"
242 " colorBlended[idx] = (colorSrc[idx] * uFactorSrc) - (colorDst[idx] * uFactorDst); \n"
246 " colorBlended[idx] = (colorDst[idx] * uFactorDst) - (colorSrc[idx] * uFactorSrc); \n"
248 " if (colorBlended[idx] < 0.0031308f) \n"
250 " colorConverted[idx] = 12.92f * colorBlended[idx]; \n"
254 " colorConverted[idx] = 1.055f * pow(colorBlended[idx], 0.41666f) - 0.055f; \n"
432 for (int idx = 0; idx < (int)m_data.size(); idx++)
433 m_data[idx] = vertexData[idx];
552 TestFramebuffer (Context& context, const deUint32 targetType, const deUint32 colorAttachment, glw::GLuint textureAttachmentHandle, const bool isSRGB, const FboType fboType, const int idx);
577 TestFramebuffer::TestFramebuffer (Context& context, const deUint32 targetType, const deUint32 colorAttachment, glw::GLuint textureAttachmentHandle, const bool isSRGB, const FboType fboType, const int idx)
584 , m_idx (idx)
944 for (int idx = 0; idx < (int)m_framebufferList.size(); idx++)
945 this->bindFramebuffer(idx);
947 // cache fbo attachments and idx locations
948 for (int idx = 0; idx < (int)m_framebufferList.size(); idx++)
950 if (m_framebufferList[idx]->getType() == FBOTYPE_SOURCE)
952 fboSrcIdx = m_framebufferList[idx]->getIdx();
955 if (m_framebufferList[idx]->getType() == FBOTYPE_DESTINATION)
957 fboDstIdx = m_framebufferList[idx]->getIdx();
962 for (int idx = 0; idx < (int)m_framebufferList.size(); idx++)
963 m_framebufferList[idx]->unbind();
1011 for (int idx = 0; idx < (int)m_framebufferList.size(); idx++)
1012 this->bindFramebuffer(idx);
1034 for (int idx = 0; idx < (int)m_framebufferList.size(); idx++)
1035 this->unbindFramebuffer(idx);
1057 for (int idx = 0; idx < size; idx++)
1059 TextureSp texture(new TestTexture2D(m_context, fboConfigList[idx].textureInternalFormat, GL_RGBA, GL_UNSIGNED_BYTE, fboConfigList[idx].textureColor));
1063 if (fboConfigList[idx].textureInternalFormat == GL_SRGB8_ALPHA8)
1068 FboSp framebuffer(new TestFramebuffer(m_context, fboConfigList[idx].fboTargetType, fboConfigList[idx].fboColorAttachment, texture->getHandle(), isSRGB, fboConfigList[idx].fboType, idx));
1130 for (int idx = 0; idx < m_samplersRequired; idx++)
1133 stream << "uTexture" << idx;
1137 gl.uniform1i(location, m_textureSourceList[idx]->getTextureUnit());
1159 for (int idx = 0; idx < (int)m_textureSourceList.size(); idx++)
1160 m_textureSourceList[idx]->unbind();
1453 for (int idx = 0; idx < (int)renderPassConfigList.size(); idx++)
1455 if (renderPassConfigList[idx].frameBufferBlend == FRAMEBUFFERBLEND_ENABLED)
1505 for (int idx = 0; idx < static_cast<int>(QUERYTYPE_LAST); idx++)
1514 switch (static_cast<QueryType>(idx))