HomeSort by relevance Sort by last modified time
    Searched refs:maxTextureSize (Results 1 - 17 of 17) sorted by null

  /external/webkit/Source/WebCore/platform/graphics/chromium/
TextureManager.h 43 static PassOwnPtr<TextureManager> create(GraphicsContext3D* context, size_t memoryLimitBytes, int maxTextureSize)
45 return adoptPtr(new TextureManager(context, memoryLimitBytes, maxTextureSize));
59 TextureManager(GraphicsContext3D*, size_t memoryLimitBytes, int maxTextureSize);
TextureManager.cpp 41 TextureManager::TextureManager(GraphicsContext3D* context, size_t memoryLimitBytes, int maxTextureSize)
45 , m_maxTextureSize(maxTextureSize)
  /external/webkit/Source/WebCore/platform/graphics/gpu/
Texture.cpp 50 Texture::Texture(GraphicsContext3D* context, PassOwnPtr<Vector<unsigned int> > tileTextureIds, Format format, int width, int height, int maxTextureSize)
53 , m_tiles(maxTextureSize, width, height, true)
90 int maxTextureSize = 0;
91 context->getIntegerv(GraphicsContext3D::MAX_TEXTURE_SIZE, &maxTextureSize);
92 TilingData tiling(maxTextureSize, width, height, true);
119 return adoptRef(new Texture(context, textureIds.leakPtr(), format, width, height, maxTextureSize));
167 min(m_tiles.maxTextureSize(), m_tiles.borderTexels() + updateRectSanitized.width()) *
168 min(m_tiles.maxTextureSize(), m_tiles.borderTexels() + updateRectSanitized.height());
TilingData.cpp 45 static int computeNumTiles(int maxTextureSize, int totalSize, int borderTexels)
47 if (maxTextureSize - 2 * borderTexels <= 0)
48 return totalSize > 0 && maxTextureSize >= totalSize ? 1 : 0;
50 int numTiles = max(1, 1 + (totalSize - 1 - 2 * borderTexels) / (maxTextureSize - 2 * borderTexels));
54 TilingData::TilingData(int maxTextureSize, int totalSizeX, int totalSizeY, bool hasBorderTexels)
55 : m_maxTextureSize(maxTextureSize)
70 void TilingData::setMaxTextureSize(int maxTextureSize)
72 m_maxTextureSize = maxTextureSize;
TilingData.h 45 TilingData(int maxTextureSize, int totalSizeX, int totalSizeY, bool hasBorderTexels);
48 int maxTextureSize() const { return m_maxTextureSize; }
Texture.h 57 Texture(GraphicsContext3D*, PassOwnPtr<Vector<unsigned int> > tileTextureIds, Format format, int width, int height, int maxTextureSize);
DrawingBuffer.cpp 201 int maxTextureSize = 0;
202 m_context->getIntegerv(GraphicsContext3D::MAX_TEXTURE_SIZE, &maxTextureSize);
203 if (newSize.height() > maxTextureSize || newSize.width() > maxTextureSize) {
  /frameworks/base/libs/hwui/
FontRenderer.cpp 79 uint32_t maxTextureSize = (uint32_t) Caches::getInstance().maxTextureSize;
80 mSmallCacheWidth = mSmallCacheWidth > maxTextureSize ? maxTextureSize : mSmallCacheWidth;
81 mSmallCacheHeight = mSmallCacheHeight > maxTextureSize ? maxTextureSize : mSmallCacheHeight;
82 mLargeCacheWidth = mLargeCacheWidth > maxTextureSize ? maxTextureSize : mLargeCacheWidth;
83 mLargeCacheHeight = mLargeCacheHeight > maxTextureSize ? maxTextureSize : mLargeCacheHeight
    [all...]
Caches.h 246 GLint maxTextureSize;
ShapeCache.h 446 GLint maxTextureSize;
447 glGetIntegerv(GL_MAX_TEXTURE_SIZE, &maxTextureSize);
448 mMaxTextureSize = maxTextureSize;
LayerRenderer.cpp 361 if (layer && bitmap->width() <= caches.maxTextureSize &&
362 bitmap->height() <= caches.maxTextureSize) {
Caches.cpp 126 glGetIntegerv(GL_MAX_TEXTURE_SIZE, &maxTextureSize);
OpenGLRenderer.cpp 725 if (bounds.isEmpty() || bounds.getWidth() > mCaches.maxTextureSize ||
726 bounds.getHeight() > mCaches.maxTextureSize ||
    [all...]
  /external/webkit/Source/WebKit/chromium/tests/
TilingDataTest.cpp 406 EXPECT_EQ(32, data.maxTextureSize());
411 EXPECT_EQ(2, data.maxTextureSize());
416 EXPECT_EQ(5, data.maxTextureSize());
428 EXPECT_EQ(32, data.maxTextureSize());
433 EXPECT_EQ(2, data.maxTextureSize());
438 EXPECT_EQ(5, data.maxTextureSize());
  /external/skia/src/gpu/
SkGpuDevice.cpp     [all...]
  /frameworks/native/libs/gui/tests/
SurfaceTexture_test.cpp     [all...]
  /frameworks/base/core/jni/
android_view_GLES20Canvas.cpp 195 return Caches::getInstance().maxTextureSize;
199 return Caches::getInstance().maxTextureSize;
    [all...]

Completed in 317 milliseconds