Add support for transformations.
This change adds partial support for the following transforms: - scale() - translate() - rotate() - setMatrix() - getMatrix() The transform is stored in a snapshot and saved/restored as needed. The transform is currently not applied to the clip rect and is not mapped to the vertex shader. Change-Id: Id48993453311200804149917d0c126a4d0471226
This commit is contained in:
@@ -37,7 +37,10 @@ public class Matrix {
|
||||
public static final int MPERSP_1 = 7; //!< use with getValues/setValues
|
||||
public static final int MPERSP_2 = 8; //!< use with getValues/setValues
|
||||
|
||||
/* package */ int native_instance;
|
||||
/**
|
||||
* @hide
|
||||
*/
|
||||
public int native_instance;
|
||||
|
||||
/**
|
||||
* Create an identity matrix
|
||||
|
||||
Reference in New Issue
Block a user