Home
last modified time | relevance | path

Searched refs:PixelBytes (Results 1 – 5 of 5) sorted by relevance

/freebsd-13.1/lib/libvgl/
H A Dbitmap.c139 width = width * dst->PixelBytes; in WriteVerticalLine()
140 pos = (dst->VXsize * y + x) * dst->PixelBytes; in WriteVerticalLine()
155 address = dst->Bitmap + (dst->VXsize * y + x) * dst->PixelBytes; in WriteVerticalLine()
156 bcopy(line, address, width * dst->PixelBytes); in WriteVerticalLine()
176 buffer = alloca(width*src->PixelBytes); in __VGLBitmapCopy()
213 p = src->Bitmap+(srcline*src->VXsize+srcx)*dst->PixelBytes; in __VGLBitmapCopy()
215 bcopy(p, buffer, width*src->PixelBytes); in __VGLBitmapCopy()
274 object->PixelBytes = VGLDisplay->PixelBytes; in VGLBitmapCreate()
289 object->Bitmap = malloc(object->VXsize*object->VYsize*object->PixelBytes); in VGLBitmapAllocateBits()
302 srcpb = src->PixelBytes; in VGLBitmapCvt()
[all …]
H A Dsimple.c66 offset = (y * object->VXsize + x) * object->PixelBytes; in VGLSetXY()
79 switch (object->PixelBytes) { in VGLSetXY()
149 offset = (y * object->VXsize + x) * object->PixelBytes; in VGLGetXY()
150 switch (object->PixelBytes) { in VGLGetXY()
493 src.Bitmap = alloca(object->VXsize * object->PixelBytes); in VGLClear()
494 src.PixelBytes = object->PixelBytes; in VGLClear()
497 bcopy(&color, src.Bitmap + i * object->PixelBytes, object->PixelBytes); in VGLClear()
H A Dmain.c203 VGLDisplay->PixelBytes = 1; in VGLInit()
212 VGLDisplay->PixelBytes = 1; in VGLInit()
216 VGLDisplay->PixelBytes = 1; in VGLInit()
219 VGLDisplay->PixelBytes = VGLModeInfo.vi_pixel_size; in VGLInit()
220 switch (VGLDisplay->PixelBytes) { in VGLInit()
H A Dmouse.c417 bcopy(&VGLMouseOrMask->Bitmap[pos * VGLDisplay->PixelBytes], in VGLMouseMerge()
418 &line[(x1 - x) * VGLDisplay->PixelBytes], VGLDisplay->PixelBytes); in VGLMouseMerge()
H A Dvgl.h48 int PixelBytes; member