/third_party/libdrm/tests/kms/ |
D | libkms-test-screen.c | 29 static void kms_screen_probe(struct kms_screen *screen) in kms_screen_probe() argument 31 struct kms_device *device = screen->device; in kms_screen_probe() 34 con = drmModeGetConnector(device->fd, screen->id); in kms_screen_probe() 38 screen->type = con->connector_type; in kms_screen_probe() 41 screen->connected = true; in kms_screen_probe() 43 screen->connected = false; in kms_screen_probe() 46 memcpy(&screen->mode, &con->modes[0], sizeof(drmModeModeInfo)); in kms_screen_probe() 48 screen->width = screen->mode.hdisplay; in kms_screen_probe() 49 screen->height = screen->mode.vdisplay; in kms_screen_probe() 56 struct kms_screen *screen; in kms_screen_create() local [all …]
|
D | kms-steal-crtc.c | 47 struct kms_screen *screen; in main() local 88 screen = device->screens[0]; in main() 90 printf("Using screen %s, resolution %ux%u\n", screen->name, in main() 91 screen->width, screen->height); in main() 93 fb = kms_framebuffer_create(device, screen->width, screen->height, in main() 111 err = kms_screen_set(screen, device->crtcs[index++], fb); in main() 147 err = kms_screen_set(screen, device->crtcs[index], fb); in main()
|
D | libkms-test-device.c | 54 struct kms_screen *screen; in kms_device_probe_screens() local 64 device->screens = calloc(res->count_connectors, sizeof(screen)); in kms_device_probe_screens() 73 screen = kms_screen_create(device, res->connectors[i]); in kms_device_probe_screens() 74 if (!screen) in kms_device_probe_screens() 78 type = connector_names[screen->type]; in kms_device_probe_screens() 79 count = &counts[screen->type]; in kms_device_probe_screens() 83 screen->name = malloc(len + 1); in kms_device_probe_screens() 84 if (!screen->name) { in kms_device_probe_screens() 85 free(screen); in kms_device_probe_screens() 89 snprintf(screen->name, len + 1, "%s-%u", type, *count); in kms_device_probe_screens() [all …]
|
/third_party/uboot/u-boot-2020.01/board/gdsys/common/ |
D | osd.c | 40 #define OSD_SET_REG(screen, fld, val) \ argument 42 if (screen >= OSD_DH_BASE) \ 43 FPGA_SET_REG(screen - OSD_DH_BASE, osd1.fld, val); \ 45 FPGA_SET_REG(screen, osd0.fld, val); \ 48 #define OSD_SET_REG(screen, fld, val) \ argument 49 FPGA_SET_REG(screen, osd0.fld, val) 53 #define OSD_GET_REG(screen, fld, val) \ argument 55 if (screen >= OSD_DH_BASE) \ 56 FPGA_GET_REG(screen - OSD_DH_BASE, osd1.fld, val); \ 58 FPGA_GET_REG(screen, osd0.fld, val); \ [all …]
|
/third_party/pulseaudio/src/utils/ |
D | pax11publish.c | 43 int c, ret = 1, screen = 0; in main() local 96 if (!(xcb = xcb_connect(dname, &screen))) { in main() 109 if (pa_x11_get_prop(xcb, screen, "PULSE_SERVER", t, sizeof(t))) in main() 111 if (pa_x11_get_prop(xcb, screen, "PULSE_SOURCE", t, sizeof(t))) in main() 113 if (pa_x11_get_prop(xcb, screen, "PULSE_SINK", t, sizeof(t))) in main() 115 if (pa_x11_get_prop(xcb, screen, "PULSE_COOKIE", t, sizeof(t))) in main() 123 if (pa_x11_get_prop(xcb, screen, "PULSE_SERVER", t, sizeof(t))) in main() 125 if (pa_x11_get_prop(xcb, screen, "PULSE_SOURCE", t, sizeof(t))) in main() 127 if (pa_x11_get_prop(xcb, screen, "PULSE_SINK", t, sizeof(t))) in main() 130 if (pa_x11_get_prop(xcb, screen, "PULSE_COOKIE", t, sizeof(t))) { in main() [all …]
|
/third_party/flutter/skia/third_party/externals/sdl/test/ |
D | testgesture.c | 42 SDL_Surface *screen; variable 57 void setpix(SDL_Surface *screen, float _x, float _y, unsigned int col) in setpix() argument 66 if(x < 0 || x >= screen->w) return; in setpix() 67 if(y < 0 || y >= screen->h) return; in setpix() 69 pixmem32 = (Uint32*) screen->pixels + y*screen->pitch/BPP + x; in setpix() 71 SDL_memcpy(&colour,pixmem32,screen->format->BytesPerPixel); in setpix() 73 SDL_GetRGB(colour,screen->format,&r,&g,&b); in setpix() 81 colour = SDL_MapRGB( screen->format,r, g, b); in setpix() 87 void drawLine(SDL_Surface *screen,float x0,float y0,float x1,float y1,unsigned int col) { in drawLine() argument 90 setpix(screen,x1+t*(x0-x1),y1+t*(y0-y1),col); in drawLine() [all …]
|
D | testgamecontroller.c | 64 SDL_Renderer *screen = NULL; variable 109 SDL_SetRenderDrawColor(screen, 0xFF, 0xFF, 0xFF, SDL_ALPHA_OPAQUE); in loop() 110 SDL_RenderClear(screen); in loop() 111 SDL_RenderCopy(screen, background, NULL, NULL); in loop() 132 SDL_RenderCopyEx(screen, button, NULL, &dst, 0, NULL, SDL_FLIP_NONE); in loop() 142 SDL_RenderCopyEx(screen, axis, NULL, &dst, angle, NULL, SDL_FLIP_NONE); in loop() 146 SDL_RenderCopyEx(screen, axis, NULL, &dst, angle, NULL, SDL_FLIP_NONE); in loop() 150 SDL_RenderPresent(screen); in loop() 191 screen = SDL_CreateRenderer(window, -1, 0); in WatchGameController() 192 if (screen == NULL) { in WatchGameController() [all …]
|
D | testjoystick.c | 35 SDL_Renderer *screen = NULL; variable 54 SDL_SetRenderDrawColor(screen, 0x0, 0x0, 0x0, SDL_ALPHA_OPAQUE); in loop() 55 SDL_RenderClear(screen); in loop() 114 SDL_SetRenderDrawColor(screen, 0x00, 0xFF, 0x00, SDL_ALPHA_OPAQUE); in loop() 117 DrawRect(screen, (i%20) * 34, SCREEN_HEIGHT - 68 + (i/20) * 34, 32, 32); in loop() 121 SDL_SetRenderDrawColor(screen, 0xFF, 0x00, 0x00, SDL_ALPHA_OPAQUE); in loop() 147 DrawRect(screen, x, y, 16, 16); in loop() 150 SDL_SetRenderDrawColor(screen, 0x00, 0x00, 0xFF, SDL_ALPHA_OPAQUE); in loop() 169 DrawRect(screen, x, y, 8, 8); in loop() 172 SDL_RenderPresent(screen); in loop() [all …]
|
/third_party/ffmpeg/libavcodec/ |
D | ccaption_dec.c | 231 struct Screen screen[2]; member 294 ctx->screen[0].row_used = 0; in flush_decoder() 295 ctx->screen[1].row_used = 0; in flush_decoder() 317 static void write_char(CCaptionSubContext *ctx, struct Screen *screen, char ch) in write_char() argument 320 char *row = screen->characters[ctx->cursor_row]; in write_char() 321 char *font = screen->fonts[ctx->cursor_row]; in write_char() 322 char *charset = screen->charsets[ctx->cursor_row]; in write_char() 389 return ctx->screen + !ctx->active_screen; in get_writing_screen() 394 return ctx->screen + ctx->active_screen; in get_writing_screen() 402 struct Screen *screen; in roll_up() local [all …]
|
/third_party/libdrm/tests/ttmtest/src/ |
D | xf86dri.c | 147 uniDRIQueryDirectRenderingCapable(dpy, screen, isCapable) in uniDRIQueryDirectRenderingCapable() argument 149 int screen; 163 req->screen = screen; 178 uniDRIOpenConnection(dpy, screen, hSAREA, busIdString) in uniDRIOpenConnection() argument 180 int screen; 195 req->screen = screen; 228 uniDRIAuthConnection(dpy, screen, magic) in uniDRIAuthConnection() argument 230 int screen; 244 req->screen = screen; 260 uniDRICloseConnection(dpy, screen) in uniDRICloseConnection() argument [all …]
|
D | xf86dri.h | 75 Bool uniDRIQueryDirectRenderingCapable(Display * dpy, int screen, 78 Bool uniDRIOpenConnection(Display * dpy, int screen, drm_handle_t * hSAREA, 81 Bool uniDRIAuthConnection(Display * dpy, int screen, drm_magic_t magic); 83 Bool uniDRICloseConnection(Display * dpy, int screen); 85 Bool uniDRIGetClientDriverName(Display * dpy, int screen, 89 Bool uniDRICreateContext(Display * dpy, int screen, Visual * visual, 92 Bool uniDRICreateContextWithConfig(Display * dpy, int screen, int configID, 95 extern Bool uniDRIDestroyContext(Display * dpy, int screen, XID context_id); 97 extern Bool uniDRICreateDrawable(Display * dpy, int screen, 100 extern Bool uniDRIDestroyDrawable(Display * dpy, int screen, [all …]
|
/third_party/pulseaudio/src/modules/x11/ |
D | module-x11-publish.c | 79 int screen = DefaultScreen(pa_x11_wrapper_get_display(u->x11_wrapper)); in publish_servers() local 88 … pa_x11_set_prop(pa_x11_wrapper_get_xcb_connection(u->x11_wrapper), screen, "PULSE_SERVER", s); in publish_servers() 91 pa_x11_del_prop(pa_x11_wrapper_get_xcb_connection(u->x11_wrapper), screen, "PULSE_SERVER"); in publish_servers() 98 int screen; in servers_changed_cb() local 102 screen = DefaultScreen(pa_x11_wrapper_get_display(u->x11_wrapper)); in servers_changed_cb() 103 …if (!pa_x11_get_prop(pa_x11_wrapper_get_xcb_connection(u->x11_wrapper), screen, "PULSE_ID", t, siz… in servers_changed_cb() 137 int screen; in pa__init() local 170 screen = DefaultScreen(pa_x11_wrapper_get_display(u->x11_wrapper)); in pa__init() 175 pa_x11_set_prop(pa_x11_wrapper_get_xcb_connection(u->x11_wrapper), screen, "PULSE_ID", u->id); in pa__init() 178 …pa_x11_set_prop(pa_x11_wrapper_get_xcb_connection(u->x11_wrapper), screen, "PULSE_SESSION_ID", sid… in pa__init() [all …]
|
/third_party/gstreamer/gstplugins_good/gst/goom/ |
D | flying_stars_fx.c | 241 mx = goom_irand (info->gRandom, info->screen.width); in fs_sound_event_occured() 242 my = goom_irand (info->gRandom, info->screen.height); in fs_sound_event_occured() 243 dx = (mx - info->screen.width / 2); in fs_sound_event_occured() 244 dy = (my - info->screen.height / 2); in fs_sound_event_occured() 246 (info->screen.height / 2) * (info->screen.height / 2)); in fs_sound_event_occured() 251 mx = goom_irand (info->gRandom, info->screen.width); in fs_sound_event_occured() 252 if (mx > info->screen.width / 2) in fs_sound_event_occured() 253 mx = info->screen.width; in fs_sound_event_occured() 256 my = -(info->screen.height / 3) - goom_irand (info->gRandom, in fs_sound_event_occured() 257 info->screen.width / 3); in fs_sound_event_occured() [all …]
|
/third_party/pulseaudio/src/pulsecore/ |
D | x11prop.c | 34 static xcb_screen_t *screen_of_display(xcb_connection_t *xcb, int screen) { in screen_of_display() argument 40 for (; iter.rem; --screen, xcb_screen_next(&iter)) in screen_of_display() 41 if (0 == screen) in screen_of_display() 47 void pa_x11_set_prop(xcb_connection_t *xcb, int screen, const char *name, const char *data) { in pa_x11_set_prop() argument 55 if ((xs = screen_of_display(xcb, screen))) { in pa_x11_set_prop() 70 void pa_x11_del_prop(xcb_connection_t *xcb, int screen, const char *name) { in pa_x11_del_prop() argument 77 if ((xs = screen_of_display(xcb, screen))) { in pa_x11_del_prop() 89 char* pa_x11_get_prop(xcb_connection_t *xcb, int screen, const char *name, char *p, size_t l) { in pa_x11_get_prop() argument 101 xs = screen_of_display(xcb, screen); in pa_x11_get_prop() 108 if (!xs && 0 != screen) in pa_x11_get_prop()
|
/third_party/flutter/skia/third_party/externals/sdl/src/video/x11/ |
D | SDL_x11modes.c | 46 get_visualinfo(Display * display, int screen, XVisualInfo * vinfo) in get_visualinfo() argument 66 depth = DefaultDepth(display, screen); in get_visualinfo() 68 X11_XMatchVisualInfo(display, screen, depth, DirectColor, vinfo)) || in get_visualinfo() 69 X11_XMatchVisualInfo(display, screen, depth, TrueColor, vinfo) || in get_visualinfo() 70 X11_XMatchVisualInfo(display, screen, depth, PseudoColor, vinfo) || in get_visualinfo() 71 X11_XMatchVisualInfo(display, screen, depth, StaticColor, vinfo)) { in get_visualinfo() 368 int screen, i, n; in X11_InitModes_XRandR() local 371 for (screen = 0; screen < screencount; screen++) { in X11_InitModes_XRandR() 374 if (looking_for_primary && (screen != default_screen)) { in X11_InitModes_XRandR() 378 if (get_visualinfo(dpy, screen, &vinfo) < 0) { in X11_InitModes_XRandR() [all …]
|
/third_party/python/Lib/ |
D | turtle.py | 2486 def __init__(self, screen, shapeIndex): argument 2487 self.screen = screen 2492 screen = self.screen 2494 if self._type == "polygon" == screen._shapes[shapeIndex]._type: 2496 if self._type == "image" == screen._shapes[shapeIndex]._type: 2499 screen._delete(self._item) 2502 screen._delete(item) 2503 self._type = screen._shapes[shapeIndex]._type 2505 self._item = screen._createpoly() 2507 self._item = screen._createimage(screen._shapes["blank"]._data) [all …]
|
/third_party/flutter/skia/third_party/externals/angle2/src/third_party/libXNVCtrl/ |
D | NVCtrlLib.h | 61 Bool XNVCTRLIsNvScreen(Display *dpy, int screen); 99 int screen, 135 int screen, 176 int screen, 247 int screen, 285 int screen, 322 int screen, 456 int screen, 476 int screen, 501 int screen, [all …]
|
/third_party/skia/third_party/externals/angle2/src/third_party/libXNVCtrl/ |
D | NVCtrlLib.h | 61 Bool XNVCTRLIsNvScreen(Display *dpy, int screen); 99 int screen, 135 int screen, 176 int screen, 247 int screen, 285 int screen, 322 int screen, 456 int screen, 476 int screen, 501 int screen, [all …]
|
/third_party/skia/third_party/externals/opengl-registry/extensions/REND/ |
D | REND_screen_coordinates.txt | 27 This extension allows the specification of screen coordinate vertex 32 If we get screen coordinate inputs then in order to perspectively 51 inverse w. It would be much more efficient to simply specify screen 57 screen space. 59 Additionally if the application derives screen coordinates it is 62 w in the input screen coordinates. 74 * Should screen coordinates have been done as a hint instead of 80 * Should the texture matrix be applied to the input screen 85 * Should the raster position valid be set to invalid when screen 90 So the raster position calls will be specifying screen space [all …]
|
/third_party/openGLES/extensions/REND/ |
D | REND_screen_coordinates.txt | 27 This extension allows the specification of screen coordinate vertex 32 If we get screen coordinate inputs then in order to perspectively 51 inverse w. It would be much more efficient to simply specify screen 57 screen space. 59 Additionally if the application derives screen coordinates it is 62 w in the input screen coordinates. 74 * Should screen coordinates have been done as a hint instead of 80 * Should the texture matrix be applied to the input screen 85 * Should the raster position valid be set to invalid when screen 90 So the raster position calls will be specifying screen space [all …]
|
/third_party/python/Lib/turtledemo/ |
D | nim.py | 119 self.screen = game.screen 121 self.screen.colormode(255) 122 self.screen.tracer(False) 123 self.screen.bgcolor((240, 240, 255)) 132 self.screen.tracer(True) 135 self.screen.tracer(False) 144 self.screen.tracer(True) 147 self.screen.tracer(False) 155 self.screen.tracer(True) 181 self.screen.clear() [all …]
|
/third_party/skia/tools/sk_app/mac/ |
D | WindowContextFactory_mac.h | 24 UIScreen* screen = view.window.screen ?: [UIScreen mainScreen]; in GetBackingScaleFactor() local 25 return screen.nativeScale; in GetBackingScaleFactor() 27 NSScreen* screen = view.window.screen ?: [NSScreen mainScreen]; in GetBackingScaleFactor() 28 return screen.backingScaleFactor; in GetBackingScaleFactor()
|
/third_party/giflib/tests/ |
D | foobar.ico | 1 screen width 48 2 screen height 8 3 screen colors 2 4 screen background 0 7 screen map
|
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/xcb/ |
D | DisplayVkXcb.cpp | 22 EGLint GetXcbVisualType(xcb_screen_t *screen) in GetXcbVisualType() argument 25 for (xcb_depth_iterator_t depth_iter = xcb_screen_allowed_depths_iterator(screen); in GetXcbVisualType() 31 if (screen->root_visual == visual_iter.data->visual_id) in GetXcbVisualType() 102 xcb_screen_t *screen = screenIterator.data; in checkConfigSupport() local 103 ASSERT(screen); in checkConfigSupport() 106 config->nativeVisualID = screen->root_visual; in checkConfigSupport() 107 config->nativeVisualType = GetXcbVisualType(screen); in checkConfigSupport()
|
/third_party/flutter/skia/third_party/externals/angle2/src/gpu_info_util/ |
D | SystemInfo_x11.cpp | 36 for (int screen = 0; screen < screenCount; ++screen) in GetNvidiaDriverVersionWithXNVCtrl() local 39 if (XNVCTRLIsNvScreen(display, screen) && in GetNvidiaDriverVersionWithXNVCtrl() 40 XNVCTRLQueryStringAttribute(display, screen, 0, in GetNvidiaDriverVersionWithXNVCtrl()
|