Searched refs:texture (Results 26 - 50 of 533) sorted by relevance

1234567891011>>

/external/skia/src/gpu/effects/
H A DGrSingleTextureEffect.h19 * A base class for effects that draw a single texture with a texture matrix. This effect has no
40 * texture.
43 if (GrPixelConfigIsAlphaOnly(this->texture(0)->config())) {
45 } else if (GrPixelConfigIsOpaque(this->texture(0)->config())) {
H A DGrSimpleTextureEffect.h16 * The output color of this effect is a modulation of the input color and a sample from a texture.
18 * local coords, positions, or a custom vertex attribute as input texture coords. The input coords
20 * attribute coords at this time. It will add a varying to input interpolate texture coords to the
57 GrSimpleTextureEffect(GrTexture* texture, argument
61 : GrSingleTextureEffect(texture, matrix, filterMode, coordSet) {
65 GrSimpleTextureEffect(GrTexture* texture, argument
69 : GrSingleTextureEffect(texture, matrix, params, coordSet) {
/external/deqp/framework/common/
H A DtcuTexLookupVerifier.hpp108 bool isLookupResultValid (const Texture1DView& texture, const Sampler& sampler, const LookupPrecision& prec, const float coord, const Vec2& lodBounds, const Vec4& result);
109 bool isLookupResultValid (const Texture2DView& texture, const Sampler& sampler, const LookupPrecision& prec, const Vec2& coord, const Vec2& lodBounds, const Vec4& result);
110 bool isLookupResultValid (const TextureCubeView& texture, const Sampler& sampler, const LookupPrecision& prec, const Vec3& coord, const Vec2& lodBounds, const Vec4& result);
111 bool isLookupResultValid (const Texture1DArrayView& texture, const Sampler& sampler, const LookupPrecision& prec, const Vec2& coord, const Vec2& lodBounds, const Vec4& result);
112 bool isLookupResultValid (const Texture2DArrayView& texture, const Sampler& sampler, const LookupPrecision& prec, const Vec3& coord, const Vec2& lodBounds, const Vec4& result);
113 bool isLookupResultValid (const Texture3DView& texture, const Sampler& sampler, const LookupPrecision& prec, const Vec3& coord, const Vec2& lodBounds, const Vec4& result);
114 bool isLookupResultValid (const TextureCubeArrayView& texture, const Sampler& sampler, const LookupPrecision& prec, const IVec4& coordBits, const Vec4& coord, const Vec2& lodBounds, const Vec4& result);
130 bool isGatherOffsetsResultValid (const Texture2DView& texture, const Sampler& sampler, const LookupPrecision& prec, const Vec2& coord, int componentNdx, const IVec2 (&offsets)[4], const Vec4& result);
131 bool isGatherOffsetsResultValid (const Texture2DView& texture, const Sampler& sampler, const IntLookupPrecision& prec, const Vec2& coord, int componentNdx, const IVec2 (&offsets)[4], const IVec4& result);
132 bool isGatherOffsetsResultValid (const Texture2DView& texture, cons
[all...]
/external/deqp/framework/randomshaders/
H A DrsgSamplers.hpp43 Sampler2D (const tcu::Texture2D* texture, const tcu::Sampler& sampler) argument
44 : m_texture (texture)
68 SamplerCube (const tcu::TextureCube* texture, const tcu::Sampler& sampler) argument
69 : m_texture (texture)
H A DrsgProgramExecutor.hpp48 void setTexture (int samplerNdx, const tcu::Texture2D* texture, const tcu::Sampler& sampler);
49 void setTexture (int samplerNdx, const tcu::TextureCube* texture, const tcu::Sampler& sampler);
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/textures/blending/
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/mesa3d/src/gallium/drivers/r300/
H A Dr300_transfer.h33 struct pipe_resource *texture,
/external/mesa3d/src/gallium/drivers/softpipe/
H A Dsp_flush.h49 struct pipe_resource *texture,
H A Dsp_tex_tile_cache.c52 /* make sure max texture size works */
108 * Invalidate all cached tiles for the cached texture.
109 * Should be called when the texture is modified.
117 assert(tc->texture);
130 return (tc->texture == view->texture &&
145 struct pipe_resource *texture = view ? view->texture : NULL; local
151 pipe_resource_reference(&tc->texture, texture);
[all...]
/external/mesa3d/src/mesa/state_tracker/
H A Dst_texture.h48 /** Used to store texture data that doesn't fit in the parent
70 /* The texture must include at levels [0..lastLevel] once validated:
81 * textures will be copied to this texture and the old storage freed.
85 /* Default sampler view attached to this texture object. Created lazily
90 /* True if there is/was a surface bound to this texture object. It helps
91 * track whether the texture object is surface based or not.
127 struct pipe_resource *texture,
132 u_sampler_view_default_template(&templ, texture, format);
134 return pipe->create_sampler_view(pipe, texture, &templ);
139 struct pipe_resource *texture)
126 st_create_texture_sampler_view_format(struct pipe_context *pipe, struct pipe_resource *texture, enum pipe_format format) argument
138 st_create_texture_sampler_view(struct pipe_context *pipe, struct pipe_resource *texture) argument
[all...]
/external/skia/tests/
H A DReadWriteAlphaTest.cpp36 // let Skia know we will be using this texture as a render target
38 // it is a single channel texture
43 // We are initializing the texture with zeros here
44 GrTexture* texture = context->textureProvider()->createTexture(desc, false, textureData, 0); local
45 if (!texture) {
49 SkAutoTUnref<GrTexture> au(texture);
51 // create a distinctive texture
58 // upload the texture
59 texture->writePixels(0, 0, desc.fWidth, desc.fHeight, desc.fConfig,
67 // read the texture bac
[all...]
/external/skia/gm/
H A Dyuvtorgbeffect.cpp87 SkAutoTUnref<GrTexture> texture[3]; variable
88 texture[0].reset(GrRefCachedBitmapTexture(context, fBmp[0], NULL));
89 texture[1].reset(GrRefCachedBitmapTexture(context, fBmp[1], NULL));
90 texture[2].reset(GrRefCachedBitmapTexture(context, fBmp[2], NULL));
92 if (!texture[0] || !texture[1] || !texture[2]) {
115 GrYUVtoRGBEffect::Create(texture[indices[i][0]],
116 texture[indices[i][1]],
117 texture[indice
[all...]
/external/skia/src/gpu/
H A DSkGrPixelRef.cpp56 static SkGrPixelRef* copy_to_new_texture_pixelref(GrTexture* texture, SkColorType dstCT, argument
58 if (NULL == texture || kUnknown_SkColorType == dstCT) {
61 GrContext* context = texture->getContext();
70 desc.fWidth = texture->width();
71 desc.fHeight = texture->height();
72 srcRect = SkIRect::MakeWH(texture->width(), texture->height());
74 SkASSERT(SkIRect::MakeWH(texture->width(), texture->height()).contains(*subset));
75 // Create a new texture tha
[all...]
H A DGrSWMaskHelper.cpp82 // Figure out what our preferred texture type is. If ASTC is available, that always
205 // from or a bitmap that we're going to use as a texture. In any case, we should
230 * Get a texture (from the texture cache) of the correct size & format.
255 void GrSWMaskHelper::sendTextureData(GrTexture *texture, const GrSurfaceDesc& desc, argument
258 // writing since no one else will be using 'texture'
261 // Since we're uploading to it, and it's compressed, 'texture' shouldn't
263 SkASSERT(NULL == texture->asRenderTarget());
265 texture->writePixels(0, 0, desc.fWidth, desc.fHeight,
270 void GrSWMaskHelper::compressTextureData(GrTexture *texture, cons argument
284 toTexture(GrTexture *texture) argument
349 DrawToTargetWithPathMask(GrTexture* texture, GrDrawTarget* target, GrPipelineBuilder* pipelineBuilder, GrColor color, const SkMatrix& viewMatrix, const SkIRect& rect) argument
[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/include/gpu/
H A DGrTextureProvider.h19 * Creates a new texture in the resource cache and returns it. The caller owns a
20 * ref on the returned texture which must be balanced by a call to unref.
22 * @param desc Description of the texture properties.
23 * @param budgeted Does the texture count against the resource cache budget?
25 * @param rowBytes The number of bytes between rows of the texture. Zero
32 /** Shortcut for creating a texture with no initial data to upload. */
37 /** Assigns a unique key to the texture. The texture will be findable via this key using
38 findTextureByUniqueKey(). If an existing texture has this key, it's key will be removed. */
39 void assignUniqueKeyToTexture(const GrUniqueKey& key, GrTexture* texture) { argument
47 GrTexture* texture = static_cast<GrSurface*>(resource)->asTexture(); local
[all...]
/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/skia/src/effects/
H A DSkMagnifierImageFilter.cpp27 static GrFragmentProcessor* Create(GrTexture* texture, argument
35 return SkNEW_ARGS(GrMagnifierEffect, (texture,
54 // Offset to apply to zoomed pixels, (srcRect position / texture size).
67 GrMagnifierEffect(GrTexture* texture, argument
75 : GrSingleTextureEffect(texture, GrCoordTransform::MakeDivByTextureWHMatrix(texture))
215 GrTexture* texture = textures[0]; local
226 texture,
228 (float) width / texture->width(),
229 (float) height / texture
280 asFragmentProcessor(GrFragmentProcessor** fp, GrTexture* texture, const SkMatrix&, const SkIRect&bounds) const argument
[all...]
/external/replicaisland/src/com/replica/replicaisland/
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/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/deqp/modules/gles3/functional/
H A Des3fNegativeTextureApiTests.cpp127 : TestCaseGroup(context, "texture", "Negative Texture API Cases")
141 m_log << TestLog::Section("", "GL_INVALID_ENUM is generated if texture is not one of GL_TEXTUREi, where i ranges from 0 to (GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS - 1).");
154 GLuint texture[2];
155 glGenTextures(2, texture);
164 m_log << TestLog::Section("", "GL_INVALID_OPERATION is generated if texture was previously created with a target that doesn't match that of target.");
165 glBindTexture(GL_TEXTURE_2D, texture[0]);
167 glBindTexture(GL_TEXTURE_CUBE_MAP, texture[0]);
169 glBindTexture(GL_TEXTURE_3D, texture[0]);
171 glBindTexture(GL_TEXTURE_2D_ARRAY, texture[0]);
174 glBindTexture(GL_TEXTURE_CUBE_MAP, texture[
[all...]
/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/src/gallium/auxiliary/util/
H A Du_surface.h43 const struct pipe_resource *texture,
54 util_destroy_rgba_surface(struct pipe_resource *texture,

Completed in 739 milliseconds

1234567891011>>