Home | History | Annotate | Download | only in examples

Lines Matching refs:y2

13 void blank_framebuffer(char* frame_buffer, int x1, int y1, int x2, int y2);
15 void draw_primary_colors (char* frame_buffer, int x1, int y1, int x2, int y2);
16 void draw_primary_colours_generic(rfbScreenInfoPtr s,int x1,int y1,int x2,int y2);
17 void draw_primary_colours_generic_fast(rfbScreenInfoPtr s,int x1,int y1,int x2,int y2);
49 void blank_framebuffer(char* frame_buffer, int x1, int y1, int x2, int y2)
55 void draw_primary_colors (char* frame_buffer, int x1, int y1, int x2, int y2)
58 for (i=y1; i < y2; i++){
61 if (i < y2 ) {
66 if (i < y2/3*2) {
71 if (i < y2/3) {
81 void draw_primary_colours_generic(rfbScreenInfoPtr s,int x1,int y1,int x2,int y2)
85 for(j=y1;j<y2;j++)
87 if(j<y1*2/3+y2/3)
89 else if(j<y1/3+y2*2/3)
95 void draw_primary_colours_generic_fast(rfbScreenInfoPtr s,int x1,int y1,int x2,int y2)
98 int i,j,y3=(y1*2+y2)/3,y4=(y1+y2*2)/3;
104 for(j=0;j<y2-y4;j++)
113 static void draw_primary_colours_generic_ultrafast(rfbScreenInfoPtr s,int x1,int y1,int x2,int y2)
116 int y3=(y1*2+y2)/3,y4=(y1+y2*2)/3;
120 rfbFillRect(s,x1,y4,x2,y2,f.blueMax<<f.blueShift);