Home
last modified time | relevance | path

Searched refs:GL_TEXTURE_1D (Results 1 – 25 of 88) sorted by relevance

1234

/external/mesa3d/src/mesa/state_tracker/
Dst_copytex.c67 case GL_TEXTURE_1D: in st_copy_framebuffer_to_texture()
68 _mesa_GetTexLevelParameteriv(GL_TEXTURE_1D, texLevel, in st_copy_framebuffer_to_texture()
72 _mesa_CopyTexSubImage1D(GL_TEXTURE_1D, in st_copy_framebuffer_to_texture()
79 _mesa_CopyTexImage1D(GL_TEXTURE_1D, in st_copy_framebuffer_to_texture()
/external/deqp/framework/opengl/
DgluStateReset.cpp766 gl.bindTexture (GL_TEXTURE_1D, 0); in resetStateGLCore()
767 gl.texImage1D (GL_TEXTURE_1D, 0, GL_RGBA, 0, 0, GL_RGBA, GL_UNSIGNED_BYTE, DE_NULL); in resetStateGLCore()
768 gl.texParameteri (GL_TEXTURE_1D, GL_TEXTURE_MIN_FILTER, GL_LINEAR_MIPMAP_NEAREST); in resetStateGLCore()
769 gl.texParameteri (GL_TEXTURE_1D, GL_TEXTURE_MAG_FILTER, GL_LINEAR); in resetStateGLCore()
770 gl.texParameterfv (GL_TEXTURE_1D, GL_TEXTURE_BORDER_COLOR, &borderColor[0]); in resetStateGLCore()
771 gl.texParameteri (GL_TEXTURE_1D, GL_TEXTURE_WRAP_S, GL_REPEAT); in resetStateGLCore()
772 gl.texParameterf (GL_TEXTURE_1D, GL_TEXTURE_MIN_LOD, -1000.0f); in resetStateGLCore()
773 gl.texParameterf (GL_TEXTURE_1D, GL_TEXTURE_MAX_LOD, 1000.0f); in resetStateGLCore()
774 gl.texParameteri (GL_TEXTURE_1D, GL_TEXTURE_BASE_LEVEL, 0); in resetStateGLCore()
775 gl.texParameteri (GL_TEXTURE_1D, GL_TEXTURE_MAX_LEVEL, 1000); in resetStateGLCore()
[all …]
/external/deqp/external/openglcts/modules/common/
DglcLayoutLocationTests.cpp100 gl.bindTexture(GL_TEXTURE_1D, id); in createTexture1D()
101 gl.texImage1D(GL_TEXTURE_1D, 0, internalFormat, WIDTH, 0, format, type, &data[0]); in createTexture1D()
102 setTexParameters(gl, GL_TEXTURE_1D, components == 1); in createTexture1D()
288 ResultData create<GL_TEXTURE_1D, GL_RGBA8>(const Functions& gl) in create()
294 ResultData create<GL_TEXTURE_1D, GL_DEPTH_COMPONENT16>(const Functions& gl) in create()
641 …{ &create<GL_TEXTURE_1D, GL_RGBA8>, "sampler_1d", "sampler1D", "texture(sampler, coords.… in init()
642 …{ &create<GL_TEXTURE_1D, GL_DEPTH_COMPONENT16>, "sampler_1d_shadow", "sampler1DShadow", "vec4(… in init()
/external/mesa3d/src/mesa/main/
Dtexformat.c255 if (target != GL_TEXTURE_1D && target != GL_TEXTURE_1D_ARRAY) { in _mesa_choose_tex_format()
264 if (target != GL_TEXTURE_1D && target != GL_TEXTURE_1D_ARRAY) { in _mesa_choose_tex_format()
669 if (target != GL_TEXTURE_1D && target != GL_TEXTURE_1D_ARRAY) in _mesa_choose_tex_format()
684 if (target != GL_TEXTURE_1D && target != GL_TEXTURE_1D_ARRAY) in _mesa_choose_tex_format()
Dformatquery.c74 case GL_TEXTURE_1D: in _legal_parameters()
398 case GL_TEXTURE_1D: in _is_target_supported()
486 case GL_TEXTURE_1D: in _is_resource_supported()
736 case GL_TEXTURE_1D: in _equivalent_size_pname()
1322 case GL_TEXTURE_1D: in _mesa_GetInternalformativ()
Dcopyimage.c87 case GL_TEXTURE_1D: in prepare_target_err()
346 case GL_TEXTURE_1D: in check_region_bounds()
364 case GL_TEXTURE_1D: in check_region_bounds()
Dtextureview.c390 case GL_TEXTURE_1D: in target_valid()
553 case GL_TEXTURE_1D: in texture_view()
633 case GL_TEXTURE_1D: in texture_view()
Dtexobj.c151 case GL_TEXTURE_1D: in _mesa_get_current_tex_object()
262 target == GL_TEXTURE_1D || in _mesa_initialize_texture_object()
512 case GL_TEXTURE_1D: in valid_texture_object()
710 case GL_TEXTURE_1D: in _mesa_test_texobj_completeness()
989 target = GL_TEXTURE_1D; in _mesa_get_fallback_texture()
1591 case GL_TEXTURE_1D: in _mesa_tex_target_to_index()
2209 case GL_TEXTURE_1D: in _mesa_InvalidateTexSubImage()
Dgenmipmap.c48 case GL_TEXTURE_1D: in _mesa_is_valid_generate_texture_mipmap_target()
Dteximage.c310 case GL_TEXTURE_1D: in proxy_target()
509 case GL_TEXTURE_1D: in _mesa_max_texture_levels()
565 case GL_TEXTURE_1D: in _mesa_get_texture_dimensions()
612 case GL_TEXTURE_1D: in _mesa_tex_target_is_layered()
661 case GL_TEXTURE_1D: in _mesa_get_texture_layers()
704 case GL_TEXTURE_1D: in _mesa_get_tex_max_num_levels()
867 case GL_TEXTURE_1D: in _mesa_init_teximage_fields_ms()
991 case GL_TEXTURE_1D: in _mesa_legal_texture_dimensions()
1531 case GL_TEXTURE_1D: in legal_teximage_target()
1599 return _mesa_is_desktop_gl(ctx) && target == GL_TEXTURE_1D; in legal_texsubimage_target()
[all …]
Dtexgetimage.c624 if ((target == GL_TEXTURE_1D || in get_tex_memcpy()
845 case GL_TEXTURE_1D: in legal_getteximage_target()
950 case GL_TEXTURE_1D: in dimensions_error_check()
1042 if (target != GL_TEXTURE_1D && target != GL_TEXTURE_1D_ARRAY) { in dimensions_error_check()
/external/mesa3d/src/mesa/drivers/dri/i915/
Di915_texstate.c271 if (tObj->Target == GL_TEXTURE_1D) in i915_update_tex_unit()
298 if (tObj->Target == GL_TEXTURE_1D) in i915_update_tex_unit()
422 case GL_TEXTURE_1D: in i915UpdateTextureState()
Di915_tex_layout.c237 case GL_TEXTURE_1D: in i915_miptree_layout()
469 case GL_TEXTURE_1D: in i945_miptree_layout()
/external/deqp/external/openglcts/modules/gl/
Dgl4cGetTextureSubImageTests.cpp182 gl.bindTexture(GL_TEXTURE_1D, m_texture_1D); in prepare()
185 …gl.texImage1D(GL_TEXTURE_1D, 0, GL_RGBA8, s_texture_data_width, 0, GL_RGBA, GL_UNSIGNED_BYTE, s_te… in prepare()
780 glw::GLenum targets[] = { GL_TEXTURE_1D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D, in iterate()
916 case GL_TEXTURE_1D: in prepare()
988 if (GL_TEXTURE_1D != target) in check()
Dgl4cSparseTextureClampTests.cpp492 if (target == GL_TEXTURE_1D || target == GL_TEXTURE_1D_ARRAY) in draw()
525 mSupportedTargets.push_back(GL_TEXTURE_1D); in init()
539 f.allowedTargets.insert(GL_TEXTURE_1D); in init()
555 f.allowedTargets.insert(GL_TEXTURE_1D); in init()
572 f.allowedTargets.insert(GL_TEXTURE_1D); in init()
592 f.allowedTargets.insert(GL_TEXTURE_1D); in init()
Dgl4cIncompleteTextureAccessTests.cpp490 { GL_TEXTURE_1D, "sampler1D", "texture(texture_input, 0.0)", { 0.f, 0.f, 0.f, 1.f } },
500 { GL_TEXTURE_1D,
Dgl4cDirectStateAccessTexturesTests.cpp102 static const glw::GLenum texture_targets[] = { GL_TEXTURE_1D, in iterate()
1730 return GL_TEXTURE_1D; in TextureTarget()
4643 return GL_TEXTURE_1D; in TextureTarget()
5617 return GL_TEXTURE_1D; in TextureTarget()
7236 gl.bindTexture(GL_TEXTURE_1D, texture); in iterate()
7239 …gl.texImage1D(GL_TEXTURE_1D, 0, GL_R8, s_texture_width, 0, GL_RED, GL_UNSIGNED_BYTE, s_texture_dat… in iterate()
7273 gl.getTexLevelParameteriv(GL_TEXTURE_1D, i, GL_TEXTURE_WIDTH, &mipmap_size); in iterate()
7289 gl.getTexImage(GL_TEXTURE_1D, i, GL_RED, GL_UNSIGNED_BYTE, result); in iterate()
8512 static const glw::GLenum texture_targets[] = { GL_TEXTURE_1D, in NotATarget()
8596 gl.createTextures(GL_TEXTURE_1D, 1, &texture_1D); in iterate()
[all …]
Dgl4cTextureViewTests.cpp172 static glw::GLenum valid_texture_targets[] = { GL_TEXTURE_1D,
1851 case GL_TEXTURE_1D: in getTextureTargetString()
2150 case GL_TEXTURE_1D: in initTextureStorage()
2263 case GL_TEXTURE_1D: in initTextureStorage()
2569 case GL_TEXTURE_1D: in isLegalTextureTargetForTextureView()
2571 result = (view_texture_target == GL_TEXTURE_1D || view_texture_target == GL_TEXTURE_1D_ARRAY); in isLegalTextureTargetForTextureView()
2614 result = (view_texture_target == GL_TEXTURE_1D_ARRAY || view_texture_target == GL_TEXTURE_1D); in isLegalTextureTargetForTextureView()
2712 GL_TEXTURE_1D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D, in initTestRuns()
2791 if (texture_target == GL_TEXTURE_1D || texture_target == GL_TEXTURE_2D || in initTestRuns()
3465 gl.bindTexture(GL_TEXTURE_1D, m_reference_immutable_to_1d_id); in iterate()
[all …]
Dgl4cShaderImageLoadStoreTests.cpp838 case GL_TEXTURE_1D: in EnumToString()
958 case GL_TEXTURE_1D: in ImageType()
990 case GL_TEXTURE_1D: in ImageType()
1022 case GL_TEXTURE_1D: in ImageType()
2414 glBindTexture(GL_TEXTURE_1D, textures[0]); in Write()
2415 glTexParameteri(GL_TEXTURE_1D, GL_TEXTURE_MIN_FILTER, GL_NEAREST); in Write()
2416 glTexParameteri(GL_TEXTURE_1D, GL_TEXTURE_MAG_FILTER, GL_NEAREST); in Write()
2417 glTexImage1D(GL_TEXTURE_1D, 0, internalformat, kSize, 0, Format<T>(), Type<T>(), &data[0]); in Write()
2418 glBindTexture(GL_TEXTURE_1D, 0); in Write()
2499 glBindTexture(GL_TEXTURE_1D, textures[0]); in Write()
[all …]
Dgl4cShaderImageSizeTests.cpp856 const GLenum target[4] = { GL_TEXTURE_1D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_MULTISAMPLE, in Run()
861 if (target[i] == GL_TEXTURE_1D || target[i] == GL_TEXTURE_1D_ARRAY) in Run()
1108 const GLenum target[4] = { GL_TEXTURE_1D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_MULTISAMPLE_ARRAY, in Run()
1113 if (target[i] == GL_TEXTURE_1D || target[i] == GL_TEXTURE_1D_ARRAY) in Run()
Dgl3cTextureSizePromotion.cpp322 case GL_TEXTURE_1D: in prepareSourceTexture()
632 case GL_TEXTURE_1D: in prepareProgram()
1225 GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_RECTANGLE,
1230 STR(GL_TEXTURE_1D), STR(GL_TEXTURE_2D), STR(GL_TEXTURE_1D_ARRAY), STR(GL_TEXTURE_RECTANGLE),
/external/mesa3d/src/gallium/state_trackers/wgl/
Dstw_ext_rendertexture.c75 return GL_TEXTURE_1D; in translate_target()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dgen8_depth_state.c182 case GL_TEXTURE_1D: in gen8_emit_depth_stencil_hiz()
/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnv20_state_tex.c198 case GL_TEXTURE_1D: in nv20_emit_tex_obj()
/external/mesa3d/src/mesa/swrast/
Ds_texture.c184 if (texImage->TexObject->Target == GL_TEXTURE_1D) in check_map_teximage()

1234