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

/frameworks/base/libs/hwui/tests/unit/
H A DRenderPropertiesTests.cpp27 const int maxTextureSize = DeviceInfo::get()->maxTextureSize(); local
28 ASSERT_LE(2048, maxTextureSize);
29 ASSERT_GT(100000, maxTextureSize);
42 props.setLeftTopRightBottom(0, 0, maxTextureSize + 1, maxTextureSize + 1);
H A DDeviceInfoTests.cpp30 EXPECT_EQ(2048, di->maxTextureSize()) << "Max texture size didn't match";
H A DFrameBuilderTests.cpp2192 * b) too big for layer (larger than maxTextureSize)
2230 ASSERT_GT(10000, DeviceInfo::get()->maxTextureSize())
/frameworks/base/libs/hwui/
H A DDeviceInfo.h39 static void initialize(int maxTextureSize);
41 int maxTextureSize() const { return mMaxTextureSize; } function in class:android::uirenderer::DeviceInfo
H A DDeviceInfo.cpp62 void DeviceInfo::initialize(int maxTextureSize) { argument
63 std::call_once(sInitializedFlag, [maxTextureSize]() {
66 sDeviceInfo->mMaxTextureSize = maxTextureSize;
H A DPathCache.cpp156 uint32_t maxTextureSize) {
159 if (width > maxTextureSize || height > maxTextureSize) {
161 maxTextureSize, maxTextureSize);
187 mMaxTextureSize = DeviceInfo::get()->maxTextureSize();
319 : TaskProcessor<sk_sp<Bitmap> >(&caches.tasks), mMaxTextureSize(caches.maxTextureSize) {}
155 drawPath(const SkPath* path, const SkPaint* paint, PathTexture* texture, uint32_t maxTextureSize) argument
H A DOpenGLReadback.cpp121 if (destWidth > caches.maxTextureSize || destHeight > caches.maxTextureSize) {
123 destHeight, caches.maxTextureSize);
H A DCaches.h142 GLint maxTextureSize; member in class:android::uirenderer::Caches
H A DCaches.cpp96 maxTextureSize = DeviceInfo::get()->maxTextureSize();
H A DFontRenderer.cpp102 int maxTextureSize = deviceInfo->maxTextureSize(); local
110 OffscreenBuffer::computeIdealDimension(std::min(1024, maxTextureSize) * densityRatio);
112 OffscreenBuffer::computeIdealDimension(std::min(1024, maxTextureSize) * densityRatio);
114 OffscreenBuffer::computeIdealDimension(std::min(2048, maxTextureSize) * densityRatio);
116 OffscreenBuffer::computeIdealDimension(std::min(1024, maxTextureSize) * densityRatio);
583 uint32_t maxSize = Caches::getInstance().maxTextureSize;
H A DTextureCache.cpp42 mMaxTextureSize = DeviceInfo::get()->maxTextureSize();
H A DRenderProperties.h531 return mPrimitiveFields.mWidth <= deviceInfo->maxTextureSize() &&
532 mPrimitiveFields.mHeight <= deviceInfo->maxTextureSize();
H A DGradientCache.cpp73 mMaxTextureSize = DeviceInfo::get()->maxTextureSize();
/frameworks/base/libs/hwui/renderthread/
H A DOpenGLPipeline.cpp239 const int maxTextureSize = Caches::getInstance().maxTextureSize; local
240 if (node->getWidth() > maxTextureSize || node->getHeight() > maxTextureSize) {
242 << " exceeds max size " << maxTextureSize;
/frameworks/native/libs/gui/tests/
H A DSurfaceTextureGL_test.cpp706 GLint maxTextureSize; local
707 glGetIntegerv(GL_MAX_TEXTURE_SIZE, &maxTextureSize);
719 mST->setDefaultBufferSize(maxTextureSize, texHeight);
722 EXPECT_EQ(maxTextureSize, anb->width);
728 mST->setDefaultBufferSize(maxTextureSize+1, texHeight);
731 EXPECT_EQ(maxTextureSize+1, anb->width);
/frameworks/base/core/jni/
H A Dandroid_view_DisplayListCanvas.cpp135 return Caches::getInstance().maxTextureSize;
142 return Caches::getInstance().maxTextureSize;
/frameworks/base/libs/hwui/pipeline/skia/
H A DSkiaPipeline.cpp197 const int maxTextureSize = DeviceInfo::get()->maxTextureSize(); local
199 << maxTextureSize << " color type " << (int)info.colorType()

Completed in 339 milliseconds