Home
last modified time | relevance | path

Searched refs:texel (Results 1 – 25 of 65) sorted by relevance

123

/external/chromium_org/third_party/mesa/src/src/mesa/swrast/
Ds_texfetch_tmp.h78 GLint i, GLint j, GLint k, GLfloat *texel ) in FETCH()
81 texel[0] = src[0] * (1.0F / 0xffffffff); in FETCH()
92 GLint i, GLint j, GLint k, GLfloat *texel ) in FETCH()
95 texel[0] = src[0] * (1.0F / 65535.0F); in FETCH()
105 GLint i, GLint j, GLint k, GLfloat *texel ) in FETCH()
108 texel[RCOMP] = src[0]; in FETCH()
109 texel[GCOMP] = src[1]; in FETCH()
110 texel[BCOMP] = src[2]; in FETCH()
111 texel[ACOMP] = src[3]; in FETCH()
123 GLint i, GLint j, GLint k, GLfloat *texel ) in FETCH()
[all …]
Ds_fragprog.c53 swizzle_texel(const GLfloat texel[4], GLfloat colorOut[4], GLuint swizzle) in swizzle_texel()
56 COPY_4V(colorOut, texel); in swizzle_texel()
60 vector[SWIZZLE_X] = texel[0]; in swizzle_texel()
61 vector[SWIZZLE_Y] = texel[1]; in swizzle_texel()
62 vector[SWIZZLE_Z] = texel[2]; in swizzle_texel()
63 vector[SWIZZLE_W] = texel[3]; in swizzle_texel()
/external/mesa3d/src/mesa/swrast/
Ds_texfetch_tmp.h78 GLint i, GLint j, GLint k, GLfloat *texel ) in FETCH()
81 texel[0] = src[0] * (1.0F / 0xffffffff); in FETCH()
92 GLint i, GLint j, GLint k, GLfloat *texel ) in FETCH()
95 texel[0] = src[0] * (1.0F / 65535.0F); in FETCH()
105 GLint i, GLint j, GLint k, GLfloat *texel ) in FETCH()
108 texel[RCOMP] = src[0]; in FETCH()
109 texel[GCOMP] = src[1]; in FETCH()
110 texel[BCOMP] = src[2]; in FETCH()
111 texel[ACOMP] = src[3]; in FETCH()
123 GLint i, GLint j, GLint k, GLfloat *texel ) in FETCH()
[all …]
Ds_fragprog.c53 swizzle_texel(const GLfloat texel[4], GLfloat colorOut[4], GLuint swizzle) in swizzle_texel()
56 COPY_4V(colorOut, texel); in swizzle_texel()
60 vector[SWIZZLE_X] = texel[0]; in swizzle_texel()
61 vector[SWIZZLE_Y] = texel[1]; in swizzle_texel()
62 vector[SWIZZLE_Z] = texel[2]; in swizzle_texel()
63 vector[SWIZZLE_W] = texel[3]; in swizzle_texel()
/external/chromium_org/third_party/mesa/src/src/mesa/main/
Dtexcompress_s3tc.c372 GLint i, GLint j, GLint k, GLubyte *texel) in fetch_texel_2d_rgb_dxt1() argument
378 texImage->Map + sliceOffset, i, j, texel); in fetch_texel_2d_rgb_dxt1()
387 GLint i, GLint j, GLint k, GLfloat *texel) in _mesa_fetch_texel_rgb_dxt1() argument
392 texel[RCOMP] = UBYTE_TO_FLOAT(rgba[RCOMP]); in _mesa_fetch_texel_rgb_dxt1()
393 texel[GCOMP] = UBYTE_TO_FLOAT(rgba[GCOMP]); in _mesa_fetch_texel_rgb_dxt1()
394 texel[BCOMP] = UBYTE_TO_FLOAT(rgba[BCOMP]); in _mesa_fetch_texel_rgb_dxt1()
395 texel[ACOMP] = UBYTE_TO_FLOAT(rgba[ACOMP]); in _mesa_fetch_texel_rgb_dxt1()
401 GLint i, GLint j, GLint k, GLubyte *texel) in fetch_texel_2d_rgba_dxt1() argument
407 texImage->Map + sliceOffset, i, j, texel); in fetch_texel_2d_rgba_dxt1()
416 GLint i, GLint j, GLint k, GLfloat *texel) in _mesa_fetch_texel_rgba_dxt1() argument
[all …]
Dtexcompress_rgtc.c296 GLint i, GLint j, GLint k, GLfloat *texel) in _mesa_fetch_texel_red_rgtc1() argument
303 texel[RCOMP] = UBYTE_TO_FLOAT(red); in _mesa_fetch_texel_red_rgtc1()
304 texel[GCOMP] = 0.0; in _mesa_fetch_texel_red_rgtc1()
305 texel[BCOMP] = 0.0; in _mesa_fetch_texel_red_rgtc1()
306 texel[ACOMP] = 1.0; in _mesa_fetch_texel_red_rgtc1()
311 GLint i, GLint j, GLint k, GLfloat *texel) in _mesa_fetch_texel_signed_red_rgtc1() argument
318 texel[RCOMP] = BYTE_TO_FLOAT_TEX(red); in _mesa_fetch_texel_signed_red_rgtc1()
319 texel[GCOMP] = 0.0; in _mesa_fetch_texel_signed_red_rgtc1()
320 texel[BCOMP] = 0.0; in _mesa_fetch_texel_signed_red_rgtc1()
321 texel[ACOMP] = 1.0; in _mesa_fetch_texel_signed_red_rgtc1()
[all …]
Dtexcompress_rgtc.h47 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);
Dtexcompress_s3tc.h52 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);
Dtexcompress_etc.c55 GLint i, GLint j, GLint k, GLfloat *texel) in _mesa_fetch_texel_2d_f_etc1_rgb8() argument
67 texel[RCOMP] = UBYTE_TO_FLOAT(dst[0]); in _mesa_fetch_texel_2d_f_etc1_rgb8()
68 texel[GCOMP] = UBYTE_TO_FLOAT(dst[1]); in _mesa_fetch_texel_2d_f_etc1_rgb8()
69 texel[BCOMP] = UBYTE_TO_FLOAT(dst[2]); in _mesa_fetch_texel_2d_f_etc1_rgb8()
70 texel[ACOMP] = 1.0f; in _mesa_fetch_texel_2d_f_etc1_rgb8()
Dtexcompress_fxt1.c161 GLint i, GLint j, GLint k, GLfloat *texel ) in _mesa_fetch_texel_2d_f_rgba_fxt1() argument
167 texel[RCOMP] = UBYTE_TO_FLOAT(rgba[RCOMP]); in _mesa_fetch_texel_2d_f_rgba_fxt1()
168 texel[GCOMP] = UBYTE_TO_FLOAT(rgba[GCOMP]); in _mesa_fetch_texel_2d_f_rgba_fxt1()
169 texel[BCOMP] = UBYTE_TO_FLOAT(rgba[BCOMP]); in _mesa_fetch_texel_2d_f_rgba_fxt1()
170 texel[ACOMP] = UBYTE_TO_FLOAT(rgba[ACOMP]); in _mesa_fetch_texel_2d_f_rgba_fxt1()
176 GLint i, GLint j, GLint k, GLfloat *texel ) in _mesa_fetch_texel_2d_f_rgb_fxt1() argument
182 texel[RCOMP] = UBYTE_TO_FLOAT(rgba[RCOMP]); in _mesa_fetch_texel_2d_f_rgb_fxt1()
183 texel[GCOMP] = UBYTE_TO_FLOAT(rgba[GCOMP]); in _mesa_fetch_texel_2d_f_rgb_fxt1()
184 texel[BCOMP] = UBYTE_TO_FLOAT(rgba[BCOMP]); in _mesa_fetch_texel_2d_f_rgb_fxt1()
185 texel[ACOMP] = 1.0F; in _mesa_fetch_texel_2d_f_rgb_fxt1()
[all …]
Dtexcompress_fxt1.h44 GLint i, GLint j, GLint k, GLfloat *texel);
48 GLint i, GLint j, GLint k, GLfloat *texel);
/external/mesa3d/src/mesa/main/
Dtexcompress_s3tc.c372 GLint i, GLint j, GLint k, GLubyte *texel) in fetch_texel_2d_rgb_dxt1() argument
378 texImage->Map + sliceOffset, i, j, texel); in fetch_texel_2d_rgb_dxt1()
387 GLint i, GLint j, GLint k, GLfloat *texel) in _mesa_fetch_texel_rgb_dxt1() argument
392 texel[RCOMP] = UBYTE_TO_FLOAT(rgba[RCOMP]); in _mesa_fetch_texel_rgb_dxt1()
393 texel[GCOMP] = UBYTE_TO_FLOAT(rgba[GCOMP]); in _mesa_fetch_texel_rgb_dxt1()
394 texel[BCOMP] = UBYTE_TO_FLOAT(rgba[BCOMP]); in _mesa_fetch_texel_rgb_dxt1()
395 texel[ACOMP] = UBYTE_TO_FLOAT(rgba[ACOMP]); in _mesa_fetch_texel_rgb_dxt1()
401 GLint i, GLint j, GLint k, GLubyte *texel) in fetch_texel_2d_rgba_dxt1() argument
407 texImage->Map + sliceOffset, i, j, texel); in fetch_texel_2d_rgba_dxt1()
416 GLint i, GLint j, GLint k, GLfloat *texel) in _mesa_fetch_texel_rgba_dxt1() argument
[all …]
Dtexcompress_rgtc.c296 GLint i, GLint j, GLint k, GLfloat *texel) in _mesa_fetch_texel_red_rgtc1() argument
303 texel[RCOMP] = UBYTE_TO_FLOAT(red); in _mesa_fetch_texel_red_rgtc1()
304 texel[GCOMP] = 0.0; in _mesa_fetch_texel_red_rgtc1()
305 texel[BCOMP] = 0.0; in _mesa_fetch_texel_red_rgtc1()
306 texel[ACOMP] = 1.0; in _mesa_fetch_texel_red_rgtc1()
311 GLint i, GLint j, GLint k, GLfloat *texel) in _mesa_fetch_texel_signed_red_rgtc1() argument
318 texel[RCOMP] = BYTE_TO_FLOAT_TEX(red); in _mesa_fetch_texel_signed_red_rgtc1()
319 texel[GCOMP] = 0.0; in _mesa_fetch_texel_signed_red_rgtc1()
320 texel[BCOMP] = 0.0; in _mesa_fetch_texel_signed_red_rgtc1()
321 texel[ACOMP] = 1.0; in _mesa_fetch_texel_signed_red_rgtc1()
[all …]
Dtexcompress_rgtc.h47 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);
Dtexcompress_s3tc.h52 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);
Dtexcompress_etc.c55 GLint i, GLint j, GLint k, GLfloat *texel) in _mesa_fetch_texel_2d_f_etc1_rgb8() argument
67 texel[RCOMP] = UBYTE_TO_FLOAT(dst[0]); in _mesa_fetch_texel_2d_f_etc1_rgb8()
68 texel[GCOMP] = UBYTE_TO_FLOAT(dst[1]); in _mesa_fetch_texel_2d_f_etc1_rgb8()
69 texel[BCOMP] = UBYTE_TO_FLOAT(dst[2]); in _mesa_fetch_texel_2d_f_etc1_rgb8()
70 texel[ACOMP] = 1.0f; in _mesa_fetch_texel_2d_f_etc1_rgb8()
Dtexcompress_fxt1.c161 GLint i, GLint j, GLint k, GLfloat *texel ) in _mesa_fetch_texel_2d_f_rgba_fxt1() argument
167 texel[RCOMP] = UBYTE_TO_FLOAT(rgba[RCOMP]); in _mesa_fetch_texel_2d_f_rgba_fxt1()
168 texel[GCOMP] = UBYTE_TO_FLOAT(rgba[GCOMP]); in _mesa_fetch_texel_2d_f_rgba_fxt1()
169 texel[BCOMP] = UBYTE_TO_FLOAT(rgba[BCOMP]); in _mesa_fetch_texel_2d_f_rgba_fxt1()
170 texel[ACOMP] = UBYTE_TO_FLOAT(rgba[ACOMP]); in _mesa_fetch_texel_2d_f_rgba_fxt1()
176 GLint i, GLint j, GLint k, GLfloat *texel ) in _mesa_fetch_texel_2d_f_rgb_fxt1() argument
182 texel[RCOMP] = UBYTE_TO_FLOAT(rgba[RCOMP]); in _mesa_fetch_texel_2d_f_rgb_fxt1()
183 texel[GCOMP] = UBYTE_TO_FLOAT(rgba[GCOMP]); in _mesa_fetch_texel_2d_f_rgb_fxt1()
184 texel[BCOMP] = UBYTE_TO_FLOAT(rgba[BCOMP]); in _mesa_fetch_texel_2d_f_rgb_fxt1()
185 texel[ACOMP] = 1.0F; in _mesa_fetch_texel_2d_f_rgb_fxt1()
[all …]
Dtexcompress_fxt1.h44 GLint i, GLint j, GLint k, GLfloat *texel);
48 GLint i, GLint j, GLint k, GLfloat *texel);
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/vl/
Dvl_compositor.c134 struct ureg_dst texel; in create_frag_shader_video_buffer() local
147 texel = ureg_DECL_temporary(shader); in create_frag_shader_video_buffer()
155 … ureg_TEX(shader, ureg_writemask(texel, TGSI_WRITEMASK_X << i), TGSI_TEXTURE_3D, tc, sampler[i]); in create_frag_shader_video_buffer()
157 ureg_MOV(shader, ureg_writemask(texel, TGSI_WRITEMASK_W), ureg_imm1f(shader, 1.0f)); in create_frag_shader_video_buffer()
160 ureg_DP4(shader, ureg_writemask(fragment, TGSI_WRITEMASK_X << i), csc[i], ureg_src(texel)); in create_frag_shader_video_buffer()
164 ureg_release_temporary(shader, texel); in create_frag_shader_video_buffer()
270 struct ureg_dst texel; in create_frag_shader_palette() local
285 texel = ureg_DECL_temporary(shader); in create_frag_shader_palette()
293 ureg_TEX(shader, texel, TGSI_TEXTURE_2D, tc, sampler); in create_frag_shader_palette()
294 ureg_MOV(shader, ureg_writemask(fragment, TGSI_WRITEMASK_W), ureg_src(texel)); in create_frag_shader_palette()
[all …]
/external/mesa3d/src/gallium/auxiliary/vl/
Dvl_compositor.c134 struct ureg_dst texel; in create_frag_shader_video_buffer() local
147 texel = ureg_DECL_temporary(shader); in create_frag_shader_video_buffer()
155 … ureg_TEX(shader, ureg_writemask(texel, TGSI_WRITEMASK_X << i), TGSI_TEXTURE_3D, tc, sampler[i]); in create_frag_shader_video_buffer()
157 ureg_MOV(shader, ureg_writemask(texel, TGSI_WRITEMASK_W), ureg_imm1f(shader, 1.0f)); in create_frag_shader_video_buffer()
160 ureg_DP4(shader, ureg_writemask(fragment, TGSI_WRITEMASK_X << i), csc[i], ureg_src(texel)); in create_frag_shader_video_buffer()
164 ureg_release_temporary(shader, texel); in create_frag_shader_video_buffer()
270 struct ureg_dst texel; in create_frag_shader_palette() local
285 texel = ureg_DECL_temporary(shader); in create_frag_shader_palette()
293 ureg_TEX(shader, texel, TGSI_TEXTURE_2D, tc, sampler); in create_frag_shader_palette()
294 ureg_MOV(shader, ureg_writemask(fragment, TGSI_WRITEMASK_W), ureg_src(texel)); in create_frag_shader_palette()
[all …]
/external/mesa3d/src/mesa/drivers/dri/common/xmlpool/
Dnl.po44 msgid "Prefer 32 bits per texel"
45 msgstr "Prefereer 32 bits per texel"
48 msgid "Prefer 16 bits per texel"
49 msgstr "Prefereer 16 bits per texel"
52 msgid "Force 16 bits per texel"
53 msgstr "Dwing 16 bits per texel af"
Dfr.po44 msgid "Prefer 32 bits per texel"
45 msgstr "Préférer 32 bits par texel"
48 msgid "Prefer 16 bits per texel"
49 msgstr "Prérérer 16 bits par texel"
52 msgid "Force 16 bits per texel"
53 msgstr "Forcer 16 bits par texel"
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/common/xmlpool/
Dnl.po44 msgid "Prefer 32 bits per texel"
45 msgstr "Prefereer 32 bits per texel"
48 msgid "Prefer 16 bits per texel"
49 msgstr "Prefereer 16 bits per texel"
52 msgid "Force 16 bits per texel"
53 msgstr "Dwing 16 bits per texel af"
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/llvmpipe/
Dlp_tex_sample.c184 LLVMValueRef *texel) in lp_llvm_sampler_soa_emit_fetch_texel() argument
191 lp_build_sample_nop(gallivm, type, num_coords, coords, texel); in lp_llvm_sampler_soa_emit_fetch_texel()
203 texel); in lp_llvm_sampler_soa_emit_fetch_texel()
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_tex_sample.c184 LLVMValueRef *texel) in lp_llvm_sampler_soa_emit_fetch_texel() argument
191 lp_build_sample_nop(gallivm, type, num_coords, coords, texel); in lp_llvm_sampler_soa_emit_fetch_texel()
203 texel); in lp_llvm_sampler_soa_emit_fetch_texel()

123