princeamd pushed a commit to branch ecore-1.7.

commit f12d039740c4a2fa3a53bed808bfe0a3a3075ce7
Author: Christopher Michael <[email protected]>
Date:   Wed Jan 30 10:18:38 2013 +0000

    Backport: 469aeba :: Fix gamma functions (unsure how this all got messed up 
from previous commit).
    
    Signed-off-by: Christopher Michael <[email protected]>
    
    SVN revision: 83469
    Signed-off-by: Deon Thomas <[email protected]>
---
 src/lib/ecore_x/Ecore_X.h | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

diff --git a/src/lib/ecore_x/Ecore_X.h b/src/lib/ecore_x/Ecore_X.h
index 0e65cab..e96ba60 100644
--- a/src/lib/ecore_x/Ecore_X.h
+++ b/src/lib/ecore_x/Ecore_X.h
@@ -1813,6 +1813,14 @@ typedef struct _Ecore_X_Randr_Mode_Info
    unsigned long modeFlags;
 } Ecore_X_Randr_Mode_Info;
 
+typedef struct _Ecore_X_Randr_Crtc_Gamma_Info
+{
+   int size;
+   unsigned short *red;
+   unsigned short *green;
+   unsigned short *blue;
+} Ecore_X_Randr_Crtc_Gamma_Info;
+
 EAPI int                                       ecore_x_randr_version_get(void);
 EAPI Eina_Bool                                 ecore_x_randr_query(void);
 EAPI Ecore_X_Randr_Orientation                 
ecore_x_randr_screen_primary_output_orientations_get(Ecore_X_Window root);
@@ -1885,8 +1893,8 @@ EAPI void                                      
ecore_x_randr_output_size_mm_get(
 EAPI Eina_Bool                                 
ecore_x_randr_output_crtc_set(Ecore_X_Window root, Ecore_X_Randr_Output output, 
const Ecore_X_Randr_Crtc crtc);
 
 EAPI int                                       
ecore_x_randr_crtc_gamma_size_get(Ecore_X_Randr_Crtc crtc); /**< @since 1.8 */
-EAPI Ecore_X_Randr_Crtc_Gamma                
**ecore_x_randr_crtc_gamma_get(Ecore_X_Randr_Crtc crtc); /**< @since 1.8 */
-EAPI Eina_Bool                                 
ecore_x_randr_crtc_gamma_set(Ecore_X_Randr_Crtc crtc, const 
Ecore_X_Randr_Crtc_Gamma *red, const Ecore_X_Randr_Crtc_Gamma *green, const 
Ecore_X_Randr_Crtc_Gamma *blue); /**< @since 1.8 */
+EAPI Ecore_X_Randr_Crtc_Gamma_Info            
*ecore_x_randr_crtc_gamma_get(Ecore_X_Randr_Crtc crtc); /**< @since 1.8 */
+EAPI Eina_Bool                                 
ecore_x_randr_crtc_gamma_set(Ecore_X_Randr_Crtc crtc, const 
Ecore_X_Randr_Crtc_Gamma_Info *gamma); /**< @since 1.8 */
 
 /**
  * @brief Validates the header from raw EDID data.

-- 

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev

Reply via email to