Home
last modified time | relevance | path

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

/aosp12/frameworks/base/libs/hwui/tests/unit/
H A DRenderPropertiesTests.cpp25 const int maxTextureSize = DeviceInfo::get()->maxTextureSize(); in TEST() local
26 ASSERT_LE(2048, maxTextureSize); in TEST()
27 ASSERT_GT(100000, maxTextureSize); in TEST()
40 props.setLeftTopRightBottom(0, 0, maxTextureSize + 1, maxTextureSize + 1); in TEST()
/aosp12/frameworks/base/libs/hwui/
H A DDeviceInfo.cpp78 int DeviceInfo::maxTextureSize() const { in maxTextureSize() function in android::uirenderer::DeviceInfo
83 void DeviceInfo::setMaxTextureSize(int maxTextureSize) { in setMaxTextureSize() argument
84 DeviceInfo::get()->mMaxTextureSize = maxTextureSize; in setMaxTextureSize()
H A DDeviceInfo.h62 int maxTextureSize() const;
76 static void setMaxTextureSize(int maxTextureSize);
H A DRenderProperties.h546 return mPrimitiveFields.mWidth <= deviceInfo->maxTextureSize() && in fitsOnLayer()
547 mPrimitiveFields.mHeight <= deviceInfo->maxTextureSize(); in fitsOnLayer()
/aosp12/frameworks/base/services/core/java/com/android/server/wallpaper/
H A DGLHelper.java62 int maxTextureSize = SystemProperties.getInt("sys.max_texture_size", 0);
63 sMaxTextureSize = maxTextureSize > 0 ? maxTextureSize : retrieveTextureSizeFromGL();
/aosp12/frameworks/native/libs/gui/tests/
H A DSurfaceTextureGL_test.cpp706 GLint maxTextureSize; in TEST_F() local
707 glGetIntegerv(GL_MAX_TEXTURE_SIZE, &maxTextureSize); in TEST_F()
719 mST->setDefaultBufferSize(maxTextureSize, texHeight); in TEST_F()
722 EXPECT_EQ(maxTextureSize, anb->width); in TEST_F()
728 mST->setDefaultBufferSize(maxTextureSize+1, texHeight); in TEST_F()
731 EXPECT_EQ(maxTextureSize+1, anb->width); in TEST_F()
/aosp12/frameworks/base/libs/hwui/renderthread/
H A DRenderProxy.cpp216 int RenderProxy::maxTextureSize() { in maxTextureSize() function in android::uirenderer::renderthread::RenderProxy
217 static int maxTextureSize = RenderThread::getInstance().queue().runSync( in maxTextureSize() local
218 []() { return DeviceInfo::get()->maxTextureSize(); }); in maxTextureSize()
219 return maxTextureSize; in maxTextureSize()
H A DRenderProxy.h103 static int maxTextureSize();
/aosp12/frameworks/base/libs/hwui/pipeline/skia/
H A DSkiaPipeline.cpp196 const int maxTextureSize = DeviceInfo::get()->maxTextureSize(); in createOrUpdateLayer() local
198 << maxTextureSize << " color type " << (int)info.colorType() << " has context " in createOrUpdateLayer()
/aosp12/frameworks/base/libs/hwui/jni/
H A Dandroid_graphics_DisplayListCanvas.cpp89 return android::uirenderer::renderthread::RenderProxy::maxTextureSize(); in android_view_DisplayListCanvas_getMaxTextureSize()
/aosp12/frameworks/native/libs/renderengine/skia/
H A DSkiaGLRenderEngine.cpp1279 return mGrContext->maxTextureSize(); in getMaxTextureSize()