Home
last modified time | relevance | path

Searched refs:maxTextureSize (Results 1 – 23 of 23) sorted by relevance

/external/deqp/modules/gles2/functional/
Des2fNegativeTextureApiTests.cpp369 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/
Des31fShaderTextureSizeTests.cpp161 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()
Des31fNegativeTextureApiTests.cpp332 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 …]
Des31fTextureMultisampleTests.cpp1133 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/
DSkPictureShader.cpp159 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()
DSkPictureShader.h48 … refBitmapShader(const SkMatrix&, const SkMatrix* localMatrix, const int maxTextureSize = 0) const;
/external/deqp/modules/glshared/
DglsMemoryStressCase.hpp51 int maxTextureSize; member
61 …ontext& renderContext, deUint32 objectTypes, int minTextureSize, int maxTextureSize, int minBuffer…
DglsMemoryStressCase.cpp483 …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()
DglsTextureBufferCase.cpp802 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/
DSkGpuBlurUtils.cpp33 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/
Des3fNegativeTextureApiTests.cpp335 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/
Dvideo_render_opengles20.cc102 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/
DGrGpu.cpp117 int maxSize = this->caps()->maxTextureSize(); in createTexture()
170 int maxSize = this->caps()->maxTextureSize(); in wrapBackendTexture()
206 int maxSize = this->caps()->maxTextureSize(); in wrapBackendTextureAsRenderTarget()
DSkGpuDevice.cpp1092 SkASSERT(bitmap.width() <= fContext->caps()->maxTextureSize() && in internalDrawBitmap()
1093 bitmap.height() <= fContext->caps()->maxTextureSize()); in internalDrawBitmap()
/external/deqp/modules/gles2/performance/
Des2pTextureUploadTests.cpp143 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/
DGrCaps.h211 int maxTextureSize() const { return fMaxTextureSize; } in maxTextureSize() function
/external/deqp/modules/gles3/stress/
Des3sSpecialFloatTests.cpp1060 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/
Des2sSpecialFloatTests.cpp1024 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/
Dteximage.c3600 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/
DvktMemoryPipelineBarrierTests.cpp865 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/
DGrVkGpu.cpp564 int maxSize = this->caps()->maxTextureSize(); in onWrapBackendTexture()
/external/skia/dm/
DDMSrcSink.cpp888 fGrContext->caps()->maxTextureSize(); in draw()
/external/skia/tests/
DImageFilterTest.cpp1285 largeW = ctx->caps()->maxTextureSize() + 1; in test_large_blur_input()