Home
last modified time | relevance | path

Searched refs:texture_target (Results 1 – 19 of 19) sorted by relevance

/external/deqp/external/openglcts/modules/gl/
Dgl4cShaderTextureImageSamplesTests.cpp431 glw::GLenum texture_target = GL_NONE; in executeFunctionalTest() local
449 texture_target = GL_TEXTURE_2D_MULTISAMPLE; in executeFunctionalTest()
453 texture_target = GL_TEXTURE_2D_MULTISAMPLE_ARRAY; in executeFunctionalTest()
456 …gl.getInternalformativ(texture_target, texture_internalformat, GL_NUM_SAMPLE_COUNTS, 1, /* bufSize… in executeFunctionalTest()
467 …gl.getInternalformativ(texture_target, texture_internalformat, GL_SAMPLES, m_internalformat_n_samp… in executeFunctionalTest()
492 gl.bindTexture(texture_target, m_to_id); in executeFunctionalTest()
495 if (texture_target == GL_TEXTURE_2D_MULTISAMPLE) in executeFunctionalTest()
497 …gl.texStorage2DMultisample(texture_target, m_internalformat_n_samples_data[n_value], texture_inter… in executeFunctionalTest()
503 DE_ASSERT(texture_target == GL_TEXTURE_2D_MULTISAMPLE_ARRAY); in executeFunctionalTest()
505 …gl.texStorage3DMultisample(texture_target, m_internalformat_n_samples_data[n_value], texture_inter… in executeFunctionalTest()
Dgl4cTextureViewTests.cpp1845 const char* TextureViewUtilities::getTextureTargetString(const glw::GLenum texture_target) in getTextureTargetString() argument
1849 switch (texture_target) in getTextureTargetString()
2108 glw::GLenum texture_target, glw::GLint texture_depth, in initTextureStorage() argument
2127 if (texture_target == GL_TEXTURE_BUFFER) in initTextureStorage()
2141 (texture_target == GL_TEXTURE_RECTANGLE || texture_target == GL_TEXTURE_2D_MULTISAMPLE || in initTextureStorage()
2142 texture_target == GL_TEXTURE_2D_MULTISAMPLE_ARRAY || texture_target == GL_TEXTURE_BUFFER)) in initTextureStorage()
2148 switch (texture_target) in initTextureStorage()
2152 …gl.texImage1D(texture_target, n_level, texture_internalformat, texture_width >> n_level, 0, /* bor… in initTextureStorage()
2164 gl.texImage2D(texture_target, n_level, texture_internalformat, texture_width >> n_level, in initTextureStorage()
2169 (texture_target == GL_TEXTURE_1D_ARRAY) ? in initTextureStorage()
[all …]
Dgl4cTextureViewTests.hpp153 static const char* getTextureTargetString(const glw::GLenum texture_target);
159 …void initTextureStorage(const glw::Functions& gl, bool init_mutable_to, glw::GLenum texture_target,
283 glw::GLenum texture_target; member
299 texture_target = GL_NONE; in _test_run()
573 …void initTextureObject(bool is_view_texture, glw::GLenum texture_target, glw::GLenum view_texture_…
Dgl4cDirectStateAccessFramebuffersAndRenderbuffersTests.cpp471 …eAttachmentTest::Test(glw::GLenum attachment, bool is_color_attachment, glw::GLenum texture_target, in Test() argument
481 gl.bindTexture(texture_target, m_to); in Test()
484 if (GL_TEXTURE_2D_MULTISAMPLE == texture_target) in Test()
486 …gl.texStorage2DMultisample(texture_target, 1, internalformat, (glw::GLuint)std::pow((double)2, (do… in Test()
492 …gl.texStorage2D(texture_target, levels, internalformat, (glw::GLuint)std::pow((double)2, (double)l… in Test()
497 gl.bindTexture(texture_target, 0); in Test()
508 SubTestAttachmentError(attachment, texture_target, i, levels); in Test()
522 SubTestStatus(attachment, texture_target, i, levels); in Test()
524 if (GL_TEXTURE_2D_MULTISAMPLE != texture_target) in Test()
528 if (!SubTestContent(attachment, texture_target, internalformat, i, levels)) in Test()
[all …]
Dgl4cIncompleteTextureAccessTests.hpp118 glw::GLenum texture_target; member
Dgl4cDirectStateAccessTests.hpp2296 …bool Test(glw::GLenum attachment, bool is_color_attachment, glw::GLenum texture_target, glw::GLenu…
2298 bool SubTestAttachmentError(glw::GLenum attachment, glw::GLenum texture_target, glw::GLuint level,
2300 …bool SubTestStatus(glw::GLenum attachment, glw::GLenum texture_target, glw::GLuint level, glw::GLu…
2301 bool SubTestContent(glw::GLenum attachment, glw::GLenum texture_target, glw::GLenum internalformat,
2303 glw::GLuint MaxTextureLevels(glw::GLenum texture_target);
2374 …bool Test(glw::GLenum attachment, bool is_color_attachment, glw::GLenum texture_target, glw::GLenu…
2376 …bool SubTestAttachmentError(glw::GLenum attachment, glw::GLenum texture_target, glw::GLuint level,…
2378 …bool SubTestStatus(glw::GLenum attachment, glw::GLenum texture_target, glw::GLuint level, glw::GLi…
2380 bool SubTestContent(glw::GLenum attachment, glw::GLenum texture_target, glw::GLenum internalformat,
2383 glw::GLuint MaxTextureLevels(glw::GLenum texture_target);
[all …]
Dgl3cTextureSwizzleTests.hpp127 void verifyValues(const glw::GLenum texture_target);
Dgl4cIncompleteTextureAccessTests.cpp325 gl.bindTexture(configuration.texture_target, m_to); in PrepareTexture()
Dgl3cTextureSwizzleTests.cpp2345 void IntialStateTest::verifyValues(const glw::GLenum texture_target) in verifyValues() argument
2356 gl.getTexParameterIiv(texture_target, GL_TEXTURE_SWIZZLE_R, &red); in verifyValues()
2358 gl.getTexParameterIiv(texture_target, GL_TEXTURE_SWIZZLE_G, &green); in verifyValues()
2360 gl.getTexParameterIiv(texture_target, GL_TEXTURE_SWIZZLE_B, &blue); in verifyValues()
2362 gl.getTexParameterIiv(texture_target, GL_TEXTURE_SWIZZLE_A, &alpha); in verifyValues()
2364 gl.getTexParameterIiv(texture_target, GL_TEXTURE_SWIZZLE_RGBA, param); in verifyValues()
/external/deqp/external/openglcts/modules/glesext/geometry_shader/
DesextcGeometryShaderLayeredRendering.cpp470 glw::GLenum texture_target = GL_NONE; in iterate() local
478 texture_target = (n_layer == 0) ? in iterate()
493 texture_target = GL_TEXTURE_2D_MULTISAMPLE_ARRAY_OES; in iterate()
501 texture_target = GL_TEXTURE_3D; in iterate()
509 texture_target = GL_TEXTURE_2D_ARRAY; in iterate()
530 if (texture_target == GL_TEXTURE_CUBE_MAP_POSITIVE_X || in iterate()
531 texture_target == GL_TEXTURE_CUBE_MAP_POSITIVE_Y || in iterate()
532 texture_target == GL_TEXTURE_CUBE_MAP_POSITIVE_Z || in iterate()
533 texture_target == GL_TEXTURE_CUBE_MAP_NEGATIVE_X || in iterate()
534 texture_target == GL_TEXTURE_CUBE_MAP_NEGATIVE_Y || in iterate()
[all …]
/external/deqp/external/openglcts/modules/gles31/
Des31cTextureStorageMultisampleDependenciesTests.cpp2243 glw::GLenum texture_target) in checkAllTexParameterInvocations() argument
2252 gl.texParameterf(texture_target, pname, float_value); in checkAllTexParameterInvocations()
2265 gl.texParameteri(texture_target, pname, int_value); in checkAllTexParameterInvocations()
2278 gl.texParameterfv(texture_target, pname, &float_value); in checkAllTexParameterInvocations()
2291 gl.texParameteriv(texture_target, pname, &int_value); in checkAllTexParameterInvocations()
2376 glw::GLenum texture_target = texture_targets[n_texture_target]; in iterate() local
2378 …if (!are_multisample_2d_array_tos_supported && texture_target == GL_TEXTURE_2D_MULTISAMPLE_ARRAY_O… in iterate()
2392 …kAllTexParameterInvocations(expected_error_code, int_value, GL_TEXTURE_BASE_LEVEL, texture_target); in iterate()
2409 glw::GLenum texture_target = texture_targets[n_texture_target]; in iterate() local
2411 …if (!are_multisample_2d_array_tos_supported && texture_target == GL_TEXTURE_2D_MULTISAMPLE_ARRAY_O… in iterate()
[all …]
Des31cTextureStorageMultisampleGetTexLevelParameterifvTests.cpp510 glw::GLenum texture_target = cm_texture_targets[n_cm_texture_target]; in iterate() local
512 gl.texImage2D(texture_target, 0, /* level */ in iterate()
1031 glw::GLenum texture_target = in iterate() local
1068 gl.getTexLevelParameteriv(texture_target, max_lod, GL_TEXTURE_RED_TYPE, &red_type); in iterate()
1069 gl.getTexLevelParameteriv(texture_target, max_lod, GL_TEXTURE_RED_SIZE, &red_size); in iterate()
1070 gl.getTexLevelParameteriv(texture_target, max_lod, GL_TEXTURE_INTERNAL_FORMAT, in iterate()
1072 gl.getTexLevelParameteriv(texture_target, max_lod, GL_TEXTURE_SAMPLES, &texture_samples); in iterate()
1081 gl.getTexLevelParameterfv(texture_target, max_lod, GL_TEXTURE_RED_TYPE, &float_value); in iterate()
1084 gl.getTexLevelParameterfv(texture_target, max_lod, GL_TEXTURE_RED_SIZE, &float_value); in iterate()
1087 gl.getTexLevelParameterfv(texture_target, max_lod, GL_TEXTURE_INTERNAL_FORMAT, &float_value); in iterate()
[all …]
Des31cTextureStorageMultisampleTexStorage2DMultisampleTests.hpp98 virtual void deinitTexture(glw::GLuint& to_id, glw::GLenum texture_target);
99 virtual void initTexture(glw::GLuint& to_id, glw::GLenum texture_target);
Des31cTextureStorageMultisampleTexStorage2DMultisampleTests.cpp551 glw::GLenum texture_target) in deinitTexture() argument
556 gl.bindTexture(texture_target, 0); in deinitTexture()
587 glw::GLenum texture_target) in initTexture() argument
603 gl.bindTexture(texture_target, to_id); in initTexture()
Des31cTextureStorageMultisampleDependenciesTests.hpp330 glw::GLenum texture_target);
/external/deqp/external/openglcts/modules/glesext/gpu_shader5/
DesextcGPUShader5TextureGatherOffset.cpp985 glw::GLenum texture_target; in prepareTexture() local
989 texture_target = GL_TEXTURE_2D_ARRAY; in prepareTexture()
993 texture_target = GL_TEXTURE_2D; in prepareTexture()
1002 gl.texParameteri(texture_target, GL_TEXTURE_MIN_FILTER, GL_NEAREST); in prepareTexture()
1003 gl.texParameteri(texture_target, GL_TEXTURE_MAG_FILTER, GL_NEAREST); in prepareTexture()
1004 gl.texParameteri(texture_target, GL_TEXTURE_WRAP_S, m_texture_wrap_mode); in prepareTexture()
1005 gl.texParameteri(texture_target, GL_TEXTURE_WRAP_T, m_texture_wrap_mode); in prepareTexture()
1006 gl.texParameteri(texture_target, GL_TEXTURE_COMPARE_MODE, GL_COMPARE_REF_TO_TEXTURE); in prepareTexture()
1007 gl.texParameteri(texture_target, GL_TEXTURE_COMPARE_FUNC, GL_LESS); in prepareTexture()
1012 gl.texParameterfv(texture_target, m_glExtTokens.TEXTURE_BORDER_COLOR, color); in prepareTexture()
[all …]
/external/deqp/external/openglcts/modules/common/
DglcRobustBufferAccessBehaviorTests.cpp1365 GLenum texture_target = GL_TEXTURE_2D; in iterate() local
1431 texture_target = GL_TEXTURE_2D_MULTISAMPLE; in iterate()
1451 Texture::Bind(gl, source_texture.m_id, texture_target); in iterate()
1508 Texture::Bind(gl, source_texture.m_id, texture_target); in iterate()
/external/deqp/external/openglcts/modules/gles3/
Des3cCopyTexImageConversionsTests.cpp6309 …bool bindTextureToTargetToSpecificTextureUnit(GLuint to_id, GLenum texture_target, GLenum texture_…
7203 bool RequiredCase::bindTextureToTargetToSpecificTextureUnit(GLuint to_id, GLenum texture_target, GL… in bindTextureToTargetToSpecificTextureUnit() argument
7212 …if (texture_target == GL_TEXTURE_CUBE_MAP_POSITIVE_X || texture_target == GL_TEXTURE_CUBE_MAP_NEGA… in bindTextureToTargetToSpecificTextureUnit()
7213texture_target == GL_TEXTURE_CUBE_MAP_POSITIVE_Y || texture_target == GL_TEXTURE_CUBE_MAP_NEGATIVE… in bindTextureToTargetToSpecificTextureUnit()
7214texture_target == GL_TEXTURE_CUBE_MAP_POSITIVE_Z || texture_target == GL_TEXTURE_CUBE_MAP_NEGATIVE… in bindTextureToTargetToSpecificTextureUnit()
7216 texture_target = GL_TEXTURE_CUBE_MAP; in bindTextureToTargetToSpecificTextureUnit()
7220 gl.bindTexture(texture_target, to_id); in bindTextureToTargetToSpecificTextureUnit()
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_tgsi_vgpu10.c4811 enum tgsi_texture_type texture_target; /**< TGSI_TEXTURE_x */ member
4839 swz->texture_target = inst->Texture.Texture; in begin_tex_swizzle()
4895 tgsi_util_get_shadow_ref_src_index(swz->texture_target) % 4; in end_tex_swizzle()