/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);
|
DeviceInfoTests.cpp | 30 EXPECT_EQ(2048, di->maxTextureSize()) << "Max texture size didn't match";
|
/frameworks/base/libs/hwui/ |
DeviceInfo.h | 39 static void initialize(int maxTextureSize); 41 int maxTextureSize() const { return mMaxTextureSize; }
|
DeviceInfo.cpp | 62 void DeviceInfo::initialize(int maxTextureSize) { 63 std::call_once(sInitializedFlag, [maxTextureSize]() { 66 sDeviceInfo->mMaxTextureSize = maxTextureSize;
|
Caches.h | 142 GLint maxTextureSize;
|
PathCache.cpp | 156 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) {}
|
OpenGLReadback.cpp | 121 if (destWidth > caches.maxTextureSize || destHeight > caches.maxTextureSize) { 123 destHeight, caches.maxTextureSize);
|
/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);
|
glsMemoryStressCase.cpp | 483 int dummySize = deMax32(m_config.maxBufferSize, m_config.maxTextureSize*m_config.maxTextureSize*4); 585 int width = rnd.getInt(m_config.minTextureSize, m_config.maxTextureSize); 586 int height = rnd.getInt(m_config.minTextureSize, m_config.maxTextureSize); 819 MemoryStressCase::MemoryStressCase (tcu::TestContext& ctx, 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) 829 m_config.maxTextureSize = maxTextureSize;
|
/external/deqp/modules/gles2/functional/ |
es2fNegativeTextureApiTests.cpp | 395 int maxTextureSize = m_context.getContextInfo().getInt(GL_MAX_TEXTURE_SIZE) + 1; 396 glCompressedTexImage2D(GL_TEXTURE_2D, 0, compressedFormats[0], maxTextureSize, 0, 0, 0, 0); 398 glCompressedTexImage2D(GL_TEXTURE_2D, 0, compressedFormats[0], 0, maxTextureSize, 0, 0, 0); 400 glCompressedTexImage2D(GL_TEXTURE_2D, 0, compressedFormats[0], maxTextureSize, maxTextureSize, 0, 0, 0); 412 int maxTextureSize = m_context.getContextInfo().getInt(GL_MAX_CUBE_MAP_TEXTURE_SIZE) + 1; 413 glCompressedTexImage2D(GL_TEXTURE_CUBE_MAP_POSITIVE_X, 0, compressedFormats[0], maxTextureSize, 0, 0, 0, 0); 415 glCompressedTexImage2D(GL_TEXTURE_CUBE_MAP_POSITIVE_X, 0, compressedFormats[0], 0, maxTextureSize, 0, 0, 0); 417 glCompressedTexImage2D(GL_TEXTURE_CUBE_MAP_POSITIVE_X, 0, compressedFormats[0], maxTextureSize, maxTextureSize, 0, 0, 0) [all...] |
/external/skia/src/shaders/ |
SkPictureShader.cpp | 189 const int maxTextureSize) const { 220 // Scale down the tile size if larger than maxTextureSize for GPU Path or it should fail on create texture 221 if (maxTextureSize) { 222 if (scaledSize.width() > maxTextureSize || scaledSize.height() > maxTextureSize) { 223 SkScalar downScale = maxTextureSize / SkMaxScalar(scaledSize.width(), scaledSize.height()); 376 int maxTextureSize = 0; 378 maxTextureSize = args.fContext->caps()->maxTextureSize(); 384 maxTextureSize)); [all...] |
SkPictureShader.h | 53 const int maxTextureSize = 0) const;
|
/external/skqp/src/shaders/ |
SkPictureShader.cpp | 184 const int maxTextureSize) const { 215 // Scale down the tile size if larger than maxTextureSize for GPU Path or it should fail on create texture 216 if (maxTextureSize) { 217 if (scaledSize.width() > maxTextureSize || scaledSize.height() > maxTextureSize) { 218 SkScalar downScale = maxTextureSize / SkMaxScalar(scaledSize.width(), scaledSize.height()); 361 int maxTextureSize = 0; 363 maxTextureSize = args.fContext->caps()->maxTextureSize(); 367 maxTextureSize)); [all...] |
SkPictureShader.h | 52 const int maxTextureSize = 0) const;
|
/external/deqp/modules/gles31/functional/ |
es31fShaderTextureSizeTests.cpp | 172 glw::GLint maxTextureSize = 0; 176 gl.getIntegerv(GL_MAX_TEXTURE_SIZE, &maxTextureSize); 200 << "GL_MAX_TEXTURE_SIZE = " << maxTextureSize << "\n" 208 if (testSizes2D[ndx].x() <= maxTextureSize && testSizes2D[ndx].y() <= maxTextureSize) 210 const int w = (testSizes2D[ndx].x() < 0) ? (maxTextureSize) : (testSizes2D[ndx].x()); 211 const int h = (testSizes2D[ndx].y() < 0) ? (maxTextureSize) : (testSizes2D[ndx].y()); 221 if (testSizes3D[ndx].x() <= maxTextureSize && testSizes3D[ndx].y() <= maxTextureSize && testSizes3D[ndx].z() <= maxTextureLayers) 223 const int w = (testSizes3D[ndx].x() < 0) ? (maxTextureSize) : (testSizes3D[ndx].x()) [all...] |
/external/deqp/external/openglcts/modules/glesext/texture_cube_map_array/ |
esextcTextureCubeMapArrayTex3DValidation.cpp | 168 const glw::GLfloat maxTextureSize = (const glw::GLfloat)de::max(correctWidth, correctHeight); 169 const glw::GLint maxLevels = (const glw::GLint)floor(log(maxTextureSize) / log(2.0f)) + 1;
|
/frameworks/base/libs/hwui/renderthread/ |
OpenGLPipeline.cpp | 239 const int maxTextureSize = Caches::getInstance().maxTextureSize; 240 if (node->getWidth() > maxTextureSize || node->getHeight() > maxTextureSize) { 242 << " exceeds max size " << maxTextureSize;
|
/external/skia/src/core/ |
SkGpuBlurUtils.cpp | 56 static float adjust_sigma(float sigma, int maxTextureSize, int *scaleFactor, int *radius) { 61 if (*scaleFactor > maxTextureSize) { 62 *scaleFactor = maxTextureSize; 203 int maxTextureSize = context->caps()->maxTextureSize(); 204 sigmaX = adjust_sigma(sigmaX, maxTextureSize, &scaleFactorX, &radiusX); 205 sigmaY = adjust_sigma(sigmaY, maxTextureSize, &scaleFactorY, &radiusY);
|
/external/skqp/src/core/ |
SkGpuBlurUtils.cpp | 56 static float adjust_sigma(float sigma, int maxTextureSize, int *scaleFactor, int *radius) { 61 if (*scaleFactor > maxTextureSize) { 62 *scaleFactor = maxTextureSize; 203 int maxTextureSize = context->caps()->maxTextureSize(); 204 sigmaX = adjust_sigma(sigmaX, maxTextureSize, &scaleFactorX, &radiusX); 205 sigmaY = adjust_sigma(sigmaY, maxTextureSize, &scaleFactorY, &radiusY);
|
/frameworks/native/libs/gui/tests/ |
SurfaceTextureGL_test.cpp | 706 GLint maxTextureSize; 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);
|
/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]);
|
/external/skia/gm/ |
bitmapshader.cpp | 120 bitmapH = ctx->caps()->maxTextureSize() + 1;
|
/external/skia/src/gpu/ |
GrSoftwarePathRenderer.cpp | 273 int maxTextureSize = args.fRenderTargetContext->caps()->maxTextureSize(); 274 if (unclippedArea > 2 * clippedArea || unclippedWidth > maxTextureSize || 275 unclippedHeight > maxTextureSize) {
|
/external/skqp/gm/ |
bitmapshader.cpp | 120 bitmapH = ctx->caps()->maxTextureSize() + 1;
|
/external/skqp/include/gpu/ |
GrCaps.h | 130 int maxTextureSize() const { return fMaxTextureSize; }
|