Searched refs:maxDimension (Results 1 – 9 of 9) sorted by relevance
/external/skia/src/image/ |
D | SkImage_Raster.cpp | 18 const int maxDimension = SK_MaxS32 >> 2; in ValidArgs() local 24 if (info.fWidth > maxDimension || info.fHeight > maxDimension) { in ValidArgs()
|
/external/chromium_org/third_party/skia/src/image/ |
D | SkImage_Raster.cpp | 18 const int maxDimension = SK_MaxS32 >> 2; in ValidArgs() local 24 if (info.width() > maxDimension || info.height() > maxDimension) { in ValidArgs()
|
/external/chromium_org/third_party/angle/src/libGLESv2/ |
D | validationES.cpp | 152 size_t maxDimension = 0; in ValidMipLevel() local 155 …case GL_TEXTURE_2D: maxDimension = context->getCaps().max2DTextureSize; bre… in ValidMipLevel() 162 …case GL_TEXTURE_CUBE_MAP_NEGATIVE_Z: maxDimension = context->getCaps().maxCubeMapTextureSize; bre… in ValidMipLevel() 163 …case GL_TEXTURE_3D: maxDimension = context->getCaps().max3DTextureSize; bre… in ValidMipLevel() 164 …case GL_TEXTURE_2D_ARRAY: maxDimension = context->getCaps().max2DTextureSize; bre… in ValidMipLevel() 168 return level <= gl::log2(maxDimension); in ValidMipLevel() 1264 GLuint maxDimension = 0; in ValidateCopyTexImageParametersBase() local 1278 maxDimension = caps.max2DTextureSize; in ValidateCopyTexImageParametersBase() 1298 maxDimension = caps.maxCubeMapTextureSize; in ValidateCopyTexImageParametersBase() 1313 maxDimension = caps.max2DTextureSize; in ValidateCopyTexImageParametersBase() [all …]
|
D | Framebuffer.cpp | 607 GLuint maxDimension = caps.maxRenderbufferSize; in invalidate() local 608 invalidateSub(caps, numAttachments, attachments, 0, 0, maxDimension, maxDimension); in invalidate()
|
/external/skia/tests/ |
D | SkpSkGrTest.cpp | 337 const int maxDimension = 1000; in timePict() local 339 int xInterval = SkTMax(pWidth - maxDimension, 0) / (slices - 1); in timePict() 340 int yInterval = SkTMax(pHeight - maxDimension, 0) / (slices - 1); in timePict() 341 SkRect rect = {0, 0, SkIntToScalar(SkTMin(maxDimension, pWidth)), in timePict() 342 SkIntToScalar(SkTMin(maxDimension, pHeight))}; in timePict()
|
D | PathOpsSkpClipTest.cpp | 544 const int maxDimension = 1000; in timePict() local 546 int xInterval = SkTMax(pWidth - maxDimension, 0) / (slices - 1); in timePict() 547 int yInterval = SkTMax(pHeight - maxDimension, 0) / (slices - 1); in timePict() 548 SkRect rect = {0, 0, SkIntToScalar(SkTMin(maxDimension, pWidth)), in timePict() 549 SkIntToScalar(SkTMin(maxDimension, pHeight))}; in timePict()
|
/external/chromium_org/third_party/skia/tests/ |
D | SkpSkGrTest.cpp | 335 const int maxDimension = 1000; in timePict() local 337 int xInterval = SkTMax(pWidth - maxDimension, 0) / (slices - 1); in timePict() 338 int yInterval = SkTMax(pHeight - maxDimension, 0) / (slices - 1); in timePict() 339 SkRect rect = {0, 0, SkIntToScalar(SkTMin(maxDimension, pWidth)), in timePict() 340 SkIntToScalar(SkTMin(maxDimension, pHeight))}; in timePict()
|
D | PathOpsSkpClipTest.cpp | 394 const SkScalar maxDimension = 1000.0f; in timePict() local 396 SkScalar xInterval = SkTMax(pWidth - maxDimension, 0.0f) / (slices - 1); in timePict() 397 SkScalar yInterval = SkTMax(pHeight - maxDimension, 0.0f) / (slices - 1); in timePict() 398 SkRect rect = {0, 0, SkTMin(maxDimension, pWidth), SkTMin(maxDimension, pHeight) }; in timePict()
|
/external/chromium_org/third_party/WebKit/Source/core/inspector/ |
D | InspectorPageAgent.cpp | 811 const static long maxDimension = 10000000; in setDeviceMetricsOverride() local 818 if (width < 0 || height < 0 || width > maxDimension || height > maxDimension) { in setDeviceMetricsOverride() 819 …ing = "Width and height values must be positive, not greater than " + String::number(maxDimension); in setDeviceMetricsOverride()
|