Searched refs:texture (Results 1 - 25 of 288) sorted by relevance

1234567891011>>

/external/jmonkeyengine/engine/src/niftygui/com/jme3/niftygui/
H A DRenderImageJme.java36 import com.jme3.texture.Image;
37 import com.jme3.texture.Texture.MagFilter;
38 import com.jme3.texture.Texture.MinFilter;
39 import com.jme3.texture.Texture2D;
44 private Texture2D texture; field in class:RenderImageJme
56 texture = (Texture2D) display.getAssetManager().loadTexture(key);
57 texture.setMagFilter(linear ? MagFilter.Bilinear : MagFilter.Nearest);
58 texture.setMinFilter(linear ? MinFilter.BilinearNoMipMaps : MinFilter.NearestNoMipMaps);
59 image = texture.getImage();
65 public RenderImageJme(Texture2D texture){ argument
[all...]
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/heightmap/
H A DImageHeightmap.java7 import com.jme3.texture.Image;
/external/replicaisland/src/com/replica/replicaisland/
H A DAnimationFrame.java20 * A single animation frame. Frames contain a texture, a hold time, and collision volumes to
23 * frames. Note that an animation frame may have a null texture and null collision volumes. Null
24 * collision volumes will exclude that frame from collision detection and a null texture will
28 public Texture texture; field in class:AnimationFrame
35 texture = textureObject;
43 texture = textureObject;
H A DTextureLibrary.java34 * requesting parties via allocateTexture(). However, the texture data itself is not immediately
37 * various game systems and while the texture data itself is streamed in or loaded as necessary.
67 * Creates a Texture object that is mapped to the passed resource id. If a texture has already
73 Texture texture = getTextureByResource(resourceID);
74 if (texture == null) {
75 texture = addTexture(resourceID, -1, 0, 0);
78 return texture;
81 /** Loads a single texture into memory. Does nothing if the texture is already loaded. */
83 Texture texture
127 loadBitmap(Context context, GL10 gl, Texture texture) argument
[all...]
H A DOpenGLSystem.java53 public static final void bindTexture(int target, int texture) { argument
54 if (sLastBoundTexture != texture) {
55 sGL.glBindTexture(target, texture);
56 sLastBoundTexture = texture;
H A DScrollableBitmap.java27 public ScrollableBitmap(Texture texture, int width, int height) { argument
28 super(texture, width, height);
H A DDrawableBitmap.java35 DrawableBitmap(Texture texture, int width, int height) { argument
37 mTexture = texture;
102 final Texture texture = mTexture;
104 if (gl != null && texture != null) {
105 assert texture.loaded;
123 || !texture.loaded) {
128 OpenGLSystem.bindTexture(GL10.GL_TEXTURE_2D, texture.name);
130 // This is necessary because we could be drawing the same texture with different
184 * Changes the crop parameters of this bitmap. Note that the underlying OpenGL texture's
206 public void setTexture(Texture texture) { argument
[all...]
/external/jmonkeyengine/engine/src/core/com/jme3/material/
H A DMatParamTexture.java9 import com.jme3.texture.Texture;
14 private Texture texture; field in class:MatParamTexture
17 public MatParamTexture(VarType type, String name, Texture texture, int unit) { argument
18 super(type, name, texture, null);
19 this.texture = texture;
27 return texture;
32 this.texture = value;
57 oc.write(texture, "texture", nul
[all...]
/external/webkit/Source/WebCore/platform/graphics/chromium/
H A DVideoLayerChromium.cpp82 Texture texture = m_textures[plane]; local
83 if (!texture.isEmpty && texture.ownedByLayerRenderer)
84 GLC(context, context->deleteTexture(texture.id));
126 // If the incoming frame is backed by a texture (i.e. decoded in hardware),
127 // then we do not need to allocate a texture via the layer renderer. Instead
128 // we save the texture data then exit.
147 // Update texture planes.
149 Texture texture = m_textures[plane]; local
150 ASSERT(frame->requiredTextureSize(plane) == texture
193 Texture texture = m_textures[plane]; local
[all...]
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/textures/blending/
H A DTextureBlenderDDS.java12 import com.jme3.texture.Image;
13 import com.jme3.texture.Image.Format;
14 import com.jme3.texture.Texture;
15 import com.jme3.texture.Texture2D;
16 import com.jme3.texture.Texture3D;
20 * The class that is responsible for blending the following texture types:
32 public Texture blend(float[] materialColor, Texture texture, float[] color, float affectFactor, int blendType, boolean neg, BlenderContext blenderContext) { argument
33 Format format = texture.getImage().getFormat();
34 ByteBuffer data = texture.getImage().getData(0);
37 int width = texture
[all...]
H A DTextureBlender.java4 import com.jme3.texture.Texture;
7 * An interface for texture blending classes (the classes that mix the texture
31 * This method blends the given texture with material color and the defined
32 * color in 'map to' panel. As a result of this method a new texture is
33 * created. The input texture is NOT.
37 * @param texture
38 * the texture we use in blending
40 * the color defined for the texture
42 * the factor that the color affects the texture (valu
50 blend(float[] materialColor, Texture texture, float[] color, float affectFactor, int blendType, boolean neg, BlenderContext blenderContext) argument
[all...]
H A DTextureBlenderFactory.java7 import com.jme3.texture.Texture;
8 import com.jme3.texture.Image.Format;
11 * This class creates the texture blending class depending on the texture type.
22 * the texture format
70 LOGGER.log(Level.WARNING, "Image type not yet supported for blending: {0}. Returning a blender that does not change the texture.", format);
73 public Texture blend(float[] materialColor, Texture texture, float[] color, float affectFactor, int blendType, boolean neg, BlenderContext blenderContext) {
74 return texture;
/external/jmonkeyengine/engine/src/android/com/jme3/texture/plugins/
H A DAndroidImageLoader.java1 package com.jme3.texture.plugins;
7 import com.jme3.texture.Image;
/external/webkit/Source/WebCore/platform/graphics/android/rendering/
H A DTextureOwner.h40 virtual bool removeTexture(TileTexture* texture) = 0;
H A DGLUtils.h72 static void deleteTexture(GLuint* texture);
77 static void createTextureWithBitmap(GLuint texture, const SkBitmap& bitmap, GLint filter = GL_LINEAR);
78 static void updateTextureWithBitmap(GLuint texture, const SkBitmap& bitmap,
80 static void createEGLImageFromTexture(GLuint texture, EGLImageKHR* image);
81 static void createTextureFromEGLImage(GLuint texture, EGLImageKHR image, GLint filter = GL_LINEAR);
H A DTile.cpp43 // texture copies (cost will vary by device). It's a tradeoff between
44 // the rasterization cost and the FBO texture recopy cost when using
89 // neither texture is relevant
104 TileTexture* texture = TilesManager::instance()->getAvailableTexture(this); local
107 if (texture && m_backTexture != texture) {
108 ALOGV("tile %p reserving texture %p, back was %p (front %p)",
109 this, texture, m_backTexture, m_frontTexture);
111 m_backTexture = texture;
121 bool Tile::removeTexture(TileTexture* texture) argument
251 TileTexture * texture = (m_state == ReadyToSwap) ? m_backTexture : m_frontTexture; local
304 TileTexture* texture = m_backTexture; local
[all...]
/external/jmonkeyengine/engine/src/test/jme3test/niftygui/
H A DTestNiftyToMesh.java43 import com.jme3.texture.FrameBuffer;
44 import com.jme3.texture.Image.Format;
45 import com.jme3.texture.Texture.MagFilter;
46 import com.jme3.texture.Texture.MinFilter;
47 import com.jme3.texture.Texture2D;
/external/skia/src/gpu/gl/
H A DGrGLRenderTarget.cpp34 GrGLTexture* texture)
36 texture,
42 GrAssert(NULL != texture);
43 // FBO 0 can't also be a texture, right?
48 GrAssert(viewport.fWidth == texture->width());
49 GrAssert(viewport.fHeight == texture->height());
30 GrGLRenderTarget(GrGpuGL* gpu, const Desc& desc, const GrGLIRect& viewport, GrGLTexID* texID, GrGLTexture* texture) argument
/external/jmonkeyengine/engine/src/core/com/jme3/util/
H A DSkyFactory.java12 import com.jme3.texture.Image;
13 import com.jme3.texture.Image.Format;
14 import com.jme3.texture.Texture;
15 import com.jme3.texture.TextureCubeMap;
28 * Creates a sky using the given texture (cubemap or spheremap).
31 * @param texture Texture to use for the sky
33 * to get a texture coordinate. Use Vector3f.UNIT_XYZ to not apply
35 * @param sphereMap The way the texture is used
45 public static Spatial createSky(AssetManager assetManager, Texture texture, Vector3f normalScale, boolean sphereMap) { argument
46 return createSky(assetManager, texture, normalScal
69 createSky(AssetManager assetManager, Texture texture, Vector3f normalScale, boolean sphereMap, int sphereRadius) argument
203 createSky(AssetManager assetManager, Texture texture, boolean sphereMap) argument
[all...]
/external/jmonkeyengine/engine/src/android/com/jme3/asset/
H A DAndroidAssetManager.java37 import com.jme3.texture.Texture;
38 import com.jme3.texture.plugins.AndroidImageLoader;
91 registerLoaderSafe(com.jme3.texture.plugins.DDSLoader.class, "dds");
92 registerLoaderSafe(com.jme3.texture.plugins.PFMLoader.class, "pfm");
93 registerLoaderSafe(com.jme3.texture.plugins.HDRLoader.class, "hdr");
94 registerLoaderSafe(com.jme3.texture.plugins.TGALoader.class, "tga");
107 * Loads a texture.
/external/jmonkeyengine/engine/src/core-plugins/com/jme3/texture/plugins/
H A DImageFlipper.java33 package com.jme3.texture.plugins;
35 import com.jme3.texture.Image;
/external/jmonkeyengine/engine/src/test/jme3test/asset/
H A DTestAbsoluteLocators.java40 import com.jme3.texture.Texture;
41 import com.jme3.texture.plugins.AWTLoader;
56 // find a texture
65 throw new RuntimeException("Cannot find texture!");
/external/jmonkeyengine/engine/src/test/jme3test/texture/
H A DTestSkyLoading.java33 package jme3test.texture;
37 import com.jme3.texture.Texture;
/external/mesa3d/docs/OLD/
H A DMESA_sprite_point.spec33 a point is rendered as if it were a quadrilateral with unique texture
44 1. How are the texture coordinates computed?
46 The lower-left corner has texture coordinate (0,0,r,q).
50 2. What about texgen and texture matrices?
52 Texgen and the texture matrix have no effect on the point's s and t
53 texture coordinates. The r and q coordinates may have been computed
54 by texgen or the texture matrix. Note that with a 3D texture and/or
56 3D texture.
65 Smoothed points can be approximated by using an appropriate texture
[all...]
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/textures/
H A DImageLoader.java35 import com.jme3.texture.Image;
36 import com.jme3.texture.plugins.AWTLoader;
37 import com.jme3.texture.plugins.DDSLoader;
38 import com.jme3.texture.plugins.TGALoader;

Completed in 301 milliseconds

1234567891011>>