Home
last modified time | relevance | path

Searched refs:GL_NUM_SAMPLE_COUNTS (Results 1 - 25 of 44) sorted by relevance

12

/third_party/vk-gl-cts/modules/gles3/functional/
H A Des3fInternalFormatQueryTests.cpp59 glGetInternalformativ(GL_RENDERBUFFER, m_internalFormat, GL_NUM_SAMPLE_COUNTS, 1, &sampleCounts); in test()
139 glGetInternalformativ(GL_RENDERBUFFER, m_internalFormat, GL_NUM_SAMPLE_COUNTS, 1, &sampleCounts); in test()
147 glGetInternalformativ(GL_RENDERBUFFER, m_internalFormat, GL_NUM_SAMPLE_COUNTS, 0, &queryTargetValue); in test()
H A Des3fNegativeStateApiTests.cpp940 glGetInternalformativ (GL_RENDERBUFFER, GL_RGBA8, GL_NUM_SAMPLE_COUNTS, -1, &params[0]); in init()
944 m_log << TestLog::Section("", "GL_INVALID_ENUM is generated if pname is not GL_SAMPLES or GL_NUM_SAMPLE_COUNTS."); in init()
954 glGetInternalformativ (GL_RENDERBUFFER, GL_RG8_SNORM, GL_NUM_SAMPLE_COUNTS, 16, &params[0]); in init()
958 glGetInternalformativ (GL_RENDERBUFFER, GL_COMPRESSED_RGB8_ETC2, GL_NUM_SAMPLE_COUNTS, 16, &params[0]); in init()
964 glGetInternalformativ (-1, GL_RGBA8, GL_NUM_SAMPLE_COUNTS, 16, &params[0]); in init()
966 glGetInternalformativ (GL_FRAMEBUFFER, GL_RGBA8, GL_NUM_SAMPLE_COUNTS, 16, &params[0]); in init()
971 glGetInternalformativ (GL_TEXTURE_2D, GL_RGBA8, GL_NUM_SAMPLE_COUNTS, 16, &params[0]); in init()
H A Des3fFboTestCase.cpp342 gl.getInternalformativ(GL_RENDERBUFFER, format, GL_NUM_SAMPLE_COUNTS, 1, &numSampleCounts); in querySampleCounts()
/third_party/vk-gl-cts/modules/gles31/functional/
H A Des31fInternalFormatQueryTests.cpp130 gl.getInternalformativ(m_target, m_internalFormat, GL_NUM_SAMPLE_COUNTS, 1, &numSampleCounts); in iterate()
131 GLU_EXPECT_NO_ERROR(gl.getError(), "get GL_NUM_SAMPLE_COUNTS"); in iterate()
133 m_testCtx.getLog() << tcu::TestLog::Message << "GL_NUM_SAMPLE_COUNTS = " << numSampleCounts << tcu::TestLog::EndMessage; in iterate()
139 m_testCtx.getLog() << tcu::TestLog::Message << "ERROR: Format MUST support some multisample configuration, got GL_NUM_SAMPLE_COUNTS = " << numSampleCounts << tcu::TestLog::EndMessage; in iterate()
235 m_testCtx.getLog() << tcu::TestLog::Message << "Querying GL_NUM_SAMPLE_COUNTS to larger-than-needed buffer." << tcu::TestLog::EndMessage; in iterate()
236 gl.getInternalformativ(GL_TEXTURE_2D_MULTISAMPLE, GL_RGBA8, GL_NUM_SAMPLE_COUNTS, 2, buffer); in iterate()
237 GLU_EXPECT_NO_ERROR(gl.getError(), "get GL_NUM_SAMPLE_COUNTS"); in iterate()
250 m_testCtx.getLog() << tcu::TestLog::Message << "Querying GL_NUM_SAMPLE_COUNTS to zero-sized buffer." << tcu::TestLog::EndMessage; in iterate()
251 gl.getInternalformativ(GL_TEXTURE_2D_MULTISAMPLE, GL_RGBA8, GL_NUM_SAMPLE_COUNTS, 0, buffer); in iterate()
252 GLU_EXPECT_NO_ERROR(gl.getError(), "get GL_NUM_SAMPLE_COUNTS"); in iterate()
[all...]
H A Des31fNegativeStateApiTests.cpp1310 ctx.glGetInternalformativ (GL_RENDERBUFFER, GL_RGBA8, GL_NUM_SAMPLE_COUNTS, -1, &params[0]); in get_internalformativ()
1314 ctx.beginSection("GL_INVALID_ENUM is generated if pname is not GL_SAMPLES or GL_NUM_SAMPLE_COUNTS."); in get_internalformativ()
1325 ctx.glGetInternalformativ (GL_RENDERBUFFER, GL_RG8_SNORM, GL_NUM_SAMPLE_COUNTS, 16, &params[0]); in get_internalformativ()
1329 ctx.glGetInternalformativ (GL_RENDERBUFFER, GL_COMPRESSED_RGB8_ETC2, GL_NUM_SAMPLE_COUNTS, 16, &params[0]); in get_internalformativ()
1335 ctx.glGetInternalformativ (-1, GL_RGBA8, GL_NUM_SAMPLE_COUNTS, 16, &params[0]); in get_internalformativ()
1337 ctx.glGetInternalformativ (GL_FRAMEBUFFER, GL_RGBA8, GL_NUM_SAMPLE_COUNTS, 16, &params[0]); in get_internalformativ()
1342 ctx.glGetInternalformativ (GL_TEXTURE_2D, GL_RGBA8, GL_NUM_SAMPLE_COUNTS, 16, &params[0]); in get_internalformativ()
H A Des31fFboTestCase.cpp362 gl.getInternalformativ(GL_RENDERBUFFER, format, GL_NUM_SAMPLE_COUNTS, 1, &numSampleCounts); in querySampleCounts()
H A Des31fMultisampleShaderRenderCase.cpp794 gl.getInternalformativ(target, internalFormat, GL_NUM_SAMPLE_COUNTS, 1, &gl_sample_counts);
795 GLU_EXPECT_NO_ERROR(gl.getError(), "glGetInternalformativ() failed for GL_NUM_SAMPLE_COUNTS pname");
H A Des31fTextureMultisampleTests.cpp1054 gl.getInternalformativ(target, internalFormat, GL_NUM_SAMPLE_COUNTS, 1, &gl_sample_counts);
1055 GLU_EXPECT_NO_ERROR(gl.getError(), "glGetInternalformativ() failed for GL_NUM_SAMPLE_COUNTS pname");
1862 gl.getInternalformativ(target, m_internalFormat, GL_NUM_SAMPLE_COUNTS, 1, &sampleCount);
H A Des31fTextureLevelStateQueryTests.cpp903 gl.getInternalformativ(m_target, internalFormat, GL_NUM_SAMPLE_COUNTS, 1, &sampleCount); in getFormatSamples()
/third_party/mesa3d/src/mesa/main/
H A Dformatquery.c134 case GL_NUM_SAMPLE_COUNTS: in _legal_parameters()
323 case GL_NUM_SAMPLE_COUNTS: in _set_default_response()
660 case GL_NUM_SAMPLE_COUNTS: in _mesa_query_internal_format_default()
914 case GL_NUM_SAMPLE_COUNTS: in _mesa_GetInternalformativ()
939 if (pname == GL_NUM_SAMPLE_COUNTS && ctx->API == API_OPENGLES2 && in _mesa_GetInternalformativ()
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
H A DRenderbufferMultisampleTest.cpp98 glGetInternalformativ(GL_RENDERBUFFER, GL_RGBA8, GL_NUM_SAMPLE_COUNTS, queryBufferSize, in TEST_P()
H A DFramebufferTest.cpp1763 glGetInternalformativ(GL_TEXTURE_2D_MULTISAMPLE, GL_RGBA8, GL_NUM_SAMPLE_COUNTS, in TEST_P()
1798 glGetInternalformativ(GL_TEXTURE_2D_MULTISAMPLE, GL_RGBA8, GL_NUM_SAMPLE_COUNTS, in TEST_P()
/third_party/vk-gl-cts/external/openglcts/modules/gles31/
H A Des31cTextureStorageMultisampleDependenciesTests.cpp130 gl.getInternalformativ(GL_TEXTURE_2D_MULTISAMPLE, GL_RGBA8, GL_NUM_SAMPLE_COUNTS, 1, &num_sample_counts_2dms); in iterate()
134 gl.getInternalformativ(GL_TEXTURE_2D_MULTISAMPLE_ARRAY_OES, GL_RGBA8, GL_NUM_SAMPLE_COUNTS, 1, in iterate()
998 gl.getInternalformativ(GL_TEXTURE_2D_MULTISAMPLE, internalformat_2d_multisample, GL_NUM_SAMPLE_COUNTS, 1, in iterate()
1029 GL_NUM_SAMPLE_COUNTS, 1, &num_sample_counts_2dms_array); in iterate()
1054 gl.getInternalformativ(GL_RENDERBUFFER, internalformat_rbo, GL_NUM_SAMPLE_COUNTS, 1, in iterate()
/third_party/vk-gl-cts/external/openglcts/modules/gl/
H A Dgl4cShaderTextureImageSamplesTests.cpp456 gl.getInternalformativ(texture_target, texture_internalformat, GL_NUM_SAMPLE_COUNTS, 1, /* bufSize */ in executeFunctionalTest()
462 TCU_FAIL("Invalid value returned by glGetInternalformativ() for a GL_NUM_SAMPLE_COUNTS query"); in executeFunctionalTest()
/third_party/vk-gl-cts/framework/platform/null/
H A DtcuNullRenderContext.cpp453 case GL_NUM_SAMPLE_COUNTS: in glGetInternalformativ()
/third_party/mesa3d/src/mesa/state_tracker/
H A Dst_format.c1456 case GL_NUM_SAMPLE_COUNTS: { in st_QueryInternalFormat()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/
H A Dfunctionsgl_enums.h1037 #define GL_NUM_SAMPLE_COUNTS 0x9380 macro
H A Drenderergl_utils.cpp482 // Querying GL_NUM_SAMPLE_COUNTS for GL_BGRA8_EXT generates an INVALID_ENUM on some in GenerateTextureFormatCaps()
491 functions->getInternalformativ(GL_RENDERBUFFER, queryInternalFormat, GL_NUM_SAMPLE_COUNTS, in GenerateTextureFormatCaps()
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/
H A DlibGLESv3.cpp3827 case GL_NUM_SAMPLE_COUNTS: in GetInternalformativ()
/third_party/mesa3d/include/GLES3/
H A Dgl31.h993 #define GL_NUM_SAMPLE_COUNTS 0x9380 macro
H A Dgl3.h993 #define GL_NUM_SAMPLE_COUNTS 0x9380 macro
/third_party/openGLES/api/GLES3/
H A Dgl3.h974 #define GL_NUM_SAMPLE_COUNTS 0x9380 macro
H A Dgl31.h974 #define GL_NUM_SAMPLE_COUNTS 0x9380 macro
/third_party/skia/third_party/externals/angle2/src/libANGLE/
H A Dqueryutils.cpp1648 case GL_NUM_SAMPLE_COUNTS: in QueryInternalFormativ()
/third_party/skia/third_party/externals/swiftshader/include/GLES3/
H A Dgl3.h993 #define GL_NUM_SAMPLE_COUNTS 0x9380 macro

Completed in 62 milliseconds

12