Home
last modified time | relevance | path

Searched refs:attrib (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/media/mca/filterfw/native/core/
Dshader_program.cpp131 const VertexAttrib& attrib = iter->second; in ~ShaderProgram() local
132 if (attrib.owned_data) in ~ShaderProgram()
133 delete[] attrib.owned_data; in ~ShaderProgram()
962 VertexAttrib attrib; in SetAttributeValues() local
963 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 …]
Dshader_program.h492 bool StoreAttribute(VertexAttrib attrib);
/frameworks/native/opengl/tests/hwc/
DhwcTestLib.cpp545 const struct attrib { in hwcTestColor2Pixel() struct
568 const struct attrib *attrib; in hwcTestColor2Pixel() local
569 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 …]
DhwcCommit.cpp1325 const struct hwcTestGraphicFormat *attrib; in setSourceDim() local
1326 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()
/frameworks/native/opengl/tests/tritex/
Dtritex.cpp124 EGLint attrib[] = in init_gl_surface() local
144 EGLUtils::selectConfigForNativeWindow(eglDisplay, attrib, window, &myConfig); in init_gl_surface()
/frameworks/native/opengl/tests/gl_basic/
Dgl_basic.cpp216 EGLint attrib[] = in init_gl_surface() local
240 EGLUtils::selectConfigForNativeWindow(eglDisplay, attrib, window, &myConfig); in init_gl_surface()
/frameworks/native/opengl/libs/EGL/
DeglApi.cpp291 EGLint attrib = attrib_list[0]; in eglChooseConfig() local
300 while (attrib != EGL_NONE) { in eglChooseConfig()
301 attrib = attrib_list[attribCount]; in eglChooseConfig()
302 switch (attrib) { in eglChooseConfig()