org.oscim.backend: docs and cleanups
This commit is contained in:
@@ -67,7 +67,7 @@ public class AwtBitmap implements Bitmap {
|
||||
private int dbgCnt;
|
||||
|
||||
@Override
|
||||
public int uploadToTexture(boolean replace) {
|
||||
public void uploadToTexture(boolean replace) {
|
||||
int[] pixels;
|
||||
IntBuffer buffer;
|
||||
|
||||
@@ -113,8 +113,6 @@ public class AwtBitmap implements Bitmap {
|
||||
|
||||
Gdx.gl20.glTexImage2D(GL20.GL_TEXTURE_2D, 0, GL20.GL_RGBA, width,
|
||||
height, 0, GL20.GL_RGBA, GL20.GL_UNSIGNED_BYTE, buffer);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -24,23 +24,11 @@ public class AwtGraphics extends CanvasAdapter {
|
||||
// do nothing
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getColor(Color color) {
|
||||
// TODO Auto-generated method stub
|
||||
return 0;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Paint getPaint() {
|
||||
return new AwtPaint();
|
||||
}
|
||||
|
||||
@Override
|
||||
public int parseColor(String colorString) {
|
||||
// TODO Auto-generated method stub
|
||||
return 0;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Bitmap getBitmap(int width, int height, int format) {
|
||||
return new AwtBitmap(width, height, format);
|
||||
|
||||
Reference in New Issue
Block a user