• Home
  • Raw
  • Download

Lines Matching refs:mNativeCaps

357     return mNativeCaps;
419 mNativeCaps = gl::Caps();
426 mNativeCaps.maxElementIndex = std::numeric_limits<GLuint>::max() - 1;
427 mNativeCaps.max3DTextureSize = 2048;
429 mNativeCaps.max2DTextureSize = 16384;
430 mNativeCaps.maxVaryingVectors = 31;
431 mNativeCaps.maxVertexOutputComponents = 124;
435 mNativeCaps.max2DTextureSize = 16384;
436 mNativeCaps.maxVertexOutputComponents = 124;
437 mNativeCaps.maxVaryingVectors = mNativeCaps.maxVertexOutputComponents / 4;
441 mNativeCaps.max2DTextureSize = 8192;
442 mNativeCaps.maxVertexOutputComponents = 60;
443 mNativeCaps.maxVaryingVectors = mNativeCaps.maxVertexOutputComponents / 4;
447 mNativeCaps.maxArrayTextureLayers = 2048;
448 mNativeCaps.maxLODBias = 0;
449 mNativeCaps.maxCubeMapTextureSize = mNativeCaps.max2DTextureSize;
450 mNativeCaps.maxRenderbufferSize = mNativeCaps.max2DTextureSize;
451 mNativeCaps.minAliasedPointSize = 1;
452 mNativeCaps.maxAliasedPointSize = 511;
454 mNativeCaps.minAliasedLineWidth = 1.0f;
455 mNativeCaps.maxAliasedLineWidth = 1.0f;
457 mNativeCaps.maxDrawBuffers = mtl::kMaxRenderTargets;
458 mNativeCaps.maxFramebufferWidth = mNativeCaps.max2DTextureSize;
459 mNativeCaps.maxFramebufferHeight = mNativeCaps.max2DTextureSize;
460 mNativeCaps.maxColorAttachments = mtl::kMaxRenderTargets;
461 mNativeCaps.maxViewportWidth = mNativeCaps.max2DTextureSize;
462 mNativeCaps.maxViewportHeight = mNativeCaps.max2DTextureSize;
465 mNativeCaps.maxSampleMaskWords = 0;
466 mNativeCaps.maxColorTextureSamples = 1;
467 mNativeCaps.maxDepthTextureSamples = 1;
468 mNativeCaps.maxIntegerSamples = 1;
470 mNativeCaps.maxVertexAttributes = mtl::kMaxVertexAttribs;
471 mNativeCaps.maxVertexAttribBindings = mtl::kMaxVertexAttribs;
472 mNativeCaps.maxVertexAttribRelativeOffset = std::numeric_limits<GLint>::max();
473 mNativeCaps.maxVertexAttribStride = std::numeric_limits<GLint>::max();
475 mNativeCaps.maxElementsIndices = std::numeric_limits<GLuint>::max();
476 mNativeCaps.maxElementsVertices = std::numeric_limits<GLuint>::max();
479 mNativeCaps.vertexHighpFloat.setIEEEFloat();
480 mNativeCaps.vertexMediumpFloat.setIEEEFloat();
481 mNativeCaps.vertexLowpFloat.setIEEEFloat();
482 mNativeCaps.fragmentHighpFloat.setIEEEFloat();
483 mNativeCaps.fragmentMediumpFloat.setIEEEFloat();
484 mNativeCaps.fragmentLowpFloat.setIEEEFloat();
486 mNativeCaps.vertexHighpInt.setTwosComplementInt(32);
487 mNativeCaps.vertexMediumpInt.setTwosComplementInt(32);
488 mNativeCaps.vertexLowpInt.setTwosComplementInt(32);
489 mNativeCaps.fragmentHighpInt.setTwosComplementInt(32);
490 mNativeCaps.fragmentMediumpInt.setTwosComplementInt(32);
491 mNativeCaps.fragmentLowpInt.setTwosComplementInt(32);
499 mNativeCaps.maxVertexUniformVectors = maxUniformVectors;
500 mNativeCaps.maxShaderUniformComponents[gl::ShaderType::Vertex] = maxUniformComponents;
501 mNativeCaps.maxFragmentUniformVectors = maxUniformVectors;
502 mNativeCaps.maxShaderUniformComponents[gl::ShaderType::Fragment] = maxUniformComponents;
505 mNativeCaps.maxShaderUniformBlocks[gl::ShaderType::Vertex] = 0;
506 mNativeCaps.maxShaderUniformBlocks[gl::ShaderType::Fragment] = 0;
507 mNativeCaps.maxCombinedUniformBlocks = 0;
511 mNativeCaps.maxCombinedTextureImageUnits = mtl::kMaxShaderSamplers;
512 mNativeCaps.maxShaderTextureImageUnits[gl::ShaderType::Fragment] = mtl::kMaxShaderSamplers;
513 mNativeCaps.maxShaderTextureImageUnits[gl::ShaderType::Vertex] = mtl::kMaxShaderSamplers;
517 mNativeCaps.maxShaderStorageBlocks[gl::ShaderType::Vertex] = maxPerStageStorageBuffers;
518 mNativeCaps.maxShaderStorageBlocks[gl::ShaderType::Fragment] = maxPerStageStorageBuffers;
519 mNativeCaps.maxCombinedShaderStorageBlocks = maxPerStageStorageBuffers;
522 mNativeCaps.maxUniformBufferBindings = 0;
523 mNativeCaps.maxUniformBlockSize = 0;
524 mNativeCaps.uniformBufferOffsetAlignment = 0;
526 mNativeCaps.maxShaderStorageBufferBindings = 0;
527 mNativeCaps.maxShaderStorageBlockSize = 0;
528 mNativeCaps.shaderStorageBufferOffsetAlignment = 0;
533 mNativeCaps.maxCombinedShaderUniformComponents[shaderType] = maxUniformComponents;
536 mNativeCaps.maxCombinedShaderOutputResources = 0;
538 mNativeCaps.maxTransformFeedbackInterleavedComponents =
540 mNativeCaps.maxTransformFeedbackSeparateAttributes =
542 mNativeCaps.maxTransformFeedbackSeparateComponents =
546 mNativeCaps.maxSamples = 1;
617 &mNativeCaps.compressedTextureFormats);