/frameworks/base/libs/hwui/tests/unit/ |
D | RenderPropertiesTests.cpp | 25 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/av/services/camera/virtualcamera/util/ |
D | EglUtil.cc | 56 int maxTextureSize = -1; in getMaximumTextureSize() local 57 glGetIntegerv(GL_MAX_TEXTURE_SIZE, &maxTextureSize); in getMaximumTextureSize() 58 return maxTextureSize; in getMaximumTextureSize()
|
D | Util.cc | 139 int maxTextureSize = getMaximumTextureSize(); in isFormatSupportedForInput() local 140 if (width <= 0 || height <= 0 || width > maxTextureSize || in isFormatSupportedForInput() 141 height > maxTextureSize) { in isFormatSupportedForInput()
|
/frameworks/base/libs/hwui/ |
D | DeviceInfo.cpp | 78 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()
|
D | DeviceInfo.h | 86 int maxTextureSize() const; 100 static void setMaxTextureSize(int maxTextureSize);
|
D | RenderProperties.h | 547 return mPrimitiveFields.mWidth <= deviceInfo->maxTextureSize() && in fitsOnLayer() 548 mPrimitiveFields.mHeight <= deviceInfo->maxTextureSize(); in fitsOnLayer()
|
/frameworks/base/libs/hwui/pipeline/skia/ |
D | SkiaCpuPipeline.cpp | 79 const int maxTextureSize = DeviceInfo::get()->maxTextureSize(); in createOrUpdateLayer() local 81 << maxTextureSize << " color type " << (int)info.colorType() << " has context " in createOrUpdateLayer()
|
D | SkiaGpuPipeline.cpp | 103 const int maxTextureSize = DeviceInfo::get()->maxTextureSize(); in createOrUpdateLayer() local 105 << maxTextureSize << " color type " << (int)info.colorType() << " has context " in createOrUpdateLayer()
|
/frameworks/base/services/core/java/com/android/server/wallpaper/ |
D | GLHelper.java | 62 int maxTextureSize = SystemProperties.getInt("sys.max_texture_size", 0); 63 sMaxTextureSize = maxTextureSize > 0 ? maxTextureSize : retrieveTextureSizeFromGL();
|
/frameworks/native/libs/gui/tests/ |
D | SurfaceTextureGL_test.cpp | 707 GLint maxTextureSize; in TEST_F() local 708 glGetIntegerv(GL_MAX_TEXTURE_SIZE, &maxTextureSize); in TEST_F() 720 mST->setDefaultBufferSize(maxTextureSize, texHeight); in TEST_F() 723 EXPECT_EQ(maxTextureSize, anb->width); in TEST_F() 729 mST->setDefaultBufferSize(maxTextureSize+1, texHeight); in TEST_F() 732 EXPECT_EQ(maxTextureSize+1, anb->width); in TEST_F()
|
/frameworks/base/libs/hwui/renderthread/ |
D | RenderProxy.cpp | 273 int RenderProxy::maxTextureSize() { in maxTextureSize() function in android::uirenderer::renderthread::RenderProxy 274 static int maxTextureSize = RenderThread::getInstance().queue().runSync( in maxTextureSize() local 275 []() { return DeviceInfo::get()->maxTextureSize(); }); in maxTextureSize() 276 return maxTextureSize; in maxTextureSize()
|
D | RenderProxy.h | 114 static int maxTextureSize();
|
/frameworks/native/libs/renderengine/skia/compat/ |
D | GraphiteGpuContext.cpp | 106 return mContext->maxTextureSize(); in getMaxTextureSize()
|
D | GaneshGpuContext.cpp | 97 return mGrContext->maxTextureSize(); in getMaxTextureSize()
|
/frameworks/base/libs/hwui/jni/ |
D | android_graphics_DisplayListCanvas.cpp | 85 return android::uirenderer::renderthread::RenderProxy::maxTextureSize(); in android_view_DisplayListCanvas_getMaxTextureSize()
|