/external/deqp/modules/gles2/functional/ |
D | es2fNegativeTextureApiTests.cpp | 369 int maxTextureSize = m_context.getContextInfo().getInt(GL_MAX_TEXTURE_SIZE) + 1; in init() 370 glCompressedTexImage2D(GL_TEXTURE_2D, 0, compressedFormats[0], maxTextureSize, 0, 0, 0, 0); in init() 372 glCompressedTexImage2D(GL_TEXTURE_2D, 0, compressedFormats[0], 0, maxTextureSize, 0, 0, 0); in init() 374 …glCompressedTexImage2D(GL_TEXTURE_2D, 0, compressedFormats[0], maxTextureSize, maxTextureSize, 0, … in init() 386 int maxTextureSize = m_context.getContextInfo().getInt(GL_MAX_CUBE_MAP_TEXTURE_SIZE) + 1; in init() 387 …glCompressedTexImage2D(GL_TEXTURE_CUBE_MAP_POSITIVE_X, 0, compressedFormats[0], maxTextureSize, 0,… in init() 389 …sedTexImage2D(GL_TEXTURE_CUBE_MAP_POSITIVE_X, 0, compressedFormats[0], 0, maxTextureSize, 0, 0, 0); in init() 391 …e2D(GL_TEXTURE_CUBE_MAP_POSITIVE_X, 0, compressedFormats[0], maxTextureSize, maxTextureSize, 0, 0,… in init() 403 int maxTextureSize = m_context.getContextInfo().getInt(GL_MAX_CUBE_MAP_TEXTURE_SIZE) + 1; in init() 404 …glCompressedTexImage2D(GL_TEXTURE_CUBE_MAP_POSITIVE_Y, 0, compressedFormats[0], maxTextureSize, 0,… in init() [all …]
|
/external/deqp/modules/gles31/functional/ |
D | es31fShaderTextureSizeTests.cpp | 161 glw::GLint maxTextureSize = 0; in init() local 165 gl.getIntegerv(GL_MAX_TEXTURE_SIZE, &maxTextureSize); in init() 189 << "GL_MAX_TEXTURE_SIZE = " << maxTextureSize << "\n" in init() 197 if (testSizes2D[ndx].x() <= maxTextureSize && testSizes2D[ndx].y() <= maxTextureSize) in init() 199 const int w = (testSizes2D[ndx].x() < 0) ? (maxTextureSize) : (testSizes2D[ndx].x()); in init() 200 const int h = (testSizes2D[ndx].y() < 0) ? (maxTextureSize) : (testSizes2D[ndx].y()); in init() 210 …if (testSizes3D[ndx].x() <= maxTextureSize && testSizes3D[ndx].y() <= maxTextureSize && testSizes3… in init() 212 const int w = (testSizes3D[ndx].x() < 0) ? (maxTextureSize) : (testSizes3D[ndx].x()); in init() 213 const int h = (testSizes3D[ndx].y() < 0) ? (maxTextureSize) : (testSizes3D[ndx].y()); in init()
|
D | es31fNegativeTextureApiTests.cpp | 332 int maxTextureSize = ctx.getInteger(GL_MAX_TEXTURE_SIZE) + 1; in compressedteximage2d_max_width_height() local 337 …D(GL_TEXTURE_2D, 0, GL_COMPRESSED_RGBA8_ETC2_EAC, maxTextureSize, 1, 0, etc2EacDataSize(maxTexture… in compressedteximage2d_max_width_height() 339 …L_TEXTURE_2D, 0, GL_COMPRESSED_RGBA8_ETC2_EAC, 1, maxTextureSize, 0, etc2EacDataSize(1, maxTexture… in compressedteximage2d_max_width_height() 341 …D, 0, GL_COMPRESSED_RGBA8_ETC2_EAC, maxTextureSize, maxTextureSize, 0, etc2EacDataSize(maxTextureS… in compressedteximage2d_max_width_height() 780 int maxTextureSize = ctx.getInteger(GL_MAX_TEXTURE_SIZE) + 1; in copyteximage2d_max_width_height() local 786 ctx.glCopyTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, 0, 0, maxTextureSize, 1, 0); in copyteximage2d_max_width_height() 788 ctx.glCopyTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, 0, 0, 1, maxTextureSize, 0); in copyteximage2d_max_width_height() 790 ctx.glCopyTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, 0, 0, maxTextureSize, maxTextureSize, 0); in copyteximage2d_max_width_height() 1421 int maxTextureSize = ctx.getInteger(GL_MAX_TEXTURE_SIZE) + 1; in teximage2d_max_width_height() local 1425 ctx.glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, maxTextureSize, 1, 0, GL_RGB, GL_UNSIGNED_BYTE, 0); in teximage2d_max_width_height() [all …]
|
D | es31fTextureMultisampleTests.cpp | 1133 GLint maxTextureSize = 0; in init() local 1134 gl.getIntegerv(GL_MAX_TEXTURE_SIZE, &maxTextureSize); in init() 1136 if (s_textureSize > maxTextureSize) in init()
|
/external/skia/src/core/ |
D | SkPictureShader.cpp | 159 const int maxTextureSize) const { in refBitmapShader() 191 if (maxTextureSize) { in refBitmapShader() 192 if (scaledSize.width() > maxTextureSize || scaledSize.height() > maxTextureSize) { in refBitmapShader() 193 … SkScalar downScale = maxTextureSize / SkMaxScalar(scaledSize.width(), scaledSize.height()); in refBitmapShader() 320 int maxTextureSize = 0; in asFragmentProcessor() local 322 maxTextureSize = context->caps()->maxTextureSize(); in asFragmentProcessor() 324 SkAutoTUnref<SkShader> bitmapShader(this->refBitmapShader(viewM, localMatrix, maxTextureSize)); in asFragmentProcessor()
|
D | SkPictureShader.h | 48 … refBitmapShader(const SkMatrix&, const SkMatrix* localMatrix, const int maxTextureSize = 0) const;
|
/external/deqp/modules/glshared/ |
D | glsMemoryStressCase.hpp | 51 int maxTextureSize; member 61 …ontext& renderContext, deUint32 objectTypes, int minTextureSize, int maxTextureSize, int minBuffer…
|
D | glsMemoryStressCase.cpp | 483 …int dummySize = deMax32(m_config.maxBufferSize, m_config.maxTextureSize*m_config.maxTextureSize*4); in MemObjectAllocator() 585 int width = rnd.getInt(m_config.minTextureSize, m_config.maxTextureSize); in allocateTexture() 586 int height = rnd.getInt(m_config.minTextureSize, m_config.maxTextureSize); in allocateTexture() 819 …ontext& renderContext, deUint32 objectTypes, int minTextureSize, int maxTextureSize, int minBuffer… in MemoryStressCase() argument 829 m_config.maxTextureSize = maxTextureSize; in MemoryStressCase()
|
D | glsTextureBufferCase.cpp | 802 deInt32 maxTextureSize = 0; in logImplementationInfo() local 804 gl.getIntegerv(GL_MAX_TEXTURE_BUFFER_SIZE, &maxTextureSize); in logImplementationInfo() 807 …log << TestLog::Message << "GL_MAX_TEXTURE_BUFFER_SIZE : " << maxTextureSize << TestLog::EndMessa… in logImplementationInfo() 812 deInt32 maxTextureSize = 0; in logImplementationInfo() local 814 gl.getIntegerv(GL_MAX_TEXTURE_BUFFER_SIZE, &maxTextureSize); in logImplementationInfo() 817 …log << TestLog::Message << "GL_MAX_TEXTURE_BUFFER_SIZE_EXT : " << maxTextureSize << TestLog::EndM… in logImplementationInfo()
|
/external/skia/src/effects/ |
D | SkGpuBlurUtils.cpp | 33 static float adjust_sigma(float sigma, int maxTextureSize, int *scaleFactor, int *radius) { in adjust_sigma() argument 38 if (*scaleFactor > maxTextureSize) { in adjust_sigma() 39 *scaleFactor = maxTextureSize; in adjust_sigma() 175 int maxTextureSize = context->caps()->maxTextureSize(); in GaussianBlur() local 176 sigmaX = adjust_sigma(sigmaX, maxTextureSize, &scaleFactorX, &radiusX); in GaussianBlur() 177 sigmaY = adjust_sigma(sigmaY, maxTextureSize, &scaleFactorY, &radiusY); in GaussianBlur()
|
/external/deqp/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 …]
|
/external/webrtc/webrtc/modules/video_render/android/ |
D | video_render_opengles20.cc | 102 int maxTextureSize[2]; in Setup() local 104 glGetIntegerv(GL_MAX_TEXTURE_SIZE, maxTextureSize); in Setup() 108 (int) maxTextureImageUnits[0], (int) maxTextureSize[0]); in Setup()
|
/external/skia/src/gpu/ |
D | GrGpu.cpp | 117 int maxSize = this->caps()->maxTextureSize(); in createTexture() 170 int maxSize = this->caps()->maxTextureSize(); in wrapBackendTexture() 206 int maxSize = this->caps()->maxTextureSize(); in wrapBackendTextureAsRenderTarget()
|
D | SkGpuDevice.cpp | 1092 SkASSERT(bitmap.width() <= fContext->caps()->maxTextureSize() && in internalDrawBitmap() 1093 bitmap.height() <= fContext->caps()->maxTextureSize()); in internalDrawBitmap()
|
/external/deqp/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()
|
/external/skia/include/gpu/ |
D | GrCaps.h | 211 int maxTextureSize() const { return fMaxTextureSize; } in maxTextureSize() function
|
/external/deqp/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()
|
/external/deqp/modules/gles2/stress/ |
D | es2sSpecialFloatTests.cpp | 1024 GLint maxTextureSize = 0; in init() local 1025 m_context.getRenderContext().getFunctions().getIntegerv(GL_MAX_TEXTURE_SIZE, &maxTextureSize); in init() 1026 if (maxTextureSize < TEST_TEXTURE_SIZE) in init()
|
/external/mesa3d/src/mesa/main/ |
D | teximage.c | 3600 GLint expectedSize, maxLevels = 0, maxTextureSize; in compressed_subtexture_error_check() local 3634 maxTextureSize = 1 << (maxLevels - 1); in compressed_subtexture_error_check() 3640 if (width < 0 || width > maxTextureSize) in compressed_subtexture_error_check() 3643 if ((height < 0 || height > maxTextureSize) in compressed_subtexture_error_check()
|
/external/deqp/external/vulkancts/modules/vulkan/memory/ |
D | vktMemoryPipelineBarrierTests.cpp | 865 const vk::VkDeviceSize maxTextureSize = 4096; in roundBufferSizeToWxHx4() local 867 vk::VkDeviceSize bestW = de::max(maxTexelCount, maxTextureSize); in roundBufferSizeToWxHx4() 871 …for (vk::VkDeviceSize w = 1; w * w < maxTexelCount && w < maxTextureSize && bestW * bestH * 4 < si… in roundBufferSizeToWxHx4() 889 const vk::VkDeviceSize maxTextureSize = 4096; in findImageSizeWxHx4() local 895 for (vk::VkDeviceSize w = 1; w < maxTextureSize && w < texelCount; w++) in findImageSizeWxHx4() 899 if ((texelCount % w) == 0 && h < maxTextureSize) in findImageSizeWxHx4()
|
/external/skia/src/gpu/vk/ |
D | GrVkGpu.cpp | 564 int maxSize = this->caps()->maxTextureSize(); in onWrapBackendTexture()
|
/external/skia/dm/ |
D | DMSrcSink.cpp | 888 fGrContext->caps()->maxTextureSize(); in draw()
|
/external/skia/tests/ |
D | ImageFilterTest.cpp | 1285 largeW = ctx->caps()->maxTextureSize() + 1; in test_large_blur_input()
|