Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/tests/unit/
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()
/frameworks/base/libs/hwui/
DDeviceInfo.cpp137 int DeviceInfo::maxTextureSize() const { in maxTextureSize() function in android::uirenderer::DeviceInfo
142 void DeviceInfo::setMaxTextureSize(int maxTextureSize) { in setMaxTextureSize() argument
143 DeviceInfo::get()->mMaxTextureSize = maxTextureSize; in setMaxTextureSize()
DDeviceInfo.h39 int maxTextureSize() const;
49 static void setMaxTextureSize(int maxTextureSize);
DRenderProperties.h530 return mPrimitiveFields.mWidth <= deviceInfo->maxTextureSize() && in fitsOnLayer()
531 mPrimitiveFields.mHeight <= deviceInfo->maxTextureSize(); in fitsOnLayer()
/frameworks/base/services/core/java/com/android/server/wallpaper/
DGLHelper.java62 int maxTextureSize = SystemProperties.getInt("sys.max_texture_size", 0);
63 sMaxTextureSize = maxTextureSize > 0 ? maxTextureSize : retrieveTextureSizeFromGL();
/frameworks/native/libs/gui/tests/
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()
/frameworks/base/libs/hwui/renderthread/
DRenderProxy.cpp207 int RenderProxy::maxTextureSize() { in maxTextureSize() function in android::uirenderer::renderthread::RenderProxy
208 static int maxTextureSize = RenderThread::getInstance().queue().runSync( in maxTextureSize() local
209 []() { return DeviceInfo::get()->maxTextureSize(); }); in maxTextureSize()
210 return maxTextureSize; in maxTextureSize()
DRenderProxy.h99 ANDROID_API static int maxTextureSize();
/frameworks/base/libs/hwui/pipeline/skia/
DSkiaPipeline.cpp188 const int maxTextureSize = DeviceInfo::get()->maxTextureSize(); in createOrUpdateLayer() local
190 << maxTextureSize << " color type " << (int)info.colorType() << " has context " in createOrUpdateLayer()
/frameworks/base/core/jni/
Dandroid_view_DisplayListCanvas.cpp121 return android::uirenderer::renderthread::RenderProxy::maxTextureSize(); in android_view_DisplayListCanvas_getMaxTextureSize()