/GUIX-v6.4.1/common/src/ |
D | gx_canvas_create.c | 89 UINT _gx_canvas_create(GX_CANVAS *canvas, GX_CONST GX_CHAR *name, GX_DISPLAY *display, in _gx_canvas_create() argument 93 memset(canvas, 0, sizeof(GX_CANVAS)); in _gx_canvas_create() 96 canvas -> gx_canvas_display = display; in _gx_canvas_create() 97 canvas -> gx_canvas_memory = memory_area; in _gx_canvas_create() 98 canvas -> gx_canvas_memory_size = memory_size; in _gx_canvas_create() 99 canvas -> gx_canvas_alpha = GX_ALPHA_VALUE_OPAQUE; in _gx_canvas_create() 100 canvas -> gx_canvas_display_offset_x = 0; in _gx_canvas_create() 101 canvas -> gx_canvas_display_offset_y = 0; in _gx_canvas_create() 102 canvas -> gx_canvas_draw_count = 0; in _gx_canvas_create() 103 canvas -> gx_canvas_draw_nesting = 0; in _gx_canvas_create() [all …]
|
D | gx_canvas_composite_create.c | 80 GX_CANVAS *canvas; in _gx_canvas_composite_create() local 88 canvas = _gx_system_canvas_created_list; in _gx_canvas_composite_create() 100 while (canvas) in _gx_canvas_composite_create() 103 if (canvas -> gx_canvas_status & GX_CANVAS_COMPOSITE) in _gx_canvas_composite_create() 106 composite = canvas; in _gx_canvas_composite_create() 111 … if ((canvas -> gx_canvas_status & GX_CANVAS_MANAGED_VISIBLE) == GX_CANVAS_MANAGED_VISIBLE) in _gx_canvas_composite_create() 114 if (canvas -> gx_canvas_draw_count > 0) in _gx_canvas_composite_create() 116 dirty = canvas -> gx_canvas_dirty_area; in _gx_canvas_composite_create() 117 _gx_utility_rectangle_shift(&dirty, canvas -> gx_canvas_display_offset_x, in _gx_canvas_composite_create() 118 canvas -> gx_canvas_display_offset_y); in _gx_canvas_composite_create() [all …]
|
D | gx_system_canvas_refresh.c | 86 GX_CANVAS *canvas = root -> gx_window_root_canvas; local 102 if (canvas -> gx_canvas_draw_count > 0) 104 _gx_system_dirty_partial_add((GX_WIDGET *)root, &canvas -> gx_canvas_dirty_area); 105 canvas -> gx_canvas_draw_count = 0; 110 …dirty_width = (GX_VALUE)(canvas -> gx_canvas_memory_size / canvas -> gx_canvas_display -> gx_displ… 122 …dirty_height = (GX_VALUE)(canvas -> gx_canvas_memory_size / canvas -> gx_canvas_display -> gx_disp… 134 dirty_list_entry = canvas -> gx_canvas_dirty_list; 137 for (index = 0; index < canvas -> gx_canvas_dirty_count; index++) 180 …dirty_height = (GX_VALUE)(canvas -> gx_canvas_memory_size / canvas -> gx_canvas_display -> gx_disp… 192 status = _gx_canvas_drawing_initiate(canvas, drawit, &dirty_frame); [all …]
|
D | gx_canvas_drawing_initiate.c | 94 UINT _gx_canvas_drawing_initiate(GX_CANVAS *canvas, GX_WIDGET *who, GX_RECTANGLE *dirty_area) in _gx_canvas_drawing_initiate() argument 99 GX_DISPLAY *display = canvas -> gx_canvas_display; in _gx_canvas_drawing_initiate() 120 if (canvas -> gx_canvas_draw_count > 0) in _gx_canvas_drawing_initiate() 122 _gx_utility_rectangle_combine(&canvas -> gx_canvas_dirty_area, dirty_area); in _gx_canvas_drawing_initiate() 127 canvas -> gx_canvas_dirty_area = *dirty_area; in _gx_canvas_drawing_initiate() 130 if (canvas -> gx_canvas_status & GX_CANVAS_PARTIAL_FRAME_BUFFER) in _gx_canvas_drawing_initiate() 132 …canvas -> gx_canvas_memory_width = (GX_VALUE)(dirty_area -> gx_rectangle_right - dirty_area -> gx_… in _gx_canvas_drawing_initiate() 133 … canvas -> gx_canvas_memory_width = (GX_VALUE)((canvas -> gx_canvas_memory_width + 3) & 0xFFFC); in _gx_canvas_drawing_initiate() 134 …canvas -> gx_canvas_memory_height = (GX_VALUE)(canvas -> gx_canvas_memory_size / display -> gx_dis… in _gx_canvas_drawing_initiate() 135 …if (canvas -> gx_canvas_memory_height < (dirty_area -> gx_rectangle_bottom - dirty_area -> gx_rect… in _gx_canvas_drawing_initiate() [all …]
|
D | gx_canvas_offset_set.c | 77 UINT _gx_canvas_offset_set(GX_CANVAS *canvas, GX_VALUE xoffset, GX_VALUE yoffset) in _gx_canvas_offset_set() argument 89 if (canvas -> gx_canvas_hardware_layer >= 0) in _gx_canvas_offset_set() 91 …offset_function = canvas -> gx_canvas_display -> gx_display_layer_services -> gx_display_layer_off… in _gx_canvas_offset_set() 95 offset_function(canvas -> gx_canvas_hardware_layer, xoffset, yoffset); in _gx_canvas_offset_set() 97 canvas -> gx_canvas_display_offset_x = xoffset; in _gx_canvas_offset_set() 98 canvas -> gx_canvas_display_offset_y = yoffset; in _gx_canvas_offset_set() 103 if ((canvas -> gx_canvas_status & GX_CANVAS_MANAGED) && in _gx_canvas_offset_set() 104 canvas -> gx_canvas_created_next) in _gx_canvas_offset_set() 106 backcanvas = canvas -> gx_canvas_created_next; in _gx_canvas_offset_set() 116 oldpos.gx_rectangle_left = canvas -> gx_canvas_display_offset_x; in _gx_canvas_offset_set() [all …]
|
D | gx_utility_canvas_to_bmp.c | 96 static UINT _gx_utility_write_bitmap_header(GX_CANVAS *canvas, GX_RECTANGLE *rect, UINT (*write_dat… in _gx_utility_write_bitmap_header() argument 129 switch (canvas -> gx_canvas_display -> gx_display_color_format) in _gx_utility_write_bitmap_header() 150 if ((canvas -> gx_canvas_display -> gx_display_palette == GX_NULL) || in _gx_utility_write_bitmap_header() 151 (canvas -> gx_canvas_display -> gx_display_palette_size == 0)) in _gx_utility_write_bitmap_header() 157 b_info.bi_ClrUsed = canvas -> gx_canvas_display -> gx_display_palette_size; in _gx_utility_write_bitmap_header() 158 b_info.bi_ClrImportant = canvas -> gx_canvas_display -> gx_display_palette_size; in _gx_utility_write_bitmap_header() 159 … bmp_fheader.offset += canvas -> gx_canvas_display -> gx_display_palette_size * sizeof(GX_COLOR); in _gx_utility_write_bitmap_header() 207 switch (canvas -> gx_canvas_display -> gx_display_color_format) in _gx_utility_write_bitmap_header() 237 palette = canvas -> gx_canvas_display -> gx_display_palette; in _gx_utility_write_bitmap_header() 238 count = (INT)(canvas -> gx_canvas_display -> gx_display_palette_size); in _gx_utility_write_bitmap_header() [all …]
|
D | gx_canvas_delete.c | 72 UINT _gx_canvas_delete(GX_CANVAS *canvas) in _gx_canvas_delete() argument 80 if (canvas -> gx_canvas_created_previous) in _gx_canvas_delete() 82 … canvas -> gx_canvas_created_previous -> gx_canvas_created_next = canvas -> gx_canvas_created_next; in _gx_canvas_delete() 83 if (canvas -> gx_canvas_created_next) in _gx_canvas_delete() 85 …canvas -> gx_canvas_created_next -> gx_canvas_created_previous = canvas -> gx_canvas_created_previ… in _gx_canvas_delete() 90 _gx_system_canvas_created_list = canvas -> gx_canvas_created_next; in _gx_canvas_delete() 102 if (canvas -> gx_canvas_padded_memory != GX_NULL) in _gx_canvas_delete() 104 free(canvas -> gx_canvas_padded_memory); in _gx_canvas_delete() 109 memset(canvas, 0, sizeof(GX_CANVAS)); in _gx_canvas_delete()
|
D | gx_canvas_drawing_complete.c | 75 UINT _gx_canvas_drawing_complete(GX_CANVAS *canvas, GX_BOOL flush) in _gx_canvas_drawing_complete() argument 77 GX_DISPLAY *display = canvas -> gx_canvas_display; in _gx_canvas_drawing_complete() 81 if (canvas -> gx_canvas_draw_nesting > 0) in _gx_canvas_drawing_complete() 85 display -> gx_display_driver_drawing_complete(display, canvas); in _gx_canvas_drawing_complete() 89 canvas -> gx_canvas_draw_nesting = (GX_UBYTE)(canvas->gx_canvas_draw_nesting - 1); in _gx_canvas_drawing_complete() 99 if (canvas -> gx_canvas_draw_nesting == 0 && flush) in _gx_canvas_drawing_complete() 101 …canvas -> gx_canvas_display -> gx_display_driver_buffer_toggle(canvas, &canvas -> gx_canvas_dirty_… in _gx_canvas_drawing_complete() 104 canvas -> gx_canvas_draw_count = 0; in _gx_canvas_drawing_complete()
|
D | gx_system_dirty_partial_add.c | 82 GX_CANVAS *canvas; in _gx_system_dirty_entry_shift() local 113 canvas = root -> gx_window_root_canvas; in _gx_system_dirty_entry_shift() 117 dirty_entry = canvas -> gx_canvas_dirty_list; in _gx_system_dirty_entry_shift() 120 for (index = 0; index < canvas -> gx_canvas_dirty_count; index++) in _gx_system_dirty_entry_shift() 141 GX_CANVAS *canvas; in _gx_system_dirty_partial_add() local 188 canvas = root -> gx_window_root_canvas; in _gx_system_dirty_partial_add() 193 if (canvas -> gx_canvas_dirty_count >= GX_MAX_DIRTY_AREAS - 1) in _gx_system_dirty_partial_add() 200 dirty_entry = canvas -> gx_canvas_dirty_list; in _gx_system_dirty_partial_add() 205 for (index = 0; index < canvas -> gx_canvas_dirty_count; index++) in _gx_system_dirty_partial_add() 213 if (canvas -> gx_canvas_dirty_count >= GX_MAX_DIRTY_AREAS - 1 || in _gx_system_dirty_partial_add() [all …]
|
D | gx_canvas_hide.c | 74 UINT _gx_canvas_hide(GX_CANVAS *canvas) in _gx_canvas_hide() argument 82 canvas -> gx_canvas_status &= ~(UINT)(GX_CANVAS_VISIBLE); in _gx_canvas_hide() 84 if (canvas -> gx_canvas_hardware_layer >= 0) in _gx_canvas_hide() 86 … hide_function = canvas -> gx_canvas_display -> gx_display_layer_services -> gx_display_layer_hide; in _gx_canvas_hide() 90 hide_function(canvas -> gx_canvas_hardware_layer); in _gx_canvas_hide() 96 …ility_rectangle_define(&dirty, 0, 0, (GX_VALUE)(canvas -> gx_canvas_x_resolution - 1), (GX_VALUE)(… in _gx_canvas_hide() 97 if (canvas -> gx_canvas_display_offset_x || canvas -> gx_canvas_display_offset_y) in _gx_canvas_hide() 99 …_gx_utility_rectangle_shift(&dirty, canvas -> gx_canvas_display_offset_x, canvas -> gx_canvas_disp… in _gx_canvas_hide()
|
D | gx_canvas_dirty_mark.c | 73 VOID _gx_canvas_dirty_mark(GX_CANVAS *canvas, GX_RECTANGLE *area) in _gx_canvas_dirty_mark() argument 76 canvas -> gx_canvas_draw_count++; in _gx_canvas_dirty_mark() 82 canvas -> gx_canvas_dirty_area = *area; in _gx_canvas_dirty_mark() 87 canvas -> gx_canvas_dirty_area.gx_rectangle_top = 0; in _gx_canvas_dirty_mark() 88 canvas -> gx_canvas_dirty_area.gx_rectangle_bottom = in _gx_canvas_dirty_mark() 89 (GX_VALUE)(canvas -> gx_canvas_y_resolution - 1); in _gx_canvas_dirty_mark() 90 canvas -> gx_canvas_dirty_area.gx_rectangle_left = 0; in _gx_canvas_dirty_mark() 91 canvas -> gx_canvas_dirty_area.gx_rectangle_right = in _gx_canvas_dirty_mark() 92 (GX_VALUE)(canvas -> gx_canvas_x_resolution - 1); in _gx_canvas_dirty_mark()
|
D | gx_display_driver_32bpp_rotated_canvas_copy.c | 73 VOID _gx_display_driver_32bpp_rotated_canvas_copy(GX_CANVAS *canvas, GX_CANVAS *composite) in _gx_display_driver_32bpp_rotated_canvas_copy() argument 83 dirty.gx_rectangle_right = (GX_VALUE)(canvas -> gx_canvas_x_resolution - 1); in _gx_display_driver_32bpp_rotated_canvas_copy() 84 dirty.gx_rectangle_bottom = (GX_VALUE)(canvas -> gx_canvas_y_resolution - 1); in _gx_display_driver_32bpp_rotated_canvas_copy() 86 …_gx_utility_rectangle_shift(&dirty, canvas -> gx_canvas_display_offset_x, canvas -> gx_canvas_disp… in _gx_display_driver_32bpp_rotated_canvas_copy() 91 read = (ULONG *)canvas -> gx_canvas_memory; in _gx_display_driver_32bpp_rotated_canvas_copy() 94 if (canvas -> gx_canvas_display -> gx_display_rotation_angle == GX_SCREEN_ROTATION_CW) in _gx_display_driver_32bpp_rotated_canvas_copy() 97 …read += (dirty.gx_rectangle_right - overlap.gx_rectangle_right) * canvas -> gx_canvas_y_resolution; in _gx_display_driver_32bpp_rotated_canvas_copy() 109 … read += (overlap.gx_rectangle_left - dirty.gx_rectangle_left) * canvas -> gx_canvas_y_resolution; in _gx_display_driver_32bpp_rotated_canvas_copy() 124 read += canvas -> gx_canvas_y_resolution; in _gx_display_driver_32bpp_rotated_canvas_copy()
|
D | gx_display_driver_16bpp_rotated_canvas_copy.c | 73 VOID _gx_display_driver_16bpp_rotated_canvas_copy(GX_CANVAS *canvas, GX_CANVAS *composite) in _gx_display_driver_16bpp_rotated_canvas_copy() argument 83 dirty.gx_rectangle_right = (GX_VALUE)(canvas -> gx_canvas_x_resolution - (GX_VALUE)1); in _gx_display_driver_16bpp_rotated_canvas_copy() 84 dirty.gx_rectangle_bottom = (GX_VALUE)(canvas -> gx_canvas_y_resolution - (GX_VALUE)1); in _gx_display_driver_16bpp_rotated_canvas_copy() 86 …_gx_utility_rectangle_shift(&dirty, canvas -> gx_canvas_display_offset_x, canvas -> gx_canvas_disp… in _gx_display_driver_16bpp_rotated_canvas_copy() 92 read = (USHORT *)canvas -> gx_canvas_memory; in _gx_display_driver_16bpp_rotated_canvas_copy() 95 if (canvas -> gx_canvas_display -> gx_display_rotation_angle == GX_SCREEN_ROTATION_CW) in _gx_display_driver_16bpp_rotated_canvas_copy() 98 …read += (dirty.gx_rectangle_right - overlap.gx_rectangle_right) * canvas -> gx_canvas_y_resolution; in _gx_display_driver_16bpp_rotated_canvas_copy() 110 … read += (overlap.gx_rectangle_left - dirty.gx_rectangle_left) * canvas -> gx_canvas_y_resolution; in _gx_display_driver_16bpp_rotated_canvas_copy() 125 read += canvas -> gx_canvas_y_resolution; in _gx_display_driver_16bpp_rotated_canvas_copy()
|
D | gx_display_driver_8bpp_rotated_canvas_copy.c | 73 VOID _gx_display_driver_8bpp_rotated_canvas_copy(GX_CANVAS *canvas, GX_CANVAS *composite) in _gx_display_driver_8bpp_rotated_canvas_copy() argument 83 dirty.gx_rectangle_right = (GX_VALUE)(canvas -> gx_canvas_x_resolution - 1); in _gx_display_driver_8bpp_rotated_canvas_copy() 84 dirty.gx_rectangle_bottom = (GX_VALUE)(canvas -> gx_canvas_y_resolution - 1); in _gx_display_driver_8bpp_rotated_canvas_copy() 86 …_gx_utility_rectangle_shift(&dirty, canvas -> gx_canvas_display_offset_x, canvas -> gx_canvas_disp… in _gx_display_driver_8bpp_rotated_canvas_copy() 92 read = (GX_UBYTE *)canvas -> gx_canvas_memory; in _gx_display_driver_8bpp_rotated_canvas_copy() 95 if (canvas -> gx_canvas_display -> gx_display_rotation_angle == GX_SCREEN_ROTATION_CW) in _gx_display_driver_8bpp_rotated_canvas_copy() 98 …read += (dirty.gx_rectangle_right - overlap.gx_rectangle_right) * canvas -> gx_canvas_y_resolution; in _gx_display_driver_8bpp_rotated_canvas_copy() 110 … read += (overlap.gx_rectangle_left - dirty.gx_rectangle_left) * canvas -> gx_canvas_y_resolution; in _gx_display_driver_8bpp_rotated_canvas_copy() 125 read += canvas -> gx_canvas_y_resolution; in _gx_display_driver_8bpp_rotated_canvas_copy()
|
D | gx_canvas_memory_define.c | 75 UINT _gx_canvas_memory_define(GX_CANVAS *canvas, GX_COLOR *memory, ULONG memsize) in _gx_canvas_memory_define() argument 78 GX_DISPLAY *display = canvas -> gx_canvas_display; in _gx_canvas_memory_define() 86 …NG)(display -> gx_display_driver_row_pitch_get((USHORT)canvas -> gx_canvas_x_resolution) * canvas … in _gx_canvas_memory_define() 90 canvas -> gx_canvas_status |= GX_CANVAS_PARTIAL_FRAME_BUFFER; in _gx_canvas_memory_define() 95 canvas -> gx_canvas_memory = memory; in _gx_canvas_memory_define() 98 canvas -> gx_canvas_memory_size = memsize; in _gx_canvas_memory_define() 101 _gx_canvas_dirty_mark(canvas, GX_NULL); in _gx_canvas_memory_define()
|
D | gx_display_driver_16bpp_canvas_copy.c | 78 VOID _gx_display_driver_16bpp_canvas_copy(GX_CANVAS *canvas, GX_CANVAS *composite) in _gx_display_driver_16bpp_canvas_copy() argument 88 if (canvas -> gx_canvas_status & GX_CANVAS_PARTIAL_FRAME_BUFFER) in _gx_display_driver_16bpp_canvas_copy() 96 dirty.gx_rectangle_right = (GX_VALUE)(canvas -> gx_canvas_x_resolution - (GX_VALUE)1); in _gx_display_driver_16bpp_canvas_copy() 97 dirty.gx_rectangle_bottom = (GX_VALUE)(canvas -> gx_canvas_y_resolution - (GX_VALUE)1); in _gx_display_driver_16bpp_canvas_copy() 99 …_gx_utility_rectangle_shift(&dirty, canvas -> gx_canvas_display_offset_x, canvas -> gx_canvas_disp… in _gx_display_driver_16bpp_canvas_copy() 104 read = (USHORT *)canvas -> gx_canvas_memory; in _gx_display_driver_16bpp_canvas_copy() 107 … read += (overlap.gx_rectangle_top - dirty.gx_rectangle_top) * canvas -> gx_canvas_x_resolution; in _gx_display_driver_16bpp_canvas_copy() 123 read += canvas -> gx_canvas_x_resolution; in _gx_display_driver_16bpp_canvas_copy()
|
D | gx_display_driver_24xrgb_rotated_canvas_blend.c | 73 VOID _gx_display_driver_24xrgb_rotated_canvas_blend(GX_CANVAS *canvas, GX_CANVAS *composite) in _gx_display_driver_24xrgb_rotated_canvas_blend() argument 91 dirty.gx_rectangle_right = (GX_VALUE)(canvas -> gx_canvas_x_resolution - 1); in _gx_display_driver_24xrgb_rotated_canvas_blend() 92 dirty.gx_rectangle_bottom = (GX_VALUE)(canvas -> gx_canvas_y_resolution - 1); in _gx_display_driver_24xrgb_rotated_canvas_blend() 94 …_gx_utility_rectangle_shift(&dirty, canvas -> gx_canvas_display_offset_x, canvas -> gx_canvas_disp… in _gx_display_driver_24xrgb_rotated_canvas_blend() 98 alpha = canvas -> gx_canvas_alpha; in _gx_display_driver_24xrgb_rotated_canvas_blend() 101 read_start = (ULONG *)canvas -> gx_canvas_memory; in _gx_display_driver_24xrgb_rotated_canvas_blend() 104 if (canvas -> gx_canvas_display -> gx_display_rotation_angle == GX_SCREEN_ROTATION_CW) in _gx_display_driver_24xrgb_rotated_canvas_blend() 107 …read_start += (dirty.gx_rectangle_right - overlap.gx_rectangle_right) * canvas -> gx_canvas_y_reso… in _gx_display_driver_24xrgb_rotated_canvas_blend() 119 …read_start += (overlap.gx_rectangle_left - dirty.gx_rectangle_left) * canvas -> gx_canvas_y_resolu… in _gx_display_driver_24xrgb_rotated_canvas_blend() 162 read_start += canvas -> gx_canvas_y_resolution; in _gx_display_driver_24xrgb_rotated_canvas_blend()
|
/GUIX-v6.4.1/test/guix_test/regression_test/utility/ |
D | gx_validation_display_driver_16bpp.c | 34 static void _gx_validation_rotate_canvas(GX_CANVAS *canvas) in _gx_validation_rotate_canvas() argument 55 pReadStart = (USHORT *)canvas -> gx_canvas_memory; in _gx_validation_rotate_canvas() 57 copy_width = canvas -> gx_canvas_y_resolution; in _gx_validation_rotate_canvas() 58 copy_height = canvas -> gx_canvas_x_resolution; in _gx_validation_rotate_canvas() 60 if (canvas -> gx_canvas_display -> gx_display_rotation_angle == GX_SCREEN_ROTATION_CW) in _gx_validation_rotate_canvas() 89 VOID _gx_validation_display_buffer_16bpp_toggle(GX_CANVAS *canvas, GX_RECTANGLE *dirty) in _gx_validation_display_buffer_16bpp_toggle() argument 108 if((test_parameter.x_end < 0) || (test_parameter.x_end >= canvas -> gx_canvas_x_resolution)) in _gx_validation_display_buffer_16bpp_toggle() 109 test_parameter.x_end = canvas -> gx_canvas_x_resolution - 1; in _gx_validation_display_buffer_16bpp_toggle() 111 if((test_parameter.y_end < 0) || (test_parameter.y_end >= canvas -> gx_canvas_y_resolution)) in _gx_validation_display_buffer_16bpp_toggle() 112 test_parameter.y_end = canvas -> gx_canvas_y_resolution - 1; in _gx_validation_display_buffer_16bpp_toggle() [all …]
|
D | gx_validation_display_driver_32bpp.c | 33 static void _gx_validation_rotate_canvas(GX_CANVAS *canvas) in _gx_validation_rotate_canvas() argument 54 pReadStart = (GX_COLOR *)canvas -> gx_canvas_memory; in _gx_validation_rotate_canvas() 56 copy_width = canvas -> gx_canvas_y_resolution; in _gx_validation_rotate_canvas() 57 copy_height = canvas -> gx_canvas_x_resolution; in _gx_validation_rotate_canvas() 59 if (canvas -> gx_canvas_display -> gx_display_rotation_angle == GX_SCREEN_ROTATION_CW) in _gx_validation_rotate_canvas() 88 VOID _gx_validation_display_buffer_32bpp_toggle(GX_CANVAS *canvas, GX_RECTANGLE *dirty) in _gx_validation_display_buffer_32bpp_toggle() argument 106 if((test_parameter.x_end < 0) || (test_parameter.x_end >= canvas -> gx_canvas_x_resolution)) in _gx_validation_display_buffer_32bpp_toggle() 107 test_parameter.x_end = canvas -> gx_canvas_x_resolution - 1; in _gx_validation_display_buffer_32bpp_toggle() 109 if((test_parameter.y_end < 0) || (test_parameter.y_end >= canvas -> gx_canvas_y_resolution)) in _gx_validation_display_buffer_32bpp_toggle() 110 test_parameter.y_end = canvas -> gx_canvas_y_resolution - 1; in _gx_validation_display_buffer_32bpp_toggle() [all …]
|
D | gx_validation_display_driver_8bpp.c | 34 static void _gx_validation_rotate_canvas(GX_CANVAS *canvas) in _gx_validation_rotate_canvas() argument 53 pReadStart = (GX_UBYTE *)canvas -> gx_canvas_memory; in _gx_validation_rotate_canvas() 55 copy_width = canvas -> gx_canvas_y_resolution; in _gx_validation_rotate_canvas() 56 copy_height = canvas -> gx_canvas_x_resolution; in _gx_validation_rotate_canvas() 58 if (canvas -> gx_canvas_display -> gx_display_rotation_angle == GX_SCREEN_ROTATION_CW) in _gx_validation_rotate_canvas() 87 VOID _gx_validation_display_buffer_8bpp_toggle(GX_CANVAS *canvas, GX_RECTANGLE *dirty) in _gx_validation_display_buffer_8bpp_toggle() argument 104 if((test_parameter.x_end < 0) || (test_parameter.x_end >= canvas -> gx_canvas_x_resolution)) in _gx_validation_display_buffer_8bpp_toggle() 105 test_parameter.x_end = canvas -> gx_canvas_x_resolution - 1; in _gx_validation_display_buffer_8bpp_toggle() 107 if((test_parameter.y_end < 0) || (test_parameter.y_end >= canvas -> gx_canvas_y_resolution)) in _gx_validation_display_buffer_8bpp_toggle() 108 test_parameter.y_end = canvas -> gx_canvas_y_resolution - 1; in _gx_validation_display_buffer_8bpp_toggle() [all …]
|
/GUIX-v6.4.1/common/inc/ |
D | gx_canvas.h | 62 UINT _gx_canvas_alpha_set(GX_CANVAS *canvas, GX_UBYTE alpha); 69 UINT _gx_canvas_create(GX_CANVAS *canvas, GX_CONST GX_CHAR *name, GX_DISPLAY *dispaly, 71 UINT _gx_canvas_delete(GX_CANVAS *canvas); 73 VOID _gx_canvas_dirty_mark(GX_CANVAS *canvas, GX_RECTANGLE *area); 75 UINT _gx_canvas_drawing_complete(GX_CANVAS *canvas, GX_BOOL Flush); 76 UINT _gx_canvas_drawing_initiate(GX_CANVAS *canvas, GX_WIDGET *who, GX_RECTANGLE *clip_area); 83 UINT _gx_canvas_hardware_layer_bind(GX_CANVAS *canvas, INT layer); 84 UINT _gx_canvas_hide(GX_CANVAS *canvas); 87 UINT _gx_canvas_memory_define(GX_CANVAS *canvas, GX_COLOR *memory, ULONG memsize); 90 UINT _gx_canvas_mouse_define(GX_CANVAS *canvas, GX_MOUSE_CURSOR_INFO *info); [all …]
|
/GUIX-v6.4.1/test/guix_test/regression_test/tests/iar/9.30.1/validaion_guix_jpeg_decoding/drivers/ |
D | gx_display_driver_hardware_24xrgb.c | 160 GX_CANVAS *canvas = context->gx_draw_context_canvas; in gx_chromeart_horizontal_line_draw() local 162 put = (uint32_t) canvas->gx_canvas_memory; in gx_chromeart_horizontal_line_draw() 163 put += (canvas->gx_canvas_x_resolution * 4 * ypos) + (xstart * 4); in gx_chromeart_horizontal_line_draw() 172 gx_dma_init(DMA2D_R2M, put, canvas->gx_canvas_x_resolution - length, length, width); in gx_chromeart_horizontal_line_draw() 182 GX_CANVAS *canvas = context->gx_draw_context_canvas; in gx_chromeart_vertical_line_draw() local 184 put = (uint32_t) canvas->gx_canvas_memory; in gx_chromeart_vertical_line_draw() 186 put += (canvas->gx_canvas_x_resolution * 4 * ystart) + (xpos * 4); in gx_chromeart_vertical_line_draw() 188 gx_dma_init(DMA2D_R2M, put, canvas->gx_canvas_x_resolution - width, width, yend - ystart + 1); in gx_chromeart_vertical_line_draw() 194 static void gx_chromeart_canvas_copy(GX_CANVAS *canvas, GX_CANVAS *composite) in gx_chromeart_canvas_copy() argument 203 dirty.gx_rectangle_right = canvas -> gx_canvas_x_resolution - 1; in gx_chromeart_canvas_copy() [all …]
|
D | gx_display_driver_hardware_565rgb.c | 141 GX_CANVAS *canvas = context->gx_draw_context_canvas; in gx_chromeart_horizontal_line_draw() local 143 put = (uint32_t) canvas->gx_canvas_memory; in gx_chromeart_horizontal_line_draw() 144 put += (canvas->gx_canvas_x_resolution * 2 * ypos) + (xstart * 2); in gx_chromeart_horizontal_line_draw() 148 gx_dma_init(DMA2D_R2M, put, canvas->gx_canvas_x_resolution - length, length, width); in gx_chromeart_horizontal_line_draw() 158 GX_CANVAS *canvas = context->gx_draw_context_canvas; in gx_chromeart_vertical_line_draw() local 160 put = (uint32_t) canvas->gx_canvas_memory; in gx_chromeart_vertical_line_draw() 162 put += (canvas->gx_canvas_x_resolution * 2 * ystart) + (xpos * 2); in gx_chromeart_vertical_line_draw() 164 gx_dma_init(DMA2D_R2M, put, canvas->gx_canvas_x_resolution - width, width, yend - ystart + 1); in gx_chromeart_vertical_line_draw() 170 static void gx_chromeart_canvas_copy(GX_CANVAS *canvas, GX_CANVAS *composite) in gx_chromeart_canvas_copy() argument 179 dirty.gx_rectangle_right = canvas -> gx_canvas_x_resolution - 1; in gx_chromeart_canvas_copy() [all …]
|
/GUIX-v6.4.1/ports/win32/src/ |
D | gx_win32_display_driver.c | 872 static void gx_win32_rotate_canvas_to_bmp_32bpp(GX_CANVAS *canvas) in gx_win32_rotate_canvas_to_bmp_32bpp() argument 892 pReadStart = (ULONG *)canvas -> gx_canvas_memory; in gx_win32_rotate_canvas_to_bmp_32bpp() 893 pWriteStart = (ULONG *)canvas -> gx_canvas_padded_memory; in gx_win32_rotate_canvas_to_bmp_32bpp() 894 copy_width = canvas -> gx_canvas_y_resolution; in gx_win32_rotate_canvas_to_bmp_32bpp() 895 copy_height = canvas -> gx_canvas_x_resolution; in gx_win32_rotate_canvas_to_bmp_32bpp() 897 if (canvas -> gx_canvas_display -> gx_display_rotation_angle == GX_SCREEN_ROTATION_CW) in gx_win32_rotate_canvas_to_bmp_32bpp() 961 static void gx_win32_rotate_canvas_to_bmp_16bpp(GX_CANVAS *canvas) in gx_win32_rotate_canvas_to_bmp_16bpp() argument 984 pReadStart = (USHORT *)canvas -> gx_canvas_memory; in gx_win32_rotate_canvas_to_bmp_16bpp() 985 pWriteStart = (USHORT *)canvas -> gx_canvas_padded_memory; in gx_win32_rotate_canvas_to_bmp_16bpp() 986 copy_width = canvas -> gx_canvas_y_resolution; in gx_win32_rotate_canvas_to_bmp_16bpp() [all …]
|
/GUIX-v6.4.1/test/guix_test/regression_test/tests/ |
D | validation_guix_canvas_drawing_complete.c | 63 VOID drawing_complete(GX_DISPLAY *display, GX_CANVAS *canvas) in drawing_complete() argument 68 VOID drawing_initiate(GX_DISPLAY *display, GX_CANVAS *canvas) in drawing_initiate() argument 77 GX_CANVAS *canvas; in control_thread_entry() local 81 gx_widget_canvas_get(&button_screen, &canvas); in control_thread_entry() 82 canvas->gx_canvas_display->gx_display_driver_drawing_complete = drawing_complete; in control_thread_entry() 84 gx_canvas_drawing_initiate(canvas, &button_screen, &dirty); in control_thread_entry() 94 gx_canvas_drawing_complete(canvas, GX_TRUE); in control_thread_entry() 95 gx_canvas_drawing_complete(canvas, GX_TRUE); in control_thread_entry() 103 canvas->gx_canvas_display->gx_display_driver_drawing_initiate = drawing_initiate; in control_thread_entry() 104 canvas->gx_canvas_draw_nesting = 1; in control_thread_entry() [all …]
|