CG3_SETCOLREG

Section: ()
Updated: 06 October 2005
Index Return to Main Contents

 

NAME

cg3_setcolreg - Optional function. Sets a color register.  

SYNOPSIS

"SYNOPSIS"

int cg3_setcolreg (unsigned regno, unsigned red, unsigned green, unsigned blue, unsigned transp, struct fb_info * info);  

ARGUMENTS

regno
boolean, 0 copy local, 1 get_user function
red
frame buffer colormap structure
green
The green value which can be up to 16 bits wide
blue
The blue value which can be up to 16 bits wide.
transp
If supported the alpha value which can be up to 16 bits wide.
info
frame buffer info structure
 

DESCRIPTION

The cg3 palette is loaded with 4 color values at each time  

SO YOU END UP WITH

(rgb)(r), (gb)(rg), (b)(rgb), and so on. We keep a sw copy of the hw cmap to assist us in this esoteric loading procedure.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION
SO YOU END UP WITH

This document was created by man2html, using the manual pages.
Time: 06:20:42 GMT, October 06, 2005