HomeSort by relevance Sort by last modified time
    Searched defs:tex (Results 126 - 150 of 249) sorted by null

1 2 3 4 56 7 8 910

  /external/deqp/external/openglcts/modules/gl/
gl4cES31CompatibilitySampleVariablesTests.cpp 283 GLuint tex; local
284 gl.genTextures(1, &tex);
289 gl.bindTexture(target, tex);
295 gl.bindTexture(target, tex);
309 gl.framebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, target, tex, 0);
533 gl.deleteTextures(1, &tex);
601 GLuint tex; local
602 gl.genTextures(1, &tex);
607 gl.bindTexture(target, tex);
614 gl.bindTexture(target, tex);
    [all...]
  /external/deqp/modules/gles3/functional/
es3fFboTestUtil.cpp 381 // setup tex coords
395 const sglr::rc::Texture2D* tex = m_uniforms[2 + ndx*3].sampler.tex2D; local
400 tex->sample4(tmpColors, texCoords);
535 const sglr::rc::TextureCube* tex = m_uniforms[1].sampler.texCube; local
543 tex->sample4(colors, texCoords);
643 const sglr::rc::Texture2DArray* tex = m_uniforms[0].sampler.tex2DArray; local
651 tex->sample4(colors, texCoords);
751 const sglr::rc::Texture3D* tex = m_uniforms[0].sampler.tex3D; local
759 tex->sample4(colors, texCoords);
    [all...]
es3fFboColorbufferTests.cpp 256 deUint32& tex = ndx ? tex1 : tex0; local
259 glGenTextures(1, &tex);
261 glBindTexture(GL_TEXTURE_2D, tex);
269 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, tex, 0);
376 deUint32 tex; local
384 glGenTextures(1, &tex);
386 glBindTexture(GL_TEXTURE_CUBE_MAP, tex);
403 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, cubeGLFaces[ndx], tex, 0);
455 glBindTexture(GL_TEXTURE_CUBE_MAP, tex);
505 deUint32 tex; local
631 deUint32 tex; local
    [all...]
es3fFboInvalidateTests.cpp 216 deUint32 tex = 0; local
230 glGenTextures (1, &tex);
231 glBindTexture (GL_TEXTURE_2D, tex);
235 glFramebufferTexture2D (GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, tex, 0);
286 glBindTexture (GL_TEXTURE_2D, tex);
364 deUint32 tex = 0; local
388 glGenTextures (1, &tex);
389 glBindTexture (GL_TEXTURE_2D, tex);
393 glFramebufferTexture2D (GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, tex, 0);
431 glBindTexture (GL_TEXTURE_2D, tex);
    [all...]
es3fFramebufferBlitTests.cpp 637 deUint32 tex = 0; local
647 glGenTextures(1, &tex);
649 glBindTexture(GL_TEXTURE_2D, tex);
657 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, tex, 0);
    [all...]
  /external/mesa3d/src/amd/vulkan/
radv_meta_bufimage.c 84 nir_tex_instr *tex = nir_tex_instr_create(b.shader, 2); local
85 tex->sampler_dim = GLSL_SAMPLER_DIM_2D;
86 tex->op = nir_texop_txf;
87 tex->src[0].src_type = nir_tex_src_coord;
88 tex->src[0].src = nir_src_for_ssa(img_coord);
89 tex->src[1].src_type = nir_tex_src_lod;
90 tex->src[1].src = nir_src_for_ssa(nir_imm_int(&b, 0));
91 tex->dest_type = nir_type_float;
92 tex->is_array = false;
93 tex->coord_components = 2
287 nir_tex_instr *tex = nir_tex_instr_create(b.shader, 2); local
476 nir_tex_instr *tex = nir_tex_instr_create(b.shader, 2); local
    [all...]
radv_meta_blit.c 95 nir_tex_instr *tex = nir_tex_instr_create(b.shader, 1); local
96 tex->sampler_dim = tex_dim;
97 tex->op = nir_texop_tex;
98 tex->src[0].src_type = nir_tex_src_coord;
99 tex->src[0].src = nir_src_for_ssa(tex_pos);
100 tex->dest_type = nir_type_float; /* TODO */
101 tex->is_array = glsl_sampler_type_is_array(sampler_type);
102 tex->coord_components = tex_pos->num_components;
103 tex->texture = nir_deref_var_create(tex, sampler)
149 nir_tex_instr *tex = nir_tex_instr_create(b.shader, 1); local
203 nir_tex_instr *tex = nir_tex_instr_create(b.shader, 1); local
    [all...]
radv_meta_blit2d.c 481 nir_tex_instr *tex = nir_tex_instr_create(b->shader, 2); local
482 tex->sampler_dim = GLSL_SAMPLER_DIM_2D;
483 tex->op = nir_texop_txf;
484 tex->src[0].src_type = nir_tex_src_coord;
485 tex->src[0].src = nir_src_for_ssa(tex_pos);
486 tex->src[1].src_type = nir_tex_src_lod;
487 tex->src[1].src = nir_src_for_ssa(nir_imm_int(b, 0));
488 tex->dest_type = nir_type_uint;
489 tex->is_array = false;
490 tex->coord_components = 2
524 nir_tex_instr *tex = nir_tex_instr_create(b->shader, 1); local
    [all...]
  /external/mesa3d/src/gallium/auxiliary/vl/
vl_idct.c 394 unsigned first_output, struct ureg_dst tex)
418 ureg_MUL(shader, ureg_writemask(tex, TGSI_WRITEMASK_Z),
424 calc_addr(shader, o_r_addr, ureg_src(tex), ureg_src(t_start), true, false, idct->buffer_height / 4);
426 ureg_MOV(shader, ureg_writemask(o_r_addr[0], TGSI_WRITEMASK_Z), ureg_src(tex));
427 ureg_MOV(shader, ureg_writemask(o_r_addr[1], TGSI_WRITEMASK_Z), ureg_src(tex));
590 struct pipe_resource *tex; local
595 tex = buffer->sampler_views.individual.source->texture;
597 buffer->fb_state_mismatch.width = tex->width0;
598 buffer->fb_state_mismatch.height = tex->height0;
602 surf_templ.format = tex->format
627 struct pipe_resource *tex; local
    [all...]
  /external/mesa3d/src/gallium/drivers/i915/
i915_resource_texture.c 133 i915_texture_set_level_info(struct i915_texture *tex,
136 assert(level < ARRAY_SIZE(tex->nr_images));
138 assert(!tex->image_offset[level]);
140 tex->nr_images[level] = nr_images;
141 tex->image_offset[level] = MALLOC(nr_images * sizeof(struct offset_pair));
142 tex->image_offset[level][0].nblocksx = 0;
143 tex->image_offset[level][0].nblocksy = 0;
146 unsigned i915_texture_offset(const struct i915_texture *tex,
150 x = tex->image_offset[level][layer].nblocksx
151 * util_format_get_blocksize(tex->b.b.format)
690 struct i915_texture *tex = i915_texture(texture); local
701 struct i915_texture *tex = i915_texture(pt); local
723 struct i915_texture *tex = i915_texture(resource); local
796 struct i915_texture *tex = i915_texture(itransfer->b.resource); local
926 struct i915_texture *tex = CALLOC_STRUCT(i915_texture); local
983 struct i915_texture *tex; local
    [all...]
  /external/mesa3d/src/gallium/drivers/nouveau/nv30/
nvfx_fragprog.c 234 #define tex(s,o,u,d,m,s0,s1,s2) \ macro
754 nvfx_fp_emit(fpc, tex(sat, TEX, unit, dst, mask, src[0], none, none));
770 nvfx_fp_emit(fpc, tex(sat, TXB, unit, dst, mask, src[0], none, none));
774 nvfx_fp_emit(fpc, tex(sat, TXL_NV40, unit, dst, mask, src[0], none, none));
775 else /* unsupported on nv30, use TEX and hope they like it */
776 nvfx_fp_emit(fpc, tex(sat, TEX, unit, dst, mask, src[0], none, none));
779 nvfx_fp_emit(fpc, tex(sat, TXP, unit, dst, mask, src[0], none, none));
    [all...]
  /external/mesa3d/src/gallium/drivers/r300/
r300_state_derived.c 794 struct r300_resource *tex; local
813 tex = r300_resource(view->base.texture);
828 base_level = view->base.u.tex.first_level;
831 tex->b.b.last_level - base_level,
832 view->base.u.tex.last_level - base_level);
837 if (tex->tex.is_npot) {
844 offset = tex->tex.offset_in_bytes[base_level];
846 r300_texture_setup_format_state(r300->screen, tex,
1011 struct pipe_resource *tex; local
    [all...]
  /external/mesa3d/src/gallium/drivers/r600/
r600_blit.c 166 surf_tmpl.u.tex.level = level;
167 surf_tmpl.u.tex.first_layer = layer;
168 surf_tmpl.u.tex.last_layer = layer;
226 surf_tmpl.u.tex.level = level;
234 surf_tmpl.u.tex.first_layer = layer;
235 surf_tmpl.u.tex.last_layer = layer;
269 struct r600_texture *tex; local
277 tex = (struct r600_texture *)view->texture;
278 assert(tex->db_compatible);
280 if (r600_can_sample_zs(tex, rview->is_stencil_sampler))
347 struct r600_texture *tex; local
420 struct r600_texture *tex; local
    [all...]
  /external/mesa3d/src/gallium/drivers/rbug/
rbug_core.c 253 struct pipe_resource *tex; local
271 tex = tr_tex->resource;
272 map = pipe_transfer_map(context, tex,
  /external/mesa3d/src/gallium/state_trackers/va/
surface.c 280 struct pipe_resource *tex; local
301 tex = vscreen->texture_from_drawable(vscreen, draw);
302 if (!tex) {
310 surf_templ.format = tex->format;
311 surf_draw = drv->pipe->create_surface(drv->pipe, tex, &surf_templ);
313 pipe_resource_reference(&tex, NULL);
339 screen->flush_frontbuffer(screen, tex, 0, 0,
343 pipe_resource_reference(&tex, NULL);
  /external/mesa3d/src/gallium/state_trackers/xa/
xa_renderer.c 85 r->scissor.maxx = r->dst->tex->width0;
86 r->scissor.maxy = r->dst->tex->height0;
311 struct pipe_resource *tex; local
318 tex = srf[0]->tex;
319 s0 = spt0[0] / tex->width0;
320 t0 = spt0[1] / tex->height0;
321 s1 = spt1[0] / tex->width0;
322 t1 = spt1[1] / tex->height0;
527 const int num_attribs = 2; /*pos + tex coord *
    [all...]
  /external/skia/samplecode/
SamplePatch.cpp 162 SkPoint* tex = strip + stripCount; local
176 tex[i*2 + 0].set(s, t);
177 tex[i*2 + 1].set(s, t + dt);
184 strip, doTextures ? tex : nullptr,
  /external/skqp/samplecode/
SamplePatch.cpp 162 SkPoint* tex = strip + stripCount; local
176 tex[i*2 + 0].set(s, t);
177 tex[i*2 + 1].set(s, t + dt);
184 strip, doTextures ? tex : nullptr,
  /external/swiftshader/third_party/PowerVR_SDK/Tools/OGLES2/
PVRTPrint3DAPI.cpp 543 GLuint tex = 0; local
553 tex = Data.uTextureIMGLogo;
556 tex = Data.uTexturePowerVRLogo;
617 _ASSERT(tex != UNDEFINED_HANDLE);
618 glBindTexture(GL_TEXTURE_2D, tex);
  /cts/tests/tests/opengl/src/android/opengl/cts/
CompressedTextureLoader.java 165 Texture tex = new Texture(0, 0, 0, null, "Cts!"); local
166 return tex;
194 Texture tex = new Texture(compressed.getWidth(), compressed.getHeight(), local
197 return tex;
243 Texture tex = new Texture(header.mWidth, header.mHeight, local
251 return tex;
422 Texture tex = new Texture(header.mWidth, header.mHeight, internalFormat, local
424 return tex;
  /external/autotest/client/deps/nvmap_compactor/src/
nvmap_carveout_compactor.c 64 uniform sampler2D tex; \
69 gl_FragColor = texture2D(tex, st); \
138 GLuint tex; local
160 glGenTextures(1, &tex);
168 glBindTexture(GL_TEXTURE_2D, tex);
189 tex = -1;
193 return tex;
244 int ShowTextures(GLuint *tex, int count, int width, int height)
269 texSampler = glGetUniformLocation(programObj, "tex");
284 glBindTexture(GL_TEXTURE_2D, tex[i])
    [all...]
  /external/deqp/external/vulkancts/modules/vulkan/texture/
vktTextureShadowTests.cpp 725 const int tex = cases[caseNdx].texNdx > 0 ? 1 : 0; local
731 const float sX = deFloatExp2(lodX) * float(m_renderer.getRenderWidth()) / float(m_textures[tex]->getTexture().getWidth());
732 const float sY = deFloatExp2(lodY) * float(m_renderer.getRenderHeight()) / float(m_textures[tex]->getTexture().getHeight());
734 m_cases.push_back(FilterCase(tex, ref, tcu::Vec3(oX, oY, minLayer), tcu::Vec3(oX+sX, oY+sY, maxLayer)));
    [all...]
  /external/deqp/modules/glshared/
glsMemoryStressCase.cpp 583 deUint32 tex = 0; local
588 glGenTextures(1, &tex);
600 m_textures.push_back(tex);
602 glBindTexture(GL_TEXTURE_2D, tex);
642 m_textureRenderer.render(tex);
  /external/mesa3d/src/compiler/nir/
nir_lower_tex.c 42 project_src(nir_builder *b, nir_tex_instr *tex)
45 int proj_index = nir_tex_instr_src_index(tex, nir_tex_src_projector);
49 b->cursor = nir_before_instr(&tex->instr);
52 nir_frcp(b, nir_ssa_for_src(b, tex->src[proj_index].src, 1));
55 for (unsigned i = 0; i < tex->num_srcs; i++) {
56 switch (tex->src[i].src_type) {
64 nir_ssa_for_src(b, tex->src[i].src, nir_tex_instr_src_size(tex, i));
70 if (tex->is_array && tex->src[i].src_type == nir_tex_src_coord)
715 nir_tex_instr *tex = nir_instr_as_tex(instr); local
    [all...]
  /external/mesa3d/src/gallium/auxiliary/draw/
draw_pipe_aaline.c 271 /* TEX texTemp, input_coord, sampler, 2D */
538 float *pos, *tex; local
600 tex = v[0]->data[texPos];
601 ASSIGN_4V(tex, 0, 0, 0, 1);
603 tex = v[1]->data[texPos];
604 ASSIGN_4V(tex, 0, 1, 0, 1);
606 tex = v[2]->data[texPos];
607 ASSIGN_4V(tex, .5, 0, 0, 1);
609 tex = v[3]->data[texPos];
610 ASSIGN_4V(tex, .5, 1, 0, 1)
    [all...]

Completed in 500 milliseconds

1 2 3 4 56 7 8 910