mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-05-08 09:08:18 +02:00
glamor: Drop dead *_from_x_coord_y() functions.
They've been dead since the yInverted removal (e310387f44). Signed-off-by: Eric Anholt <eric@anholt.net> Reviewed-by: Dave Airlie <airlied@redhat.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> (cherry picked from commit1fcb6f4cbf)
This commit is contained in:
parent
558ea39966
commit
83395e6a99
1 changed files with 0 additions and 2 deletions
|
|
@ -36,10 +36,8 @@
|
|||
#include "mipict.h"
|
||||
|
||||
#define v_from_x_coord_x(_xscale_, _x_) ( 2 * (_x_) * (_xscale_) - 1.0)
|
||||
#define v_from_x_coord_y(_yscale_, _y_) (-2 * (_y_) * (_yscale_) + 1.0)
|
||||
#define v_from_x_coord_y_inverted(_yscale_, _y_) (2 * (_y_) * (_yscale_) - 1.0)
|
||||
#define t_from_x_coord_x(_xscale_, _x_) ((_x_) * (_xscale_))
|
||||
#define t_from_x_coord_y(_yscale_, _y_) (1.0 - (_y_) * (_yscale_))
|
||||
#define t_from_x_coord_y_inverted(_yscale_, _y_) ((_y_) * (_yscale_))
|
||||
|
||||
#define pixmap_priv_get_dest_scale(pixmap, _pixmap_priv_, _pxscale_, _pyscale_) \
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue