Differences From Artifact [335029d8b7]:
- File android/src/im/bci/newtonadv/platform/android/AndroidTexture.java — part of check-in [88e97063e5] at 2012-05-11 21:04:37 on branch trunk — correction android (user: devnewton size: 700)
To Artifact [5f17cbd64f]:
- File android/src/im/bci/newtonadv/platform/android/AndroidTexture.java — part of check-in [0189e79ba0] at 2012-05-21 22:35:01 on branch trunk — android optimization (user: devnewton size: 728)
| ︙ | ︙ | |||
12 13 14 15 16 17 18 19 20 21 22 23 24 25 |
public AndroidTexture(int width, int height, boolean alpha) {
int[] ids = new int[1];
GLES10.glGenTextures(1, ids, 0);
id = ids[0];
this.width = width;
this.height = height;
}
public int getId() {
return id;
}
public int getHeight() {
| > | 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 |
public AndroidTexture(int width, int height, boolean alpha) {
int[] ids = new int[1];
GLES10.glGenTextures(1, ids, 0);
id = ids[0];
this.width = width;
this.height = height;
this.alpha = alpha;
}
public int getId() {
return id;
}
public int getHeight() {
|
| ︙ | ︙ |