/external/libgdx/gdx/src/com/badlogic/gdx/graphics/ |
TextureData.java | 80 public boolean useMipMaps ();
89 public static TextureData loadFromFile (FileHandle file, boolean useMipMaps) {
90 return loadFromFile(file, null, useMipMaps);
93 public static TextureData loadFromFile (FileHandle file, Format format, boolean useMipMaps) {
95 if (file.name().endsWith(".cim")) return new FileTextureData(file, PixmapIO.readCIM(file), format, useMipMaps);
96 if (file.name().endsWith(".etc1")) return new ETC1TextureData(file, useMipMaps);
97 if (file.name().endsWith(".ktx") || file.name().endsWith(".zktx")) return new KTXTextureData(file, useMipMaps);
98 return new FileTextureData(file, new Pixmap(file), format, useMipMaps);
|
TextureArrayData.java | 67 public static TextureArrayData loadFromFiles (Pixmap.Format format, boolean useMipMaps, FileHandle... files) { 68 return new FileTextureArrayData(format, useMipMaps, files);
|
Cubemap.java | 108 FileHandle negativeZ, boolean useMipMaps) {
109 this(TextureData.Factory.loadFromFile(positiveX, useMipMaps), TextureData.Factory.loadFromFile(negativeX, useMipMaps),
110 TextureData.Factory.loadFromFile(positiveY, useMipMaps), TextureData.Factory.loadFromFile(negativeY, useMipMaps),
111 TextureData.Factory.loadFromFile(positiveZ, useMipMaps), TextureData.Factory.loadFromFile(negativeZ, useMipMaps));
121 boolean useMipMaps) {
122 this(positiveX == null ? null : new PixmapTextureData(positiveX, null, useMipMaps, false), negativeX == null ? null
123 : new PixmapTextureData(negativeX, null, useMipMaps, false), positiveY == null ? null : new PixmapTextureData(positiveY, [all...] |
Texture.java | 95 public Texture (FileHandle file, boolean useMipMaps) {
96 this(file, null, useMipMaps);
99 public Texture (FileHandle file, Format format, boolean useMipMaps) {
100 this(TextureData.Factory.loadFromFile(file, format, useMipMaps));
107 public Texture (Pixmap pixmap, boolean useMipMaps) {
108 this(new PixmapTextureData(pixmap, null, useMipMaps, false));
111 public Texture (Pixmap pixmap, Format format, boolean useMipMaps) {
112 this(new PixmapTextureData(pixmap, format, useMipMaps, false));
254 params.genMipMaps = texture.data.useMipMaps(); // not sure about this?
|
TextureArray.java | 48 public TextureArray (boolean useMipMaps, FileHandle... files) { 49 this(useMipMaps, Pixmap.Format.RGBA8888, files); 52 public TextureArray (boolean useMipMaps, Pixmap.Format format, FileHandle... files) { 53 this(TextureArrayData.Factory.loadFromFiles(format, useMipMaps, files));
|
GLTexture.java | 214 if (data.useMipMaps()) {
|
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/glutils/ |
PixmapTextureData.java | 27 final boolean useMipMaps;
31 public PixmapTextureData (Pixmap pixmap, Format format, boolean useMipMaps, boolean disposePixmap) {
32 this(pixmap, format, useMipMaps, disposePixmap, false);
35 public PixmapTextureData (Pixmap pixmap, Format format, boolean useMipMaps, boolean disposePixmap, boolean managed) {
38 this.useMipMaps = useMipMaps;
69 public boolean useMipMaps () {
70 return useMipMaps;
|
ETC1TextureData.java | 31 boolean useMipMaps;
40 public ETC1TextureData (FileHandle file, boolean useMipMaps) {
42 this.useMipMaps = useMipMaps;
45 public ETC1TextureData (ETC1Data encodedImage, boolean useMipMaps) {
47 this.useMipMaps = useMipMaps;
80 if (useMipMaps) MipMapGenerator.generateMipMap(target, pixmap, pixmap.getWidth(), pixmap.getHeight());
82 useMipMaps = false;
86 if (useMipMaps()) Gdx.gl20.glGenerateMipmap(GL20.GL_TEXTURE_2D); [all...] |
FileTextureData.java | 36 boolean useMipMaps;
39 public FileTextureData (FileHandle file, Pixmap preloadedPixmap, Format format, boolean useMipMaps) {
43 this.useMipMaps = useMipMaps;
118 public boolean useMipMaps () {
119 return useMipMaps;
|
FileTextureArrayData.java | 34 boolean useMipMaps; 36 public FileTextureArrayData (Pixmap.Format format, boolean useMipMaps, FileHandle[] files) { 38 this.useMipMaps = useMipMaps; 42 textureDatas[i] = TextureData.Factory.loadFromFile(files[i], format, useMipMaps);
|
FacedCubemapData.java | 42 FileHandle positiveZ, FileHandle negativeZ, boolean useMipMaps) {
43 this(TextureData.Factory.loadFromFile(positiveX, useMipMaps), TextureData.Factory.loadFromFile(
44 negativeX, useMipMaps), TextureData.Factory.loadFromFile(positiveY, useMipMaps), TextureData.Factory
45 .loadFromFile(negativeY, useMipMaps), TextureData.Factory.loadFromFile(positiveZ, useMipMaps),
46 TextureData.Factory.loadFromFile(negativeZ, useMipMaps));
57 Pixmap negativeZ, boolean useMipMaps) {
58 this(positiveX == null ? null : new PixmapTextureData(positiveX, null, useMipMaps, false), negativeX == null ? null
59 : new PixmapTextureData(negativeX, null, useMipMaps, false), positiveY == null ? null : new PixmapTextureData(positiveY, [all...] |
GLOnlyTextureData.java | 107 public boolean useMipMaps () {
|
MipMapTextureData.java | 66 public boolean useMipMaps () {
|
KTXTextureData.java | 55 private boolean useMipMaps;
59 this.useMipMaps = genMipMaps;
126 useMipMaps = true;
278 if (useMipMaps()) Gdx.gl.glGenerateMipmap(target);
350 public boolean useMipMaps () {
351 return useMipMaps;
|
FloatTextureData.java | 110 public boolean useMipMaps () {
|
/external/libgdx/backends/gdx-backends-gwt/src/com/badlogic/gdx/backends/gwt/emu/com/badlogic/gdx/graphics/ |
TextureData.java | 62 public boolean useMipMaps (); 71 public static TextureData loadFromFile (FileHandle file, boolean useMipMaps) { 72 return loadFromFile(file, null, useMipMaps); 75 public static TextureData loadFromFile (FileHandle file, Format format, boolean useMipMaps) { 77 return new FileTextureData(file, new Pixmap(file), format, useMipMaps);
|
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/utils/ |
TextureProvider.java | 33 private boolean useMipMaps;
38 useMipMaps = false;
42 Texture.TextureWrap vWrap, boolean useMipMaps) {
47 this.useMipMaps = useMipMaps;
52 Texture result = new Texture(Gdx.files.internal(fileName), useMipMaps);
|
/external/libgdx/backends/gdx-backends-gwt/src/com/badlogic/gdx/backends/gwt/emu/com/badlogic/gdx/graphics/glutils/ |
FileTextureData.java | 35 boolean useMipMaps;
38 public FileTextureData (FileHandle file, Pixmap preloadedPixmap, Format format, boolean useMipMaps) {
42 this.useMipMaps = useMipMaps;
114 public boolean useMipMaps () {
115 return useMipMaps;
|
ETC1TextureData.java | 31 public ETC1TextureData (FileHandle file, boolean useMipMaps) { 86 public boolean useMipMaps () {
|
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g2d/ |
PixmapPacker.java | 247 public synchronized TextureAtlas generateTextureAtlas (TextureFilter minFilter, TextureFilter magFilter, boolean useMipMaps) {
249 updateTextureAtlas(atlas, minFilter, magFilter, useMipMaps);
258 boolean useMipMaps) {
259 updatePageTextures(minFilter, magFilter, useMipMaps);
277 boolean useMipMaps) {
278 updatePageTextures(minFilter, magFilter, useMipMaps);
284 public synchronized void updatePageTextures (TextureFilter minFilter, TextureFilter magFilter, boolean useMipMaps) {
286 page.updateTexture(minFilter, magFilter, useMipMaps);
375 public boolean updateTexture (TextureFilter minFilter, TextureFilter magFilter, boolean useMipMaps) {
380 texture = new Texture(new PixmapTextureData(image, image.getFormat(), useMipMaps, false, true)) { [all...] |
TextureAtlas.java | 60 public final boolean useMipMaps;
67 public Page (FileHandle handle, float width, float height, boolean useMipMaps, Format format, TextureFilter minFilter,
72 this.useMipMaps = useMipMaps;
244 texture = new Texture(page.textureFile, page.format, page.useMipMaps);
|
/external/libgdx/gdx/src/com/badlogic/gdx/assets/loaders/ |
TextureAtlasLoader.java | 65 params.genMipMaps = page.useMipMaps;
|