HomeSort by relevance Sort by last modified time
    Searched defs:texel (Results 1 - 13 of 13) sorted by null

  /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/gpu/command_buffer/tests/
gl_texture_mailbox_unittest.cc 43 uint32 texel = 0; local
44 glReadPixels(x, y, 1, 1, GL_RGBA, GL_UNSIGNED_BYTE, &texel);
51 return texel;
  /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...]
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/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...]
  /external/chromium_org/third_party/mesa/src/src/mesa/main/
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_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/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/mesa/main/
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_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/
scanline.cpp 694 pixel_t texel; local
745 tx.surface.read(&tx.surface, c, u, v, &texel);
792 texel.s[j] = texels[0].s[j];
793 if (!texel.s[j]) continue;
794 texel.s[j] += 8;
795 texel.c[j] = texels[0].c[j]*mm[0] +
805 uint32_t& Ct = texel.c[j];
807 uint8_t& st = texel.s[j];
808 uint32_t At = texel.c[0];
809 uint8_t sat = texel.s[0]
    [all...]
  /external/chromium_org/third_party/mesa/src/src/mesa/swrast/
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/swrast/
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...]

Completed in 391 milliseconds