Searched refs:maxTextureSize (Results 1 - 25 of 26) 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.cpp795 deInt32 maxTextureSize; local
797 gl.getIntegerv(GL_MAX_TEXTURE_BUFFER_SIZE, &maxTextureSize);
800 log << TestLog::Message << "GL_MAX_TEXTURE_BUFFER_SIZE : " << maxTextureSize << TestLog::EndMessage;
805 deInt32 maxTextureSize; local
807 gl.getIntegerv(GL_MAX_TEXTURE_BUFFER_SIZE, &maxTextureSize);
810 log << TestLog::Message << "GL_MAX_TEXTURE_BUFFER_SIZE_EXT : " << maxTextureSize << TestLog::EndMessage;
/external/deqp/modules/gles2/functional/
H A Des2fNegativeTextureApiTests.cpp367 int maxTextureSize = m_context.getContextInfo().getInt(GL_MAX_TEXTURE_SIZE) + 1;
368 glCompressedTexImage2D(GL_TEXTURE_2D, 0, compressedFormats[0], maxTextureSize, 0, 0, 0, 0);
370 glCompressedTexImage2D(GL_TEXTURE_2D, 0, compressedFormats[0], 0, maxTextureSize, 0, 0, 0);
372 glCompressedTexImage2D(GL_TEXTURE_2D, 0, compressedFormats[0], maxTextureSize, maxTextureSize, 0, 0, 0);
384 int maxTextureSize = m_context.getContextInfo().getInt(GL_MAX_CUBE_MAP_TEXTURE_SIZE) + 1;
385 glCompressedTexImage2D(GL_TEXTURE_CUBE_MAP_POSITIVE_X, 0, compressedFormats[0], maxTextureSize, 0, 0, 0, 0);
387 glCompressedTexImage2D(GL_TEXTURE_CUBE_MAP_POSITIVE_X, 0, compressedFormats[0], 0, maxTextureSize, 0, 0, 0);
389 glCompressedTexImage2D(GL_TEXTURE_CUBE_MAP_POSITIVE_X, 0, compressedFormats[0], maxTextureSize, maxTextureSize,
[all...]
/external/deqp/modules/gles31/functional/
H A Des31fShaderTextureSizeTests.cpp153 glw::GLint maxTextureSize = 0;
157 gl.getIntegerv(GL_MAX_TEXTURE_SIZE, &maxTextureSize);
186 << "GL_MAX_TEXTURE_SIZE = " << maxTextureSize << "\n"
194 if (testSizes2D[ndx].x() <= maxTextureSize && testSizes2D[ndx].y() <= maxTextureSize)
196 const int w = (testSizes2D[ndx].x() < 0) ? (maxTextureSize) : (testSizes2D[ndx].x());
197 const int h = (testSizes2D[ndx].y() < 0) ? (maxTextureSize) : (testSizes2D[ndx].y());
207 if (testSizes3D[ndx].x() <= maxTextureSize && testSizes3D[ndx].y() <= maxTextureSize && testSizes3D[ndx].z() <= maxTextureLayers)
209 const int w = (testSizes3D[ndx].x() < 0) ? (maxTextureSize)
[all...]
H A Des31fNegativeTextureApiTests.cpp290 int maxTextureSize = ctx.getInteger(GL_MAX_TEXTURE_SIZE) + 1; local
295 ctx.glCompressedTexImage2D(GL_TEXTURE_2D, 0, GL_COMPRESSED_RGBA8_ETC2_EAC, maxTextureSize, 1, 0, etc2EacDataSize(maxTextureSize, 1), 0);
297 ctx.glCompressedTexImage2D(GL_TEXTURE_2D, 0, GL_COMPRESSED_RGBA8_ETC2_EAC, 1, maxTextureSize, 0, etc2EacDataSize(1, maxTextureSize), 0);
299 ctx.glCompressedTexImage2D(GL_TEXTURE_2D, 0, GL_COMPRESSED_RGBA8_ETC2_EAC, maxTextureSize, maxTextureSize, 0, etc2EacDataSize(maxTextureSize, maxTextureSize), 0);
620 int maxTextureSize local
1226 int maxTextureSize = ctx.getInteger(GL_MAX_TEXTURE_SIZE) + 1; local
2089 int maxTextureSize = ctx.getInteger(GL_MAX_TEXTURE_SIZE) + 1; local
2579 int maxTextureSize = ctx.getInteger(GL_MAX_TEXTURE_SIZE) + 1; local
[all...]
H A Des31fTextureMultisampleTests.cpp1133 GLint maxTextureSize = 0;
1134 gl.getIntegerv(GL_MAX_TEXTURE_SIZE, &maxTextureSize);
1136 if (s_textureSize > maxTextureSize)
/external/chromium_org/third_party/skia/src/gpu/
H A DGrDrawTargetCaps.h70 int maxTextureSize() const { return fMaxTextureSize; } function in class:GrDrawTargetCaps
H A DGrContext.cpp622 return SkTMin(fGpu->caps()->maxTextureSize(), fMaxTextureSizeOverride);
/external/skia/src/gpu/
H A DGrDrawTargetCaps.h65 int maxTextureSize() const { return fMaxTextureSize; } function in class:GrDrawTargetCaps
/external/chromium_org/third_party/skia/src/effects/
H A DSkGpuBlurUtils.cpp31 static float adjust_sigma(float sigma, int maxTextureSize, int *scaleFactor, int *radius) { argument
36 if (*scaleFactor > maxTextureSize) {
37 *scaleFactor = maxTextureSize;
159 int maxTextureSize = context->getMaxTextureSize(); local
160 sigmaX = adjust_sigma(sigmaX, maxTextureSize, &scaleFactorX, &radiusX);
161 sigmaY = adjust_sigma(sigmaY, maxTextureSize, &scaleFactorY, &radiusY);
/external/skia/src/effects/
H A DSkGpuBlurUtils.cpp31 static float adjust_sigma(float sigma, int maxTextureSize, int *scaleFactor, int *radius) { argument
36 if (*scaleFactor > maxTextureSize) {
37 *scaleFactor = maxTextureSize;
136 int maxTextureSize = context->getMaxTextureSize(); local
137 sigmaX = adjust_sigma(sigmaX, maxTextureSize, &scaleFactorX, &radiusX);
138 sigmaY = adjust_sigma(sigmaY, maxTextureSize, &scaleFactorY, &radiusY);
/external/chromium_org/third_party/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.cpp297 int maxTextureSize = m_context.getContextInfo().getInt(GL_MAX_TEXTURE_SIZE) + 1;
302 glCompressedTexImage2D(GL_TEXTURE_2D, 0, GL_COMPRESSED_RGBA8_ETC2_EAC, maxTextureSize, 1, 0, etc2EacDataSize(maxTextureSize, 1), 0);
304 glCompressedTexImage2D(GL_TEXTURE_2D, 0, GL_COMPRESSED_RGBA8_ETC2_EAC, 1, maxTextureSize, 0, etc2EacDataSize(1, maxTextureSize), 0);
306 glCompressedTexImage2D(GL_TEXTURE_2D, 0, GL_COMPRESSED_RGBA8_ETC2_EAC, maxTextureSize, maxTextureSize, 0, etc2EacDataSize(maxTextureSize, maxTextureSize), 0);
618 int maxTextureSize
[all...]
/external/chromium_org/third_party/angle/src/libEGL/
H A DDisplay.cpp90 EGLint maxTextureSize = mRenderer->getRendererCaps().max2DTextureSize; local
98 configSet.add(descList[i], minSwapInterval, maxSwapInterval, maxTextureSize, maxTextureSize);
/external/deqp/framework/opengl/
H A DgluTexture.cpp750 deInt32 maxTextureSize = 0; local
752 gl.getIntegerv(GL_MAX_TEXTURE_BUFFER_SIZE, &maxTextureSize);
755 m_refTexture = tcu::PixelBufferAccess(format, de::min<int>((int)maxTextureSize, (int)((m_size != 0 ? m_size : bufferSize) / format.getPixelSize())), 1, 1, &(m_refBuffer[m_offset]));
809 deInt32 maxTextureSize = 0; local
811 gl.getIntegerv(GL_MAX_TEXTURE_BUFFER_SIZE, &maxTextureSize);
814 m_refTexture = tcu::PixelBufferAccess(format, de::min<int>((int)maxTextureSize, (int)((m_size != 0 ? m_size : m_refBuffer.size()) / format.getPixelSize())), 1, 1, &(m_refBuffer[m_offset]));
/external/chromium_org/third_party/WebKit/Source/platform/graphics/gpu/
H A DDrawingBuffer.cpp764 IntSize DrawingBuffer::adjustSize(const IntSize& desiredSize, const IntSize& curSize, int maxTextureSize) argument
769 if (adjustedSize.height() > maxTextureSize)
770 adjustedSize.setHeight(maxTextureSize);
772 if (adjustedSize.width() > maxTextureSize)
773 adjustedSize.setWidth(maxTextureSize);
H A DDrawingBuffer.h110 static IntSize adjustSize(const IntSize& desiredSize, const IntSize& curSize, int maxTextureSize);
/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/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/chromium_org/third_party/skia/src/gpu/gl/
H A DGrGpuGL.cpp369 int maxSize = this->caps()->maxTextureSize();
986 int maxSize = this->caps()->maxTextureSize();
1083 int maxSize = this->caps()->maxTextureSize();
/external/chromium_org/third_party/mesa/src/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/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/skia/src/gpu/gl/
H A DGrGpuGL.cpp366 int maxSize = this->caps()->maxTextureSize();
991 int maxSize = this->caps()->maxTextureSize();
1088 int maxSize = this->caps()->maxTextureSize();

Completed in 532 milliseconds

12