OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:maxTextureSize
(Results
1 - 15
of
15
) 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/WebCore/platform/graphics/android/
TilesManager.cpp
84
static GLint
maxTextureSize
= 0;
85
if (!
maxTextureSize
)
86
glGetIntegerv(GL_MAX_TEXTURE_SIZE, &
maxTextureSize
);
87
return
maxTextureSize
;
/frameworks/base/libs/hwui/
Caches.h
175
GLint
maxTextureSize
;
ShapeCache.h
433
GLint
maxTextureSize
;
434
glGetIntegerv(GL_MAX_TEXTURE_SIZE, &
maxTextureSize
);
435
mMaxTextureSize =
maxTextureSize
;
LayerRenderer.cpp
329
if (layer && layer->isTextureLayer() && bitmap->width() <= caches.
maxTextureSize
&&
330
bitmap->height() <= caches.
maxTextureSize
) {
Caches.cpp
61
glGetIntegerv(GL_MAX_TEXTURE_SIZE, &
maxTextureSize
);
OpenGLRenderer.cpp
440
if (bounds.isEmpty() || bounds.getWidth() > mCaches.
maxTextureSize
||
441
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
());
/frameworks/base/core/jni/
android_view_GLES20Canvas.cpp
184
return Caches::getInstance().
maxTextureSize
;
188
return Caches::getInstance().
maxTextureSize
;
[
all
...]
Completed in 353 milliseconds