Home
last modified time | relevance | path

Searched refs:attrib (Results 1 – 10 of 10) 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.cpp549 const struct attrib { in hwcTestColor2Pixel() struct
570 const struct attrib *attrib; in hwcTestColor2Pixel() local
571 for (attrib = attributes; attrib < attributes + NUMA(attributes); in hwcTestColor2Pixel()
572 attrib++) { in hwcTestColor2Pixel()
573 if (attrib->format == format) { break; } in hwcTestColor2Pixel()
575 if (attrib >= attributes + NUMA(attributes)) { in hwcTestColor2Pixel()
581 pixel = htonl((uint32_t) round((((1 << attrib->c1Size) - 1) * color.c1())) in hwcTestColor2Pixel()
583 - (attrib->c1Offset + attrib->c1Size))); in hwcTestColor2Pixel()
584 pixel |= htonl((uint32_t) round((((1 << attrib->c2Size) - 1) * color.c2())) in hwcTestColor2Pixel()
586 - (attrib->c2Offset + attrib->c2Size))); in hwcTestColor2Pixel()
[all …]
DhwcCommit.cpp1324 const struct hwcTestGraphicFormat *attrib; in setSourceDim() local
1325 attrib = hwcTestGraphicFormatLookup(this->format); in setSourceDim()
1326 if (attrib != NULL) { in setSourceDim()
1327 if (sourceDim.width() % attrib->wMod) { in setSourceDim()
1328 sourceDim.setWidth(sourceDim.width() + attrib->wMod in setSourceDim()
1329 - (sourceDim.width() % attrib->wMod)); in setSourceDim()
1331 if (sourceDim.height() % attrib->hMod) { in setSourceDim()
1332 sourceDim.setHeight(sourceDim.height() + attrib->hMod in setSourceDim()
1333 - (sourceDim.height() % attrib->hMod)); in setSourceDim()
/frameworks/base/tools/layoutlib/rename_font/
Dbuild_font_single.py125 if 'nameID' in namerecord.attrib:
126 name_id = int(namerecord.attrib['nameID'])
155 if 'nameID' in namerecord.attrib:
156 name_id = int(namerecord.attrib['nameID'])
Dbuild_font.py141 if 'nameID' in namerecord.attrib:
142 name_id = int(namerecord.attrib['nameID'])
171 if 'nameID' in namerecord.attrib:
172 name_id = int(namerecord.attrib['nameID'])
/frameworks/native/opengl/tools/glgen2/registry/
Dreg.py74 if ('api' in elem.attrib):
81 if ('profile' in elem.attrib):
712 if ('api' in elem.attrib):
752 type.attrib['name'] = type.find('name').text
784 cmd.attrib['name'] = cmd.find('proto/name').text
845 if (required and ('requires' in type.elem.attrib)):
935 if ('requires' in f.elem.attrib):
1136 if ('group' in proto.attrib.keys()):
1151 if ('group' in param.attrib.keys()):
/frameworks/native/opengl/tests/tritex/
Dtritex.cpp125 EGLint attrib[] = in init_gl_surface() local
145 EGLUtils::selectConfigForNativeWindow(eglDisplay, attrib, window, &myConfig); in init_gl_surface()
/frameworks/native/opengl/tests/gl_basic/
Dgl_basic.cpp217 EGLint attrib[] = in init_gl_surface() local
241 EGLUtils::selectConfigForNativeWindow(eglDisplay, attrib, window, &myConfig); in init_gl_surface()
/frameworks/native/opengl/libs/EGL/
DeglApi.cpp305 EGLint attrib = attrib_list[0]; in eglChooseConfig() local
314 while (attrib != EGL_NONE) { in eglChooseConfig()
315 attrib = attrib_list[attribCount]; in eglChooseConfig()
316 switch (attrib) { in eglChooseConfig()