| /xsrc/external/mit/mesa-demos/dist/src/xdemos/ |
| H A D | xuserotfont.h | 9 int rotation);
|
| H A D | xuserotfont.c | 29 * rotation angle for rotated text display. 52 int rotation) 77 if (rotation == 0) { 87 else if (rotation == 90) { 98 else if (rotation == 180) { 109 assert(rotation == 270); 177 int rotation) 190 if (rotation != 0 && 191 rotation != 90 && 192 rotation ! 48 fill_bitmap(Display * dpy,Pixmap pixmap,GC gc,unsigned int bitmapWidth,unsigned int bitmapHeight,unsigned int charWidth,unsigned int charHeight,int xPos,int yPos,unsigned int c,GLubyte * bitmap,int rotation) argument 176 glXUseRotatedXFontMESA(Font font,int first,int count,int listbase,int rotation) argument [all...] |
| /xsrc/external/mit/xf86-video-geode/dist/src/ |
| H A D | gx_rotate.c | 54 int rotate = pGeode->rotation; 95 Rotation curr = pGeode->rotation; 101 pGeode->rotation = GXGetRotation(pScrni->pScreen); 105 if (pGeode->rotation == curr && pGeode->curMode == mode) { 111 switch (pGeode->rotation) { 134 if (pGeode->rotation != RR_Rotate_0) { 138 pGeode->rotation, NULL); 146 if (pGeode->rotation == RR_Rotate_0) 165 if (pGeode->rotation == RR_Rotate_0) { 184 /* Restore the old rotation */ [all...] |
| H A D | gx_randr.c | 60 Rotation rotation; /* current mode */ member in struct:_GXRandRInfo 131 RRSetCurrentConfig(pScreen, pRandr->rotation, refresh, pSize); 154 RRSetCurrentConfig(pScreen, pRandr->rotation, refresh0, pSize); 198 if (pRandr->rotation & (RR_Rotate_90 | RR_Rotate_270)) { 249 GXRandRSetConfig(ScreenPtr pScreen, Rotation rotation, argument 259 Rotation oldRotation = pRandr->rotation; 261 pRandr->rotation = rotation; 308 pRandr->rotation = oldRotation; 340 return pRandr->rotation; 344 GXRandRInit(ScreenPtr pScreen,int rotation) argument [all...] |
| H A D | gx_cursor.c | 149 switch (pGeode->rotation) { 151 ErrorF("%s:%d invalid rotation %d\n", __func__, __LINE__, 152 pGeode->rotation); 239 switch (pGeode->rotation) { 241 ErrorF("%s:%d invalid rotation %d\n", __func__, __LINE__, 242 pGeode->rotation);
|
| /xsrc/external/mit/xorg-server.old/dist/hw/xfree86/modes/ |
| H A D | xf86RandR12.h | 34 extern _X_EXPORT void xf86RandR12SetRotations (ScreenPtr pScreen, Rotation rotation); 36 extern _X_EXPORT Bool xf86RandR12SetConfig(ScreenPtr pScreen, Rotation rotation, int rate,
|
| H A D | xf86Cursors.c | 53 xf86_crtc_rotate_coord (Rotation rotation, argument 63 switch (rotation & 0xf) { 81 if (rotation & RR_Reflect_X) 83 if (rotation & RR_Reflect_Y) 93 xf86_crtc_rotate_coord_back (Rotation rotation, argument 103 if (rotation & RR_Reflect_X) 105 if (rotation & RR_Reflect_Y) 108 switch (rotation & 0xf) { 225 xf86_crtc_rotate_coord (crtc->rotation, 359 xf86_crtc_rotate_coord_back (crtc->rotation, [all...] |
| /xsrc/external/mit/xorg-server/dist/hw/xfree86/modes/ |
| H A D | xf86RandR12.h | 32 Rotation rotation); 35 extern _X_EXPORT Bool xf86RandR12SetConfig(ScreenPtr pScreen, Rotation rotation,
|
| H A D | xf86Cursors.c | 47 * Returns the rotation being performed by the server. If the driver indicates 55 return crtc->rotation; 62 xf86_crtc_rotate_coord(Rotation rotation, argument 68 switch (rotation & 0xf) { 86 if (rotation & RR_Reflect_X) 88 if (rotation & RR_Reflect_Y) 98 xf86_crtc_rotate_coord_back(Rotation rotation, argument 105 if (rotation & RR_Reflect_X) 107 if (rotation & RR_Reflect_Y) 110 switch (rotation 270 const Rotation rotation = xf86_crtc_cursor_rotation(crtc); local in function:xf86_crtc_convert_cursor_to_argb 500 const Rotation rotation = xf86_crtc_cursor_rotation(crtc); local in function:xf86_crtc_load_cursor_image 613 const Rotation rotation = xf86_crtc_cursor_rotation(crtc); local in function:xf86_crtc_load_cursor_argb [all...] |
| /xsrc/external/mit/mesa-demos/dist/src/samples/ |
| H A D | star.c | 55 float offsetX, offsetY, offsetR, rotation; member in struct:_starRec 104 static void RotatePoint(float *x, float *y, float rotation) argument 108 tmpX = *x * Cos(rotation) - *y * Sin(rotation); 109 tmpY = *y * Cos(rotation) + *x * Sin(rotation); 135 stars[n].rotation += stars[n].offsetR*dt; 136 if (stars[n].rotation > MAXANGLES) { 137 stars[n].rotation = 0.0; 139 else if (stars[n].rotation < 0. [all...] |
| H A D | overlay.c | 57 float offsetX, offsetY, offsetR, rotation; member in struct:_starRec 106 static void RotatePoint(float *x, float *y, float rotation) argument 110 tmpX = *x * Cos(rotation) - *y * Sin(rotation); 111 tmpY = *y * Cos(rotation) + *x * Sin(rotation); 130 stars[n].rotation += stars[n].offsetR; 131 if (stars[n].rotation > MAXANGLES) { 132 stars[n].rotation = 0.0; 144 RotatePoint(&x0, &y0, stars[n].rotation); [all...] |
| /xsrc/external/mit/xorg-server.old/dist/hw/xfree86/common/ |
| H A D | xf86RandR.c | 46 Rotation rotation; member in struct:_xf86RandRInfo 102 RRSetCurrentConfig (pScreen, randrp->rotation, refresh, pSize); 130 RRSetCurrentConfig (pScreen, randrp->rotation, refresh0, pSize); 196 if(randrp->rotation & (RR_Rotate_90 | RR_Rotate_270)) 238 Rotation rotation, 247 Rotation oldRotation = randrp->rotation; 269 if (randrp->rotation != rotation) { 274 RRRotation.RRConfig.rotation = rotation; 237 xf86RandRSetConfig(ScreenPtr pScreen,Rotation rotation,int rate,RRScreenSizePtr pSize) argument [all...] |
| /xsrc/external/mit/xorg-server/dist/hw/xfree86/common/ |
| H A D | xf86RandR.c | 45 Rotation rotation; member in struct:_xf86RandRInfo 101 RRSetCurrentConfig(pScreen, randrp->rotation, refresh, pSize); 127 RRSetCurrentConfig(pScreen, randrp->rotation, refresh0, pSize); 189 if (randrp->rotation & (RR_Rotate_90 | RR_Rotate_270)) { 230 Rotation rotation, int rate, RRScreenSizePtr pSize) 237 Rotation oldRotation = randrp->rotation; 264 if (randrp->rotation != rotation) { 270 RRRotation.RRConfig.rotation = rotation; 229 xf86RandRSetConfig(ScreenPtr pScreen,Rotation rotation,int rate,RRScreenSizePtr pSize) argument [all...] |
| /xsrc/external/mit/xorg-server.old/dist/randr/ |
| H A D | rrtransform.c | 139 * client-specified transform, rotation/reflection values and the crtc 149 Rotation rotation, 168 if (rotation != RR_Rotate_0) 175 /* rotation */ 176 switch (rotation & 0xf) { 218 if (rotation & RR_Reflect_X) 222 if (rotation & (RR_Rotate_0|RR_Rotate_180)) { 230 if (rotation & RR_Reflect_Y) 234 if (rotation & (RR_Rotate_0|RR_Rotate_180)) { 145 RRTransformCompute(int x,int y,int width,int height,Rotation rotation,RRTransformPtr rr_transform,PictTransformPtr transform,struct pixman_f_transform * f_transform,struct pixman_f_transform * f_inverse) argument
|
| H A D | rrtransform.h | 64 * client-specified transform, rotation/reflection values and the crtc 74 Rotation rotation,
|
| H A D | rrcrtc.c | 83 crtc->rotation = RR_Rotate_0; 134 Rotation rotation, 225 if (rotation != crtc->rotation) 227 crtc->rotation = rotation; 238 rotation, 259 ce.rotation = crtc->rotation; 303 Rotation rotation, 130 RRCrtcNotify(RRCrtcPtr crtc,RRModePtr mode,int x,int y,Rotation rotation,RRTransformPtr transform,int numOutputs,RROutputPtr * outputs) argument 299 RRCrtcSet(RRCrtcPtr crtc,RRModePtr mode,int x,int y,Rotation rotation,int numOutputs,RROutputPtr * outputs) argument 778 Rotation rotation; local in function:ProcRRSetCrtcConfig [all...] |
| H A D | rrscreen.c | 103 se.rotation = (CARD8) (crtc ? crtc->rotation : RR_Rotate_0); 112 if (se.rotation & (RR_Rotate_90 | RR_Rotate_270)) { 283 Rotation rotation = crtc->rotation; local in function:ProcRRSetScreenSize 285 if (rotation == RR_Rotate_90 || rotation == RR_Rotate_270) 628 rep.rotation = RR_Rotate_0; 655 rep.rotation = output->crtc->rotation; 755 Rotation rotation; local in function:ProcRRSetScreenConfig [all...] |
| /xsrc/external/mit/xorg-server/dist/randr/ |
| H A D | rrtransform.c | 134 * client-specified transform, rotation/reflection values and the crtc 144 Rotation rotation, 165 if (rotation != RR_Rotate_0) { 171 /* rotation */ 172 switch (rotation & 0xf) { 231 if (rotation & RR_Reflect_X) { 234 if (rotation & (RR_Rotate_0 | RR_Rotate_180)) { 243 if (rotation & RR_Reflect_Y) { 246 if (rotation & (RR_Rotate_0 | RR_Rotate_180)) { 140 RRTransformCompute(int x,int y,int width,int height,Rotation rotation,RRTransformPtr rr_transform,PictTransformPtr transform,struct pixman_f_transform * f_transform,struct pixman_f_transform * f_inverse) argument
|
| H A D | rrtransform.h | 62 * client-specified transform, rotation/reflection values and the crtc 73 Rotation rotation,
|
| /xsrc/external/mit/libXrandr/dist/src/ |
| H A D | XrrConfig.c | 87 Rotation *rotation) 89 *rotation = (Rotation) config->current_rotation; 312 scp->current_rotation = rep.rotation; 369 Rotation rotation, 394 req->rotation = rotation; 407 req->rotation = rotation; 421 config->current_rotation = rotation; 432 Rotation rotation, Tim 86 XRRConfigCurrentConfiguration(XRRScreenConfiguration * config,Rotation * rotation) argument 365 XRRSetScreenConfigAndRate(Display * dpy,XRRScreenConfiguration * config,Drawable draw,int size_index,Rotation rotation,short rate,Time timestamp) argument 428 XRRSetScreenConfig(Display * dpy,XRRScreenConfiguration * config,Drawable draw,int size_index,Rotation rotation,Time timestamp) argument [all...] |
| H A D | Xrandr.c | 81 aevent->rotation = awire->rotation; 102 aevent->rotation = awire->rotation; 118 aevent->rotation = awire->rotation; 200 awire->rotation = (CARD8) aevent->rotation; 228 sawire->rotation = saevent->rotation; [all...] |
| /xsrc/external/mit/xorg-server/dist/dix/ |
| H A D | pixmap.c | 187 Rotation rotation) 205 dirty_update->rotation = rotation; 210 if (rotation != RR_Rotate_0) { 214 rotation, 230 if (dirty_update->rotation == RR_Rotate_90 || 231 dirty_update->rotation == RR_Rotate_270) { 381 if (dirty->rotation == RR_Rotate_90 || 382 dirty->rotation == RR_Rotate_270) { 410 if (!pScreen->root || dirty->rotation 184 PixmapStartDirtyTracking(DrawablePtr src,PixmapPtr secondary_dst,int x,int y,int dst_x,int dst_y,Rotation rotation) argument [all...] |
| /xsrc/external/mit/xf86-video-intel/dist/src/sna/ |
| H A D | sna_display_fake.c | 60 static const char *rotation_to_str(Rotation rotation) argument 62 switch (rotation & RR_Rotate_All) { 72 static const char *reflection_to_str(Rotation rotation) argument 74 switch (rotation & RR_Reflect_All) { 85 Rotation rotation, int x, int y) 90 "switch to mode %dx%d on %s, position (%d, %d), rotation %s, reflection %s\n", 93 x, y, rotation_to_str(rotation), reflection_to_str(rotation)); 84 sna_crtc_set_mode_major(xf86CrtcPtr crtc,DisplayModePtr mode,Rotation rotation,int x,int y) argument
|
| /xsrc/external/mit/xf86-video-intel-2014/dist/src/sna/ |
| H A D | sna_display_fake.c | 60 static const char *rotation_to_str(Rotation rotation) argument 62 switch (rotation & RR_Rotate_All) { 72 static const char *reflection_to_str(Rotation rotation) argument 74 switch (rotation & RR_Reflect_All) { 85 Rotation rotation, int x, int y) 90 "switch to mode %dx%d on %s, position (%d, %d), rotation %s, reflection %s\n", 93 x, y, rotation_to_str(rotation), reflection_to_str(rotation)); 84 sna_crtc_set_mode_major(xf86CrtcPtr crtc,DisplayModePtr mode,Rotation rotation,int x,int y) argument
|
| /xsrc/external/mit/pixman/dist/demos/ |
| H A D | scale.c | 213 double rotation; local in function:rescale 228 rotation = gtk_adjustment_get_value (app->rotate_adjustment); 240 rotation = (rotation / 360.0) * 2 * M_PI; 241 pixman_f_transform_rotate (&ftransform, NULL, cos (rotation), sin (rotation));
|