HomeSort by relevance Sort by last modified time
    Searched refs:TextureData (Results 1 - 22 of 22) sorted by null

  /external/libgdx/gdx/src/com/badlogic/gdx/graphics/glutils/
FacedCubemapData.java 15 import com.badlogic.gdx.graphics.TextureData;
18 /** A FacedCubemapData holds a cubemap data definition based on a {@link TextureData} per face.
23 protected final TextureData[] data = new TextureData[6];
28 this((TextureData)null, (TextureData)null, (TextureData)null, (TextureData)null, (TextureData)null, (TextureData)null);
    [all...]
MipMapTextureData.java 6 import com.badlogic.gdx.graphics.TextureData;
9 /** This class will load each contained TextureData to the chosen mipmap level.
11 public class MipMapTextureData implements TextureData{
12 TextureData[] mips;
15 public MipMapTextureData(TextureData... mipMapData){
16 mips = new TextureData[mipMapData.length];
FileTextureArrayData.java 24 import com.badlogic.gdx.graphics.TextureData;
30 private TextureData[] textureDatas;
40 textureDatas = new TextureData[files.length];
42 textureDatas[i] = TextureData.Factory.loadFromFile(files[i], format, useMipMaps);
55 for (TextureData data : textureDatas) {
72 if (textureDatas[i].getType() == TextureData.TextureDataType.Custom) {
75 TextureData texData = textureDatas[i];
123 for (TextureData data : textureDatas) {
GLOnlyTextureData.java 23 import com.badlogic.gdx.graphics.TextureData;
26 /** A {@link TextureData} implementation which should be used to create gl only textures. This TextureData fits perfectly for
28 public class GLOnlyTextureData implements TextureData {
83 throw new GdxRuntimeException("This TextureData implementation does not return a Pixmap");
88 throw new GdxRuntimeException("This TextureData implementation does not return a Pixmap");
PixmapTextureData.java 21 import com.badlogic.gdx.graphics.TextureData;
24 public class PixmapTextureData implements TextureData {
85 throw new GdxRuntimeException("This TextureData implementation does not upload data itself");
FloatTextureData.java 26 import com.badlogic.gdx.graphics.TextureData;
30 /** A {@link TextureData} implementation which should be used to create float textures. */
31 public class FloatTextureData implements TextureData {
86 throw new GdxRuntimeException("This TextureData implementation does not return a Pixmap");
91 throw new GdxRuntimeException("This TextureData implementation does not return a Pixmap");
ETC1TextureData.java 24 import com.badlogic.gdx.graphics.TextureData;
28 public class ETC1TextureData implements TextureData {
95 throw new GdxRuntimeException("This TextureData implementation does not return a Pixmap");
100 throw new GdxRuntimeException("This TextureData implementation does not return a Pixmap");
FileTextureData.java 24 import com.badlogic.gdx.graphics.TextureData;
28 public class FileTextureData implements TextureData {
138 throw new GdxRuntimeException("This TextureData implementation does not upload data itself");
KTXTextureData.java 19 import com.badlogic.gdx.graphics.TextureData;
32 public class KTXTextureData implements TextureData, CubemapData {
291 throw new GdxRuntimeException("This TextureData implementation does not return a Pixmap");
296 throw new GdxRuntimeException("This TextureData implementation does not return a Pixmap");
346 throw new GdxRuntimeException("This TextureData implementation directly handles texture formats.");
  /external/libgdx/backends/gdx-backends-gwt/src/com/badlogic/gdx/backends/gwt/emu/com/badlogic/gdx/graphics/
TextureData.java 8 /** Used by a {@link Texture} to load the pixel data. A TextureData can either return a {@link Pixmap} or upload the pixel data
12 * generated and whether the TextureData is able to manage the pixel data if the OpenGL ES context is lost.</p>
14 * In case the TextureData implementation has the type {@link TextureDataType#Custom}, the implementation has to generate the
22 public interface TextureData {
23 /** The type of this {@link TextureData}.
32 /** @return whether the TextureData is prepared or not. */
35 /** Prepares the TextureData for a call to {@link #consumePixmap()} or {@link #consumeCustomData(int)}. This method can be
71 public static TextureData loadFromFile (FileHandle file, boolean useMipMaps) {
75 public static TextureData loadFromFile (FileHandle file, Format format, boolean useMipMaps) {
  /external/libgdx/backends/gdx-backends-gwt/src/com/badlogic/gdx/backends/gwt/emu/com/badlogic/gdx/graphics/glutils/
ETC1TextureData.java 23 import com.badlogic.gdx.graphics.TextureData;
26 public class ETC1TextureData implements TextureData {
FileTextureData.java 23 import com.badlogic.gdx.graphics.TextureData;
27 public class FileTextureData implements TextureData {
134 throw new GdxRuntimeException("This TextureData implementation does not upload data itself");
  /external/libgdx/gdx/src/com/badlogic/gdx/graphics/
TextureData.java 26 /** Used by a {@link Texture} to load the pixel data. A TextureData can either return a {@link Pixmap} or upload the pixel data
30 * generated and whether the TextureData is able to manage the pixel data if the OpenGL ES context is lost.</p>
32 * In case the TextureData implementation has the type {@link TextureDataType#Custom}, the implementation has to generate the
40 public interface TextureData {
41 /** The type of this {@link TextureData}.
50 /** @return whether the TextureData is prepared or not. */
53 /** Prepares the TextureData for a call to {@link #consumePixmap()} or {@link #consumeCustomData(int)}. This method can be
89 public static TextureData loadFromFile (FileHandle file, boolean useMipMaps) {
93 public static TextureData loadFromFile (FileHandle file, Format format, boolean useMipMaps) {
Cubemap.java 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));
137 /** Construct a Cubemap with the specified {@link TextureData}'s for the sides */
138 public Cubemap (TextureData positiveX, TextureData negativeX, TextureData positiveY, TextureData negativeY,
    [all...]
Texture.java 85 TextureData data;
100 this(TextureData.Factory.loadFromFile(file, format, useMipMaps));
119 public Texture (TextureData data) {
123 protected Texture (int glTarget, int glHandle, TextureData data) {
129 public void load (TextureData data) {
144 /** Used internally to reload after context loss. Creates a new GL handle then calls {@link #load(TextureData)}. Use this only
182 public TextureData getTextureData () {
249 params.textureData = texture.getTextureData();
GLTexture.java 23 import com.badlogic.gdx.graphics.TextureData.TextureDataType;
28 * Also provides some (protected) static methods to create TextureData and upload image data.
180 protected static void uploadImageData (int target, TextureData data) {
184 public static void uploadImageData (int target, TextureData data, int miplevel) {
  /external/libgdx/backends/gdx-backends-gwt/src/com/badlogic/gdx/backends/gwt/emu/com/badlogic/gdx/assets/loaders/
TextureLoader.java 28 import com.badlogic.gdx.graphics.TextureData;
33 TextureData data;
42 if (parameter == null || (parameter != null && parameter.textureData == null)) {
58 data = parameter.textureData;
89 /** The texture to put the {@link TextureData} in, optional. **/
91 /** TextureData for textures created on the fly, optional. When set, all format and genMipMaps are ignored */
92 public TextureData textureData = null;
CubemapLoader.java 13 import com.badlogic.gdx.graphics.TextureData;
78 /** The texture to put the {@link TextureData} in, optional. **/
  /external/libgdx/gdx/src/com/badlogic/gdx/assets/loaders/
TextureLoader.java 30 import com.badlogic.gdx.graphics.TextureData;
44 TextureData data;
57 if (parameter == null || parameter.textureData == null) {
69 info.data = TextureData.Factory.loadFromFile(file, format, genMipMaps);
71 info.data = parameter.textureData;
103 /** The texture to put the {@link TextureData} in, optional. **/
105 /** TextureData for textures created on the fly, optional. When set, all format and genMipMaps are ignored */
106 public TextureData textureData = null;
CubemapLoader.java 31 import com.badlogic.gdx.graphics.TextureData;
103 /** The texture to put the {@link TextureData} in, optional. **/
  /frameworks/base/libs/hwui/
Glop.h 121 struct TextureData {
  /frameworks/base/libs/hwui/renderstate/
RenderState.cpp 303 const Glop::Fill::TextureData& texture = fill.texture;

Completed in 318 milliseconds