Searched refs:attrib (Results 1 – 7 of 7) sorted by relevance
131 const VertexAttrib& attrib = iter->second; in ~ShaderProgram() local132 if (attrib.owned_data) in ~ShaderProgram()133 delete[] attrib.owned_data; in ~ShaderProgram()962 VertexAttrib attrib; in SetAttributeValues() local963 attrib.is_const = false; in SetAttributeValues()964 attrib.index = var; in SetAttributeValues()965 attrib.components = components; in SetAttributeValues()966 attrib.normalized = normalize; in SetAttributeValues()967 attrib.stride = stride; in SetAttributeValues()968 attrib.type = type; in SetAttributeValues()[all …]
492 bool StoreAttribute(VertexAttrib attrib);
545 const struct attrib { in hwcTestColor2Pixel() struct568 const struct attrib *attrib; in hwcTestColor2Pixel() local569 for (attrib = attributes; attrib < attributes + NUMA(attributes); in hwcTestColor2Pixel()570 attrib++) { in hwcTestColor2Pixel()571 if (attrib->format == format) { break; } in hwcTestColor2Pixel()573 if (attrib >= attributes + NUMA(attributes)) { in hwcTestColor2Pixel()579 pixel = htonl((uint32_t) round((((1 << attrib->c1Size) - 1) * color.c1())) in hwcTestColor2Pixel()581 - (attrib->c1Offset + attrib->c1Size))); in hwcTestColor2Pixel()582 pixel |= htonl((uint32_t) round((((1 << attrib->c2Size) - 1) * color.c2())) in hwcTestColor2Pixel()584 - (attrib->c2Offset + attrib->c2Size))); in hwcTestColor2Pixel()[all …]
1325 const struct hwcTestGraphicFormat *attrib; in setSourceDim() local1326 attrib = hwcTestGraphicFormatLookup(this->format); in setSourceDim()1327 if (attrib != NULL) { in setSourceDim()1328 if (sourceDim.width() % attrib->wMod) { in setSourceDim()1329 sourceDim.setWidth(sourceDim.width() + attrib->wMod in setSourceDim()1330 - (sourceDim.width() % attrib->wMod)); in setSourceDim()1332 if (sourceDim.height() % attrib->hMod) { in setSourceDim()1333 sourceDim.setHeight(sourceDim.height() + attrib->hMod in setSourceDim()1334 - (sourceDim.height() % attrib->hMod)); in setSourceDim()
124 EGLint attrib[] = in init_gl_surface() local144 EGLUtils::selectConfigForNativeWindow(eglDisplay, attrib, window, &myConfig); in init_gl_surface()
216 EGLint attrib[] = in init_gl_surface() local240 EGLUtils::selectConfigForNativeWindow(eglDisplay, attrib, window, &myConfig); in init_gl_surface()
291 EGLint attrib = attrib_list[0]; in eglChooseConfig() local300 while (attrib != EGL_NONE) { in eglChooseConfig()301 attrib = attrib_list[attribCount]; in eglChooseConfig()302 switch (attrib) { in eglChooseConfig()