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

1234567891011>>

/external/skia/src/gpu/
H A DGrTextureAccess.cpp14 GrTextureAccess::GrTextureAccess(GrTexture* texture, const GrTextureParams& params) { argument
15 this->reset(texture, params);
18 GrTextureAccess::GrTextureAccess(GrTexture* texture, argument
21 this->reset(texture, filterMode, tileXAndY);
25 void GrTextureAccess::reset(GrTexture* texture, argument
27 SkASSERT(texture);
28 fTexture.set(SkRef(texture), kRead_GrIOType);
32 void GrTextureAccess::reset(GrTexture* texture, argument
35 SkASSERT(texture);
36 fTexture.set(SkRef(texture), kRead_GrIOTyp
[all...]
H A DGrTextureToYUVPlanes.h16 bool GrTextureToYUVPlanes(GrTexture* texture, const SkISize[3], void* const planes[3],
H A DGrPaint.cpp24 void GrPaint::addColorTextureProcessor(GrTexture* texture, const SkMatrix& matrix) { argument
25 this->addColorFragmentProcessor(GrSimpleTextureEffect::Create(texture, matrix))->unref();
28 void GrPaint::addCoverageTextureProcessor(GrTexture* texture, const SkMatrix& matrix) { argument
29 this->addCoverageFragmentProcessor(GrSimpleTextureEffect::Create(texture, matrix))->unref();
32 void GrPaint::addColorTextureProcessor(GrTexture* texture, argument
35 this->addColorFragmentProcessor(GrSimpleTextureEffect::Create(texture,
39 void GrPaint::addCoverageTextureProcessor(GrTexture* texture, argument
42 this->addCoverageFragmentProcessor(GrSimpleTextureEffect::Create(texture,
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()->caps()->shaderCaps();
32 int maxD = SkTMax(texture->width(), texture->height());
38 // texture coords from 0.5 to 1.0.
H A DSkGrPixelRef.cpp53 static SkGrPixelRef* copy_to_new_texture_pixelref(GrTexture* texture, SkColorType dstCT, argument
55 if (nullptr == texture || kUnknown_SkColorType == dstCT) {
58 GrContext* context = texture->getContext();
67 desc.fWidth = texture->width();
68 desc.fHeight = texture->height();
69 srcRect = SkIRect::MakeWH(texture->width(), texture->height());
71 SkASSERT(SkIRect::MakeWH(texture->width(), texture->height()).contains(*subset));
72 // Create a new texture tha
128 GrTexture* texture = this->getTexture(); local
[all...]
/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 : INHERITED(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/deqp/external/vulkancts/modules/vulkan/image/
H A DvktImageTexture.hpp44 tcu::IVec3 size (void) const; //!< Size including number of layers in additional dimension (e.g. z in 2d texture)
54 inline bool isCube (const Texture& texture) argument
56 return texture.type() == IMAGE_TYPE_CUBE || texture.type() == IMAGE_TYPE_CUBE_ARRAY;
/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;
/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...]
/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...]
/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 1005 milliseconds

1234567891011>>