libvtsSUNWefb.h revision 1368
#ifndef _LIBVTSSUNWEFB_H
#define _LIBVTSSUNWEFB_H
#include <errno.h>
#include <memory.h>
#include <signal.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <setjmp.h>
#include "gfx_common.h"
#define Status int
#include "graphicstest.h"
#include "gfx_vts.h"
typedef struct efb_info {
char const *efb_name;
int efb_fd;
int efb_palet_changed;
} efb_info_t;
typedef struct efb_xw_struct {
char const *xw_dispname;
int xw_screen;
int xw_ss_timeout;
int xw_ss_interval;
} efb_xw_t;
#ifdef __cplusplus
/* chip.c */
int const fd);
extern int chip_test(
int const fd);
extern int draw_lines(
extern int draw_cascaded_box(
/* mapper.c */
int const fd);
extern int map_me(
int const fd);
extern int efb_test_semaphore(
int const test);
/* memory.c */
int const fd);
extern int memory_test(
int const fd);
extern void check_plane(
int const num_planes,
int const access_mode,
int const fb_pitch,
int const fb_height,
int const fb_width,
int const bytepp,
extern void init_data(
int const num_planes);
int const xoff,
int const yoff,
int const access_mode,
int const fb_pitch,
int const bytepp,
/* tools.c */
extern int efb_map_mem(
int const test);
extern int efb_get_pci_info(
extern int efb_map_mmio(
extern int efb_map_fb(
extern int efb_init_info(
int const test);
extern int efb_unmap_mem(
int const test);
extern int efb_unmap_fb(
extern int efb_unmap_mmio(
extern int efb_init_graphics(
extern void efb_save_palet(
extern int efb_set_palet(
extern int efb_restore_palet(
extern int efb_fill_solid_rect(
extern int efb_draw_solid_line(
extern int efb_flush_pixel_cache(
extern void efb_reset_engine(
extern int efb_wait_fifo(
extern int efb_wait_idle(
/* libvtsSUNWefb.c */
extern void efb_block_signals(
extern void efb_restore_signals(
extern int efb_lock_display(
extern int efb_unlock_display(
extern int efb_open_display(
extern int efb_create_cursor(
extern int efb_create_window(
extern int efb_grab_server(
extern int efb_ungrab_server(
extern int efb_grab_keyboard(
extern int efb_ungrab_keyboard(
extern int efb_grab_pointer(
extern int efb_ungrab_pointer(
extern int efb_disable_screensaver(
extern int efb_restore_screensaver(
extern int efb_disable_dpms(
extern int efb_restore_dpms(
extern int efb_sleep(
extern void efb_signal_routine(
int const signo);
extern int efb_check_for_interrupt(
extern void graphicstest_finish(
int const flag);
/* dma.c */
int const fd);
#ifdef __cplusplus
/* End of libvtsSUNWefb.h */