Lines Matching refs:QuerySingleGLInt

564 static GLint QuerySingleGLInt(const FunctionsGL *functions, GLenum name)  in QuerySingleGLInt()  function
706 caps->max3DTextureSize = std::min({QuerySingleGLInt(functions, GL_MAX_3D_TEXTURE_SIZE), in GenerateCaps()
715 caps->max2DTextureSize = std::min(QuerySingleGLInt(functions, GL_MAX_TEXTURE_SIZE), in GenerateCaps()
718 std::min(QuerySingleGLInt(functions, GL_MAX_CUBE_MAP_TEXTURE_SIZE), in GenerateCaps()
726 std::min({QuerySingleGLInt(functions, GL_MAX_ARRAY_TEXTURE_LAYERS), textureSizeLimit, in GenerateCaps()
750 caps->maxRenderbufferSize = QuerySingleGLInt(functions, GL_MAX_RENDERBUFFER_SIZE); in GenerateCaps()
751 caps->maxColorAttachments = QuerySingleGLInt(functions, GL_MAX_COLOR_ATTACHMENTS); in GenerateCaps()
755 caps->maxRenderbufferSize = QuerySingleGLInt(functions, GL_MAX_RENDERBUFFER_SIZE); in GenerateCaps()
769 caps->maxDrawBuffers = QuerySingleGLInt(functions, GL_MAX_DRAW_BUFFERS); in GenerateCaps()
808 caps->maxElementsIndices = QuerySingleGLInt(functions, GL_MAX_ELEMENTS_INDICES); in GenerateCaps()
809 caps->maxElementsVertices = QuerySingleGLInt(functions, GL_MAX_ELEMENTS_VERTICES); in GenerateCaps()
823 GLint numBinaryFormats = QuerySingleGLInt(functions, GL_NUM_PROGRAM_BINARY_FORMATS_OES); in GenerateCaps()
886 caps->maxVertexAttributes = QuerySingleGLInt(functions, GL_MAX_VERTEX_ATTRIBS); in GenerateCaps()
888 QuerySingleGLInt(functions, GL_MAX_VERTEX_UNIFORM_COMPONENTS); in GenerateCaps()
890 QuerySingleGLInt(functions, GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS); in GenerateCaps()
902 caps->maxVertexUniformVectors = QuerySingleGLInt(functions, GL_MAX_VERTEX_UNIFORM_VECTORS); in GenerateCaps()
904 QuerySingleGLInt(functions, GL_MAX_FRAGMENT_UNIFORM_VECTORS); in GenerateCaps()
919 QuerySingleGLInt(functions, GL_MAX_VERTEX_OUTPUT_COMPONENTS); in GenerateCaps()
932 QuerySingleGLInt(functions, GL_MAX_FRAGMENT_UNIFORM_COMPONENTS); in GenerateCaps()
934 QuerySingleGLInt(functions, GL_MAX_TEXTURE_IMAGE_UNITS); in GenerateCaps()
945 QuerySingleGLInt(functions, GL_MAX_FRAGMENT_INPUT_COMPONENTS); in GenerateCaps()
956 caps->minProgramTexelOffset = QuerySingleGLInt(functions, GL_MIN_PROGRAM_TEXEL_OFFSET); in GenerateCaps()
957 caps->maxProgramTexelOffset = QuerySingleGLInt(functions, GL_MAX_PROGRAM_TEXEL_OFFSET); in GenerateCaps()
971 QuerySingleGLInt(functions, GL_MAX_VERTEX_UNIFORM_BLOCKS); in GenerateCaps()
973 QuerySingleGLInt(functions, GL_MAX_FRAGMENT_UNIFORM_BLOCKS); in GenerateCaps()
975 QuerySingleGLInt(functions, GL_MAX_UNIFORM_BUFFER_BINDINGS); in GenerateCaps()
978 QuerySingleGLInt(functions, GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT); in GenerateCaps()
980 QuerySingleGLInt(functions, GL_MAX_COMBINED_UNIFORM_BLOCKS); in GenerateCaps()
995 caps->maxVaryingComponents = QuerySingleGLInt(functions, GL_MAX_VERTEX_OUTPUT_COMPONENTS); in GenerateCaps()
1001 caps->maxVaryingComponents = QuerySingleGLInt(functions, GL_MAX_VARYING_COMPONENTS); in GenerateCaps()
1005 caps->maxVaryingComponents = QuerySingleGLInt(functions, GL_MAX_VARYING_FLOATS); in GenerateCaps()
1017 caps->maxVaryingVectors = QuerySingleGLInt(functions, GL_MAX_VARYING_VECTORS); in GenerateCaps()
1029 QuerySingleGLInt(functions, GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS); in GenerateCaps()
1037 QuerySingleGLInt(functions, GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS); in GenerateCaps()
1039 QuerySingleGLInt(functions, GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS); in GenerateCaps()
1041 QuerySingleGLInt(functions, GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS); in GenerateCaps()
1061 caps->maxSamples = std::min(QuerySingleGLInt(functions, GL_MAX_SAMPLES), sampleCountLimit); in GenerateCaps()
1122 caps->maxFramebufferWidth = QuerySingleGLInt(functions, GL_MAX_FRAMEBUFFER_WIDTH); in GenerateCaps()
1123 caps->maxFramebufferHeight = QuerySingleGLInt(functions, GL_MAX_FRAMEBUFFER_HEIGHT); in GenerateCaps()
1125 std::min(QuerySingleGLInt(functions, GL_MAX_FRAMEBUFFER_SAMPLES), sampleCountLimit); in GenerateCaps()
1135 caps->maxSampleMaskWords = QuerySingleGLInt(functions, GL_MAX_SAMPLE_MASK_WORDS); in GenerateCaps()
1137 std::min(QuerySingleGLInt(functions, GL_MAX_COLOR_TEXTURE_SAMPLES), sampleCountLimit); in GenerateCaps()
1139 std::min(QuerySingleGLInt(functions, GL_MAX_DEPTH_TEXTURE_SAMPLES), sampleCountLimit); in GenerateCaps()
1141 std::min(QuerySingleGLInt(functions, GL_MAX_INTEGER_SAMPLES), sampleCountLimit); in GenerateCaps()
1152 QuerySingleGLInt(functions, GL_MAX_VERTEX_ATTRIB_RELATIVE_OFFSET); in GenerateCaps()
1153 caps->maxVertexAttribBindings = QuerySingleGLInt(functions, GL_MAX_VERTEX_ATTRIB_BINDINGS); in GenerateCaps()
1164 caps->maxVertexAttribStride = QuerySingleGLInt(functions, GL_MAX_VERTEX_ATTRIB_STRIDE); in GenerateCaps()
1176 QuerySingleGLInt(functions, GL_MAX_COMBINED_SHADER_OUTPUT_RESOURCES); in GenerateCaps()
1178 QuerySingleGLInt(functions, GL_MAX_FRAGMENT_SHADER_STORAGE_BLOCKS); in GenerateCaps()
1180 QuerySingleGLInt(functions, GL_MAX_VERTEX_SHADER_STORAGE_BLOCKS); in GenerateCaps()
1182 QuerySingleGLInt(functions, GL_MAX_SHADER_STORAGE_BUFFER_BINDINGS); in GenerateCaps()
1186 QuerySingleGLInt(functions, GL_MAX_COMBINED_SHADER_STORAGE_BLOCKS); in GenerateCaps()
1188 QuerySingleGLInt(functions, GL_SHADER_STORAGE_BUFFER_OFFSET_ALIGNMENT); in GenerateCaps()
1206 QuerySingleGLInt(functions, GL_MAX_COMPUTE_WORK_GROUP_INVOCATIONS); in GenerateCaps()
1208 QuerySingleGLInt(functions, GL_MAX_COMPUTE_UNIFORM_BLOCKS); in GenerateCaps()
1210 QuerySingleGLInt(functions, GL_MAX_COMPUTE_TEXTURE_IMAGE_UNITS); in GenerateCaps()
1212 QuerySingleGLInt(functions, GL_MAX_COMPUTE_SHARED_MEMORY_SIZE); in GenerateCaps()
1214 QuerySingleGLInt(functions, GL_MAX_COMPUTE_UNIFORM_COMPONENTS); in GenerateCaps()
1216 QuerySingleGLInt(functions, GL_MAX_COMPUTE_ATOMIC_COUNTER_BUFFERS); in GenerateCaps()
1218 QuerySingleGLInt(functions, GL_MAX_COMPUTE_ATOMIC_COUNTERS); in GenerateCaps()
1220 QuerySingleGLInt(functions, GL_MAX_COMPUTE_IMAGE_UNIFORMS); in GenerateCaps()
1222 QuerySingleGLInt(functions, GL_MAX_COMBINED_COMPUTE_UNIFORM_COMPONENTS); in GenerateCaps()
1224 QuerySingleGLInt(functions, GL_MAX_COMPUTE_SHADER_STORAGE_BLOCKS); in GenerateCaps()
1234 caps->maxUniformLocations = QuerySingleGLInt(functions, GL_MAX_UNIFORM_LOCATIONS); in GenerateCaps()
1245 QuerySingleGLInt(functions, GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET); in GenerateCaps()
1247 QuerySingleGLInt(functions, GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET); in GenerateCaps()
1258 QuerySingleGLInt(functions, GL_MAX_VERTEX_IMAGE_UNIFORMS); in GenerateCaps()
1260 QuerySingleGLInt(functions, GL_MAX_FRAGMENT_IMAGE_UNIFORMS); in GenerateCaps()
1261 caps->maxImageUnits = QuerySingleGLInt(functions, GL_MAX_IMAGE_UNITS); in GenerateCaps()
1263 QuerySingleGLInt(functions, GL_MAX_COMBINED_IMAGE_UNIFORMS); in GenerateCaps()
1274 QuerySingleGLInt(functions, GL_MAX_VERTEX_ATOMIC_COUNTER_BUFFERS); in GenerateCaps()
1276 QuerySingleGLInt(functions, GL_MAX_VERTEX_ATOMIC_COUNTERS); in GenerateCaps()
1278 QuerySingleGLInt(functions, GL_MAX_FRAGMENT_ATOMIC_COUNTER_BUFFERS); in GenerateCaps()
1280 QuerySingleGLInt(functions, GL_MAX_FRAGMENT_ATOMIC_COUNTERS); in GenerateCaps()
1282 QuerySingleGLInt(functions, GL_MAX_ATOMIC_COUNTER_BUFFER_BINDINGS); in GenerateCaps()
1284 QuerySingleGLInt(functions, GL_MAX_ATOMIC_COUNTER_BUFFER_SIZE); in GenerateCaps()
1286 QuerySingleGLInt(functions, GL_MAX_COMBINED_ATOMIC_COUNTER_BUFFERS); in GenerateCaps()
1288 QuerySingleGLInt(functions, GL_MAX_COMBINED_ATOMIC_COUNTERS); in GenerateCaps()
1432 const int maxLayers = QuerySingleGLInt(functions, GL_MAX_ARRAY_TEXTURE_LAYERS); in GenerateCaps()
1434 const int maxViewports = QuerySingleGLInt(functions, GL_MAX_VIEWPORTS); in GenerateCaps()
1591 QuerySingleGLInt(functions, GL_MAX_RECTANGLE_TEXTURE_SIZE_ANGLE), textureSizeLimit); in GenerateCaps()
1614 caps->maxFramebufferLayers = QuerySingleGLInt(functions, GL_MAX_FRAMEBUFFER_LAYERS_EXT); in GenerateCaps()
1625 caps->layerProvokingVertex = QuerySingleGLInt(functions, GL_LAYER_PROVOKING_VERTEX_EXT); in GenerateCaps()
1636 QuerySingleGLInt(functions, GL_MAX_GEOMETRY_UNIFORM_COMPONENTS_EXT); in GenerateCaps()
1638 QuerySingleGLInt(functions, GL_MAX_GEOMETRY_UNIFORM_BLOCKS_EXT); in GenerateCaps()
1640 QuerySingleGLInt(functions, GL_MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS_EXT); in GenerateCaps()
1642 QuerySingleGLInt(functions, GL_MAX_GEOMETRY_INPUT_COMPONENTS_EXT); in GenerateCaps()
1644 QuerySingleGLInt(functions, GL_MAX_GEOMETRY_OUTPUT_COMPONENTS_EXT); in GenerateCaps()
1646 QuerySingleGLInt(functions, GL_MAX_GEOMETRY_OUTPUT_VERTICES_EXT); in GenerateCaps()
1648 QuerySingleGLInt(functions, GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_EXT); in GenerateCaps()
1650 QuerySingleGLInt(functions, GL_MAX_GEOMETRY_SHADER_INVOCATIONS_EXT); in GenerateCaps()
1652 QuerySingleGLInt(functions, GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_EXT); in GenerateCaps()
1654 QuerySingleGLInt(functions, GL_MAX_GEOMETRY_ATOMIC_COUNTER_BUFFERS_EXT); in GenerateCaps()
1656 QuerySingleGLInt(functions, GL_MAX_GEOMETRY_ATOMIC_COUNTERS_EXT); in GenerateCaps()
1658 QuerySingleGLInt(functions, GL_MAX_GEOMETRY_IMAGE_UNIFORMS_EXT); in GenerateCaps()
1660 QuerySingleGLInt(functions, GL_MAX_GEOMETRY_SHADER_STORAGE_BLOCKS_EXT); in GenerateCaps()
1767 caps->maxClipDistances = QuerySingleGLInt(functions, GL_MAX_CLIP_DISTANCES_EXT); in GenerateCaps()
1792 caps->maxTextureBufferSize = QuerySingleGLInt(functions, GL_MAX_TEXTURE_BUFFER_SIZE); in GenerateCaps()
1794 QuerySingleGLInt(functions, GL_TEXTURE_BUFFER_OFFSET_ALIGNMENT); in GenerateCaps()