/third_party/vk-gl-cts/modules/gles2/functional/ |
D | es2fNegativeTextureApiTests.cpp | 395 int maxTextureSize = m_context.getContextInfo().getInt(GL_MAX_TEXTURE_SIZE) + 1; in init() 396 glCompressedTexImage2D(GL_TEXTURE_2D, 0, compressedFormats[0], maxTextureSize, 0, 0, 0, 0); in init() 398 glCompressedTexImage2D(GL_TEXTURE_2D, 0, compressedFormats[0], 0, maxTextureSize, 0, 0, 0); in init() 400 …glCompressedTexImage2D(GL_TEXTURE_2D, 0, compressedFormats[0], maxTextureSize, maxTextureSize, 0, … in init() 412 int maxTextureSize = m_context.getContextInfo().getInt(GL_MAX_CUBE_MAP_TEXTURE_SIZE) + 1; in init() 413 …glCompressedTexImage2D(GL_TEXTURE_CUBE_MAP_POSITIVE_X, 0, compressedFormats[0], maxTextureSize, 0,… in init() 415 …sedTexImage2D(GL_TEXTURE_CUBE_MAP_POSITIVE_X, 0, compressedFormats[0], 0, maxTextureSize, 0, 0, 0); in init() 417 …e2D(GL_TEXTURE_CUBE_MAP_POSITIVE_X, 0, compressedFormats[0], maxTextureSize, maxTextureSize, 0, 0,… in init() 429 int maxTextureSize = m_context.getContextInfo().getInt(GL_MAX_CUBE_MAP_TEXTURE_SIZE) + 1; in init() 430 …glCompressedTexImage2D(GL_TEXTURE_CUBE_MAP_POSITIVE_Y, 0, compressedFormats[0], maxTextureSize, 0,… in init() [all …]
|
/third_party/vk-gl-cts/modules/gles31/functional/ |
D | es31fShaderTextureSizeTests.cpp | 176 glw::GLint maxTextureSize = 0; in init() local 180 gl.getIntegerv(GL_MAX_TEXTURE_SIZE, &maxTextureSize); in init() 207 << "GL_MAX_TEXTURE_SIZE = " << maxTextureSize << "\n" in init() 215 if (testSizes2D[ndx].x() <= maxTextureSize && testSizes2D[ndx].y() <= maxTextureSize) in init() 217 const int w = (testSizes2D[ndx].x() < 0) ? (maxTextureSize) : (testSizes2D[ndx].x()); in init() 218 const int h = (testSizes2D[ndx].y() < 0) ? (maxTextureSize) : (testSizes2D[ndx].y()); in init() 228 …if (testSizes3D[ndx].x() <= maxTextureSize && testSizes3D[ndx].y() <= maxTextureSize && testSizes3… in init() 230 const int w = (testSizes3D[ndx].x() < 0) ? (maxTextureSize) : (testSizes3D[ndx].x()); in init() 231 const int h = (testSizes3D[ndx].y() < 0) ? (maxTextureSize) : (testSizes3D[ndx].y()); in init()
|
D | es31fNegativeTextureApiTests.cpp | 338 int maxTextureSize = ctx.getInteger(GL_MAX_TEXTURE_SIZE) + 1; in compressedteximage2d_max_width_height() local 343 …D(GL_TEXTURE_2D, 0, GL_COMPRESSED_RGBA8_ETC2_EAC, maxTextureSize, 1, 0, etc2EacDataSize(maxTexture… in compressedteximage2d_max_width_height() 345 …L_TEXTURE_2D, 0, GL_COMPRESSED_RGBA8_ETC2_EAC, 1, maxTextureSize, 0, etc2EacDataSize(1, maxTexture… in compressedteximage2d_max_width_height() 347 …D, 0, GL_COMPRESSED_RGBA8_ETC2_EAC, maxTextureSize, maxTextureSize, 0, etc2EacDataSize(maxTextureS… in compressedteximage2d_max_width_height() 789 int maxTextureSize = ctx.getInteger(GL_MAX_TEXTURE_SIZE) + 1; in copyteximage2d_max_width_height() local 795 ctx.glCopyTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, 0, 0, maxTextureSize, 1, 0); in copyteximage2d_max_width_height() 797 ctx.glCopyTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, 0, 0, 1, maxTextureSize, 0); in copyteximage2d_max_width_height() 799 ctx.glCopyTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, 0, 0, maxTextureSize, maxTextureSize, 0); in copyteximage2d_max_width_height() 1439 int maxTextureSize = ctx.getInteger(GL_MAX_TEXTURE_SIZE) + 1; in teximage2d_max_width_height() local 1443 ctx.glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, maxTextureSize, 1, 0, GL_RGB, GL_UNSIGNED_BYTE, 0); in teximage2d_max_width_height() [all …]
|
/third_party/skia/src/image/ |
D | SkImage_GpuYUVA.cpp | 277 int maxTextureSize = context->priv().caps()->maxTextureSize(); in MakeFromYUVAPixmaps() local 283 if (maxDim > maxTextureSize) { in MakeFromYUVAPixmaps() 287 float scale = static_cast<float>(maxTextureSize)/maxDim; in MakeFromYUVAPixmaps() 289 std::min(static_cast<int>(pixmaps.yuvaInfo().width() *scale), maxTextureSize), in MakeFromYUVAPixmaps() 290 std::min(static_cast<int>(pixmaps.yuvaInfo().height()*scale), maxTextureSize) in MakeFromYUVAPixmaps()
|
D | SkImage_Gpu.cpp | 647 int maxTextureSize = dContext->priv().caps()->maxTextureSize(); in MakeCrossContextFromPixmap() local 649 if (limitToMaxTextureSize && maxDim > maxTextureSize) { in MakeCrossContextFromPixmap() 650 float scale = static_cast<float>(maxTextureSize) / maxDim; in MakeCrossContextFromPixmap() 651 int newWidth = std::min(static_cast<int>(originalPixmap.width() * scale), maxTextureSize); in MakeCrossContextFromPixmap() 652 int newHeight = std::min(static_cast<int>(originalPixmap.height() * scale), maxTextureSize); in MakeCrossContextFromPixmap()
|
D | SkImage_GpuBase.cpp | 61 if (tex.width() > caps->maxTextureSize() || tex.height() > caps->maxTextureSize()) { in ValidateCompressedBackendTexture()
|
/third_party/vk-gl-cts/modules/glshared/ |
D | glsMemoryStressCase.hpp | 51 int maxTextureSize; member 61 …ontext& renderContext, deUint32 objectTypes, int minTextureSize, int maxTextureSize, int minBuffer…
|
D | glsMemoryStressCase.cpp | 476 …int dummySize = deMax32(m_config.maxBufferSize, m_config.maxTextureSize*m_config.maxTextureSize*4); in MemObjectAllocator() 578 int width = rnd.getInt(m_config.minTextureSize, m_config.maxTextureSize); in allocateTexture() 579 int height = rnd.getInt(m_config.minTextureSize, m_config.maxTextureSize); in allocateTexture() 800 …ontext& renderContext, deUint32 objectTypes, int minTextureSize, int maxTextureSize, int minBuffer… in MemoryStressCase() argument 810 m_config.maxTextureSize = maxTextureSize; in MemoryStressCase()
|
D | glsTextureBufferCase.cpp | 806 deInt32 maxTextureSize = 0; in logImplementationInfo() local 808 gl.getIntegerv(GL_MAX_TEXTURE_BUFFER_SIZE, &maxTextureSize); in logImplementationInfo() 811 …log << TestLog::Message << "GL_MAX_TEXTURE_BUFFER_SIZE : " << maxTextureSize << TestLog::EndMessa… in logImplementationInfo() 816 deInt32 maxTextureSize = 0; in logImplementationInfo() local 818 gl.getIntegerv(GL_MAX_TEXTURE_BUFFER_SIZE, &maxTextureSize); in logImplementationInfo() 821 …log << TestLog::Message << "GL_MAX_TEXTURE_BUFFER_SIZE_EXT : " << maxTextureSize << TestLog::EndM… in logImplementationInfo()
|
/third_party/skia/src/gpu/ |
D | GrGpu.cpp | 259 if (dimensions.width() < 1 || dimensions.width() > this->caps()->maxTextureSize() || in createCompressedTexture() 260 dimensions.height() < 1 || dimensions.height() > this->caps()->maxTextureSize()) { in createCompressedTexture() 300 if (backendTex.width() > caps->maxTextureSize() || in wrapBackendTexture() 301 backendTex.height() > caps->maxTextureSize()) { in wrapBackendTexture() 319 if (backendTex.width() > caps->maxTextureSize() || in wrapCompressedBackendTexture() 320 backendTex.height() > caps->maxTextureSize()) { in wrapCompressedBackendTexture() 833 if (dimensions.isEmpty() || dimensions.width() > caps->maxTextureSize() || in createBackendTexture() 834 dimensions.height() > caps->maxTextureSize()) { in createBackendTexture() 876 dimensions.width() > caps->maxTextureSize() || in createCompressedBackendTexture() 877 dimensions.height() > caps->maxTextureSize()) { in createCompressedBackendTexture()
|
D | GrRecordingContext.cpp | 169 int GrRecordingContext::maxTextureSize() const { return this->caps()->maxTextureSize(); } in maxTextureSize() function in GrRecordingContext
|
D | GrBlurUtils.cpp | 318 int maxTextureSize = caps->maxTextureSize(); in compute_key_and_clip_bounds() local 319 if (unclippedArea > 2 * clippedArea || unclippedWidth > maxTextureSize || in compute_key_and_clip_bounds() 320 unclippedHeight > maxTextureSize) { in compute_key_and_clip_bounds()
|
D | GrDrawOpAtlas.cpp | 702 GrDrawOpAtlasConfig::GrDrawOpAtlasConfig(int maxTextureSize, size_t maxBytes) { in GrDrawOpAtlasConfig() argument 721 fARGBDimensions.set(std::min<int>(kARGBDimensions[index].width(), maxTextureSize), in GrDrawOpAtlasConfig() 722 std::min<int>(kARGBDimensions[index].height(), maxTextureSize)); in GrDrawOpAtlasConfig() 723 fMaxTextureSize = std::min<int>(maxTextureSize, kMaxAtlasDim); in GrDrawOpAtlasConfig()
|
D | GrProxyProvider.cpp | 736 if (dimensions.fWidth > threadSafeProxy->priv().caps()->maxTextureSize() || in CreatePromiseProxy() 737 dimensions.fHeight > threadSafeProxy->priv().caps()->maxTextureSize()) { in CreatePromiseProxy() 783 if (dimensions.fWidth > this->caps()->maxTextureSize() || in createLazyProxy() 784 dimensions.fHeight > this->caps()->maxTextureSize()) { in createLazyProxy()
|
/third_party/skia/src/shaders/ |
D | SkPictureShader.cpp | 180 const int maxTextureSize) { in Make() 202 if (maxTextureSize) { in Make() 203 if (size.width() > maxTextureSize || size.height() > maxTextureSize) { in Make() 204 SkScalar downScale = maxTextureSize / std::max(size.width(), in Make() 379 ctx->priv().caps()->maxTextureSize()); in asFragmentProcessor()
|
/third_party/vk-gl-cts/modules/gles3/functional/ |
D | es3fNegativeTextureApiTests.cpp | 335 int maxTextureSize = m_context.getContextInfo().getInt(GL_MAX_TEXTURE_SIZE) + 1; in init() 340 …D(GL_TEXTURE_2D, 0, GL_COMPRESSED_RGBA8_ETC2_EAC, maxTextureSize, 1, 0, etc2EacDataSize(maxTexture… in init() 342 …L_TEXTURE_2D, 0, GL_COMPRESSED_RGBA8_ETC2_EAC, 1, maxTextureSize, 0, etc2EacDataSize(1, maxTexture… in init() 344 …D, 0, GL_COMPRESSED_RGBA8_ETC2_EAC, maxTextureSize, maxTextureSize, 0, etc2EacDataSize(maxTextureS… in init() 690 int maxTextureSize = m_context.getContextInfo().getInt(GL_MAX_TEXTURE_SIZE) + 1; in init() 696 glCopyTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, 0, 0, maxTextureSize, 1, 0); in init() 698 glCopyTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, 0, 0, 1, maxTextureSize, 0); in init() 700 glCopyTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, 0, 0, maxTextureSize, maxTextureSize, 0); in init() 1290 int maxTextureSize = m_context.getContextInfo().getInt(GL_MAX_TEXTURE_SIZE) + 1; in init() 1294 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, maxTextureSize, 1, 0, GL_RGB, GL_UNSIGNED_BYTE, 0); in init() [all …]
|
/third_party/vk-gl-cts/external/openglcts/modules/glesext/texture_cube_map_array/ |
D | esextcTextureCubeMapArrayTex3DValidation.cpp | 168 const glw::GLfloat maxTextureSize = (glw::GLfloat)de::max(correctWidth, correctHeight); in iterate() local 169 const glw::GLint maxLevels = (glw::GLint)floor(log(maxTextureSize) / log(2.0f)) + 1; in iterate()
|
/third_party/skia/src/gpu/ops/ |
D | SoftwarePathRenderer.cpp | 272 int maxTextureSize = args.fSurfaceDrawContext->caps()->maxTextureSize(); in onDrawPath() local 273 if (unclippedArea > 2 * clippedArea || unclippedWidth > maxTextureSize || in onDrawPath() 274 unclippedHeight > maxTextureSize) { in onDrawPath()
|
D | SmallPathAtlasMgr.cpp | 57 GrDrawOpAtlasConfig atlasConfig(caps->maxTextureSize(), kMaxAtlasTextureBytes); in initAtlas()
|
/third_party/skia/tests/ |
D | DrawOpAtlasTest.cpp | 253 void test_atlas_config(skiatest::Reporter* reporter, int maxTextureSize, size_t maxBytes, in test_atlas_config() argument 256 GrDrawOpAtlasConfig config(maxTextureSize, maxBytes); in test_atlas_config()
|
/third_party/vk-gl-cts/modules/gles2/performance/ |
D | es2pTextureUploadTests.cpp | 143 int maxTextureSize; in init() local 144 gl.getIntegerv(GL_MAX_TEXTURE_SIZE, &maxTextureSize); in init() 146 if (m_texSize > maxTextureSize) in init()
|
/third_party/skia/gm/ |
D | bitmapshader.cpp | 129 bitmapH = ctx->priv().caps()->maxTextureSize() + 1;
|
/third_party/vk-gl-cts/external/openglcts/modules/gles2/ |
D | es2cTexture3DTests.cpp | 1723 int maxTextureSize; in iterate() local 1724 gl.getIntegerv(GL_MAX_3D_TEXTURE_SIZE_OES, &maxTextureSize); in iterate() 1725 ++maxTextureSize; in iterate() 1729 …callCompressedTexImage3D(GL_TEXTURE_3D, 0, supportedCompressedFormat, maxTextureSize, 0, 0, 0, 0, … in iterate() 1731 …callCompressedTexImage3D(GL_TEXTURE_3D, 0, supportedCompressedFormat, 0, maxTextureSize, 0, 0, 0, … in iterate() 1733 …callCompressedTexImage3D(GL_TEXTURE_3D, 0, supportedCompressedFormat, 0, 0, maxTextureSize, 0, 0, … in iterate() 1735 …llCompressedTexImage3D(GL_TEXTURE_3D, 0, supportedCompressedFormat, maxTextureSize, maxTextureSize, in iterate() 1736 maxTextureSize, 0, 0, 0); in iterate()
|
/third_party/skia/include/gpu/ |
D | GrRecordingContext.h | 76 SK_API int maxTextureSize() const;
|
/third_party/vk-gl-cts/modules/gles3/stress/ |
D | es3sSpecialFloatTests.cpp | 1060 GLint maxTextureSize = 0; in init() local 1061 m_context.getRenderContext().getFunctions().getIntegerv(GL_MAX_TEXTURE_SIZE, &maxTextureSize); in init() 1062 if (maxTextureSize < TEST_TEXTURE_SIZE) in init() 1388 GLint maxTextureSize = 0; in init() local 1389 m_context.getRenderContext().getFunctions().getIntegerv(GL_MAX_TEXTURE_SIZE, &maxTextureSize); in init() 1390 if (maxTextureSize < TEST_TEXTURE_SIZE) in init()
|