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

1 2

  /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
s_texfetch.c 30 * Texel fetch/store functions
80 /* Texel fetch routines for all supported formats
92 * Null texel fetch function.
97 GLint i, GLint j, GLint k, GLfloat *texel )
100 texel[RCOMP] = 0.0;
101 texel[GCOMP] = 0.0;
102 texel[BCOMP] = 0.0;
103 texel[ACOMP] = 0.0;
109 * Table to map MESA_FORMAT_ to texel fetch/store funcs.
s_texfilter.c 149 * Used to compute texel locations for linear sampling.
155 * i0, i1 = returns two nearest texel indexes
285 * Used to compute texel location for nearest sampling.
804 * Put z into texel according to GL_DEPTH_MODE.
807 apply_depth_mode(GLenum depthMode, GLfloat z, GLfloat texel[4])
811 ASSIGN_4V(texel, z, z, z, 1.0F);
814 ASSIGN_4V(texel, z, z, z, z);
817 ASSIGN_4V(texel, 0.0F, 0.0F, 0.0F, z);
820 ASSIGN_4V(texel, z, 0.0F, 0.0F, 1.0F);
895 /* fetch texel colors *
1438 GLubyte *texel = swImg->Map + 3 * pos; local
1483 const GLuint texel = *((GLuint *) swImg->Map + pos); 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...]
texobj.c 725 GLubyte texel[4]; local
732 texel[0] =
733 texel[1] =
734 texel[2] = 0x0;
735 texel[3] = 0xff;
813 GL_RGBA, GL_UNSIGNED_BYTE, texel,
    [all...]
texcompress.c 477 GLint i, GLint j, GLint k, GLfloat *texel);
  /system/core/libpixelflinger/codeflinger/
texturing.cpp 442 pixel_t& texel = parts.texel[i]; local
448 comment("fetch texel");
449 texel.setTo(regs.obtain(), &tmu.format);
450 load(txPtr, texel, WRITE_BACK);
518 // sample the texel center
531 // and compute offset to the next texel
620 texel.setTo(regs.obtain(), &tmu.format);
621 txPtr.setTo(texel.reg, tmu.bits);
632 // load texel
    [all...]
GGLAssembler.h 309 pixel_t texel[GGL_TEXTURE_UNIT_COUNT]; member in struct:android::GGLAssembler::fragment_parts_t
366 const pixel_t& texel, int component);
370 const pixel_t& texel, int component);
374 const pixel_t& texel, int component, int tmu);
378 const pixel_t& texel, int component);
445 pixel_t& texel, const texture_unit_t& tmu,
450 pixel_t& texel, const texture_unit_t& tmu,
455 pixel_t& texel, const texture_unit_t& tmu,
460 pixel_t& texel, const texture_unit_t& tmu,
  /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/mesa3d/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...]
  /external/mesa3d/src/gallium/auxiliary/draw/
draw_llvm_sample.c 167 * The 'texel' parameter returns four vectors corresponding to R, G, B, A.
179 LLVMValueRef *texel)
193 texel);
  /external/mesa3d/src/gallium/auxiliary/gallivm/
lp_bld_sample.h 276 LLVMValueRef *texel)
285 lp_build_swizzle_soa_inplace(&bld->texel_bld, texel, swizzles);
lp_bld_tgsi.h 181 LLVMValueRef *texel);
lp_bld_sample_soa.c 65 * Generate code to fetch a texel from a texture at int coords (x, y, z).
67 * The result, texel, will be float vectors:
68 * texel[0] = red values
69 * texel[1] = green values
70 * texel[2] = blue values
71 * texel[3] = alpha values
168 * texel = border_color;
171 * texel = sample_texture(coord);
174 * the texel color results with the border color.
178 /* select texel color or border color depending on use_border *
    [all...]
  /frameworks/native/opengl/tests/finish/
finish.cpp 162 printf("512x512 (1x1 texel MODIFIED texture), 512x512 blit:\n");
179 int16_t texel = 0xF800;
181 1, 1, 0, GL_RGB, GL_UNSIGNED_SHORT_5_6_5, &texel);
210 printf("1x1 (1x1 texel MODIFIED texture), 512x512 blit:\n");
  /system/core/libpixelflinger/
scanline.cpp 701 pixel_t texel; local
752 tx.surface.read(&tx.surface, c, u, v, &texel);
799 texel.s[j] = texels[0].s[j];
800 if (!texel.s[j]) continue;
801 texel.s[j] += 8;
802 texel.c[j] = texels[0].c[j]*mm[0] +
812 uint32_t& Ct = texel.c[j];
814 uint8_t& st = texel.s[j];
815 uint32_t At = texel.c[0];
816 uint8_t sat = texel.s[0]
    [all...]

Completed in 1133 milliseconds

1 2