HomeSort by relevance Sort by last modified time
    Searched refs:texel (Results 1 - 25 of 54) sorted by null

1 2 3

  /external/chromium_org/third_party/mesa/src/src/mesa/swrast/
s_texfetch_tmp.h 29 * Texel fetch functions template.
31 * This template file is used by texfetch.c to generate texel fetch functions
36 * for the texel lookup in the gl_texture_image::Data.
73 /* Fetch depth texel from 1D, 2D or 3D 32-bit depth texture,
78 GLint i, GLint j, GLint k, GLfloat *texel )
81 texel[0] = src[0] * (1.0F / 0xffffffff);
87 /* Fetch depth texel from 1D, 2D or 3D 16-bit depth texture,
92 GLint i, GLint j, GLint k, GLfloat *texel )
95 texel[0] = src[0] * (1.0F / 65535.0F);
102 /* Fetch texel from 1D, 2D or 3D RGBA_FLOAT32 texture, returning 4 GLfloats
    [all...]
s_fragprog.c 49 * Apply texture object's swizzle (X/Y/Z/W/0/1) to incoming 'texel'
53 swizzle_texel(const GLfloat texel[4], GLfloat colorOut[4], GLuint swizzle)
56 COPY_4V(colorOut, texel);
60 vector[SWIZZLE_X] = texel[0];
61 vector[SWIZZLE_Y] = texel[1];
62 vector[SWIZZLE_Z] = texel[2];
63 vector[SWIZZLE_W] = texel[3];
75 * Fetch a texel with given lod.
103 * Fetch a texel with the given partial derivatives to compute a level
  /external/mesa3d/src/mesa/swrast/
s_texfetch_tmp.h 29 * Texel fetch functions template.
31 * This template file is used by texfetch.c to generate texel fetch functions
36 * for the texel lookup in the gl_texture_image::Data.
73 /* Fetch depth texel from 1D, 2D or 3D 32-bit depth texture,
78 GLint i, GLint j, GLint k, GLfloat *texel )
81 texel[0] = src[0] * (1.0F / 0xffffffff);
87 /* Fetch depth texel from 1D, 2D or 3D 16-bit depth texture,
92 GLint i, GLint j, GLint k, GLfloat *texel )
95 texel[0] = src[0] * (1.0F / 65535.0F);
102 /* Fetch texel from 1D, 2D or 3D RGBA_FLOAT32 texture, returning 4 GLfloats
    [all...]
s_fragprog.c 49 * Apply texture object's swizzle (X/Y/Z/W/0/1) to incoming 'texel'
53 swizzle_texel(const GLfloat texel[4], GLfloat colorOut[4], GLuint swizzle)
56 COPY_4V(colorOut, texel);
60 vector[SWIZZLE_X] = texel[0];
61 vector[SWIZZLE_Y] = texel[1];
62 vector[SWIZZLE_Z] = texel[2];
63 vector[SWIZZLE_W] = texel[3];
75 * Fetch a texel with given lod.
103 * Fetch a texel with the given partial derivatives to compute a level
  /external/chromium_org/third_party/mesa/src/src/mesa/main/
texcompress_rgtc.h 47 GLint i, GLint j, GLint k, GLfloat *texel);
51 GLint i, GLint j, GLint k, GLfloat *texel);
55 GLint i, GLint j, GLint k, GLfloat *texel);
59 GLint i, GLint j, GLint k, GLfloat *texel);
63 GLint i, GLint j, GLint k, GLfloat *texel);
67 GLint i, GLint j, GLint k, GLfloat *texel);
71 GLint i, GLint j, GLint k, GLfloat *texel);
75 GLint i, GLint j, GLint k, GLfloat *texel);
texcompress_etc.c 55 GLint i, GLint j, GLint k, GLfloat *texel)
67 texel[RCOMP] = UBYTE_TO_FLOAT(dst[0]);
68 texel[GCOMP] = UBYTE_TO_FLOAT(dst[1]);
69 texel[BCOMP] = UBYTE_TO_FLOAT(dst[2]);
70 texel[ACOMP] = 1.0f;
texcompress_s3tc.c 372 GLint i, GLint j, GLint k, GLubyte *texel)
378 texImage->Map + sliceOffset, i, j, texel);
387 GLint i, GLint j, GLint k, GLfloat *texel)
392 texel[RCOMP] = UBYTE_TO_FLOAT(rgba[RCOMP]);
393 texel[GCOMP] = UBYTE_TO_FLOAT(rgba[GCOMP]);
394 texel[BCOMP] = UBYTE_TO_FLOAT(rgba[BCOMP]);
395 texel[ACOMP] = UBYTE_TO_FLOAT(rgba[ACOMP]);
401 GLint i, GLint j, GLint k, GLubyte *texel)
407 texImage->Map + sliceOffset, i, j, texel);
416 GLint i, GLint j, GLint k, GLfloat *texel)
    [all...]
texcompress_fxt1.h 44 GLint i, GLint j, GLint k, GLfloat *texel);
48 GLint i, GLint j, GLint k, GLfloat *texel);
texcompress_s3tc.h 52 GLint i, GLint j, GLint k, GLfloat *texel);
56 GLint i, GLint j, GLint k, GLfloat *texel);
60 GLint i, GLint j, GLint k, GLfloat *texel);
64 GLint i, GLint j, GLint k, GLfloat *texel);
68 GLint i, GLint j, GLint k, GLfloat *texel);
72 GLint i, GLint j, GLint k, GLfloat *texel);
76 GLint i, GLint j, GLint k, GLfloat *texel);
80 GLint i, GLint j, GLint k, GLfloat *texel);
texcompress_rgtc.c 296 GLint i, GLint j, GLint k, GLfloat *texel)
303 texel[RCOMP] = UBYTE_TO_FLOAT(red);
304 texel[GCOMP] = 0.0;
305 texel[BCOMP] = 0.0;
306 texel[ACOMP] = 1.0;
311 GLint i, GLint j, GLint k, GLfloat *texel)
318 texel[RCOMP] = BYTE_TO_FLOAT_TEX(red);
319 texel[GCOMP] = 0.0;
320 texel[BCOMP] = 0.0;
321 texel[ACOMP] = 1.0
    [all...]
texcompress_etc.h 39 GLint i, GLint j, GLint k, GLfloat *texel);
texcompress_fxt1.c 161 GLint i, GLint j, GLint k, GLfloat *texel )
167 texel[RCOMP] = UBYTE_TO_FLOAT(rgba[RCOMP]);
168 texel[GCOMP] = UBYTE_TO_FLOAT(rgba[GCOMP]);
169 texel[BCOMP] = UBYTE_TO_FLOAT(rgba[BCOMP]);
170 texel[ACOMP] = UBYTE_TO_FLOAT(rgba[ACOMP]);
176 GLint i, GLint j, GLint k, GLfloat *texel )
182 texel[RCOMP] = UBYTE_TO_FLOAT(rgba[RCOMP]);
183 texel[GCOMP] = UBYTE_TO_FLOAT(rgba[GCOMP]);
184 texel[BCOMP] = UBYTE_TO_FLOAT(rgba[BCOMP]);
185 texel[ACOMP] = 1.0F
761 GLint texel; local
781 GLint texel; local
868 GLint texel = n_vect + 1; \/* transparent black *\/ local
964 GLint texel = n_vect + 1; \/* transparent black *\/ local
998 GLint texel = n_vect + 1; \/* transparent black *\/ local
1127 GLint texel; local
1160 GLint texel; local
    [all...]
  /external/mesa3d/src/mesa/main/
texcompress_rgtc.h 47 GLint i, GLint j, GLint k, GLfloat *texel);
51 GLint i, GLint j, GLint k, GLfloat *texel);
55 GLint i, GLint j, GLint k, GLfloat *texel);
59 GLint i, GLint j, GLint k, GLfloat *texel);
63 GLint i, GLint j, GLint k, GLfloat *texel);
67 GLint i, GLint j, GLint k, GLfloat *texel);
71 GLint i, GLint j, GLint k, GLfloat *texel);
75 GLint i, GLint j, GLint k, GLfloat *texel);
texcompress_etc.c 55 GLint i, GLint j, GLint k, GLfloat *texel)
67 texel[RCOMP] = UBYTE_TO_FLOAT(dst[0]);
68 texel[GCOMP] = UBYTE_TO_FLOAT(dst[1]);
69 texel[BCOMP] = UBYTE_TO_FLOAT(dst[2]);
70 texel[ACOMP] = 1.0f;
texcompress_s3tc.c 372 GLint i, GLint j, GLint k, GLubyte *texel)
378 texImage->Map + sliceOffset, i, j, texel);
387 GLint i, GLint j, GLint k, GLfloat *texel)
392 texel[RCOMP] = UBYTE_TO_FLOAT(rgba[RCOMP]);
393 texel[GCOMP] = UBYTE_TO_FLOAT(rgba[GCOMP]);
394 texel[BCOMP] = UBYTE_TO_FLOAT(rgba[BCOMP]);
395 texel[ACOMP] = UBYTE_TO_FLOAT(rgba[ACOMP]);
401 GLint i, GLint j, GLint k, GLubyte *texel)
407 texImage->Map + sliceOffset, i, j, texel);
416 GLint i, GLint j, GLint k, GLfloat *texel)
    [all...]
texcompress_fxt1.h 44 GLint i, GLint j, GLint k, GLfloat *texel);
48 GLint i, GLint j, GLint k, GLfloat *texel);
texcompress_s3tc.h 52 GLint i, GLint j, GLint k, GLfloat *texel);
56 GLint i, GLint j, GLint k, GLfloat *texel);
60 GLint i, GLint j, GLint k, GLfloat *texel);
64 GLint i, GLint j, GLint k, GLfloat *texel);
68 GLint i, GLint j, GLint k, GLfloat *texel);
72 GLint i, GLint j, GLint k, GLfloat *texel);
76 GLint i, GLint j, GLint k, GLfloat *texel);
80 GLint i, GLint j, GLint k, GLfloat *texel);
texcompress_rgtc.c 296 GLint i, GLint j, GLint k, GLfloat *texel)
303 texel[RCOMP] = UBYTE_TO_FLOAT(red);
304 texel[GCOMP] = 0.0;
305 texel[BCOMP] = 0.0;
306 texel[ACOMP] = 1.0;
311 GLint i, GLint j, GLint k, GLfloat *texel)
318 texel[RCOMP] = BYTE_TO_FLOAT_TEX(red);
319 texel[GCOMP] = 0.0;
320 texel[BCOMP] = 0.0;
321 texel[ACOMP] = 1.0
    [all...]
texcompress_etc.h 39 GLint i, GLint j, GLint k, GLfloat *texel);
texcompress_fxt1.c 161 GLint i, GLint j, GLint k, GLfloat *texel )
167 texel[RCOMP] = UBYTE_TO_FLOAT(rgba[RCOMP]);
168 texel[GCOMP] = UBYTE_TO_FLOAT(rgba[GCOMP]);
169 texel[BCOMP] = UBYTE_TO_FLOAT(rgba[BCOMP]);
170 texel[ACOMP] = UBYTE_TO_FLOAT(rgba[ACOMP]);
176 GLint i, GLint j, GLint k, GLfloat *texel )
182 texel[RCOMP] = UBYTE_TO_FLOAT(rgba[RCOMP]);
183 texel[GCOMP] = UBYTE_TO_FLOAT(rgba[GCOMP]);
184 texel[BCOMP] = UBYTE_TO_FLOAT(rgba[BCOMP]);
185 texel[ACOMP] = 1.0F
761 GLint texel; local
781 GLint texel; local
868 GLint texel = n_vect + 1; \/* transparent black *\/ local
964 GLint texel = n_vect + 1; \/* transparent black *\/ local
998 GLint texel = n_vect + 1; \/* transparent black *\/ local
1127 GLint texel; local
1160 GLint texel; local
    [all...]
  /system/core/libpixelflinger/codeflinger/
texturing.cpp 446 pixel_t& texel = parts.texel[i]; local
452 comment("fetch texel");
453 texel.setTo(regs.obtain(), &tmu.format);
454 load(txPtr, texel, WRITE_BACK);
522 // sample the texel center
535 // and compute offset to the next texel
624 texel.setTo(regs.obtain(), &tmu.format);
625 txPtr.setTo(texel.reg, tmu.bits);
636 // load texel
    [all...]
  /external/chromium_org/third_party/mesa/src/src/gallium/drivers/llvmpipe/
lp_tex_sample.c 172 * The 'texel' parameter returns four vectors corresponding to R, G, B, A.
184 LLVMValueRef *texel)
191 lp_build_sample_nop(gallivm, type, num_coords, coords, texel);
203 texel);
  /external/mesa3d/src/gallium/drivers/llvmpipe/
lp_tex_sample.c 172 * The 'texel' parameter returns four vectors corresponding to R, G, B, A.
184 LLVMValueRef *texel)
191 lp_build_sample_nop(gallivm, type, num_coords, coords, texel);
203 texel);
  /frameworks/native/libs/gui/tests/
MultiTextureConsumer_test.cpp 88 uint32_t texel = 0x80808080; local
90 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, 1, 1, 0, GL_RGBA, GL_UNSIGNED_BYTE, &texel);
  /external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/vl/
vl_compositor.c 134 struct ureg_dst texel; local
147 texel = ureg_DECL_temporary(shader);
151 * texel.xyz = tex(tc, sampler[i])
152 * fragment = csc * texel
155 ureg_TEX(shader, ureg_writemask(texel, TGSI_WRITEMASK_X << i), TGSI_TEXTURE_3D, tc, sampler[i]);
157 ureg_MOV(shader, ureg_writemask(texel, TGSI_WRITEMASK_W), ureg_imm1f(shader, 1.0f));
160 ureg_DP4(shader, ureg_writemask(fragment, TGSI_WRITEMASK_X << i), csc[i], ureg_src(texel));
164 ureg_release_temporary(shader, texel);
218 * texel[0..1].x = tex(t_tc[0..1][0])
219 * texel[0..1].y = tex(t_tc[0..1][1]
270 struct ureg_dst texel; local
316 struct ureg_dst texel, fragment; local
    [all...]

Completed in 1188 milliseconds

1 2 3