Lines Matching refs:GXRgb

37     GXRgb           bitmap_ground_color;
38 GXRgb bitmap_text_color;
40 GXRgb bitmap_frame[GX_LCD_SIZE_X * GX_LCD_SIZE_Y] ATTRIBUTE_ALIGN(32);
206 static const GXRgb pal[16] = { GX_RGB(0, 0, 0), GX_RGB(31, 31, 31), }; in DEMOInitDisplayBitmap()
289 GXRgb DEMOVerifyGXRgb(int color) in DEMOVerifyGXRgb()
301 return (GXRgb)color; in DEMOVerifyGXRgb()
313 void DEMOiSetBitmapTextColor(GXRgb color) in DEMOiSetBitmapTextColor()
328 void DEMOiSetBitmapGroundColor(GXRgb color) in DEMOiSetBitmapGroundColor()
347 void DEMOiFillRect(int x, int y, int wx, int wy, GXRgb color) in DEMOiFillRect()
362 GXRgb *dst = &context->bitmap_frame[x + y * GX_LCD_SIZE_X]; in DEMOiFillRect()
365 MI_CpuFill16(dst, color, wx * sizeof(GXRgb)); in DEMOiFillRect()
387 void DEMOBlitRect(int x, int y, int wx, int wy, const GXRgb *image, int stroke) in DEMOBlitRect()
402 GXRgb *dst = &context->bitmap_frame[x + y * GX_LCD_SIZE_X]; in DEMOBlitRect()
405 MI_CpuCopy16(image, dst, wx * sizeof(GXRgb)); in DEMOBlitRect()
428 void DEMOBlitTex16(int x, int y, int wx, int wy, const void *chr, const GXRgb *plt) in DEMOBlitTex16()
445 GXRgb *dst = &context->bitmap_frame[x + y * GX_LCD_SIZE_X]; in DEMOBlitTex16()
460 … dst[(ty + dy) * GX_LCD_SIZE_X + tx + dx] = (GXRgb)(plt[index] | 0x8000); in DEMOBlitTex16()
486 void DEMOiDrawLine(int sx, int sy, int tx, int ty, GXRgb color) in DEMOiDrawLine()
497 GXRgb *dst = NULL; in DEMOiDrawLine()
540 MI_CpuFill16(dst, color, wx * sizeof(GXRgb)); in DEMOiDrawLine()
593 void DEMOiDrawFrame(int x, int y, int wx, int wy, GXRgb color) in DEMOiDrawFrame()
625 GXRgb *p = &context->bitmap_frame[x + y * GX_LCD_SIZE_X]; in DEMODrawText()
626 GXRgb txt = context->bitmap_text_color; in DEMODrawText()
627 GXRgb gnd = context->bitmap_ground_color; in DEMODrawText()
691 GXRgb *dst = &p[GX_LCD_SIZE_X * oy + px]; in DEMODrawText()