| /OK3568_Linux_fs/external/xserver/hw/xfree86/os-support/linux/ |
| H A D | lnx_platform.c | 24 get_drm_info(struct OdevAttributes *attribs, char *path, int delayed_index) in get_drm_info() argument 33 fd = systemd_logind_take_fd(attribs->major, attribs->minor, path, &paused); in get_drm_info() 38 systemd_logind_release_fd(attribs->major, attribs->minor, -1); in get_drm_info() 41 attribs->fd = fd; in get_drm_info() 65 xf86_add_platform_device(attribs, FALSE); in get_drm_info() 94 const char *syspath = device->attribs->syspath; in xf86PlatformDeviceCheckBusID() 126 xf86PlatformReprobeDevice(int index, struct OdevAttributes *attribs) in xf86PlatformReprobeDevice() argument 129 char *dpath = attribs->path; in xf86PlatformReprobeDevice() 131 ret = get_drm_info(attribs, dpath, index); in xf86PlatformReprobeDevice() 142 xf86PlatformDeviceProbe(struct OdevAttributes *attribs) in xf86PlatformDeviceProbe() argument [all …]
|
| /OK3568_Linux_fs/external/xserver/config/ |
| H A D | config.c | 135 struct OdevAttributes *attribs = in config_odev_allocate_attributes() local 137 attribs->fd = -1; in config_odev_allocate_attributes() 138 return attribs; in config_odev_allocate_attributes() 142 config_odev_free_attributes(struct OdevAttributes *attribs) in config_odev_free_attributes() argument 144 if (attribs->fd != -1) in config_odev_free_attributes() 145 systemd_logind_release_fd(attribs->major, attribs->minor, attribs->fd); in config_odev_free_attributes() 146 free(attribs->path); in config_odev_free_attributes() 147 free(attribs->syspath); in config_odev_free_attributes() 148 free(attribs->busid); in config_odev_free_attributes() 149 free(attribs->driver); in config_odev_free_attributes() [all …]
|
| H A D | udev.c | 472 struct OdevAttributes *attribs = config_odev_allocate_attributes(); in config_udev_odev_setup_attribs() local 474 attribs->path = XNFstrdup(path); in config_udev_odev_setup_attribs() 475 attribs->syspath = XNFstrdup(syspath); in config_udev_odev_setup_attribs() 476 attribs->major = major; in config_udev_odev_setup_attribs() 477 attribs->minor = minor; in config_udev_odev_setup_attribs() 480 probe_callback(attribs); in config_udev_odev_setup_attribs()
|
| /OK3568_Linux_fs/yocto/meta-rockchip/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.22/ |
| H A D | 0012-glupload-Support-NV12_10LE40-and-NV12-NV12_10LE40-NV.patch | 69 guintptr attribs[41]; /* 6 + 10 * 3 + 4 + 1 */ 99 attribs[atti++] = EGL_DMA_BUF_PLANE0_OFFSET_EXT; 100 attribs[atti++] = offset[0]; 101 attribs[atti++] = EGL_DMA_BUF_PLANE0_PITCH_EXT; 102 - attribs[atti++] = get_egl_stride (in_info, 0); 103 + attribs[atti++] = get_egl_stride (in_info, 0) * stride_scale; 105 attribs[atti++] = EGL_DMA_BUF_PLANE0_MODIFIER_LO_EXT; 106 - attribs[atti++] = DRM_FORMAT_MOD_LINEAR & 0xffffffff; 107 + attribs[atti++] = modifier & 0xffffffff; 108 attribs[atti++] = EGL_DMA_BUF_PLANE0_MODIFIER_HI_EXT; [all …]
|
| /OK3568_Linux_fs/buildroot/package/gstreamer1/gst1-plugins-base/ |
| H A D | 0012-glupload-Support-NV12_10LE40-and-NV12-NV12_10LE40-NV.patch | 69 guintptr attribs[41]; /* 6 + 10 * 3 + 4 + 1 */ 99 attribs[atti++] = EGL_DMA_BUF_PLANE0_OFFSET_EXT; 100 attribs[atti++] = offset[0]; 101 attribs[atti++] = EGL_DMA_BUF_PLANE0_PITCH_EXT; 102 - attribs[atti++] = get_egl_stride (in_info, 0); 103 + attribs[atti++] = get_egl_stride (in_info, 0) * stride_scale; 105 attribs[atti++] = EGL_DMA_BUF_PLANE0_MODIFIER_LO_EXT; 106 - attribs[atti++] = DRM_FORMAT_MOD_LINEAR & 0xffffffff; 107 + attribs[atti++] = modifier & 0xffffffff; 108 attribs[atti++] = EGL_DMA_BUF_PLANE0_MODIFIER_HI_EXT; [all …]
|
| /OK3568_Linux_fs/yocto/meta-rockchip/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.20/ |
| H A D | 0012-glupload-Support-NV12_10LE40-and-NV12-NV12_10LE40-NV.patch | 69 guintptr attribs[41]; /* 6 + 10 * 3 + 4 + 1 */ 99 attribs[atti++] = EGL_DMA_BUF_PLANE0_OFFSET_EXT; 100 attribs[atti++] = offset[0]; 101 attribs[atti++] = EGL_DMA_BUF_PLANE0_PITCH_EXT; 102 - attribs[atti++] = in_info->stride[0]; 103 + attribs[atti++] = in_info->stride[0] * stride_scale; 105 attribs[atti++] = EGL_DMA_BUF_PLANE0_MODIFIER_LO_EXT; 106 - attribs[atti++] = DRM_FORMAT_MOD_LINEAR & 0xffffffff; 107 + attribs[atti++] = modifier & 0xffffffff; 108 attribs[atti++] = EGL_DMA_BUF_PLANE0_MODIFIER_HI_EXT; [all …]
|
| /OK3568_Linux_fs/external/xserver/glx/ |
| H A D | createcontext.c | 85 int32_t *attribs = (req->numAttribs != 0) ? (int32_t *) (req + 1) : NULL; in __glXDisp_CreateContextAttribsARB() local 172 switch (attribs[i * 2]) { in __glXDisp_CreateContextAttribsARB() 174 major_version = attribs[2 * i + 1]; in __glXDisp_CreateContextAttribsARB() 178 minor_version = attribs[2 * i + 1]; in __glXDisp_CreateContextAttribsARB() 182 flags = attribs[2 * i + 1]; in __glXDisp_CreateContextAttribsARB() 189 render_type = attribs[2 * i + 1]; in __glXDisp_CreateContextAttribsARB() 193 profile = attribs[2 * i + 1]; in __glXDisp_CreateContextAttribsARB() 197 reset = attribs[2 * i + 1]; in __glXDisp_CreateContextAttribsARB() 206 flush = attribs[2 * i + 1]; in __glXDisp_CreateContextAttribsARB() 218 if (attribs[2 * i + 1] != req->screen) in __glXDisp_CreateContextAttribsARB() [all …]
|
| H A D | glxcmdsswap.c | 265 CARD32 *attribs; in __glXDispSwap_CreatePixmap() local 284 attribs = (CARD32 *) (req + 1); in __glXDispSwap_CreatePixmap() 285 __GLX_SWAP_INT_ARRAY(attribs, req->numAttribs << 1); in __glXDispSwap_CreatePixmap() 358 CARD32 *attribs; in __glXDispSwap_CreatePbuffer() local 372 attribs = (CARD32 *) (req + 1); in __glXDispSwap_CreatePbuffer() 373 __GLX_SWAP_INT_ARRAY(attribs, req->numAttribs << 1); in __glXDispSwap_CreatePbuffer() 432 CARD32 *attribs; in __glXDispSwap_ChangeDrawableAttributes() local 447 attribs = (CARD32 *) (req + 1); in __glXDispSwap_ChangeDrawableAttributes() 448 __GLX_SWAP_INT_ARRAY(attribs, req->numAttribs << 1); in __glXDispSwap_ChangeDrawableAttributes() 461 CARD32 *attribs; in __glXDispSwap_ChangeDrawableAttributesSGIX() local [all …]
|
| H A D | glxdri2.c | 340 const uint32_t *attribs, in dri2_convert_glx_attribs() argument 349 if (attribs == NULL) { in dri2_convert_glx_attribs() 359 switch (attribs[i * 2]) { in dri2_convert_glx_attribs() 361 *major_ver = attribs[i * 2 + 1]; in dri2_convert_glx_attribs() 364 *minor_ver = attribs[i * 2 + 1]; in dri2_convert_glx_attribs() 367 *flags = attribs[i * 2 + 1]; in dri2_convert_glx_attribs() 372 switch (attribs[i * 2 + 1]) { in dri2_convert_glx_attribs() 393 switch (attribs[i * 2 + 1]) { in dri2_convert_glx_attribs() 446 const uint32_t *attribs, in create_driver_context() argument 463 if (!dri2_convert_glx_attribs(screen, num_attribs, attribs, in create_driver_context() [all …]
|
| /OK3568_Linux_fs/external/xserver/hw/dmx/ |
| H A D | dmxwindow.c | 56 XSetWindowAttributes * attribs); 80 XSetWindowAttributes attribs; in dmxCreateRootWindow() local 94 attribs.event_mask = ExposureMask; in dmxCreateRootWindow() 95 attribs.backing_store = NotUseful; in dmxCreateRootWindow() 96 attribs.colormap = pCmapPriv->cmap; in dmxCreateRootWindow() 97 attribs.border_pixel = 0; in dmxCreateRootWindow() 101 dmxDoChangeWindowAttributes(pWindow, &pWinPriv->attribMask, &attribs); in dmxCreateRootWindow() 113 pWindow->drawable.class, visual, mask, &attribs); in dmxCreateRootWindow() 218 XSetWindowAttributes attribs; in dmxCreateNonRootWindow() local 235 dmxDoChangeWindowAttributes(pWindow, &pWinPriv->attribMask, &attribs); in dmxCreateNonRootWindow() [all …]
|
| H A D | dmxinit.c | 214 XWindowAttributes attribs; in dmxPrintScreenInfo() local 221 XGetWindowAttributes(dpy, DefaultRootWindow(dpy), &attribs); in dmxPrintScreenInfo() 271 attribs.width, attribs.height); in dmxPrintScreenInfo() 277 attribs.depth, attribs.depth == 1 ? "" : "s", in dmxPrintScreenInfo() 299 XWindowAttributes attribs; in dmxGetScreenAttribs() local 306 XGetWindowAttributes(dpy, DefaultRootWindow(dpy), &attribs); in dmxGetScreenAttribs() 308 dmxScreen->beWidth = attribs.width; in dmxGetScreenAttribs() 309 dmxScreen->beHeight = attribs.height; in dmxGetScreenAttribs() 314 dmxScreen->scrnX = (attribs.width - dmxScreen->scrnWidth in dmxGetScreenAttribs() 318 dmxScreen->scrnWidth = attribs.width - dmxScreen->scrnX; in dmxGetScreenAttribs() [all …]
|
| H A D | dmxextension.c | 512 DMXScreenAttributesPtr attribs, int *errorScreen) in dmxConfigureScreenWindows() argument 517 DMXScreenAttributesPtr attr = &attribs[i]; in dmxConfigureScreenWindows() 576 DMXScreenAttributesPtr attr = &attribs[i]; in dmxConfigureScreenWindows() 625 dmxConfigureDesktop(DMXDesktopAttributesPtr attribs) in dmxConfigureDesktop() argument 627 if (attribs->width <= 0 || attribs->width >= 32767 || in dmxConfigureDesktop() 628 attribs->height <= 0 || attribs->height >= 32767) in dmxConfigureDesktop() 635 if (attribs->width < dmxGlobalWidth || attribs->height < dmxGlobalHeight) { in dmxConfigureDesktop() 642 + dmxScreen->rootWidth > attribs->width || in dmxConfigureDesktop() 644 + dmxScreen->rootHeight > attribs->height) { in dmxConfigureDesktop() 647 if ((w = attribs->width - dmxScreen->rootXOrigin) < 0) in dmxConfigureDesktop() [all …]
|
| H A D | dmxpict.c | 1028 XRenderPictureAttributes attribs; in dmxValidatePicture() local 1031 attribs.repeat = pPicture->repeatType; in dmxValidatePicture() 1039 attribs.alpha_map = pAlphaPriv->pict; in dmxValidatePicture() 1047 attribs.alpha_map = None; in dmxValidatePicture() 1051 attribs.alpha_x_origin = pPicture->alphaOrigin.x; in dmxValidatePicture() 1053 attribs.alpha_y_origin = pPicture->alphaOrigin.y; in dmxValidatePicture() 1055 attribs.clip_x_origin = pPicture->clipOrigin.x; in dmxValidatePicture() 1057 attribs.clip_y_origin = pPicture->clipOrigin.y; in dmxValidatePicture() 1061 attribs.graphics_exposures = pPicture->graphicsExposures; in dmxValidatePicture() 1063 attribs.subwindow_mode = pPicture->subWindowMode; in dmxValidatePicture() [all …]
|
| H A D | dmxscrinit.c | 95 XSetWindowAttributes attribs; in dmxBEScreenInit() local 122 attribs.background_pixel = dmxScreen->beBlackPixel; in dmxBEScreenInit() 123 attribs.event_mask = (KeyPressMask in dmxBEScreenInit() 131 attribs.colormap = dmxScreen->beDefColormaps[dmxScreen->beDefVisualIndex]; in dmxBEScreenInit() 132 attribs.override_redirect = True; in dmxBEScreenInit() 145 mask, &attribs); in dmxBEScreenInit()
|
| /OK3568_Linux_fs/external/xserver/include/ |
| H A D | hotplug.h | 68 config_odev_free_attributes(struct OdevAttributes *attribs); 70 typedef void (*config_odev_probe_proc_ptr)(struct OdevAttributes *attribs); 74 void NewGPUDeviceRequest(struct OdevAttributes *attribs); 75 void DeleteGPUDeviceRequest(struct OdevAttributes *attribs);
|
| /OK3568_Linux_fs/buildroot/package/weston/ |
| H A D | 0010-HACK-gl-renderer-Workaround-dmabuf-import-attach-for.patch | 34 attribs[atti++] = EGL_IMAGE_PRESERVED_KHR; 35 attribs[atti++] = EGL_TRUE; 39 + attribs[atti++] = EGL_YUV_COLOR_SPACE_HINT_EXT; 40 + attribs[atti++] = EGL_ITU_REC601_EXT; 41 + attribs[atti++] = EGL_SAMPLE_RANGE_HINT_EXT; 42 + attribs[atti++] = EGL_YUV_NARROW_RANGE_EXT;
|
| H A D | 0030-HACK-backend-drm-Consider-linear-and-invalid-modifie.patch | 27 attribs[atti++] = (int) buffer->offsets[plane_idx]; \ 28 attribs[atti++] = EGL_DMA_BUF_PLANE ## plane_idx ## _PITCH_EXT; \ 29 attribs[atti++] = (int) buffer->strides[plane_idx]; \ 33 attribs[atti++] = EGL_DMA_BUF_PLANE ## plane_idx ## _MODIFIER_LO_EXT; \ 34 attribs[atti++] = buffer->modifier & 0xFFFFFFFF; \ 35 attribs[atti++] = EGL_DMA_BUF_PLANE ## plane_idx ## _MODIFIER_HI_EXT; \ 156 attribs[atti++] = EGL_YUV_NARROW_RANGE_EXT;
|
| /OK3568_Linux_fs/yocto/meta-rockchip/recipes-graphics/wayland/weston_11.0.1/ |
| H A D | 0010-HACK-gl-renderer-Workaround-dmabuf-import-attach-for.patch | 34 attribs[atti++] = EGL_IMAGE_PRESERVED_KHR; 35 attribs[atti++] = EGL_TRUE; 39 + attribs[atti++] = EGL_YUV_COLOR_SPACE_HINT_EXT; 40 + attribs[atti++] = EGL_ITU_REC601_EXT; 41 + attribs[atti++] = EGL_SAMPLE_RANGE_HINT_EXT; 42 + attribs[atti++] = EGL_YUV_NARROW_RANGE_EXT;
|
| H A D | 0030-HACK-backend-drm-Consider-linear-and-invalid-modifie.patch | 27 attribs[atti++] = (int) buffer->offsets[plane_idx]; \ 28 attribs[atti++] = EGL_DMA_BUF_PLANE ## plane_idx ## _PITCH_EXT; \ 29 attribs[atti++] = (int) buffer->strides[plane_idx]; \ 33 attribs[atti++] = EGL_DMA_BUF_PLANE ## plane_idx ## _MODIFIER_LO_EXT; \ 34 attribs[atti++] = buffer->modifier & 0xFFFFFFFF; \ 35 attribs[atti++] = EGL_DMA_BUF_PLANE ## plane_idx ## _MODIFIER_HI_EXT; \ 156 attribs[atti++] = EGL_YUV_NARROW_RANGE_EXT;
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/positioning/ |
| H A D | qgeopositioninfo.cpp | 259 QList<QGeoPositionInfo::Attribute> attribs = info.d->doubleAttribs.keys(); in operator <<() local 260 std::stable_sort(attribs.begin(), attribs.end()); // Output a sorted list from an unsorted hash. in operator <<() 261 for (int i = 0; i < attribs.count(); ++i) { in operator <<() 263 switch (attribs[i]) { in operator <<() 283 dbg << info.d->doubleAttribs[attribs[i]]; in operator <<()
|
| H A D | qgeosatelliteinfo.cpp | 243 QList<int> attribs = info.d->doubleAttribs.keys(); in operator <<() local 244 for (int i = 0; i < attribs.count(); ++i) { in operator <<() 246 switch (attribs[i]) { in operator <<() 254 dbg << info.d->doubleAttribs[attribs[i]]; in operator <<()
|
| /OK3568_Linux_fs/external/xserver/hw/xfree86/common/ |
| H A D | xf86platformBus.c | 61 xf86_add_platform_device(struct OdevAttributes *attribs, Bool unowned) in xf86_add_platform_device() argument 67 xf86_platform_devices[xf86_num_platform_devices].attribs = attribs; in xf86_add_platform_device() 81 config_odev_free_attributes(xf86_platform_devices[dev_index].attribs); in xf86_remove_platform_device() 214 char *driver = dev->attribs->driver; in OutputClassMatches() 327 cl->identifier, dev->attribs->path); in xf86platformProbe() 387 cl->identifier, dev->attribs->path); in xf86MergeOutputClassOptions() 473 systemd_logind_release_fd(dev->attribs->major, dev->attribs->minor, dev->attribs->fd); in doPlatformProbe() 474 dev->attribs->fd = -1; in doPlatformProbe() 549 if (strcmp(xf86_platform_devices[j].attribs->path, devpath) == 0) in xf86platformProbeDev() 739 xf86PlatformReprobeDevice(i, xf86_platform_devices[i].attribs); in xf86platformVTProbe() [all …]
|
| H A D | xf86platformBus.h | 31 struct OdevAttributes *attribs; member 52 xf86_add_platform_device(struct OdevAttributes *attribs, Bool unowned); 66 return device->attribs; in xf86_platform_device_odev_attributes() 74 return device->attribs; in xf86_platform_odev_attributes()
|
| /OK3568_Linux_fs/yocto/meta-rockchip/recipes-graphics/wayland/weston_10.0.2/ |
| H A D | 0009-HACK-gl-renderer-Workaround-dmabuf-import-attach-for.patch | 34 attribs[atti++] = EGL_IMAGE_PRESERVED_KHR; 35 attribs[atti++] = EGL_TRUE; 39 + attribs[atti++] = EGL_YUV_COLOR_SPACE_HINT_EXT; 40 + attribs[atti++] = EGL_ITU_REC601_EXT; 41 + attribs[atti++] = EGL_SAMPLE_RANGE_HINT_EXT; 42 + attribs[atti++] = EGL_YUV_NARROW_RANGE_EXT;
|
| /OK3568_Linux_fs/external/xserver/hw/dmx/input/ |
| H A D | dmxconsole.c | 496 XSetWindowAttributes attribs; in dmxConsoleCollectEvents() local 538 attribs.override_redirect = True; in dmxConsoleCollectEvents() 539 XChangeWindowAttributes(dpy, win, CWOverrideRedirect, &attribs); in dmxConsoleCollectEvents() 548 attribs.override_redirect = False; in dmxConsoleCollectEvents() 549 XChangeWindowAttributes(dpy, win, CWOverrideRedirect, &attribs); in dmxConsoleCollectEvents() 764 XSetWindowAttributes attribs; in dmxConsoleInit() local 803 attribs.colormap = DefaultColormap(dpy, screen); in dmxConsoleInit() 804 if (XParseColor(dpy, attribs.colormap, CONSOLE_BG_COLOR, &color) in dmxConsoleInit() 805 && XAllocColor(dpy, attribs.colormap, &color)) { in dmxConsoleInit() 806 attribs.background_pixel = color.pixel; in dmxConsoleInit() [all …]
|