Home
last modified time | relevance | path

Searched refs:textureId (Results 1 – 24 of 24) sorted by relevance

/external/webkit/Source/WebCore/platform/graphics/android/layers/
DVideoLayerManager.cpp142 if (it->second->textureId) { in cleanupGLResources()
143 ALOGV("delete texture from the map %d", it->second->textureId); in cleanupGLResources()
144 glDeleteTextures(1, &it->second->textureId); in cleanupGLResources()
146 it->second->textureId = 0; in cleanupGLResources()
160 result = m_videoLayerInfoMap.get(layerId)->textureId; in getTextureId()
195 void VideoLayerManager::registerTexture(const int layerId, const GLuint textureId) in registerTexture() argument
200 GLuint oldTextureId = m_videoLayerInfoMap.get(layerId)->textureId; in registerTexture()
201 if (oldTextureId != textureId) in registerTexture()
208 pInfo->textureId = textureId; in registerTexture()
218 ALOGV("GL texture %d regisered for layerId %d", textureId, layerId); in registerTexture()
[all …]
DVideoLayerAndroid.cpp172 GLuint textureId = manager->getTextureId(uniqueId()); in drawGL() local
174 videoRect, textureId); in drawGL()
188 GLuint textureId = manager->getTextureId(uniqueId()); in drawGL() local
190 if (textureId && matrix) { in drawGL()
193 videoRect, textureId); in drawGL()
DMediaTexture.cpp163 surfaceMatrix, dimensions, video->textureId); in draw()
180 TextureQuadData data(m_contentTexture->textureId, GL_TEXTURE_EXTERNAL_OES, in draw()
282 glGenTextures(1, &wrapper->textureId); in createTexture()
283 wrapper->surfaceTexture = new android::GLConsumer(wrapper->textureId); in createTexture()
303 glDeleteTextures(1, &texture->textureId); in deleteTexture()
305 m_unusedTextures.append(texture->textureId); in deleteTexture()
DVideoLayerManager.h54 GLuint textureId; // GL texture bound with the surface texture. member
73 void registerTexture(const int layerId, const GLuint textureId);
DMediaTexture.h64 GLuint textureId; member
/external/webkit/Source/WebCore/platform/graphics/chromium/
DTextureManager.cpp130 GLC(m_context.get(), m_context->deleteTexture(info.textureId)); in removeTexture()
148 unsigned textureId; in requestTexture() local
149 GLC(m_context.get(), textureId = m_context->createTexture()); in requestTexture()
150 GLC(m_context.get(), m_context->bindTexture(GraphicsContext3D::TEXTURE_2D, textureId)); in requestTexture()
161 info.textureId = textureId; in requestTexture()
164 return textureId; in requestTexture()
DWebGLLayerChromium.cpp105 unsigned int textureId = m_context->platformTexture(); in setContext() local
106 if (textureId != m_textureId) { in setContext()
110 m_textureId = textureId; in setContext()
DPluginLayerChromium.h44 void setTextureId(unsigned textureId);
45 unsigned textureId() const { return m_textureId; } in textureId() function
DVideoLayerChromium.h80 …void allocateTexture(GraphicsContext3D*, unsigned textureId, const IntSize& dimensions, unsigned t…
82 …void updateTexture(GraphicsContext3D*, unsigned textureId, const IntSize& dimensions, unsigned tex…
DVideoLayerChromium.cpp241 void VideoLayerChromium::allocateTexture(GraphicsContext3D* context, unsigned textureId, const IntS… in allocateTexture() argument
243 GLC(context, context->bindTexture(GraphicsContext3D::TEXTURE_2D, textureId)); in allocateTexture()
247 void VideoLayerChromium::updateTexture(GraphicsContext3D* context, unsigned textureId, const IntSiz… in updateTexture() argument
250 GLC(context, context->bindTexture(GraphicsContext3D::TEXTURE_2D, textureId)); in updateTexture()
DCanvas2DLayerChromium.h52 unsigned textureId() const;
DTextureManager.h64 unsigned textureId; member
DLayerRendererChromium.cpp491 unsigned textureId = 0; in createLayerTexture() local
492 GLC(m_context.get(), textureId = m_context->createTexture()); in createLayerTexture()
493 GLC(m_context.get(), m_context->bindTexture(GraphicsContext3D::TEXTURE_2D, textureId)); in createLayerTexture()
500 return textureId; in createLayerTexture()
503 void LayerRendererChromium::deleteLayerTexture(unsigned textureId) in deleteLayerTexture() argument
505 if (!textureId) in deleteLayerTexture()
508 GLC(m_context.get(), m_context->deleteTexture(textureId)); in deleteLayerTexture()
DCanvas2DLayerChromium.cpp101 unsigned Canvas2DLayerChromium::textureId() const in textureId() function in WebCore::Canvas2DLayerChromium
DDrawingBufferChromium.cpp131 unsigned parentTexture = m_internal->platformLayer->textureId(); in publishToPlatformLayer()
/external/webkit/Source/WebCore/platform/graphics/android/rendering/
DDrawQuadData.h92 virtual int textureId() const { return 0; } in textureId() function
138 TextureQuadData(int textureId,
150 m_textureId = textureId; in DrawQuadData()
157 int textureId,
162 m_textureId = textureId; in DrawQuadData()
170 virtual int textureId() const { return m_textureId; } in textureId() function
DShaderProgram.cpp726 int textureId, float opacity, in drawQuadInternal() argument
742 glBindTexture(textureTarget, textureId); in drawQuadInternal()
837 int textureId = 0; in drawQuad() local
849 textureId = data->textureId(); in drawQuad()
855 drawQuadInternal(shaderType, matrix, textureId, opacity, in drawQuad()
862 int textureId) in drawVideoLayerQuad() argument
887 glBindTexture(GL_TEXTURE_EXTERNAL_OES, textureId); in drawVideoLayerQuad()
DShaderProgram.h137 float* textureMatrix, SkRect& geometry, int textureId);
174 void drawQuadInternal(ShaderType type, const GLfloat* matrix, int textureId,
/external/webkit/Source/WebCore/platform/graphics/gpu/
DTexture.cpp99 int textureId = context->createTexture(); in create() local
100 if (!textureId) { in create()
105 textureIds->at(i) = textureId; in create()
113 context->bindTexture(GraphicsContext3D::TEXTURE_2D, textureId); in create()
/external/webkit/Source/WebKit/android/plugins/
DANPOpenGL_npapi.h37 GLuint textureId; member
/external/webkit/Source/WebKit/chromium/src/
DWebPluginContainerImpl.cpp314 unsigned currId = m_platformLayer->textureId(); in setBackingTextureId()
447 return m_platformLayer->textureId() ? m_platformLayer.get() : 0; in platformLayer()
/external/webkit/Source/WebCore/
DChangeLog-2010-12-0662460 (WebCore::Canvas2DLayerChromium::textureId):
84396 (WebCore::CanvasLayerChromium::textureId):
114522 (WebCore::LayerChromium::textureId):
114547 (WebCore::WebGLLayerChromium::textureId):
DChangeLog37068 (WebCore::PluginLayerChromium::textureId):
44581 (WebCore::PluginLayerChromium::textureId):
DChangeLog-2011-02-1636977 (WebCore::LayerTilerChromium::Tile::textureId):