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) {
  /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/base/libs/hwui/
Caches.h 232 GLint maxTextureSize;
ShapeCache.h 446 GLint maxTextureSize;
447 glGetIntegerv(GL_MAX_TEXTURE_SIZE, &maxTextureSize);
448 mMaxTextureSize = maxTextureSize;
LayerRenderer.cpp 359 if (layer && layer->isTextureLayer() && bitmap->width() <= caches.maxTextureSize &&
360 bitmap->height() <= caches.maxTextureSize) {
Caches.cpp 119 glGetIntegerv(GL_MAX_TEXTURE_SIZE, &maxTextureSize);
FontRenderer.cpp 717 maxWidth = Caches::getInstance().maxTextureSize;
    [all...]
OpenGLRenderer.cpp 541 if (bounds.isEmpty() || bounds.getWidth() > mCaches.maxTextureSize ||
542 bounds.getHeight() > mCaches.maxTextureSize) {
    [all...]
  /frameworks/native/libs/gui/tests/
SurfaceTexture_test.cpp     [all...]
  /frameworks/base/core/jni/
android_view_GLES20Canvas.cpp 192 return Caches::getInstance().maxTextureSize;
196 return Caches::getInstance().maxTextureSize;
    [all...]

Completed in 1708 milliseconds