Home
last modified time | relevance | path

Searched refs:pfi (Results 1 – 14 of 14) sorted by relevance

/external/mesa3d/src/gallium/state_trackers/wgl/
Dstw_pixelformat.c133 struct stw_pixelformat_info *pfi; in stw_pixelformat_add() local
146 pfi = &stw_dev->pixelformats[stw_dev->pixelformat_extended_count]; in stw_pixelformat_add()
148 memset(pfi, 0, sizeof *pfi); in stw_pixelformat_add()
150 pfi->pfd.nSize = sizeof pfi->pfd; in stw_pixelformat_add()
151 pfi->pfd.nVersion = 1; in stw_pixelformat_add()
153 pfi->pfd.dwFlags = PFD_SUPPORT_OPENGL; in stw_pixelformat_add()
157 pfi->pfd.dwFlags |= PFD_DRAW_TO_WINDOW; in stw_pixelformat_add()
161 pfi->pfd.dwFlags |= PFD_SUPPORT_COMPOSITION; in stw_pixelformat_add()
164 pfi->pfd.dwFlags |= PFD_DOUBLEBUFFER | PFD_SWAP_EXCHANGE; in stw_pixelformat_add()
166 pfi->pfd.iPixelType = PFD_TYPE_RGBA; in stw_pixelformat_add()
[all …]
Dstw_ext_pixelformat.c59 const struct stw_pixelformat_info *pfi; in stw_query_attrib() local
68 pfi = stw_pixelformat_get_info( iPixelFormat ); in stw_query_attrib()
69 if (!pfi) { in stw_query_attrib()
75 *pvalue = pfi->pfd.dwFlags & PFD_DRAW_TO_WINDOW ? TRUE : FALSE; in stw_query_attrib()
79 *pvalue = pfi->pfd.dwFlags & PFD_DRAW_TO_BITMAP ? TRUE : FALSE; in stw_query_attrib()
83 *pvalue = pfi->pfd.dwFlags & PFD_NEED_PALETTE ? TRUE : FALSE; in stw_query_attrib()
87 *pvalue = pfi->pfd.dwFlags & PFD_NEED_SYSTEM_PALETTE ? TRUE : FALSE; in stw_query_attrib()
91 if (pfi->pfd.dwFlags & PFD_SWAP_COPY) in stw_query_attrib()
93 else if (pfi->pfd.dwFlags & PFD_SWAP_EXCHANGE) in stw_query_attrib()
113 *pvalue = pfi->bindToTextureRGB; in stw_query_attrib()
[all …]
Dstw_framebuffer.c255 const struct stw_pixelformat_info *pfi; in stw_framebuffer_create() local
276 fb->pfi = pfi = stw_pixelformat_get_info( iPixelFormat ); in stw_framebuffer_create()
596 if (!(fb->pfi->pfd.dwFlags & PFD_DOUBLEBUFFER)) { in DrvSwapBuffers()
Dstw_framebuffer.h69 const struct stw_pixelformat_info *pfi; member
Dstw_context.c147 const struct stw_pixelformat_info *pfi; in stw_create_context_attribs() local
173 pfi = stw_pixelformat_get_info( iPixelFormat ); in stw_create_context_attribs()
189 attribs.visual = pfi->stvis; in stw_create_context_attribs()
Dstw_st.c236 stwfb->stvis = fb->pfi->stvis; in stw_st_create_framebuffer()
/external/icu/icu4c/source/test/letest/
Dcfonts.cpp40 PortableFontInstance *pfi = (PortableFontInstance *) font; in le_getNameString() local
42 return pfi->getNameString(nameID, platform, encoding, language); in le_getNameString()
47 PortableFontInstance *pfi = (PortableFontInstance *) font; in le_getUnicodeNameString() local
49 return pfi->getUnicodeNameString(nameID, platform, encoding, language); in le_getUnicodeNameString()
54 PortableFontInstance *pfi = (PortableFontInstance *) font; in le_deleteNameString() local
56 pfi->deleteNameString(name); in le_deleteNameString()
61 PortableFontInstance *pfi = (PortableFontInstance *) font; in le_deleteUnicodeNameString() local
63 pfi->deleteNameString(name); in le_deleteUnicodeNameString()
68 PortableFontInstance *pfi = (PortableFontInstance *) font; in le_getFontChecksum() local
70 return pfi->getFontChecksum(); in le_getFontChecksum()
Dgendata.cpp240 … PortableFontInstance *pfi = new PortableFontInstance(getPath(buf,fontName), 12, leStatus); in main() local
250 …version = pfi->getNameString(NAME_VERSION_STRING, PLATFORM_MACINTOSH, MACINTOSH_ROMAN, MACINTOSH_E… in main()
255 …const LEUnicode16 *uversion = pfi->getUnicodeNameString(NAME_VERSION_STRING, PLATFORM_MICROSOFT, M… in main()
265 … fontName, uversion_utf8, pfi->getFontChecksum(), pfi->getRawChecksum()); in main()
267 pfi->deleteNameString(uversion); in main()
270 … fontName, pfi->getFontChecksum(), pfi->getFontChecksum(), pfi->getRawChecksum()); in main()
274 fontName, version, pfi->getFontChecksum(), pfi->getRawChecksum()); in main()
276 pfi->deleteNameString(version); in main()
282 font = pfi; in main()
/external/icu/icu4c/source/test/perf/leperf/
Dcfonts.cpp39 PortableFontInstance *pfi = (PortableFontInstance *) font; in le_getNameString() local
41 return pfi->getNameString(nameID, platform, encoding, language); in le_getNameString()
46 PortableFontInstance *pfi = (PortableFontInstance *) font; in le_getUnicodeNameString() local
48 return pfi->getUnicodeNameString(nameID, platform, encoding, language); in le_getUnicodeNameString()
53 PortableFontInstance *pfi = (PortableFontInstance *) font; in le_deleteNameString() local
55 pfi->deleteNameString(name); in le_deleteNameString()
60 PortableFontInstance *pfi = (PortableFontInstance *) font; in le_deleteUnicodeNameString() local
62 pfi->deleteNameString(name); in le_deleteUnicodeNameString()
67 PortableFontInstance *pfi = (PortableFontInstance *) font; in le_getFontChecksum() local
69 return pfi->getFontChecksum(); in le_getFontChecksum()
/external/libvncserver/test/
Dtjunittest.c341 unsigned long size=0; int pfi, pf, i; in doTest() local
350 for(pfi=0; pfi<nformats; pfi++) in doTest()
358 pf=formats[pfi]; in doTest()
/external/clang/test/Sema/
Dwarn-type-safety-mpi-hdf5.c142 struct pair_float_int *pfi, in test_mpi_predefined_types() argument
155 MPI_Send(pfi, 1, MPI_FLOAT_INT); // no-warning in test_mpi_predefined_types()
163 …MPI_Send(pfi, 1, MPI_2INT); // expected-warning {{argument type 'struct pair_float_int *' doesn't … in test_mpi_predefined_types()
/external/clang/test/SemaCXX/
Dmember-pointer.cpp16 int (A::*pfi)(int); variable
34 b = pfi; in f()
Daddr-of-overloaded-function.cpp10 int (*pfi)(int) = &f; // selects f(int) variable
/external/libjpeg-turbo/
Dtjunittest.c552 unsigned long size=0; int pfi, pf, i; in doTest() local
563 for(pfi=0; pfi<nformats; pfi++) in doTest()
572 pf=formats[pfi]; in doTest()