Home
last modified time | relevance | path

Searched refs:m_target (Results 1 – 25 of 45) sorted by relevance

12

/third_party/vk-gl-cts/modules/glshared/
DglsTextureStateQueryTests.cpp760 const glw::GLenum m_target; member in deqp::gls::TextureStateQueryTests::__anon8181865b0111::TextureTest
775 , m_target (target) in TextureTest()
788 if (!isCoreTextureTarget(m_renderCtx.getType(), m_target)) in init()
789 extensions.add(getTextureTargetExtension(m_renderCtx.getType(), m_target)); in init()
828 const glw::GLenum m_target; member in deqp::gls::TextureStateQueryTests::__anon8181865b0111::IsTextureCase
834 , m_target (target) in IsTextureCase()
844 if (!isCoreTextureTarget(m_renderCtx.getType(), m_target)) in init()
845 extensions.add(getTextureTargetExtension(m_renderCtx.getType(), m_target)); in init()
859 gl.glBindTexture(m_target, textureId); in iterate()
890 gl.glBindTexture(m_target, *texture); in test()
[all …]
DglsSamplerObjectTest.cpp76 , m_target (spec.target) in TextureSamplerTest()
207 const char* vertexShaderTemplate = selectVertexShader(m_target); in init()
208 const char* fragmentShaderTemplate = selectFragmentShader(m_target); in init()
321 switch (m_target) in render()
490 GLuint texture = createTexture(gl, m_target); in renderReferences()
495 gl.bindTexture(m_target, texture); in renderReferences()
498 setTextureState(gl, m_target, m_textureState); in renderReferences()
502 setTextureState(gl, m_target, m_samplerState); in renderReferences()
513 GLuint texture = createTexture(gl, m_target); in renderResults()
530 gl.bindTexture(m_target, texture); in renderResults()
[all …]
DglsSamplerObjectTest.hpp91 GLenum m_target; member in deqp::gls::TextureSamplerTest
150 GLenum m_target; member in deqp::gls::MultiTextureSamplerTest
DglsShaderLibraryCase.cpp628 const glw::GLuint m_target; member in deqp::gls::BeforeDrawValidator
637 , m_target (target) in BeforeDrawValidator()
653 m_gl.validateProgram(m_target); in beforeDrawCall()
655 m_gl.validateProgramPipeline(m_target); in beforeDrawCall()
665 m_gl.getProgramiv(m_target, GL_VALIDATE_STATUS, &m_validateStatus); in beforeDrawCall()
667 m_gl.getProgramPipelineiv(m_target, GL_VALIDATE_STATUS, &m_validateStatus); in beforeDrawCall()
679 m_gl.getProgramiv(m_target, GL_INFO_LOG_LENGTH, &infoLogLength); in beforeDrawCall()
681 m_gl.getProgramPipelineiv(m_target, GL_INFO_LOG_LENGTH, &infoLogLength); in beforeDrawCall()
696 m_gl.getProgramInfoLog(m_target, infoLogLength + 1, &bytesWritten, &logBuffer[0]); in beforeDrawCall()
698 m_gl.getProgramPipelineInfoLog(m_target, infoLogLength + 1, &bytesWritten, &logBuffer[0]); in beforeDrawCall()
DglsFboUtil.cpp932 , m_target (target) in FboBuilder()
935 m_gl.bindFramebuffer(m_target, fbo); in FboBuilder()
948 m_gl.bindFramebuffer(m_target, 0); in ~FboBuilder()
965 m_gl.framebufferRenderbuffer(m_target, attPoint, GL_RENDERBUFFER, 0); in glAttach()
/third_party/vk-gl-cts/modules/gles31/functional/
Des31fIntegerStateQueryTests.cpp74 const glw::GLenum m_target; member in deqp::gles31::Functional::__anon07ba167b0111::MaxSamplesCase
81 , m_target (target) in MaxSamplesCase()
93 verifyStateIntegerMin(result, gl, m_target, m_minValue, m_verifierType); in iterate()
183 const glw::GLenum m_target; member in deqp::gles31::Functional::__anon07ba167b0111::MinimumValueCase
191 , m_target (target) in MinimumValueCase()
200 , m_target (target) in MinimumValueCase()
217 …? (m_target == GL_MAX_FRAGMENT_ATOMIC_COUNTER_BUFFERS ? MAX_FRAG_ATOMIC_COUNTER_BUFFERS_GLES32 // 1 in iterate()
218 : m_target == GL_MAX_FRAGMENT_ATOMIC_COUNTERS ? MAX_FRAG_ATOMIC_COUNTERS_GLES32 // 8 in iterate()
219 … : m_target == GL_MAX_FRAGMENT_SHADER_STORAGE_BLOCKS ? MAX_FRAG_SHADER_STORAGE_BLOCKS_GLES32 // 4 in iterate()
224 verifyStateIntegerMin(result, gl, m_target, value, m_verifierType); in iterate()
[all …]
Des31fInternalFormatQueryTests.cpp56 const glw::GLenum m_target; member in deqp::gles31::Functional::__anon0e0bd8b20111::FormatSamplesCase
63 , m_target (target) in FormatSamplesCase()
67 DE_ASSERT(m_target == GL_TEXTURE_2D_MULTISAMPLE || in FormatSamplesCase()
68 m_target == GL_TEXTURE_2D_MULTISAMPLE_ARRAY || in FormatSamplesCase()
69 m_target == GL_RENDERBUFFER); in FormatSamplesCase()
74 const bool isTextureTarget = (m_target == GL_TEXTURE_2D_MULTISAMPLE) || in init()
75 (m_target == GL_TEXTURE_2D_MULTISAMPLE_ARRAY); in init()
80 …if (!isES32orGL45 && m_target == GL_TEXTURE_2D_MULTISAMPLE_ARRAY && !m_context.getContextInfo().is… in init()
130 gl.getInternalformativ(m_target, m_internalFormat, GL_NUM_SAMPLE_COUNTS, 1, &numSampleCounts); in iterate()
152 gl.getInternalformativ(m_target, m_internalFormat, GL_SAMPLES, numSampleCounts, &samples[0]); in iterate()
Des31fAndroidExtensionPackES31ATests.cpp78 const glw::GLenum m_target; member in deqp::gles31::Functional::__anonbd5021d00111::ImplementationLimitCase
84 , m_target (target) in ImplementationLimitCase()
99 << "Querying " << glu::getGettableStateName(m_target) << ", expecting at least " << m_limit in iterate()
103 gl.glGetIntegerv(m_target, &result); in iterate()
Des31fTextureLevelStateQueryTests.cpp838 const glw::GLenum m_target; member in deqp::gles31::Functional::__anon930763f60111::TextureLevelCase
852 , m_target (target) in TextureLevelCase()
867 if (!isCoreTextureTarget(m_target, m_context.getRenderContext().getType())) in init()
869 const char* const targetExtension = getTextureTargetExtension(m_target); in init()
878 DE_ASSERT(m_iterations[iterationNdx].bindTarget == m_target); in init()
900 if (!isMultisampleTarget(m_target)) in getFormatSamples()
903 gl.getInternalformativ(m_target, internalFormat, GL_NUM_SAMPLE_COUNTS, 1, &sampleCount); in getFormatSamples()
912 gl.getInternalformativ(m_target, internalFormat, GL_SAMPLES, sampleCount, &samples[0]); in getFormatSamples()
1009 generateColorTextureGenerationGroup(iterations, m_target, maxSamples, internalFormat); in generateTestIterations()
1168 generateInternalFormatTextureGenerationGroup(iterations, m_target); in generateTestIterations()
[all …]
Des31fTextureBufferTests.cpp148 const glw::GLenum m_target; member in deqp::gles31::Functional::__anon66a1e1210411::LimitQueryCase
155 , m_target (target) in LimitQueryCase()
169 verifyStateIntegerMin(result, gl, m_target, m_minValue, m_type); in iterate()
183 const glw::GLenum m_target; member in deqp::gles31::Functional::__anon66a1e1210411::AlignmentQueryCase
190 , m_target (target) in AlignmentQueryCase()
204 verifyStateIntegerMax(result, gl, m_target, m_maxValue, m_type); in iterate()
Des31fGeometryShaderTests.cpp2735 const LayeredRenderTargetType m_target; member in deqp::gles31::Functional::__anon539d9a790111::LayeredRenderCase
2757 , m_target (target) in LayeredRenderCase()
2789 if (m_target == TARGET_2D_MS_ARRAY && in init()
2967 const tcu::IVec3 texSize = getTargetDimensions(m_target); in initTexture()
2974 switch (m_target) in initTexture()
3028 if (getTargetTextureTarget(m_target) != GL_TEXTURE_2D_MULTISAMPLE_ARRAY) in initTexture()
3030 gl.texParameteri(getTargetTextureTarget(m_target), GL_TEXTURE_MAG_FILTER, GL_NEAREST); in initTexture()
3031 gl.texParameteri(getTargetTextureTarget(m_target), GL_TEXTURE_MIN_FILTER, GL_NEAREST); in initTexture()
3032 gl.texParameteri(getTargetTextureTarget(m_target), GL_TEXTURE_WRAP_S, GL_REPEAT); in initTexture()
3033 gl.texParameteri(getTargetTextureTarget(m_target), GL_TEXTURE_WRAP_T, GL_REPEAT); in initTexture()
[all …]
Des31fDebugTests.cpp2615 const glw::GLenum m_target; member in deqp::gles31::Functional::__anonac30603d0111::LimitQueryCase
2627 , m_target (target) in LimitQueryCase()
2639 gls::StateQueryUtil::verifyStateIntegerMin(result, gl, m_target, m_limit, m_type); in iterate()
2664 const glw::GLenum m_target; member in deqp::gles31::Functional::__anonac30603d0111::IsEnabledCase
2676 , m_target (target) in IsEnabledCase()
2700 gls::StateQueryUtil::verifyStateBoolean(result, gl, m_target, initial, m_type); in iterate()
2704 gl.glEnable(m_target); in iterate()
2707 gls::StateQueryUtil::verifyStateBoolean(result, gl, m_target, true, m_type); in iterate()
2709 gl.glDisable(m_target); in iterate()
2712 gls::StateQueryUtil::verifyStateBoolean(result, gl, m_target, false, m_type); in iterate()
[all …]
/third_party/vk-gl-cts/external/openglcts/modules/gl/
Dgl4cMapBufferAlignmentTests.cpp151 GLenum m_target; member
278 gl.bindBuffer(buffer.m_target, buffer_id); in iterate()
281 gl.bufferStorage(buffer.m_target, buffer_size, &buffer_data[0], storage_set); in iterate()
295 GLubyte* map_buffer_ptr = (GLubyte*)gl.mapBuffer(buffer.m_target, map_buffer_access); in iterate()
310 gl.unmapBuffer(buffer.m_target); in iterate()
318 …(GLubyte*)gl.mapBufferRange(buffer.m_target, offset, buffer_size - offset, map_buffer_range_access… in iterate()
333 gl.unmapBuffer(buffer.m_target); in iterate()
336 gl.bindBuffer(buffer.m_target, 0 /* id */); in iterate()
Dgl3cClipDistance.hpp178 glw::GLenum m_target; member in gl3cts::ClipDistance::Utility::VertexBufferObject
332 : m_gl(gl), m_vertex_buffer_object_id(0), m_target(target), m_size(0) in VertexBufferObject()
343 m_gl.bufferData(m_target, m_size, &data[0], GL_STATIC_DRAW); in VertexBufferObject()
371 m_gl.bindBuffer(m_target, m_vertex_buffer_object_id); in bind()
374 if (m_target == GL_TRANSFORM_FEEDBACK_BUFFER) in bind()
451 glw::GLvoid* results = m_gl.mapBuffer(m_target, GL_READ_ONLY); in readBuffer()
458 m_gl.unmapBuffer(m_target); in readBuffer()
Dgl4cCopyImageTests.cpp2593 if (GL_RENDERBUFFER == test_case.m_src.m_target) in iterate()
2596 desc.m_target = GL_TEXTURE_2D; in iterate()
2709 const bool is_dst_multi_layer = Utils::isTargetMultilayer(test_case.m_dst.m_target); in copyAndVerify()
2710 const bool is_src_multi_layer = Utils::isTargetMultilayer(test_case.m_src.m_target); in copyAndVerify()
2747 gl.copyImageSubData(m_src_tex_name, test_case.m_src.m_target, test_case.m_src.m_level, in copyAndVerify()
2749 test_case.m_dst.m_target, test_case.m_dst.m_level, test_case.m_dst_x, in copyAndVerify()
2756 test_case.m_src_y, src_layer, m_rb_name, test_case.m_src.m_target, in copyAndVerify()
2760 …gl.copyImageSubData(m_rb_name, test_case.m_src.m_target, test_case.m_src.m_level, test_case.m_src_… in copyAndVerify()
2761 test_case.m_src_y, src_layer, m_dst_tex_name, test_case.m_dst.m_target, in copyAndVerify()
2779 << "Failure. Targets src: " << glu::getTextureTargetStr(test_case.m_src.m_target) in copyAndVerify()
[all …]
Dgl4cBufferStorageTests.cpp175 glw::GLenum m_target; member in gl4cts::BufferStorage::Buffer
482 Buffer::Buffer(deqp::Context& context) : m_id(m_invalid_id), m_context(context), m_target(GL_ARRAY_… in Buffer()
506 m_target = target; in InitData()
511 Bind(gl, m_id, m_target); in InitData()
512 Data(gl, m_target, usage, size, data); in InitData()
527 m_target = target; in InitStorage()
532 Bind(gl, m_id, m_target); in InitStorage()
533 Storage(gl, m_target, flags, size, data); in InitStorage()
557 Bind(gl, m_id, m_target); in Bind()
568 BindBase(gl, m_id, m_target, index); in BindBase()
[all …]
Dgl3cTextureSwizzleTests.cpp1173 glw::GLenum m_target; member
1842 if (texture_targets[i].m_target == target) in get_index_of_target()
2320 const glw::GLenum target = texture_targets[tex_tgt_idx].m_target; in iterate()
2717 const glw::GLenum target = texture_targets[target_idx].m_target; in fillSourceTexture()
2914 switch (target.m_target) in isTargetSupported()
3005 switch (source_target.m_target) in isTargetSuppByFormat()
3018 switch (source_target.m_target) in isTargetSuppByFormat()
3042 …onst glw::GLenum target = texture_targets[test_case.m_source_texture_target_index].m_target; in logTestCaseDetials()
3115 draw(source_target.m_target, param, false); in prepareAndTestProgram()
3118 draw(source_target.m_target, param, true); in prepareAndTestProgram()
[all …]
Dgl4cMultiBindTests.cpp202 glw::GLenum m_target; member in gl4cts::MultiBind::Buffer
384 Buffer::Buffer() : m_id(m_invalid_id), m_context(0), m_target(GL_ARRAY_BUFFER) in Buffer()
422 m_target = target; in InitData()
427 Bind(gl, m_id, m_target); in InitData()
428 Data(gl, m_target, usage, size, data); in InitData()
457 Bind(gl, m_id, m_target); in Bind()
473 BindBase(gl, m_id, m_target, index); in BindBase()
1319 GLenum m_target; member
1329 GLenum m_target; member
1578 return s_texture_infos[index].m_target; in getTarget()
[all …]
Dgl4cCopyImageTests.hpp107 glw::GLenum m_target; member
211 glw::GLenum m_target; member
/third_party/vk-gl-cts/modules/gles3/functional/
Des3fBufferWriteTests.cpp182 , m_target (target) in BasicBufferDataCase()
200 glBindBuffer(m_target, buf); in iterate()
201 glBufferData(m_target, m_size, refBuf.getPtr(), m_usage); in iterate()
205 isOk = verifier.verify(buf, refBuf.getPtr(), 0, m_size, m_target); in iterate()
215 deUint32 m_target; member in deqp::gles3::Functional::BasicBufferDataCase
275 , m_target (target) in BasicBufferSubDataCase()
295 glBindBuffer(m_target, buf); in iterate()
299 glBufferData(m_target, m_size, refBuf.getPtr(), m_usage); in iterate()
304 glBufferSubData(m_target, m_subDataOffs, m_subDataSize, refBuf.getPtr()+m_subDataOffs); in iterate()
306 isOk = verifier.verify(buf, refBuf.getPtr(), 0, m_size, m_target); in iterate()
[all …]
Des3fBooleanStateQueryTests.cpp507 , m_target (target) in InitialBooleanTestCase()
515 m_verifier->verifyBoolean(m_testCtx, m_target, m_reference); in test()
520 GLenum m_target; member in deqp::gles3::Functional::__anon84b4f38b0111::InitialBooleanTestCase
/third_party/vk-gl-cts/modules/gles2/functional/
Des2fBufferWriteTests.cpp182 , m_target (target) in BasicBufferDataCase()
200 glBindBuffer(m_target, buf); in iterate()
201 glBufferData(m_target, m_size, refBuf.getPtr(), m_usage); in iterate()
215 deUint32 m_target; member in deqp::gles2::Functional::BasicBufferDataCase
275 , m_target (target) in BasicBufferSubDataCase()
295 glBindBuffer(m_target, buf); in iterate()
299 glBufferData(m_target, m_size, refBuf.getPtr(), m_usage); in iterate()
304 glBufferSubData(m_target, m_subDataOffs, m_subDataSize, refBuf.getPtr()+m_subDataOffs); in iterate()
316 deUint32 m_target; member in deqp::gles2::Functional::BasicBufferSubDataCase
329 , m_target (target) in SubDataToUndefinedCase()
[all …]
/third_party/vk-gl-cts/external/openglcts/modules/glesext/texture_border_clamp/
DesextcTextureBorderClampSamplingTexture.hpp68 return m_target; in get_target()
131 glw::GLenum m_target; member in glcts::TestConfiguration
/third_party/vk-gl-cts/external/openglcts/modules/common/subgroups/
DglcSubgroupsTestsUtils.cpp413 , m_target (target) in Buffer()
417 m_gl.bindBuffer(m_target, m_objectId); in Buffer()
419 m_gl.bufferData(m_target, m_sizeInBytes, NULL, GL_DYNAMIC_DRAW); in Buffer()
421 m_gl.bindBuffer(m_target, 0); in Buffer()
436 if (GL_UNIFORM_BUFFER == m_target) in getType()
446 m_gl.bindBuffer(m_target, m_objectId); in mapBufferPtr()
449 ptr = m_gl.mapBufferRange(m_target, 0, m_sizeInBytes, GL_MAP_READ_BIT | GL_MAP_WRITE_BIT); in mapBufferPtr()
452 m_gl.bindBuffer(m_target, 0); in mapBufferPtr()
459 m_gl.bindBuffer(m_target, m_objectId); in unmapBufferPtr()
462 m_gl.unmapBuffer(m_target); in unmapBufferPtr()
[all …]
/third_party/vk-gl-cts/modules/egl/
DteglImageTests.cpp470 , m_target (target) in ImageTargetGLES2()
521 if (m_target == GL_TEXTURE_2D) in iterate()
532 DE_ASSERT(m_target == GL_RENDERBUFFER); in iterate()
552 GLenum m_target; member in deqp::egl::Image::ImageTargetGLES2

12