Home
last modified time | relevance | path

Searched refs:width_bytes (Results 1 – 3 of 3) sorted by relevance

/third_party/flutter/skia/third_party/externals/sdl/src/video/x11/
DSDL_x11mouse.c129 unsigned int width_bytes = ((surface->w + 7) & ~7) / 8; in X11_CreatePixmapCursor() local
131 data_bits = SDL_calloc(1, surface->h * width_bytes); in X11_CreatePixmapCursor()
137 mask_bits = SDL_calloc(1, surface->h * width_bytes); in X11_CreatePixmapCursor()
156 mask_bits[y * width_bytes + x / 8] |= (0x01 << (x % 8)); in X11_CreatePixmapCursor()
163 data_bits[y * width_bytes + x / 8] |= (0x01 << (x % 8)); in X11_CreatePixmapCursor()
/third_party/mesa3d/src/egl/drivers/dri2/
Dplatform_drm.c528 int x_bytes, width_bytes; in swrast_put_image2() local
545 width_bytes = width * (bpp >> 3); in swrast_put_image2()
556 memcpy(dst, src, width_bytes); in swrast_put_image2()
577 int x_bytes, width_bytes; in swrast_get_image() local
590 width_bytes = width * (bpp >> 3); in swrast_get_image()
593 stride = width_bytes; in swrast_get_image()
602 memcpy(dst, src, width_bytes); in swrast_get_image()
/third_party/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_mipmap_tree.c2721 const unsigned width_bytes = _mesa_format_row_stride(mt->format, map->w); in brw_miptree_map_movntdqa() local
2723 map->stride = ALIGN(misalignment + width_bytes, 16); in brw_miptree_map_movntdqa()
2735 _mesa_streaming_load_memcpy(dst_ptr, src_ptr, width_bytes); in brw_miptree_map_movntdqa()