Searched refs:maxTextureSize (Results 1 - 25 of 27) sorted by relevance

12

/external/deqp/modules/glshared/
H A DglsMemoryStressCase.hpp51 int maxTextureSize; member in struct:deqp::gls::MemObjectConfig
61 MemoryStressCase (tcu::TestContext& testCtx, glu::RenderContext& renderContext, deUint32 objectTypes, int minTextureSize, int maxTextureSize, int minBufferSize, int maxBufferSize, bool write, bool use, bool useDummyData, bool clearAfterOOM, const char* name, const char* desc);
H A DglsMemoryStressCase.cpp483 int dummySize = deMax32(m_config.maxBufferSize, m_config.maxTextureSize*m_config.maxTextureSize*4);
585 int width = rnd.getInt(m_config.minTextureSize, m_config.maxTextureSize);
586 int height = rnd.getInt(m_config.minTextureSize, m_config.maxTextureSize);
819 MemoryStressCase::MemoryStressCase (tcu::TestContext& ctx, glu::RenderContext& renderContext, deUint32 objectTypes, int minTextureSize, int maxTextureSize, int minBufferSize, int maxBufferSize, bool write, bool use, bool useDummyData, bool clearAfterOOM, const char* name, const char* desc) argument
829 m_config.maxTextureSize = maxTextureSize;
H A DglsTextureBufferCase.cpp802 deInt32 maxTextureSize = 0; local
804 gl.getIntegerv(GL_MAX_TEXTURE_BUFFER_SIZE, &maxTextureSize);
807 log << TestLog::Message << "GL_MAX_TEXTURE_BUFFER_SIZE : " << maxTextureSize << TestLog::EndMessage;
812 deInt32 maxTextureSize = 0; local
814 gl.getIntegerv(GL_MAX_TEXTURE_BUFFER_SIZE, &maxTextureSize);
817 log << TestLog::Message << "GL_MAX_TEXTURE_BUFFER_SIZE_EXT : " << maxTextureSize << TestLog::EndMessage;
/external/deqp/modules/gles2/functional/
H A Des2fNegativeTextureApiTests.cpp395 int maxTextureSize = m_context.getContextInfo().getInt(GL_MAX_TEXTURE_SIZE) + 1;
396 glCompressedTexImage2D(GL_TEXTURE_2D, 0, compressedFormats[0], maxTextureSize, 0, 0, 0, 0);
398 glCompressedTexImage2D(GL_TEXTURE_2D, 0, compressedFormats[0], 0, maxTextureSize, 0, 0, 0);
400 glCompressedTexImage2D(GL_TEXTURE_2D, 0, compressedFormats[0], maxTextureSize, maxTextureSize, 0, 0, 0);
412 int maxTextureSize = m_context.getContextInfo().getInt(GL_MAX_CUBE_MAP_TEXTURE_SIZE) + 1;
413 glCompressedTexImage2D(GL_TEXTURE_CUBE_MAP_POSITIVE_X, 0, compressedFormats[0], maxTextureSize, 0, 0, 0, 0);
415 glCompressedTexImage2D(GL_TEXTURE_CUBE_MAP_POSITIVE_X, 0, compressedFormats[0], 0, maxTextureSize, 0, 0, 0);
417 glCompressedTexImage2D(GL_TEXTURE_CUBE_MAP_POSITIVE_X, 0, compressedFormats[0], maxTextureSize, maxTextureSize,
[all...]
/external/deqp/modules/gles31/functional/
H A Des31fShaderTextureSizeTests.cpp161 glw::GLint maxTextureSize = 0;
165 gl.getIntegerv(GL_MAX_TEXTURE_SIZE, &maxTextureSize);
189 << "GL_MAX_TEXTURE_SIZE = " << maxTextureSize << "\n"
197 if (testSizes2D[ndx].x() <= maxTextureSize && testSizes2D[ndx].y() <= maxTextureSize)
199 const int w = (testSizes2D[ndx].x() < 0) ? (maxTextureSize) : (testSizes2D[ndx].x());
200 const int h = (testSizes2D[ndx].y() < 0) ? (maxTextureSize) : (testSizes2D[ndx].y());
210 if (testSizes3D[ndx].x() <= maxTextureSize && testSizes3D[ndx].y() <= maxTextureSize && testSizes3D[ndx].z() <= maxTextureLayers)
212 const int w = (testSizes3D[ndx].x() < 0) ? (maxTextureSize)
[all...]
H A Des31fNegativeTextureApiTests.cpp332 int maxTextureSize = ctx.getInteger(GL_MAX_TEXTURE_SIZE) + 1; local
337 ctx.glCompressedTexImage2D(GL_TEXTURE_2D, 0, GL_COMPRESSED_RGBA8_ETC2_EAC, maxTextureSize, 1, 0, etc2EacDataSize(maxTextureSize, 1), 0);
339 ctx.glCompressedTexImage2D(GL_TEXTURE_2D, 0, GL_COMPRESSED_RGBA8_ETC2_EAC, 1, maxTextureSize, 0, etc2EacDataSize(1, maxTextureSize), 0);
341 ctx.glCompressedTexImage2D(GL_TEXTURE_2D, 0, GL_COMPRESSED_RGBA8_ETC2_EAC, maxTextureSize, maxTextureSize, 0, etc2EacDataSize(maxTextureSize, maxTextureSize), 0);
780 int maxTextureSize local
1421 int maxTextureSize = ctx.getInteger(GL_MAX_TEXTURE_SIZE) + 1; local
2781 int maxTextureSize = ctx.getInteger(GL_MAX_TEXTURE_SIZE) + 1; local
3343 int maxTextureSize = ctx.getInteger(GL_MAX_TEXTURE_SIZE) + 1; local
[all...]
H A Des31fTextureMultisampleTests.cpp1134 GLint maxTextureSize = 0;
1135 gl.getIntegerv(GL_MAX_TEXTURE_SIZE, &maxTextureSize);
1137 if (s_textureSize > maxTextureSize)
/external/skia/src/core/
H A DSkPictureShader.cpp164 const int maxTextureSize) const {
195 // Scale down the tile size if larger than maxTextureSize for GPU Path or it should fail on create texture
196 if (maxTextureSize) {
197 if (scaledSize.width() > maxTextureSize || scaledSize.height() > maxTextureSize) {
198 SkScalar downScale = maxTextureSize / SkMaxScalar(scaledSize.width(), scaledSize.height());
321 int maxTextureSize = 0; local
323 maxTextureSize = args.fContext->caps()->maxTextureSize();
326 args.fDstColorSpace, maxTextureSize));
[all...]
H A DSkPictureShader.h47 const int maxTextureSize = 0) const;
H A DSkGpuBlurUtils.cpp54 static float adjust_sigma(float sigma, int maxTextureSize, int *scaleFactor, int *radius) { argument
59 if (*scaleFactor > maxTextureSize) {
60 *scaleFactor = maxTextureSize;
213 int maxTextureSize = context->caps()->maxTextureSize(); local
214 sigmaX = adjust_sigma(sigmaX, maxTextureSize, &scaleFactorX, &radiusX);
215 sigmaY = adjust_sigma(sigmaY, maxTextureSize, &scaleFactorY, &radiusY);
/external/skia/src/gpu/
H A DGrSoftwarePathRenderer.cpp168 int maxTextureSize = args.fRenderTargetContext->caps()->maxTextureSize(); local
169 if (unclippedArea > 2 * clippedArea || unclippedWidth > maxTextureSize ||
170 unclippedHeight > maxTextureSize) {
H A DGrGpu.cpp132 int maxSize = caps.maxTextureSize();
213 int maxSize = this->caps()->maxTextureSize();
245 int maxSize = this->caps()->maxTextureSize();
H A DGrSurfaceProxy.cpp193 maxSize = caps->maxTextureSize();
H A DSkGpuDevice.cpp1047 SkASSERT(bitmap.width() <= fContext->caps()->maxTextureSize() &&
1048 bitmap.height() <= fContext->caps()->maxTextureSize());
/external/webrtc/webrtc/modules/video_render/android/
H A Dvideo_render_opengles20.cc102 int maxTextureSize[2]; local
104 glGetIntegerv(GL_MAX_TEXTURE_SIZE, maxTextureSize);
108 (int) maxTextureImageUnits[0], (int) maxTextureSize[0]);
/external/deqp/modules/gles3/functional/
H A Des3fNegativeTextureApiTests.cpp335 int maxTextureSize = m_context.getContextInfo().getInt(GL_MAX_TEXTURE_SIZE) + 1;
340 glCompressedTexImage2D(GL_TEXTURE_2D, 0, GL_COMPRESSED_RGBA8_ETC2_EAC, maxTextureSize, 1, 0, etc2EacDataSize(maxTextureSize, 1), 0);
342 glCompressedTexImage2D(GL_TEXTURE_2D, 0, GL_COMPRESSED_RGBA8_ETC2_EAC, 1, maxTextureSize, 0, etc2EacDataSize(1, maxTextureSize), 0);
344 glCompressedTexImage2D(GL_TEXTURE_2D, 0, GL_COMPRESSED_RGBA8_ETC2_EAC, maxTextureSize, maxTextureSize, 0, etc2EacDataSize(maxTextureSize, maxTextureSize), 0);
690 int maxTextureSize
[all...]
/external/skia/include/gpu/
H A DGrCaps.h140 int maxTextureSize() const { return fMaxTextureSize; } function in class:GrCaps
/external/deqp/modules/gles2/performance/
H A Des2pTextureUploadTests.cpp143 int maxTextureSize; local
144 gl.getIntegerv(GL_MAX_TEXTURE_SIZE, &maxTextureSize);
146 if (m_texSize > maxTextureSize)
/external/skia/src/image/
H A DSkImage_Gpu.cpp605 const int maxTextureSize = proxy.fCaps->maxTextureSize(); local
606 if (scaledSize.width() > maxTextureSize || scaledSize.height() > maxTextureSize) {
/external/deqp/modules/gles3/stress/
H A Des3sSpecialFloatTests.cpp1060 GLint maxTextureSize = 0;
1061 m_context.getRenderContext().getFunctions().getIntegerv(GL_MAX_TEXTURE_SIZE, &maxTextureSize);
1062 if (maxTextureSize < TEST_TEXTURE_SIZE)
1388 GLint maxTextureSize = 0;
1389 m_context.getRenderContext().getFunctions().getIntegerv(GL_MAX_TEXTURE_SIZE, &maxTextureSize);
1390 if (maxTextureSize < TEST_TEXTURE_SIZE)
/external/deqp/modules/gles2/stress/
H A Des2sSpecialFloatTests.cpp1024 GLint maxTextureSize = 0;
1025 m_context.getRenderContext().getFunctions().getIntegerv(GL_MAX_TEXTURE_SIZE, &maxTextureSize);
1026 if (maxTextureSize < TEST_TEXTURE_SIZE)
/external/skia/tests/
H A DImageTest.cpp104 static sk_sp<SkImage> create_image_large(int maxTextureSize) { argument
105 const SkImageInfo info = SkImageInfo::MakeN32(maxTextureSize + 1, 32, kOpaque_SkAlphaType);
905 return create_image_large(context->caps()->maxTextureSize());
/external/mesa3d/src/mesa/main/
H A Dteximage.c3600 GLint expectedSize, maxLevels = 0, maxTextureSize; local
3634 maxTextureSize = 1 << (maxLevels - 1);
3640 if (width < 0 || width > maxTextureSize)
3643 if ((height < 0 || height > maxTextureSize)
/external/deqp/external/vulkancts/modules/vulkan/memory/
H A DvktMemoryPipelineBarrierTests.cpp890 const vk::VkDeviceSize maxTextureSize = 4096;
892 vk::VkDeviceSize bestW = de::max(maxTexelCount, maxTextureSize);
896 for (vk::VkDeviceSize w = 1; w * w < maxTexelCount && w < maxTextureSize && bestW * bestH * 4 < size; w++)
914 const vk::VkDeviceSize maxTextureSize = 4096;
920 for (vk::VkDeviceSize w = 1; w < maxTextureSize && w < texelCount; w++)
924 if ((texelCount % w) == 0 && h < maxTextureSize)
/external/skia/src/gpu/vk/
H A DGrVkGpu.cpp765 int maxSize = this->caps()->maxTextureSize();

Completed in 1497 milliseconds

12