diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-04-05 19:36:29 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-04-05 19:36:29 +0200 |
commit | 1f928c3d0a0ccf32b304db3607f71c0da1f95733 (patch) | |
tree | c0496e18d233c995bd3afb694686ac681d30bc40 /src/blueshift_vidmode_c.h | |
parent | m doc (diff) | |
download | blueshift-1f928c3d0a0ccf32b304db3607f71c0da1f95733.tar.gz blueshift-1f928c3d0a0ccf32b304db3607f71c0da1f95733.tar.bz2 blueshift-1f928c3d0a0ccf32b304db3607f71c0da1f95733.tar.xz |
remove crtc parameter from C and Cython functions for VidMode
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src/blueshift_vidmode_c.h')
-rw-r--r-- | src/blueshift_vidmode_c.h | 22 |
1 files changed, 10 insertions, 12 deletions
diff --git a/src/blueshift_vidmode_c.h b/src/blueshift_vidmode_c.h index c94a297..188db4a 100644 --- a/src/blueshift_vidmode_c.h +++ b/src/blueshift_vidmode_c.h @@ -39,24 +39,22 @@ int blueshift_vidmode_open(int use_screen, char* display); /** * Gets the current colour curves * - * @param use_crtc The CRTC to use - * @param r_gamma Storage location for the red colour curve - * @param g_gamma Storage location for the green colour curve - * @param b_gamma Storage location for the blue colour curve - * @return Zero on success + * @param r_gamma Storage location for the red colour curve + * @param g_gamma Storage location for the green colour curve + * @param b_gamma Storage location for the blue colour curve + * @return Zero on success */ -int blueshift_vidmode_read(int use_crtc, uint16_t* r_gamma, uint16_t* g_gamma, uint16_t* b_gamma); +int blueshift_vidmode_read(uint16_t* r_gamma, uint16_t* g_gamma, uint16_t* b_gamma); /** * Apply stage of colour curve control * - * @param use_crtcs Mask of CRTC:s to use - * @param r_curve The red colour curve - * @param g_curve The green colour curve - * @param b_curve The blue colour curve - * @return Zero on success + * @param r_curve The red colour curve + * @param g_curve The green colour curve + * @param b_curve The blue colour curve + * @return Zero on success */ -int blueshift_vidmode_apply(uint64_t use_crtcs, uint16_t* r_curve, uint16_t* g_curve, uint16_t* b_curve); +int blueshift_vidmode_apply(uint16_t* r_curve, uint16_t* g_curve, uint16_t* b_curve); /** * Resource freeing stage of colour curve control |