HomeSort by relevance Sort by last modified time
    Searched refs:Texture (Results 151 - 175 of 474) sorted by null

1 2 3 4 5 67 8 91011>>

  /external/mesa3d/src/mesa/swrast/
s_fragprog.c 49 * Apply texture object's swizzle (X/Y/Z/W/0/1) to incoming 'texel'
82 const struct gl_texture_object *texObj = ctx->Texture.Unit[unit]._Current;
91 swrast->TextureSample[unit](ctx, samp, ctx->Texture.Unit[unit]._Current,
115 const struct gl_texture_unit *texUnit = &ctx->Texture.Unit[unit];
140 swrast->TextureSample[unit](ctx, samp, ctx->Texture.Unit[unit]._Current,
s_texture.c 25 * Functions for mapping/unmapping texture images.
121 /* scale = 1.0 since texture coords directly map to texels */
172 * Map a 2D slice of a texture image into user space.
176 * \param texImage the texture image
177 * \param slice the 3D image slice or array texture slice
295 GLbitfield enabledUnits = ctx->Texture._EnabledUnits;
297 /* loop over enabled texture units */
300 struct gl_texture_object *texObj = ctx->Texture.Unit[unit]._Current;
315 GLbitfield enabledUnits = ctx->Texture._EnabledUnits;
317 /* loop over enabled texture units *
    [all...]
  /external/replicaisland/src/com/replica/replicaisland/
TiledVertexGrid.java 30 private Texture mTexture;
40 public TiledVertexGrid(Texture texture, int width, int height, int tileWidth, int tileHeight) {
46 mTexture = texture;
64 final Texture texture = mTexture; local
65 final float texelWidth = 1.0f / texture.width;
66 final float texelHeight = 1.0f / texture.height;
67 final int textureTilesAcross = texture.width / tileWidth;
68 final int textureTilesDown = texture.height / tileHeight
159 final Texture texture = mTexture; local
    [all...]
  /frameworks/native/services/surfaceflinger/RenderEngine/
Description.cpp 62 void Description::setTexture(const Texture& texture) {
63 mTexture = texture;
GLES20RenderEngine.cpp 32 #include "Texture.h"
122 void GLES20RenderEngine::setupLayerTexturing(const Texture& texture) {
123 GLuint target = texture.getTextureTarget();
124 glBindTexture(target, texture.getTextureName());
126 if (texture.getFiltering()) {
134 mState.setTexture(texture);
139 Texture texture(Texture::TEXTURE_2D, mProtectedTexName)
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/ui/
AlbumSlotRenderer.java 26 import com.android.gallery3d.glrenderer.Texture;
96 private static Texture checkTexture(Texture texture) {
97 return (texture instanceof TiledTexture)
98 && !((TiledTexture) texture).isReady()
100 : texture;
111 Texture content = checkTexture(entry.content);
  /external/chromium_org/gpu/command_buffer/service/
texture_definition.cc 319 Texture* texture,
325 texture->service_id())),
326 min_filter_(texture->min_filter()),
327 mag_filter_(texture->mag_filter()),
328 wrap_s_(texture->wrap_s()),
329 wrap_t_(texture->wrap_t()),
330 usage_(texture->usage()),
331 immutable_(texture->IsImmutable()) {
334 DCHECK(!texture->level_infos_.empty())
    [all...]
texture_manager_unittest.cc 31 static bool IsNPOT(const Texture* texture) {
32 return texture->npot();
34 static bool IsTextureComplete(const Texture* texture) {
35 return texture->texture_complete();
37 static bool IsCubeComplete(const Texture* texture) {
38 return texture->cube_complete();
109 // Check we can create texture
112 scoped_refptr<TextureRef> texture = manager_->GetTexture(kClient1Id); local
140 Texture* texture = texture_ref->texture(); local
196 TextureRef* texture = manager.GetTexture(kClient1Id); local
430 Texture* texture = texture_ref_->texture(); local
451 Texture* texture = texture_ref_->texture(); local
463 Texture* texture = texture_ref_->texture(); local
591 Texture* texture = texture_ref_->texture(); local
688 Texture* texture = texture_ref_->texture(); local
744 Texture* texture = texture_ref_->texture(); local
803 Texture* texture = texture_ref->texture(); local
824 Texture* texture = texture_ref_->texture(); local
987 Texture* texture = texture_ref_->texture(); local
1015 Texture* texture = texture_ref_->texture(); local
1042 Texture* texture = texture_ref_->texture(); local
1095 Texture* texture = texture_ref->texture(); local
1122 Texture* texture = texture_ref->texture(); local
1141 Texture* texture = texture_ref->texture(); local
1168 Texture* texture = texture_ref->texture(); local
1187 Texture* texture = texture_ref->texture(); local
1217 Texture* texture = texture_ref_->texture(); local
1456 Texture* texture = texture_ref_->texture(); local
1567 Texture* texture = texture_ref_->texture(); local
1900 const Texture* texture = texture_ref->texture(); local
1912 Texture* texture = manager_->Produce(texture_ref); local
1933 Texture* texture = texture_ref_->texture(); local
1977 Texture* texture = texture_ref_->texture(); local
2005 Texture* texture = texture_ref_->texture(); local
2025 Texture* texture = texture_ref_->texture(); local
2044 Texture* texture = texture_ref_->texture(); local
    [all...]
  /external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/nouveau/
nouveau_state.c 237 context_dirty_i(ctx, TEX_ENV, ctx->Texture.CurrentUnit);
238 context_dirty_i(ctx, TEX_OBJ, ctx->Texture.CurrentUnit);
244 context_dirty_i(ctx, TEX_GEN, ctx->Texture.CurrentUnit);
383 context_dirty_i(ctx, TEX_GEN, ctx->Texture.CurrentUnit);
387 context_dirty_i(ctx, TEX_GEN, ctx->Texture.CurrentUnit);
398 context_dirty_i(ctx, TEX_OBJ, ctx->Texture.CurrentUnit);
401 context_dirty_i(ctx, TEX_ENV, ctx->Texture.CurrentUnit);
420 context_dirty_i(ctx, TEX_OBJ, ctx->Texture.CurrentUnit);
427 context_dirty_i(ctx, TEX_OBJ, ctx->Texture.CurrentUnit);
500 if (ctx->Texture.Unit[i].Sampler
    [all...]
nv10_state_frag.c 79 /* Initialize a combiner_state struct from the texture unit
83 ctx->Texture.Unit[i]._CurrentCombine; \
168 /* Fake several unsupported texture formats. */
172 struct gl_texture_object *t = rc->ctx->Texture.Unit[i]._Current;
307 if (ctx->Texture.Unit[i]._ReallyEnabled) {
323 ctx->Texture.Unit[i].EnvColor);
356 if (ctx->Texture._EnabledUnits) {
365 *n = log2i(ctx->Texture._EnabledUnits) + 1;
  /external/mesa3d/src/mesa/drivers/dri/nouveau/
nouveau_state.c 237 context_dirty_i(ctx, TEX_ENV, ctx->Texture.CurrentUnit);
238 context_dirty_i(ctx, TEX_OBJ, ctx->Texture.CurrentUnit);
244 context_dirty_i(ctx, TEX_GEN, ctx->Texture.CurrentUnit);
383 context_dirty_i(ctx, TEX_GEN, ctx->Texture.CurrentUnit);
387 context_dirty_i(ctx, TEX_GEN, ctx->Texture.CurrentUnit);
398 context_dirty_i(ctx, TEX_OBJ, ctx->Texture.CurrentUnit);
401 context_dirty_i(ctx, TEX_ENV, ctx->Texture.CurrentUnit);
420 context_dirty_i(ctx, TEX_OBJ, ctx->Texture.CurrentUnit);
427 context_dirty_i(ctx, TEX_OBJ, ctx->Texture.CurrentUnit);
500 if (ctx->Texture.Unit[i].Sampler
    [all...]
nv10_state_frag.c 79 /* Initialize a combiner_state struct from the texture unit
83 ctx->Texture.Unit[i]._CurrentCombine; \
168 /* Fake several unsupported texture formats. */
172 struct gl_texture_object *t = rc->ctx->Texture.Unit[i]._Current;
307 if (ctx->Texture.Unit[i]._ReallyEnabled) {
323 ctx->Texture.Unit[i].EnvColor);
356 if (ctx->Texture._EnabledUnits) {
365 *n = log2i(ctx->Texture._EnabledUnits) + 1;
  /external/jmonkeyengine/engine/src/blender/com/jme3/asset/
BlenderKey.java 51 import com.jme3.texture.Texture;
135 * This method sets the width of generated texture (in pixels). By default the value is 140 px.
137 * the width of generated texture
144 * This method returns the width of generated texture (in pixels). By default the value is 140 px.
145 * @return the width of generated texture
152 * This method sets the height of generated texture (in pixels). By default the value is 20 px.
154 * the height of generated texture
161 * This method returns the height of generated texture (in pixels). By default the value is 20 px.
162 * @return the height of generated texture
    [all...]
  /external/jmonkeyengine/engine/src/test/jme3test/batching/
TestBatchNodeTower.java 64 import com.jme3.texture.Texture;
65 import com.jme3.texture.Texture.WrapMode;
211 Texture tex = assetManager.loadTexture(key);
217 Texture tex2 = assetManager.loadTexture(key2);
223 Texture tex3 = assetManager.loadTexture(key3);
  /external/chromium_org/third_party/mesa/src/src/mesa/state_tracker/
st_cb_fbo.c 131 /* Free the old surface and texture
134 pipe_resource_reference( &strb->texture, NULL );
181 /* Setup new texture template.
204 strb->texture = screen->resource_create(screen, &templ);
206 if (!strb->texture)
209 u_surface_default_template(&surf_tmpl, strb->texture, templ.bind);
211 strb->texture,
214 assert(strb->surface->texture);
235 pipe_resource_reference(&strb->texture, NULL);
396 if (!st_finalize_texture(ctx, pipe, att->Texture))
    [all...]
  /external/jmonkeyengine/engine/src/test/jme3test/bullet/
TestWalkingChar.java 74 import com.jme3.texture.Texture;
75 import com.jme3.texture.Texture.WrapMode;
225 mat.setTexture("Texture", assetManager.loadTexture("Effects/Explosion/flame.png"));
248 Texture heightMapImage = assetManager.loadTexture("Textures/Terrain/splat/mountains512.png");
249 Texture grass = assetManager.loadTexture("Textures/Terrain/splat/grass.jpg");
253 Texture dirt = assetManager.loadTexture("Textures/Terrain/splat/dirt.jpg");
257 Texture rock = assetManager.loadTexture("Textures/Terrain/splat/road.jpg");
261 Texture normalMap0 = assetManager.loadTexture("Textures/Terrain/splat/grass_normal.jpg")
    [all...]
  /external/jmonkeyengine/engine/src/test/jme3test/terrain/
TerrainTestModifyHeight.java 69 import com.jme3.texture.Texture;
70 import com.jme3.texture.Texture.WrapMode;
277 // First, we load up our textures and the heightmap texture for the terrain
279 // TERRAIN TEXTURE material
288 // GRASS texture
289 Texture grass = assetManager.loadTexture("Textures/Terrain/splat/grass.jpg");
294 // DIRT texture
295 Texture dirt = assetManager.loadTexture("Textures/Terrain/splat/dirt.jpg")
    [all...]
TerrainGridAlphaMapTest.java 32 import com.jme3.texture.Texture;
33 import com.jme3.texture.Texture.WrapMode;
89 // TERRAIN TEXTURE material
95 // GRASS texture
96 Texture grass = assetManager.loadTexture("Textures/Terrain/splat/grass.jpg");
101 // DIRT texture
102 Texture dirt = assetManager.loadTexture("Textures/Terrain/splat/dirt.jpg");
107 // ROCK texture
    [all...]
TerrainTestCollision.java 64 import com.jme3.texture.Texture;
65 import com.jme3.texture.Texture.WrapMode;
113 Texture heightMapImage = assetManager.loadTexture("Textures/Terrain/splat/mountains512.png");
114 Texture grass = assetManager.loadTexture("Textures/Terrain/splat/grass.jpg");
118 Texture dirt = assetManager.loadTexture("Textures/Terrain/splat/dirt.jpg");
122 Texture rock = assetManager.loadTexture("Textures/Terrain/splat/road.jpg");
  /external/mesa3d/src/mesa/state_tracker/
st_cb_fbo.c 131 /* Free the old surface and texture
134 pipe_resource_reference( &strb->texture, NULL );
181 /* Setup new texture template.
204 strb->texture = screen->resource_create(screen, &templ);
206 if (!strb->texture)
209 u_surface_default_template(&surf_tmpl, strb->texture, templ.bind);
211 strb->texture,
214 assert(strb->surface->texture);
235 pipe_resource_reference(&strb->texture, NULL);
396 if (!st_finalize_texture(ctx, pipe, att->Texture))
    [all...]
  /external/chromium_org/third_party/mesa/src/src/mesa/program/
prog_statevars.c 205 /* state[1] is the texture unit */
210 COPY_4V(value, ctx->Texture.Unit[unit].GenS.EyePlane);
213 COPY_4V(value, ctx->Texture.Unit[unit].GenT.EyePlane);
216 COPY_4V(value, ctx->Texture.Unit[unit].GenR.EyePlane);
219 COPY_4V(value, ctx->Texture.Unit[unit].GenQ.EyePlane);
222 COPY_4V(value, ctx->Texture.Unit[unit].GenS.ObjectPlane);
225 COPY_4V(value, ctx->Texture.Unit[unit].GenT.ObjectPlane);
228 COPY_4V(value, ctx->Texture.Unit[unit].GenR.ObjectPlane);
231 COPY_4V(value, ctx->Texture.Unit[unit].GenQ.ObjectPlane);
240 /* state[1] is the texture unit *
    [all...]
  /external/mesa3d/src/mesa/program/
prog_statevars.c 205 /* state[1] is the texture unit */
210 COPY_4V(value, ctx->Texture.Unit[unit].GenS.EyePlane);
213 COPY_4V(value, ctx->Texture.Unit[unit].GenT.EyePlane);
216 COPY_4V(value, ctx->Texture.Unit[unit].GenR.EyePlane);
219 COPY_4V(value, ctx->Texture.Unit[unit].GenQ.EyePlane);
222 COPY_4V(value, ctx->Texture.Unit[unit].GenS.ObjectPlane);
225 COPY_4V(value, ctx->Texture.Unit[unit].GenT.ObjectPlane);
228 COPY_4V(value, ctx->Texture.Unit[unit].GenR.ObjectPlane);
231 COPY_4V(value, ctx->Texture.Unit[unit].GenQ.ObjectPlane);
240 /* state[1] is the texture unit *
    [all...]
  /external/chromium_org/third_party/angle/src/libGLESv2/
Context.h 49 class Texture;
152 unsigned int activeSampler; // Active texture unit selector - GL_TEXTURE0
161 BindingPointer<Texture> samplerTexture[TEXTURE_TYPE_COUNT][IMPLEMENTATION_MAX_COMBINED_TEXTURE_IMAGE_UNITS];
286 void deleteTexture(GLuint texture);
303 void bindTexture2D(GLuint texture);
304 void bindTextureCubeMap(GLuint texture);
326 Texture *getTexture(GLuint handle);
336 Texture *getSamplerTexture(unsigned int sampler, TextureType type);
413 void detachTexture(GLuint texture);
417 Texture *getIncompleteTexture(TextureType type)
    [all...]
Texture.h 7 // Texture.h: Defines the abstract gl::Texture class and its concrete derived
8 // classes Texture2D and TextureCubeMap. Implements GL texture objects and
54 class Texture : public RefCountObject
57 Texture(rx::Renderer *renderer, GLuint id);
59 virtual ~Texture();
99 static const GLuint INCOMPLETE_TEXTURE_ID = static_cast<GLuint>(-1); // Every texture takes an id at creation time. The value is arbitrary because it is never registered with the resource manager.
127 DISALLOW_COPY_AND_ASSIGN(Texture);
132 class Texture2D : public Texture
193 // back to this texture, there would be a circular reference if we used a bindin
    [all...]
  /external/chromium_org/third_party/mesa/src/src/mesa/main/
matrix.c 165 * glPopAttrib() when the active texture unit is >= MaxTextureCoordUnits
169 * texture matrices beyond MaxTextureCoordUnits.
172 if (ctx->Texture.CurrentUnit >= ctx->Const.MaxTextureCoordUnits) {
175 ctx->Texture.CurrentUnit);
179 ASSERT(ctx->Texture.CurrentUnit < Elements(ctx->TextureMatrixStack));
180 ctx->CurrentStack = &ctx->TextureMatrixStack[ctx->Texture.CurrentUnit];
255 ctx->Texture.CurrentUnit);
295 ctx->Texture.CurrentUnit);

Completed in 472 milliseconds

1 2 3 4 5 67 8 91011>>