/frameworks/base/libs/hwui/tests/unit/ |
RenderPropertiesTests.cpp | 27 const int maxTextureSize = DeviceInfo::get()->maxTextureSize(); 28 ASSERT_LE(2048, maxTextureSize); 29 ASSERT_GT(100000, maxTextureSize); 42 props.setLeftTopRightBottom(0, 0, maxTextureSize + 1, maxTextureSize + 1);
|
/frameworks/base/libs/hwui/ |
DeviceInfo.h | 39 int maxTextureSize() const { return mMaxTextureSize; }
|
Layer.cpp | 109 const uint32_t maxTextureSize = caches.maxTextureSize; 110 if (desiredWidth > maxTextureSize || desiredHeight > maxTextureSize) { 112 desiredWidth, desiredHeight, maxTextureSize, maxTextureSize);
|
Caches.h | 141 GLint maxTextureSize;
|
LayerRenderer.cpp | 208 const uint32_t maxTextureSize = caches.maxTextureSize; 209 if (layer->getWidth() > maxTextureSize || layer->getHeight() > maxTextureSize) { 211 width, height, maxTextureSize, maxTextureSize); 357 && bitmap->width() <= caches.maxTextureSize 358 && bitmap->height() <= caches.maxTextureSize) {
|
PathCache.cpp | 188 GLint maxTextureSize; 189 glGetIntegerv(GL_MAX_TEXTURE_SIZE, &maxTextureSize); 190 mMaxTextureSize = maxTextureSize; 326 TaskProcessor<SkBitmap*>(&caches.tasks), mMaxTextureSize(caches.maxTextureSize) {
|
FontRenderer.cpp | 125 uint32_t maxTextureSize = (uint32_t) Caches::getInstance().maxTextureSize; 127 mSmallCacheWidth = std::min(mSmallCacheWidth, maxTextureSize); 128 mSmallCacheHeight = std::min(mSmallCacheHeight, maxTextureSize); 129 mLargeCacheWidth = std::min(mLargeCacheWidth, maxTextureSize); 130 mLargeCacheHeight = std::min(mLargeCacheHeight, maxTextureSize); 600 uint32_t maxSize = Caches::getInstance().maxTextureSize;
|
RenderNode.cpp | 349 const int maxTextureSize = Caches::getInstance().maxTextureSize; 350 if (getWidth() > maxTextureSize || getHeight() > maxTextureSize) { 352 << " exceeds max size " << maxTextureSize; [all...] |
/external/deqp/modules/glshared/ |
glsMemoryStressCase.hpp | 51 int maxTextureSize; 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);
|
glsTextureBufferCase.cpp | 802 deInt32 maxTextureSize = 0; 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; 814 gl.getIntegerv(GL_MAX_TEXTURE_BUFFER_SIZE, &maxTextureSize); 817 log << TestLog::Message << "GL_MAX_TEXTURE_BUFFER_SIZE_EXT : " << maxTextureSize << TestLog::EndMessage; [all...] |
/external/skia/src/effects/ |
SkGpuBlurUtils.cpp | 33 static float adjust_sigma(float sigma, int maxTextureSize, int *scaleFactor, int *radius) { 38 if (*scaleFactor > maxTextureSize) { 39 *scaleFactor = maxTextureSize; 175 int maxTextureSize = context->caps()->maxTextureSize(); 176 sigmaX = adjust_sigma(sigmaX, maxTextureSize, &scaleFactorX, &radiusX); 177 sigmaY = adjust_sigma(sigmaY, maxTextureSize, &scaleFactorY, &radiusY);
|
/external/webrtc/webrtc/modules/video_render/android/ |
video_render_opengles20.cc | 102 int maxTextureSize[2]; 104 glGetIntegerv(GL_MAX_TEXTURE_SIZE, maxTextureSize); 108 (int) maxTextureImageUnits[0], (int) maxTextureSize[0]);
|
/frameworks/native/libs/gui/tests/ |
SurfaceTextureGL_test.cpp | 707 GLint maxTextureSize; 708 glGetIntegerv(GL_MAX_TEXTURE_SIZE, &maxTextureSize); 720 mST->setDefaultBufferSize(maxTextureSize, texHeight); 723 EXPECT_EQ(maxTextureSize, anb->width); 729 mST->setDefaultBufferSize(maxTextureSize+1, texHeight); 732 EXPECT_EQ(maxTextureSize+1, anb->width);
|
/external/skia/src/core/ |
SkPictureShader.cpp | 159 const int maxTextureSize) const { 190 // Scale down the tile size if larger than maxTextureSize for GPU Path or it should fail on create texture 191 if (maxTextureSize) { 192 if (scaledSize.width() > maxTextureSize || scaledSize.height() > maxTextureSize) { 193 SkScalar downScale = maxTextureSize / SkMaxScalar(scaledSize.width(), scaledSize.height()); 320 int maxTextureSize = 0; 322 maxTextureSize = context->caps()->maxTextureSize(); 324 SkAutoTUnref<SkShader> bitmapShader(this->refBitmapShader(viewM, localMatrix, maxTextureSize)); [all...] |
/external/deqp/modules/gles2/performance/ |
es2pTextureUploadTests.cpp | 143 int maxTextureSize; 144 gl.getIntegerv(GL_MAX_TEXTURE_SIZE, &maxTextureSize); 146 if (m_texSize > maxTextureSize)
|
/external/skia/include/gpu/ |
GrCaps.h | 211 int maxTextureSize() const { return fMaxTextureSize; }
|
/external/deqp/modules/gles31/functional/ |
es31fNegativeTextureApiTests.cpp | 332 int maxTextureSize = ctx.getInteger(GL_MAX_TEXTURE_SIZE) + 1; 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); [all...] |
/external/mesa3d/src/mesa/main/ |
teximage.c | [all...] |
/external/libgdx/extensions/gdx-freetype/src/com/badlogic/gdx/graphics/g2d/freetype/ |
FreeTypeFontGenerator.java | 79 static private int maxTextureSize = 1024;
362 size = maxTextureSize;
367 if (maxTextureSize > 0) size = Math.min(size, maxTextureSize);
622 maxTextureSize = texSize;
628 return maxTextureSize;
|