Home
last modified time | relevance | path

Searched refs:modes (Results 1 – 25 of 543) sorted by relevance

12345678910>>...22

/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/common/
Dutils.c252 struct gl_config *modes; in driCreateConfigs() local
337 modes = &(*c)->modes; in driCreateConfigs()
340 memset(modes, 0, sizeof *modes); in driCreateConfigs()
341 modes->redBits = bits[0]; in driCreateConfigs()
342 modes->greenBits = bits[1]; in driCreateConfigs()
343 modes->blueBits = bits[2]; in driCreateConfigs()
344 modes->alphaBits = bits[3]; in driCreateConfigs()
345 modes->redMask = masks[0]; in driCreateConfigs()
346 modes->greenMask = masks[1]; in driCreateConfigs()
347 modes->blueMask = masks[2]; in driCreateConfigs()
[all …]
/external/mesa3d/src/mesa/drivers/dri/common/
Dutils.c252 struct gl_config *modes; in driCreateConfigs() local
337 modes = &(*c)->modes; in driCreateConfigs()
340 memset(modes, 0, sizeof *modes); in driCreateConfigs()
341 modes->redBits = bits[0]; in driCreateConfigs()
342 modes->greenBits = bits[1]; in driCreateConfigs()
343 modes->blueBits = bits[2]; in driCreateConfigs()
344 modes->alphaBits = bits[3]; in driCreateConfigs()
345 modes->redMask = masks[0]; in driCreateConfigs()
346 modes->greenMask = masks[1]; in driCreateConfigs()
347 modes->blueMask = masks[2]; in driCreateConfigs()
[all …]
/external/chromium_org/ash/display/
Ddisplay_change_observer_chromeos_unittest.cc21 ScopedVector<const ui::DisplayMode> modes; in TEST_F() local
22 modes.push_back(new ui::DisplayMode(gfx::Size(1920, 1200), false, 60)); in TEST_F()
25 modes.push_back(new ui::DisplayMode(gfx::Size(1920, 1080), false, 80)); in TEST_F()
26 modes.push_back(new ui::DisplayMode(gfx::Size(1920, 1080), false, 70)); in TEST_F()
27 modes.push_back(new ui::DisplayMode(gfx::Size(1920, 1080), false, 60)); in TEST_F()
30 modes.push_back(new ui::DisplayMode(gfx::Size(1280, 720), true, 60)); in TEST_F()
31 modes.push_back(new ui::DisplayMode(gfx::Size(1280, 720), false, 60)); in TEST_F()
34 modes.push_back(new ui::DisplayMode(gfx::Size(1024, 768), true, 70)); in TEST_F()
35 modes.push_back(new ui::DisplayMode(gfx::Size(1024, 768), true, 60)); in TEST_F()
38 modes.push_back(new ui::DisplayMode(gfx::Size(1024, 600), true, 60)); in TEST_F()
[all …]
/external/qemu/distrib/sdl-1.2.15/src/video/vgl/
DSDL_vglvideo.c75 VGLMode **modes; in VGL_Available() local
90 modes = VGLListModes(8, V_INFO_MM_DIRECT | V_INFO_MM_PACKED); in VGL_Available()
92 for (i = 0; modes[i] != NULL; i++) { in VGL_Available()
93 if ((modes[i]->ModeInfo.Xsize > 320) && in VGL_Available()
94 (modes[i]->ModeInfo.Ysize > 200) && in VGL_Available()
95 ((modes[i]->ModeInfo.Type == VIDBUF8) || in VGL_Available()
96 (modes[i]->ModeInfo.Type == VIDBUF16) || in VGL_Available()
97 (modes[i]->ModeInfo.Type == VIDBUF32))) { in VGL_Available()
233 VGLMode **modes; in VGL_VideoInit() local
273 modes = VGLListModes(-1, V_INFO_MM_DIRECT | V_INFO_MM_PACKED); in VGL_VideoInit()
[all …]
/external/chromium_org/ui/display/chromeos/
Ddisplay_configurator_unittest.cc385 std::vector<const DisplayMode*> modes; in SetUp() local
386 modes.push_back(&small_mode_); in SetUp()
391 o->set_modes(modes); in SetUp()
400 modes.push_back(&big_mode_); in SetUp()
401 o->set_modes(modes); in SetUp()
472 ScopedVector<const DisplayMode> modes; in TEST_F() local
475 modes.push_back(new DisplayMode(gfx::Size(1920, 1200), false, 60.0)); in TEST_F()
477 modes.push_back(new DisplayMode(gfx::Size(1920, 1080), false, 30.0)); in TEST_F()
478 modes.push_back(new DisplayMode(gfx::Size(1920, 1080), false, 50.0)); in TEST_F()
479 modes.push_back(new DisplayMode(gfx::Size(1920, 1080), false, 40.0)); in TEST_F()
[all …]
/external/chromium_org/remoting/host/
Ddesktop_resizer_mac.cc39 base::ScopedCFTypeRef<CFMutableArrayRef>* modes,
60 base::ScopedCFTypeRef<CFMutableArrayRef> modes; in GetSupportedResolutions() local
62 GetSupportedModesAndResolutions(&modes, &resolutions); in GetSupportedResolutions()
72 base::ScopedCFTypeRef<CFMutableArrayRef> modes; in SetResolution() local
74 GetSupportedModesAndResolutions(&modes, &resolutions); in SetResolution()
84 CFArrayGetValueAtIndex(modes, index))); in SetResolution()
121 base::ScopedCFTypeRef<CFMutableArrayRef>* modes, in GetSupportedModesAndResolutions() argument
134 modes->reset(CFArrayCreateMutableCopy(NULL, 0, all_modes)); in GetSupportedModesAndResolutions()
135 CFIndex count = CFArrayGetCount(*modes); in GetSupportedModesAndResolutions()
139 CFArrayGetValueAtIndex(*modes, i))); in GetSupportedModesAndResolutions()
[all …]
/external/qemu/distrib/sdl-1.2.15/src/video/x11/
DSDL_x11modes.c123 SDL_NAME(XF86VidModeModeInfo) **modes; in set_best_resolution()
129 SDL_NAME(XF86VidModeGetAllModeLines)(SDL_Display,SDL_Screen,&nmodes,&modes) ) { in set_best_resolution()
131 if ( (modes[i]->hdisplay == width) && in set_best_resolution()
132 (modes[i]->vdisplay == height) ) { in set_best_resolution()
136 if ( modes[i]->hdisplay >= width && in set_best_resolution()
137 modes[i]->vdisplay >= height ) { in set_best_resolution()
139 (modes[i]->hdisplay < modes[best]->hdisplay && in set_best_resolution()
140 modes[i]->vdisplay <= modes[best]->vdisplay) || in set_best_resolution()
141 (modes[i]->vdisplay < modes[best]->vdisplay && in set_best_resolution()
142 modes[i]->hdisplay <= modes[best]->hdisplay) ) { in set_best_resolution()
[all …]
/external/qemu/distrib/sdl-1.2.15/src/video/photon/
DSDL_ph_modes.c79 if (PgGetVideoModeInfo(mode_list.modes[i], &mode_info) < 0) in ph_ListModes()
81 …Error("ph_ListModes(): PgGetVideoModeInfo() function failed on mode: 0x%X.\n", mode_list.modes[i]); in ph_ListModes()
135 if (PgGetVideoModeInfo(mode_list.modes[i], &mode_info) < 0) in ph_GetVideoMode()
143 return mode_list.modes[i]; in ph_GetVideoMode()
151 closestmode=mode_list.modes[i]; in ph_GetVideoMode()
162 return (i == mode_list.num_modes) ? 0 : mode_list.modes[i]; in ph_GetVideoMode()
176 SDL_qsort(mode_list.modes, mode_list.num_modes, sizeof(unsigned short), compare_modes_by_res); in get_mode_any_format()
180 if (PgGetVideoModeInfo(mode_list.modes[i], &mode_info) < 0) in get_mode_any_format()
196 return mode_list.modes[closest]; in get_mode_any_format()
203 if (PgGetVideoModeInfo(mode_list.modes[i], &mode_info) < 0) in get_mode_any_format()
[all …]
/external/chromium_org/remoting/webapp/
Dui_mode.js66 remoting.hasModeAttribute = function(element, attrName, modes) { argument
68 for (var i = 0; i < modes.length; ++i) {
69 if (attr.match(new RegExp('(\\s|^)' + modes[i] + '(\\s|$)')) != null) {
84 var modes = mode.split('.');
85 for (var i = 1; i < modes.length; ++i)
86 modes[i] = modes[i - 1] + '.' + modes[i];
92 if (!remoting.hasModeAttribute(element, attr, modes)) {
98 if (remoting.hasModeAttribute(element, attr, modes)) {
/external/chromium_org/v8/tools/testrunner/local/
Dperfdata.py107 modes = self.stores[arch]
108 for mode in modes:
109 store = modes[mode]
117 modes = self.stores[arch]
118 if not mode in modes:
119 modes[mode] = PerfDataStore(self.datadir, arch, mode)
120 return modes[mode]
/external/chromium_org/third_party/skia/src/effects/
DSkMergeImageFilter.cpp31 void SkMergeImageFilter::initModes(const SkXfermode::Mode modes[]) { in initModes() argument
32 if (modes) { in initModes()
36 fModes[i] = SkToU8(modes[i]); in initModes()
47 SkXfermode::Mode modes[] = { mode, mode }; in SkMergeImageFilter() local
48 this->initModes(modes); in SkMergeImageFilter()
55 const SkXfermode::Mode modes[], in SkMergeImageFilter() argument
58 this->initModes(modes); in SkMergeImageFilter()
/external/skia/src/effects/
DSkMergeImageFilter.cpp31 void SkMergeImageFilter::initModes(const SkXfermode::Mode modes[]) { in initModes() argument
32 if (modes) { in initModes()
36 fModes[i] = SkToU8(modes[i]); in initModes()
47 SkXfermode::Mode modes[] = { mode, mode }; in SkMergeImageFilter() local
48 this->initModes(modes); in SkMergeImageFilter()
55 const SkXfermode::Mode modes[], in SkMergeImageFilter() argument
58 this->initModes(modes); in SkMergeImageFilter()
/external/mesa3d/src/glx/
Dvertarr.c137 static const modes[14][4] = { in __indirect_glInterleavedArrays() local
184 offsets[i] = (modes[idx][i].count != 0) ? size : -1; in __indirect_glInterleavedArrays()
185 size += modes[idx][i].size; in __indirect_glInterleavedArrays()
194 __indirect_glTexCoordPointer(modes[idx][0].count, GL_FLOAT, in __indirect_glInterleavedArrays()
199 __indirect_glColorPointer(modes[idx][1].count, modes[idx][1].type, in __indirect_glInterleavedArrays()
209 __indirect_glVertexPointer(modes[idx][3].count, GL_FLOAT, in __indirect_glInterleavedArrays()
/external/chromium_org/third_party/mesa/src/src/glx/
Dvertarr.c137 static const modes[14][4] = { in __indirect_glInterleavedArrays() local
184 offsets[i] = (modes[idx][i].count != 0) ? size : -1; in __indirect_glInterleavedArrays()
185 size += modes[idx][i].size; in __indirect_glInterleavedArrays()
194 __indirect_glTexCoordPointer(modes[idx][0].count, GL_FLOAT, in __indirect_glInterleavedArrays()
199 __indirect_glColorPointer(modes[idx][1].count, modes[idx][1].type, in __indirect_glInterleavedArrays()
209 __indirect_glVertexPointer(modes[idx][3].count, GL_FLOAT, in __indirect_glInterleavedArrays()
/external/qemu/distrib/sdl-1.2.15/src/video/Xext/Xxf86dga/
DXF86DGA2.c295 SDL_NAME(XDGAMode) *modes = NULL; in SDL_NAME()
315 modes = (SDL_NAME(XDGAMode)*)Xmalloc((rep.number * sizeof(SDL_NAME(XDGAMode))) + size); in SDL_NAME()
316 offset = (char*)(&modes[rep.number]); /* start of text */ in SDL_NAME()
319 if(modes) { in SDL_NAME()
323 modes[i].num = info.num; in SDL_NAME()
324 modes[i].verticalRefresh = in SDL_NAME()
326 modes[i].flags = info.flags; in SDL_NAME()
327 modes[i].imageWidth = info.image_width; in SDL_NAME()
328 modes[i].imageHeight = info.image_height; in SDL_NAME()
329 modes[i].pixmapWidth = info.pixmap_width; in SDL_NAME()
[all …]
/external/qemu/distrib/sdl-1.2.15/src/video/bwindow/
DSDL_sysvideo.cc262 display_mode *modes; in BE_VideoInit() local
289 bscreen.GetModeList(&modes, &nmodes); in BE_VideoInit()
290 SDL_qsort(modes, nmodes, sizeof *modes, CompareModes); in BE_VideoInit()
292 bpp = ColorSpaceToBitsPerPixel(modes[i].space); in BE_VideoInit()
294 if ( modes[i].space == saved_mode.space ) { in BE_VideoInit()
296 modes[i].virtual_width, in BE_VideoInit()
297 modes[i].virtual_height); in BE_VideoInit()
327 SDL_Rect **modes; in BE_ListModes() local
329 modes = ((SDL_Rect **)0); in BE_ListModes()
331 modes = SDL_modelist[((format->BitsPerPixel+7)/8)-1]; in BE_ListModes()
[all …]
/external/qemu/distrib/sdl-1.2.15/src/video/dga/
DSDL_dgavideo.c336 SDL_NAME(XDGAMode) *modes; in DGA_VideoInit()
413 modes = SDL_NAME(XDGAQueryModes)(DGA_Display, DGA_Screen, &num_modes); in DGA_VideoInit()
414 SDL_qsort(modes, num_modes, sizeof *modes, cmpmodes); in DGA_VideoInit()
416 if ( ((modes[i].visualClass == PseudoColor) || in DGA_VideoInit()
417 (modes[i].visualClass == DirectColor) || in DGA_VideoInit()
418 (modes[i].visualClass == TrueColor)) && in DGA_VideoInit()
419 !(modes[i].flags & (XDGAInterlaced|XDGADoublescan)) ) { in DGA_VideoInit()
421 PrintMode(&modes[i]); in DGA_VideoInit()
423 DGA_AddMode(this, modes[i].bitsPerPixel, in DGA_VideoInit()
424 modes[i].viewportWidth, in DGA_VideoInit()
[all …]
/external/wpa_supplicant_8/src/drivers/
Ddriver_test.c2433 struct hostapd_hw_modes *modes; in wpa_driver_test_get_hw_feature_data() local
2438 modes = os_calloc(*num_modes, sizeof(struct hostapd_hw_modes)); in wpa_driver_test_get_hw_feature_data()
2439 if (modes == NULL) in wpa_driver_test_get_hw_feature_data()
2441 modes[0].mode = HOSTAPD_MODE_IEEE80211G; in wpa_driver_test_get_hw_feature_data()
2442 modes[0].num_channels = 11; in wpa_driver_test_get_hw_feature_data()
2443 modes[0].num_rates = 12; in wpa_driver_test_get_hw_feature_data()
2444 modes[0].channels = os_calloc(11, sizeof(struct hostapd_channel_data)); in wpa_driver_test_get_hw_feature_data()
2445 modes[0].rates = os_calloc(modes[0].num_rates, sizeof(int)); in wpa_driver_test_get_hw_feature_data()
2446 if (modes[0].channels == NULL || modes[0].rates == NULL) in wpa_driver_test_get_hw_feature_data()
2449 modes[0].channels[i].chan = i + 1; in wpa_driver_test_get_hw_feature_data()
[all …]
/external/chromium_org/third_party/mesa/src/src/mesa/main/
Dquerymatrix.c118 } modes[] = { in _es_QueryMatrixxOES() local
136 for (i = 0; i < sizeof(modes)/sizeof(modes[0]); i++) { in _es_QueryMatrixxOES()
137 if (modes[i].currentMode == currentMode) { in _es_QueryMatrixxOES()
138 desiredMatrix = modes[i].desiredMatrix; in _es_QueryMatrixxOES()
/external/mesa3d/src/mesa/main/
Dquerymatrix.c116 } modes[] = { in _es_QueryMatrixxOES() local
134 for (i = 0; i < sizeof(modes)/sizeof(modes[0]); i++) { in _es_QueryMatrixxOES()
135 if (modes[i].currentMode == currentMode) { in _es_QueryMatrixxOES()
136 desiredMatrix = modes[i].desiredMatrix; in _es_QueryMatrixxOES()
/external/chromium_org/ui/display/chromeos/test/
Dtest_display_snapshot.h22 const std::vector<const DisplayMode*>& modes,
28 void set_modes(const std::vector<const DisplayMode*>& modes) { in set_modes() argument
29 modes_ = modes; in set_modes()
/external/qemu-pc-bios/vgabios/
DChangeLog17 - added support for a lot more non-standard VBE modes (e.g. widescreen modes)
58 - added debug message for unsupported VBE modes
64 - in LFB modes the number of banks must be set to 1
104 - improved VGA compatible setup for VBE modes (disable CGA and Hercules
111 - improved VGA compatible setup for >=8bpp VBE modes (CRTC doubleword mode and
119 - init 4bpp VBE modes by a temporary switch to VGA mode 0x6A
120 - all 4bpp VBE modes now enabled
126 - VGA compatible setup for VBE modes improved (Bochs hack can be removed now)
162 * only add modes that fit in video memory (still 4 MB)
296 - Cirrus extension: support for 1280x1024x15 and 1280x1024x16 modes added (patch
[all …]
/external/skia/include/effects/
DSkMergeImageFilter.h25 const SkXfermode::Mode modes[] = NULL,
27 return SkNEW_ARGS(SkMergeImageFilter, (filters, count, modes, cropRect));
37 const SkXfermode::Mode modes[] = NULL,
/external/chromium_org/third_party/skia/include/effects/
DSkMergeImageFilter.h25 const SkXfermode::Mode modes[] = NULL,
27 return SkNEW_ARGS(SkMergeImageFilter, (filters, count, modes, cropRect));
37 const SkXfermode::Mode modes[] = NULL,
/external/chromium_org/third_party/skia/gm/
Dlumafilter.cpp113 SkXfermode::Mode modes[] = { SkXfermode::kSrcOver_Mode, in onDraw() local
131 for (size_t i = 0; i < SK_ARRAY_COUNT(modes); ++i) { in onDraw()
132 draw_label(canvas, SkXfermode::ModeName(modes[i]), in onDraw()
139 for (size_t m = 0; m < SK_ARRAY_COUNT(modes); ++m) { in onDraw()
140 draw_scene(canvas, fFilter, modes[m], shaders[i].fShader1, in onDraw()

12345678910>>...22