blob: d8c9cda9ef8f81ee784a78af75cb9abc7fce12d0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
package com.android.camera.ui;
import android.graphics.Bitmap;
import javax.microedition.khronos.opengles.GL11;
public class RawTexture extends Texture {
protected RawTexture(GL11 gl, int id,
int width, int height, float widthf, float heightf) {
super(gl, id, STATE_LOADED);
super.setSize(width, height);
super.setTexCoordSize(widthf, heightf);
}
@Override
protected void freeBitmap(Bitmap bitmap) {
throw new UnsupportedOperationException();
}
@Override
protected Bitmap getBitmap() {
throw new UnsupportedOperationException();
}
}
|