HomeSort by relevance Sort by last modified time
    Searched full:texture (Results 51 - 75 of 1186) sorted by null

1 23 4 5 6 7 8 91011>>

  /frameworks/base/media/mca/filterfw/native/core/
gl_buffer_interface.h 29 // Returns the held texture id.
32 // Binds the held texture. This may result in creating the texture if it
36 // Generates the mipmap chain of the held texture. Returns true, iff
40 // Set a texture parameter (see glTextureParameter documentation). Returns
44 // Returns the texture target used.
45 // Texture Target should be: GL_TEXTURE_2D, GL_TEXTURE_EXTERNAL_OES.
gl_frame.cpp 95 // Delete texture
97 // Bind FBO so that texture is unbound from it during deletion
122 if (!GLEnv::CheckGLError("Setting texture parameter!")) {
138 return !GLEnv::CheckGLError("Resetting texture parameters!");
240 // Create texture backing if necessary
246 // Create and bind FBO to texture if necessary
258 return !GLEnv::CheckGLError("Texture Binding");
272 // Make sure we have a texture
276 // Bind the texture
280 return !GLEnv::CheckGLError("Texture Binding")
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/state/transforms/
TexturePropertyAccessor.java 25 * texture property. Texture properties are accessed by first identifying the active
26 * texture unit ({@link GLStateType#ACTIVE_TEXTURE_UNIT}), and then identifying the texture
47 // identify the texture that is bound in the current active texture unit
54 // now extract the required property from the selected texture
  /frameworks/base/libs/hwui/
ShapeCache.h 30 #include "Texture.h"
53 * Alpha texture used to represent a path.
55 struct PathTexture: public Texture {
56 PathTexture(): Texture() {
304 * Any texture added to the cache causing the cache to grow beyond the maximum
305 * allowed size will also cause the oldest texture to be kicked out.
317 void operator()(Entry& path, PathTexture*& texture);
340 void addTexture(const Entry& entry, SkBitmap* bitmap, PathTexture* texture);
343 * Ensures there is enough space in the cache for a texture of the specified
357 void removeTexture(PathTexture* texture);
512 PathTexture* texture = new PathTexture; local
585 PathTexture* texture = createTexture(left, top, offset, width, height, path->getGenerationID()); local
    [all...]
GradientCache.h 25 #include "Texture.h"
101 * Any texture added to the cache causing the cache to grow beyond the maximum
102 * allowed size will also cause the oldest texture to be kicked out.
104 class GradientCache: public OnEntryRemoved<GradientCacheEntry, Texture*> {
114 void operator()(GradientCacheEntry& shader, Texture*& texture);
117 * Returns the texture associated with the specified shader.
119 Texture* get(uint32_t* colors, float* positions,
141 * Adds a new linear gradient to the cache. The generated texture is
144 Texture* addLinearGradient(GradientCacheEntry& gradient
    [all...]
  /external/replicaisland/src/com/replica/replicaisland/
DebugSystem.java 27 private Texture mRedBoxTexture;
28 private Texture mBlueBoxTexture;
29 private Texture mOutlineBoxTexture;
30 private Texture mRedCircleTexture;
31 private Texture mBlueCircleTexture;
32 private Texture mOutlineCircleTexture;
70 Texture texture = getTexture(shapeType, colorType); local
71 bitmap.resize((int)texture.width, (int)texture.height)
    [all...]
Texture.java 21 * OpenGL texture names, and also as a placeholder object for textures that may or may not have
22 * been loaded into vram. Objects can cache Texture objects but should *never* cache the texture
25 public class Texture extends AllocationGuard {
32 public Texture() {
  /external/jmonkeyengine/engine/src/test/jme3test/texture/
TestSkyLoading.java 33 package jme3test.texture;
37 import com.jme3.texture.Texture;
48 Texture west = assetManager.loadTexture("Textures/Sky/Lagoon/lagoon_west.jpg");
49 Texture east = assetManager.loadTexture("Textures/Sky/Lagoon/lagoon_east.jpg");
50 Texture north = assetManager.loadTexture("Textures/Sky/Lagoon/lagoon_north.jpg");
51 Texture south = assetManager.loadTexture("Textures/Sky/Lagoon/lagoon_south.jpg");
52 Texture up = assetManager.loadTexture("Textures/Sky/Lagoon/lagoon_up.jpg");
53 Texture down = assetManager.loadTexture("Textures/Sky/Lagoon/lagoon_down.jpg");
TestTextureArray.java 1 package jme3test.texture;
11 import com.jme3.texture.Image;
12 import com.jme3.texture.Texture;
13 import com.jme3.texture.TextureArray;
24 Material mat = new Material(assetManager, "jme3test/texture/UnshadedArray.j3md");
34 Texture tex1 = assetManager.loadTexture( "Textures/Terrain/Pond/Pond.jpg");
35 Texture tex2 = assetManager.loadTexture("Textures/Terrain/Rock2/rock.jpg");
  /external/jmonkeyengine/engine/src/core-data/Common/MatDefs/Misc/
Particle.j3md 4 Texture2D Texture
12 // Texture of the glowing parts of the material
38 USE_TEXTURE : Texture
61 USE_TEXTURE : Texture
83 USE_TEXTURE : Texture
  /external/webkit/Source/ThirdParty/ANGLE/src/libGLESv2/
ResourceManager.h 25 class Texture;
54 void deleteTexture(GLuint texture);
60 Texture *getTexture(GLuint handle);
66 void checkTextureAllocation(GLuint texture, SamplerType type);
83 typedef std::map<GLuint, Texture*> TextureMap;
  /packages/apps/Gallery2/src/com/android/gallery3d/ui/
FadeInTexture.java 19 // FadeInTexture is a texture which begins with a color, then gradually animates
20 // into a given texture.
21 public class FadeInTexture extends FadeTexture implements Texture {
27 public FadeInTexture(int color, BasicTexture texture) {
28 super(texture);
Texture.java 19 // Texture is a rectangular image which can be drawn on GLCanvas.
20 // The isOpaque() function gives a hint about whether the texture is opaque,
23 // This is the current texture hierarchy:
25 // Texture
37 public interface Texture {
BasicTexture.java 23 // BasicTexture is a Texture corresponds to a real GL texture.
25 // If a BasicTexture is loaded into GL memory, it has a GL texture id.
26 abstract class BasicTexture implements Texture {
72 * Sets the content size of this texture. In OpenGL, the actual texture
81 Log.w(TAG, String.format("texture is too large: %d x %d",
108 // Returns true if the texture has one pixel transparent border around the
111 // The jigged edges appear because we use GL_CLAMP_TO_EDGE for texture wrap
113 // covered by the texture will use the color of the edge texel. If we ad
    [all...]
  /sdk/emulator/opengl/tests/ut_renderer/
RendererContext.cpp 44 void RendererContext::setActiveTexture(GLenum texture)
46 m_activeTexture = texture - GL_TEXTURE0;
49 void RendererContext::setTex2DBind(GLuint texture)
51 m_tex2DBind[m_activeTexture] = texture;
62 r->texture = m_tex2DBind[m_activeTexture];
  /external/jmonkeyengine/engine/src/test/jme3test/light/
TestSpotLightTerrain.java 52 import com.jme3.texture.Texture;
53 import com.jme3.texture.Texture.WrapMode;
58 * Uses the terrain's lighting texture with normal maps and lights.
118 // TERRAIN TEXTURE material
128 Texture heightMapImage = assetManager.loadTexture("Textures/Terrain/splat/mountains512.png");
131 // GRASS texture
132 Texture grass = assetManager.loadTexture("Textures/Terrain/splat/grass.jpg");
137 // DIRT texture
    [all...]
  /external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/textures/blending/
TextureBlenderLuminance.java 10 import com.jme3.texture.Image;
11 import com.jme3.texture.Texture;
12 import com.jme3.texture.Texture2D;
13 import com.jme3.texture.Texture3D;
14 import com.jme3.texture.Image.Format;
18 * The class that is responsible for blending the following texture types:
33 public Texture blend(float[] materialColor, Texture texture, float[] color, float affectFactor, int blendType, boolean neg, BlenderContext blenderContext) {
    [all...]
  /frameworks/base/media/mca/effect/java/android/media/effect/
Effect.java 23 * passed in the form of OpenGL ES 2.0 texture names. Typical frames could be images loaded from
52 * <p>Apply the Effect on the specified input GL texture, and write the result into the
53 * output GL texture. The texture names passed must be valid in the current GL context.</p>
55 * <p>The input texture must be a valid texture name with the given width and height and must be
56 * bound to a GL_TEXTURE_2D texture image (usually done by calling the glTexImage2D() function).
59 * <p>If the output texture has not been bound to a texture image, it will be automatically
61 * the same size as the input. No other mipmap levels are defined. If the output texture wa
    [all...]
  /external/skia/src/gpu/gl/
GrGLRenderTarget.cpp 34 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());
  /external/jmonkeyengine/engine/src/core/com/jme3/texture/
Texture2D.java 33 package com.jme3.texture;
44 public class Texture2D extends Texture {
50 * Creates a new two-dimensional texture with default attributes.
57 * Creates a new two-dimensional texture using the given image.
70 * Creates a new two-dimensional texture for the purpose of offscreen
73 * @see com.jme3.texture.FrameBuffer
84 * Creates a new two-dimensional texture for the purpose of offscreen
87 * @see com.jme3.texture.FrameBuffer
100 public Texture createSimpleClone() {
107 public Texture createSimpleClone(Texture rVal)
    [all...]
Texture3D.java 32 package com.jme3.texture;
43 public class Texture3D extends Texture {
50 * Creates a new two-dimensional texture with default attributes.
57 * Creates a new three-dimensional texture using the given image.
70 * Creates a new three-dimensional texture for the purpose of offscreen
73 * @see com.jme3.texture.FrameBuffer
85 * Creates a new three-dimensional texture for the purpose of offscreen
88 * @see com.jme3.texture.FrameBuffer
101 public Texture createSimpleClone() {
108 public Texture createSimpleClone(Texture rVal)
    [all...]
  /external/jmonkeyengine/engine/src/android/com/jme3/texture/plugins/
AndroidImageLoader.java 1 package com.jme3.texture.plugins;
7 import com.jme3.texture.Image;
  /external/jmonkeyengine/engine/src/ogre/com/jme3/scene/plugins/ogre/matext/
MaterialExtension.java 68 * Set mapping from an Ogre3D base material texture alias to a
69 * jME3 texture param
70 * @param ogreTexAlias The texture alias in the Ogre3D base material
71 * @param jmeTexParam The texture param name in the jME3 material definition.
78 * Retreives a mapping from an Ogre3D base material texture alias
79 * to a jME3 texture param
80 * @param ogreTexAlias The texture alias in the Ogre3D base material
81 * @return The texture alias in the Ogre3D base material
  /external/skia/include/gpu/
GrContext.h 54 * if you have lost the associated GPU context, and thus internal texture,
79 * Returns the number of bytes of GPU memory hosted by the texture cache.
87 * Token that refers to an entry in the texture cache. Returned by
98 GrTexture* texture() const;
109 * Key generated by client. Should be a unique key on the texture data.
110 * Does not need to consider that width and height of the texture. Two
116 * Create a new entry, based on the specified key and texture, and return
120 * of the texture. Respecified to findAndLockTexture
121 * for subsequent uses of the texture.
122 * @param sampler The sampler state used to draw a texture may be use
837 GrTexture* texture() { return fEntry.texture(); } function in class:GrAutoScratchTexture
    [all...]
  /external/jmonkeyengine/engine/src/test/jme3test/terrain/
TerrainTestAdvanced.java 52 import com.jme3.texture.Texture;
53 import com.jme3.texture.Texture.WrapMode;
59 * Uses the terrain's lighting texture with normal maps and lights.
95 // First, we load up our textures and the heightmap texture for the terrain
97 // TERRAIN TEXTURE material
107 Texture heightMapImage = assetManager.loadTexture("Textures/Terrain/splat/mountains512.png");
109 // GRASS texture
110 Texture grass = assetManager.loadTexture("Textures/Terrain/splat/grass.jpg")
    [all...]

Completed in 2568 milliseconds

1 23 4 5 6 7 8 91011>>