Subversion Repositories Kolibri OS

Rev

Rev 5060 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 5060 Rev 6084
Line 328... Line 328...
328
			r->y1 = height - tmp.y2;
328
			r->y1 = height - tmp.y2;
329
			r->y2 = height - tmp.y1;
329
			r->y2 = height - tmp.y1;
330
		}
330
		}
331
	}
331
	}
Line 332... Line 332...
332
 
332
 
333
	switch (rotation & 0xf) {
333
	switch (rotation & DRM_ROTATE_MASK) {
334
	case BIT(DRM_ROTATE_0):
334
	case BIT(DRM_ROTATE_0):
335
		break;
335
		break;
336
	case BIT(DRM_ROTATE_90):
336
	case BIT(DRM_ROTATE_90):
337
		tmp = *r;
337
		tmp = *r;
Line 388... Line 388...
388
			 int width, int height,
388
			 int width, int height,
389
			 unsigned int rotation)
389
			 unsigned int rotation)
390
{
390
{
391
	struct drm_rect tmp;
391
	struct drm_rect tmp;
Line 392... Line 392...
392
 
392
 
393
	switch (rotation & 0xf) {
393
	switch (rotation & DRM_ROTATE_MASK) {
394
	case BIT(DRM_ROTATE_0):
394
	case BIT(DRM_ROTATE_0):
395
		break;
395
		break;
396
	case BIT(DRM_ROTATE_90):
396
	case BIT(DRM_ROTATE_90):
397
		tmp = *r;
397
		tmp = *r;