/external/mesa3d/src/mesa/swrast/ |
s_triangle.c | 80 assert(ctx->Texture._EnabledCoordUnits == 0);\ 106 assert(ctx->Texture._EnabledCoordUnits == 0); \ 128 ctx->Texture.Unit[0].CurrentTex[TEXTURE_2D_INDEX]; \ 136 const GLubyte *texture = (const GLubyte *) swImg->ImageSlices[0]; \ 140 if (!rb || !texture) { \ 154 rgba[i][RCOMP] = texture[pos+2]; \ 155 rgba[i][GCOMP] = texture[pos+1]; \ 156 rgba[i][BCOMP] = texture[pos+0]; \ 186 ctx->Texture.Unit[0].CurrentTex[TEXTURE_2D_INDEX]; \ 194 const GLubyte *texture = (const GLubyte *) swImg->ImageSlices[0]; 244 const GLchan *texture; member in struct:affine_info 600 const GLchan *texture; member in struct:persp_info [all...] |
s_fragprog.c | 50 * Apply texture object's swizzle (X/Y/Z/W/0/1) to incoming 'texel' 83 const struct gl_texture_object *texObj = ctx->Texture.Unit[unit]._Current; 92 swrast->TextureSample[unit](ctx, samp, ctx->Texture.Unit[unit]._Current, 116 const struct gl_texture_unit *texUnit = &ctx->Texture.Unit[unit]; 140 swrast->TextureSample[unit](ctx, samp, ctx->Texture.Unit[unit]._Current,
|
s_texrender.c | 13 * Render-to-texture code for GL_EXT_framebuffer_object 25 * Update the renderbuffer wrapper for rendering to a texture. 26 * For example, update the width, height of the RB based on the texture size, 45 if (att->Texture->Target == GL_TEXTURE_1D_ARRAY_EXT) { 61 * Called when rendering to a texture image begins, or when changing 63 * This is a fallback routine for software render-to-texture. 69 * att->Texture->Image[att->CubeMapFace][att->TextureLevel]; 72 * \param fb the framebuffer object the texture is being bound to 73 * \param att the fb attachment point of the texture 97 /* The renderbuffer texture wrapper will get deleted by th [all...] |
/external/replicaisland/src/com/replica/replicaisland/ |
MotionBlurComponent.java | 32 public Texture texture; field in class:MotionBlurComponent.BlurRecord 50 mHistory[x].texture = null; 70 Texture currentTexture = drawable.getTexture(); 72 mHistory[mCurrentStep].texture = currentTexture; 95 if (record.texture != null) { 97 stepImage.setTexture(record.texture);
|
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/base/libs/hwui/ |
TextDropShadowCache.h | 27 #include "Texture.h" 112 * Alpha texture used to represent a shadow. 114 struct ShadowTexture : public Texture { 115 explicit ShadowTexture(Caches& caches) : Texture(caches) {} 131 void operator()(ShadowText& text, ShadowTexture*& texture) override;
|
/external/deqp/external/openglcts/modules/gl/ |
gl4cSparseTexture2Tests.cpp | 180 " fragColor = texture(uni_sampler, texCoord);\n" 531 /** Create set of token strings fit to texture verifying shader 533 * @param target Target for which texture is binded 534 * @param format Texture internal format 535 * @param sample Texture sample number 874 * @param target Target for which texture is binded 875 * @param format Texture internal format 882 // As shaders do not support some texture formats it is necessary to exclude them. 892 /** Allocating sparse texture memory using texStorage* function 895 * @param target Target for which texture is binde 1345 GLuint texture; local 2291 GLuint texture; local [all...] |
gl4cSparseTextureClampTests.cpp | 178 "Verifies if sparse texture clamp lookup functions generates access residency information") 251 * @param target Target for which texture is binded 252 * @param format Texture internal format 253 * @param funcToken Texture lookup function structure 272 /** Verify if data stored in texture is as expected 275 * @param target Target for which texture is binded 276 * @param format Texture internal format 277 * @param texture Texture object 278 * @param level Texture mipmap leve 610 GLuint texture; local [all...] |
/external/deqp/external/openglcts/modules/gles31/ |
es31cLayoutBindingTests.hpp | 59 Texture, 78 eSurfaceType surface_type; // Texture, Image... 83 char const* access_function; // texture(), imageLoad()...
|
/external/deqp/external/vulkancts/modules/vulkan/image/ |
vktImageLoadStoreUtil.hpp | 67 vk::VkImageCreateInfo makeImageCreateInfo (const Texture& texture, const vk::VkFormat format, const vk::VkImageUsageFlags usage, const vk::VkImageCreateFlags flags);
|
/external/mesa3d/src/mesa/drivers/dri/i915/ |
intel_pixel.c | 80 if (ctx->Texture._MaxEnabledTexImageUnit != -1) {
|
i830_texblend.c | 42 * Texture combine functions 114 * Calculate the hardware instuctions to setup the current texture enviromnemt 116 * "classic" texture enviroments and GL_ARB_texture_env_combine type texture 392 struct gl_texture_unit *texUnit = &i830->intel.ctx.Texture.Unit[unit]; 447 if (ctx->Texture._MaxEnabledTexImageUnit != -1) { 448 for (unit = 0; unit <= ctx->Texture._MaxEnabledTexImageUnit; unit++) 449 if (ctx->Texture.Unit[unit]._Current) 451 unit == ctx->Texture._MaxEnabledTexImageUnit);
|
/external/swiftshader/src/OpenGL/libGL/ |
Image.hpp | 27 class Texture; 32 Image(Texture *parentTexture, GLsizei width, GLsizei height, GLenum format, GLenum type); 33 Image(Texture *parentTexture, GLsizei width, GLsizei height, sw::Format internalFormat, int multiSampleDepth, bool lockable, bool renderTarget); 84 Texture *parentTexture;
|
Texture.h | 15 // Texture.h: Defines the abstract Texture class and its concrete derived 16 // classes Texture2D and TextureCubeMap. Implements GL texture objects and 48 class Texture : public NamedObject 51 explicit Texture(GLuint name); 53 virtual ~Texture(); 112 class Texture2D : public Texture 158 // back to this texture, there would be a circular reference if we used a binding 165 class TextureCubeMap : public Texture 214 // back to this texture, there would be a circular reference if we used a bindin [all...] |
/external/swiftshader/src/OpenGL/libGLES_CM/ |
Device.hpp | 27 class Texture;
|
/frameworks/native/services/surfaceflinger/RenderEngine/ |
Description.cpp | 37 void Description::setTexture(const Texture& texture) { 38 mTexture = texture;
|
/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/mesa3d/src/mesa/drivers/dri/nouveau/ |
nouveau_state.c | 233 context_dirty_i(ctx, TEX_ENV, ctx->Texture.CurrentUnit); 234 context_dirty_i(ctx, TEX_OBJ, ctx->Texture.CurrentUnit); 240 context_dirty_i(ctx, TEX_GEN, ctx->Texture.CurrentUnit); 373 context_dirty_i(ctx, TEX_GEN, ctx->Texture.CurrentUnit); 377 context_dirty_i(ctx, TEX_GEN, ctx->Texture.CurrentUnit); 388 context_dirty_i(ctx, TEX_OBJ, ctx->Texture.CurrentUnit); 391 context_dirty_i(ctx, TEX_ENV, ctx->Texture.CurrentUnit); 409 context_dirty_i(ctx, TEX_OBJ, ctx->Texture.CurrentUnit); 416 context_dirty_i(ctx, TEX_OBJ, ctx->Texture.CurrentUnit); 489 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; 319 if (ctx->Texture.Unit[i]._Current) { 335 ctx->Texture.Unit[i].EnvColor); 368 if (ctx->Texture._MaxEnabledTexImageUnit != -1) { 377 *n = ctx->Texture._MaxEnabledTexImageUnit + 1;
|
/external/mesa3d/src/mesa/state_tracker/ |
st_cb_drawtex.c | 134 if (ctx->Texture.Unit[i]._Current && 135 ctx->Texture.Unit[i]._Current->Target == GL_TEXTURE_2D) { 205 if (ctx->Texture.Unit[i]._Current && 206 ctx->Texture.Unit[i]._Current->Target == GL_TEXTURE_2D) { 207 struct gl_texture_object *obj = ctx->Texture.Unit[i]._Current;
|
/external/mesa3d/src/mesa/drivers/dri/radeon/ |
radeon_state_init.c | 209 CHECK( cube0_mm, (ctx->Texture.Unit[0]._Current && ctx->Texture.Unit[0]._Current->Target == GL_TEXTURE_CUBE_MAP), 2 + 4*5 - CUBE_STATE_SIZE ) 210 CHECK( cube1_mm, (ctx->Texture.Unit[1]._Current && ctx->Texture.Unit[1]._Current->Target == GL_TEXTURE_CUBE_MAP), 2 + 4*5 - CUBE_STATE_SIZE ) 211 CHECK( cube2_mm, (ctx->Texture.Unit[2]._Current && ctx->Texture.Unit[2]._Current->Target == GL_TEXTURE_CUBE_MAP), 2 + 4*5 - CUBE_STATE_SIZE ) 214 TCL_CHECK( tcl_tex0_add4, ctx->Texture.Unit[0]._Current, 4 ) 215 TCL_CHECK( tcl_tex1_add4, ctx->Texture.Unit[1]._Current, 4 ) 216 TCL_CHECK( tcl_tex2_add4, ctx->Texture.Unit[2]._Current, 4 ) 236 CHECK( txr0, (ctx->Texture.Unit[0]._Current && ctx->Texture.Unit[0]._Current->Target == GL_TEXTURE_RECTANGLE), 0 [all...] |
/external/mesa3d/src/mesa/main/ |
texenv.c | 48 /** Set texture env mode */ 395 if (ctx->Texture.CurrentUnit >= maxUnit) { 467 if (ctx->Point.CoordReplace & (1u << ctx->Texture.CurrentUnit)) 469 ctx->Point.CoordReplace |= (1u << ctx->Texture.CurrentUnit); 471 if (~(ctx->Point.CoordReplace) & (1u << ctx->Texture.CurrentUnit)) 473 ctx->Point.CoordReplace &= ~(1u << ctx->Texture.CurrentUnit); 498 /* Tell device driver about the new texture environment */ 640 if (ctx->Texture.CurrentUnit >= maxUnit) { 680 if (ctx->Point.CoordReplace & (1u << ctx->Texture.CurrentUnit)) 706 if (ctx->Texture.CurrentUnit >= maxUnit) [all...] |
blit.c | 269 * levels of a texture, different layers of a three- 270 * dimensional texture or two-dimensional array texture, and 271 * different faces of a cube map texture do not constitute 498 if (att && att->Texture) { 500 att->Texture->Name, 501 att->Texture->Target, 517 if (att && att->Texture) { 519 att->Texture->Name, 520 att->Texture->Target [all...] |
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 < ARRAY_SIZE(ctx->TextureMatrixStack)); 180 ctx->CurrentStack = &ctx->TextureMatrixStack[ctx->Texture.CurrentUnit]; 238 ctx->Texture.CurrentUnit); 297 ctx->Texture.CurrentUnit);
|
/external/deqp/external/openglcts/modules/common/ |
glcRobustnessTests.cpp | 537 Texture texture(*context); 546 /* Texture initialization */ 547 Texture::Generate(gl, texture.m_id); 548 Texture::Bind(gl, texture.m_id, GL_TEXTURE_2D); 549 Texture::Storage(gl, GL_TEXTURE_2D, 1, GL_R8UI, width, height, 0); 550 Texture::Bind(gl, 0, GL_TEXTURE_2D); 558 gl.framebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, texture.m_id, 0) [all...] |