Searched refs:texture (Results 1 - 25 of 533) 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/skia/src/gpu/effects/
H A DGrSingleTextureEffect.cpp10 GrSingleTextureEffect::GrSingleTextureEffect(GrTexture* texture, argument
13 : fCoordTransform(coordSet, m, texture, GrTextureParams::kNone_FilterMode)
14 , fTextureAccess(texture) {
19 GrSingleTextureEffect::GrSingleTextureEffect(GrTexture* texture, argument
23 : fCoordTransform(coordSet, m, texture, filterMode)
24 , fTextureAccess(texture, filterMode) {
29 GrSingleTextureEffect::GrSingleTextureEffect(GrTexture* texture, argument
33 : fCoordTransform(coordSet, m, texture, params.filterMode())
34 , fTextureAccess(texture, params) {
H A DGr1DKernelEffect.h16 * has a pixel radius. The kernel is specified in the src texture's space
31 Gr1DKernelEffect(GrTexture* texture, argument
34 : GrSingleTextureEffect(texture, GrCoordTransform::MakeDivByTextureWHMatrix(texture))
/external/mesa3d/src/gallium/auxiliary/util/
H A Du_sampler.h44 const struct pipe_resource *texture,
49 const struct pipe_resource *texture,
H A Du_sampler.c39 const struct pipe_resource *texture,
45 /* XXX: Check if format is compatible with texture->format.
50 view->u.tex.last_level = texture->last_level;
52 view->u.tex.last_layer = texture->target == PIPE_TEXTURE_3D ?
53 texture->depth0 - 1 : texture->array_size - 1;
89 const struct pipe_resource *texture,
94 texture,
101 const struct pipe_resource *texture,
106 texture,
38 default_template(struct pipe_sampler_view *view, const struct pipe_resource *texture, enum pipe_format format, unsigned expand_green_blue) argument
88 u_sampler_view_default_template(struct pipe_sampler_view *view, const struct pipe_resource *texture, enum pipe_format format) argument
100 u_sampler_view_default_dx9_template(struct pipe_sampler_view *view, const struct pipe_resource *texture, enum pipe_format format) argument
[all...]
/external/deqp/modules/internal/
H A DditImageIOTests.cpp54 tcu::TextureLevel texture; local
55 tcu::ImageIO::loadImage(texture, m_testCtx.getArchive(), m_filename.c_str());
57 m_testCtx.getLog() << TestLog::Message << "Loaded " << texture.getWidth() << "x" << texture.getHeight() << "x" << texture.getDepth() << " image with format " << texture.getFormat() << TestLog::EndMessage;
60 TCU_CHECK(texture.getAccess().getRowPitch() == texture.getWidth()*texture.getFormat().getPixelSize());
61 TCU_CHECK(texture
[all...]
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/heightmap/
H A DImageHeightmap.java7 import com.jme3.texture.Image;
/external/skia/src/gpu/
H A DGrTextureAccess.cpp19 GrTextureAccess::GrTextureAccess(GrTexture* texture, const GrTextureParams& params) { argument
20 this->reset(texture, params);
23 GrTextureAccess::GrTextureAccess(GrTexture* texture, argument
26 this->reset(texture, filterMode, tileXAndY);
29 GrTextureAccess::GrTextureAccess(GrTexture* texture, argument
32 this->reset(texture, swizzle, params);
35 GrTextureAccess::GrTextureAccess(GrTexture* texture, argument
39 this->reset(texture, swizzle, filterMode, tileXAndY);
42 void GrTextureAccess::reset(GrTexture* texture, argument
45 SkASSERT(texture);
53 reset(GrTexture* texture, const char* swizzle, GrTextureParams::FilterMode filterMode, SkShader::TileMode tileXAndY) argument
65 reset(GrTexture* texture, const GrTextureParams& params) argument
74 reset(GrTexture* texture, GrTextureParams::FilterMode filterMode, SkShader::TileMode tileXAndY) argument
[all...]
H A DGrPaint.cpp26 void GrPaint::addColorTextureProcessor(GrTexture* texture, const SkMatrix& matrix) { argument
27 this->addColorProcessor(GrSimpleTextureEffect::Create(texture, matrix))->unref();
30 void GrPaint::addCoverageTextureProcessor(GrTexture* texture, const SkMatrix& matrix) { argument
31 this->addCoverageProcessor(GrSimpleTextureEffect::Create(texture, matrix))->unref();
34 void GrPaint::addColorTextureProcessor(GrTexture* texture, argument
37 this->addColorProcessor(GrSimpleTextureEffect::Create(texture, matrix, params))->unref();
40 void GrPaint::addCoverageTextureProcessor(GrTexture* texture, argument
43 this->addCoverageProcessor(GrSimpleTextureEffect::Create(texture, matrix, params))->unref();
H A DGrCoordTransform.cpp13 void GrCoordTransform::reset(GrCoordSet sourceCoords, const SkMatrix& m, const GrTexture* texture, argument
15 SkASSERT(texture);
20 fReverseY = kBottomLeft_GrSurfaceOrigin == texture->origin();
29 if (texture->getContext()) {
30 const GrShaderCaps* caps = texture->getContext()->getGpu()->caps()->shaderCaps();
32 int maxD = SkTMax(texture->width(), texture->height());
38 // texture coords from 0.5 to 1.0.
/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);
/external/skia/src/gpu/gl/debug/
H A DGrTextureUnitObj.cpp12 void GrTextureUnitObj::setTexture(GrTextureObj *texture) { argument
22 fTexture = texture;
/external/skia/include/gpu/
H A DGrCoordTransform.h48 * Create a transformation that maps [0, 1] to a texture's boundaries. The precision is inferred
49 * from the texture size and filter. The texture origin also implies whether a y-reversal should
53 const GrTexture* texture,
55 SkASSERT(texture);
57 this->reset(sourceCoords, texture, filter);
61 * Create a transformation from a matrix. The precision is inferred from the texture size and
62 * filter. The texture origin also implies whether a y-reversal should be performed.
65 const GrTexture* texture, GrTextureParams::FilterMode filter) {
67 SkASSERT(texture);
52 GrCoordTransform(GrCoordSet sourceCoords, const GrTexture* texture, GrTextureParams::FilterMode filter) argument
64 GrCoordTransform(GrCoordSet sourceCoords, const SkMatrix& m, const GrTexture* texture, GrTextureParams::FilterMode filter) argument
80 reset(GrCoordSet sourceCoords, const GrTexture* texture, GrTextureParams::FilterMode filter) argument
125 MakeDivByTextureWHMatrix(const GrTexture* texture) argument
[all...]
H A DGrTexture.h25 * Return the native ID or handle to the texture, depending on the
26 * platform. e.g. on OpenGL, return the texture ID.
31 * This function indicates that the texture parameters (wrap mode, filtering, ...) have been
64 // for this texture if the texture is power of two sized.
74 * Represents a texture that is intended to be accessed in device coords with an offset.
84 GrDeviceCoordTexture(GrTexture* texture, const SkIPoint& offset) argument
85 : fTexture(SkSafeRef(texture))
100 GrTexture* texture() const { return fTexture.get(); } function in class:GrDeviceCoordTexture
102 GrTexture* setTexture(GrTexture* 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/deqp/framework/common/
H A DtcuTexCompareVerifier.hpp55 bool isTexCompareResultValid (const Texture2DView& texture, const Sampler& sampler, const TexComparePrecision& prec, const Vec2& coord, const Vec2& lodBounds, const float cmpReference, const float result);
56 bool isTexCompareResultValid (const TextureCubeView& texture, const Sampler& sampler, const TexComparePrecision& prec, const Vec3& coord, const Vec2& lodBounds, const float cmpReference, const float result);
57 bool isTexCompareResultValid (const Texture2DArrayView& texture, const Sampler& sampler, const TexComparePrecision& prec, const Vec3& coord, const Vec2& lodBounds, const float cmpReference, const float result);
59 bool isGatherOffsetsCompareResultValid (const Texture2DView& texture, const Sampler& sampler, const TexComparePrecision& prec, const Vec2& coord, const IVec2 (&offsets)[4], float cmpReference, const Vec4& result);
60 bool isGatherOffsetsCompareResultValid (const Texture2DArrayView& texture, const Sampler& sampler, const TexComparePrecision& prec, const Vec3& coord, const IVec2 (&offsets)[4], float cmpReference, const Vec4& result);
62 bool isGatherCompareResultValid (const TextureCubeView& texture, const Sampler& sampler, const TexComparePrecision& prec, const Vec3& coord, float cmpReference, const Vec4& result);
/external/mesa3d/src/gallium/drivers/trace/
H A Dtr_texture.h81 trace_resource(struct pipe_resource *texture) argument
83 if(!texture)
85 (void)trace_screen(texture->screen);
86 return (struct trace_resource *)texture;
95 (void)trace_resource(surface->texture);
121 struct pipe_resource *texture);
H A Dtr_texture.c40 struct pipe_resource *texture)
44 if(!texture)
47 assert(texture->screen == tr_scr->screen);
53 memcpy(&tr_res->base, texture, sizeof(struct pipe_resource));
57 tr_res->resource = texture;
62 pipe_resource_reference(&texture, NULL);
85 assert(surface->texture == tr_res->resource);
94 tr_surf->base.texture = NULL;
95 pipe_resource_reference(&tr_surf->base.texture, &tr_res->base);
109 pipe_resource_reference(&tr_surf->base.texture, NUL
39 trace_resource_create(struct trace_screen *tr_scr, struct pipe_resource *texture) argument
[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...]
/external/mesa3d/src/mesa/main/
H A Dtexstorage.h46 _mesa_TextureStorage1DEXT(GLuint texture, GLenum target, GLsizei levels,
51 _mesa_TextureStorage2DEXT(GLuint texture, GLenum target, GLsizei levels,
56 _mesa_TextureStorage3DEXT(GLuint texture, GLenum target, GLsizei levels,
/external/jmonkeyengine/engine/src/android/com/jme3/texture/plugins/
H A DAndroidImageLoader.java1 package com.jme3.texture.plugins;
7 import com.jme3.texture.Image;

Completed in 612 milliseconds

1234567891011>>