~compiz-linaro-team/compiz-core/compiz-core.gles2

« back to all changes in this revision

Viewing changes to plugins/cube/include/cube/cube.h

  • Committer: smspillaz
  • Date: 2012-05-14 12:22:05 UTC
  • Revision ID: sam.spilsbury@canonical.com-20120514122205-y0dxmoax37f66bam
Clip planes aren't yet supported on GLES .. remove glNormal* usage

Show diffs side-by-side

added added

removed removed

Lines of Context:
62
62
        virtual void cubePaintTop (const GLScreenPaintAttrib &sAttrib,
63
63
                                   const GLMatrix            &transform,
64
64
                                   CompOutput                *output,
65
 
                                   int                       size);
 
65
                                   int                       size,
 
66
                                   const GLVector            &normal);
66
67
        virtual void cubePaintBottom (const GLScreenPaintAttrib &sAttrib,
67
68
                                      const GLMatrix            &transform,
68
69
                                      CompOutput                *output,
69
 
                                      int                       size);
 
70
                                      int                       size,
 
71
                                      const GLVector            &normal);
70
72
        virtual void cubePaintInside (const GLScreenPaintAttrib &sAttrib,
71
73
                                      const GLMatrix            &transform,
72
74
                                      CompOutput                *output,
73
 
                                      int                       size);
 
75
                                      int                       size,
 
76
                                      const GLVector            &normal);
74
77
        virtual bool cubeCheckOrientation (const GLScreenPaintAttrib &sAttrib,
75
78
                                           const GLMatrix            &transform,
76
79
                                           CompOutput                *output,
120
123
                      float, float);
121
124
        WRAPABLE_HND (2, CubeScreenInterface, void, cubePaintTop,
122
125
                      const GLScreenPaintAttrib &, const GLMatrix &,
123
 
                      CompOutput *, int);
 
126
                      CompOutput *, int, const GLVector &);
124
127
        WRAPABLE_HND (3, CubeScreenInterface, void, cubePaintBottom,
125
128
                      const GLScreenPaintAttrib &, const GLMatrix &,
126
 
                      CompOutput *, int);
 
129
                      CompOutput *, int, const GLVector &);
127
130
        WRAPABLE_HND (4, CubeScreenInterface, void, cubePaintInside,
128
131
                      const GLScreenPaintAttrib &, const GLMatrix &,
129
 
                      CompOutput *, int);
 
132
                      CompOutput *, int, const GLVector &);
130
133
        WRAPABLE_HND (5, CubeScreenInterface, bool, cubeCheckOrientation,
131
134
                      const GLScreenPaintAttrib &, const GLMatrix &,
132
135
                      CompOutput *, std::vector<GLVector> &);