Searched refs:textureId (Results 1 - 21 of 21) sorted by last modified time

/external/webkit/Source/WebKit/android/plugins/
H A DANPOpenGL_npapi.h37 GLuint textureId; member in struct:ANPTextureInfo
/external/webkit/Source/WebKit/chromium/src/
H A DWebPluginContainerImpl.cpp314 unsigned currId = m_platformLayer->textureId();
447 return m_platformLayer->textureId() ? m_platformLayer.get() : 0;
/external/webkit/Source/WebCore/platform/graphics/android/layers/
H A DMediaTexture.cpp163 surfaceMatrix, dimensions, video->textureId);
180 TextureQuadData data(m_contentTexture->textureId, GL_TEXTURE_EXTERNAL_OES,
282 glGenTextures(1, &wrapper->textureId);
283 wrapper->surfaceTexture = new android::SurfaceTexture(wrapper->textureId);
302 glDeleteTextures(1, &texture->textureId);
304 m_unusedTextures.append(texture->textureId);
H A DMediaTexture.h64 GLuint textureId; member in struct:WebCore::MediaTexture::TextureWrapper
H A DVideoLayerAndroid.cpp172 GLuint textureId = manager->getTextureId(uniqueId()); local
174 videoRect, textureId);
188 GLuint textureId = manager->getTextureId(uniqueId()); local
190 if (textureId && matrix) {
193 videoRect, textureId);
H A DVideoLayerManager.cpp140 // The map include every video has been played, so their textureId can
142 if (it->second->textureId) {
143 ALOGV("delete texture from the map %d", it->second->textureId);
144 glDeleteTextures(1, &it->second->textureId);
146 it->second->textureId = 0;
160 result = m_videoLayerInfoMap.get(layerId)->textureId;
195 void VideoLayerManager::registerTexture(const int layerId, const GLuint textureId) argument
200 GLuint oldTextureId = m_videoLayerInfoMap.get(layerId)->textureId;
201 if (oldTextureId != textureId)
208 pInfo->textureId
339 GLuint textureId = m_videoLayerInfoMap.get(layerId)->textureId; local
[all...]
H A DVideoLayerManager.h54 GLuint textureId; // GL texture bound with the surface texture. member in struct:WebCore::VideoLayerInfo
73 void registerTexture(const int layerId, const GLuint textureId);
/external/webkit/Source/WebCore/platform/graphics/android/rendering/
H A DDrawQuadData.h92 virtual int textureId() const { return 0; } function in class:WebCore::DrawQuadData
138 TextureQuadData(int textureId, argument
150 m_textureId = textureId;
157 int textureId,
162 m_textureId = textureId;
170 virtual int textureId() const { return m_textureId; } function in class:WebCore::TextureQuadData
156 TextureQuadData(const DrawQuadData& data, int textureId, GLenum textureTarget = GL_TEXTURE_2D, GLint textureFilter = GL_LINEAR) argument
H A DShaderProgram.cpp726 int textureId, float opacity,
741 glBindTexture(textureTarget, textureId);
836 int textureId = 0;
848 textureId = data->textureId();
854 drawQuadInternal(shaderType, matrix, textureId, opacity,
861 int textureId)
886 glBindTexture(GL_TEXTURE_EXTERNAL_OES, textureId);
725 drawQuadInternal(ShaderType type, const GLfloat* matrix, int textureId, float opacity, GLenum textureTarget, GLenum filter, const Color& pureColor, const FloatRect& fillPortion, const FloatSize& repeatScale) argument
859 drawVideoLayerQuad(const TransformationMatrix& drawMatrix, float* textureMatrix, SkRect& geometry, int textureId) argument
H A DShaderProgram.h133 // 3) textureId == 0
137 float* textureMatrix, SkRect& geometry, int textureId);
174 void drawQuadInternal(ShaderType type, const GLfloat* matrix, int textureId,
/external/webkit/Source/WebCore/platform/graphics/chromium/
H A DCanvas2DLayerChromium.cpp101 unsigned Canvas2DLayerChromium::textureId() const function in class:WebCore::Canvas2DLayerChromium
H A DCanvas2DLayerChromium.h52 unsigned textureId() const;
H A DDrawingBufferChromium.cpp131 unsigned parentTexture = m_internal->platformLayer->textureId();
H A DLayerRendererChromium.cpp491 unsigned textureId = 0; local
492 GLC(m_context.get(), textureId = m_context->createTexture());
493 GLC(m_context.get(), m_context->bindTexture(GraphicsContext3D::TEXTURE_2D, textureId));
500 return textureId;
503 void LayerRendererChromium::deleteLayerTexture(unsigned textureId) argument
505 if (!textureId)
508 GLC(m_context.get(), m_context->deleteTexture(textureId));
H A DPluginLayerChromium.h44 void setTextureId(unsigned textureId);
45 unsigned textureId() const { return m_textureId; } function in class:WebCore::PluginLayerChromium
H A DTextureManager.cpp130 GLC(m_context.get(), m_context->deleteTexture(info.textureId));
148 unsigned textureId; local
149 GLC(m_context.get(), textureId = m_context->createTexture());
150 GLC(m_context.get(), m_context->bindTexture(GraphicsContext3D::TEXTURE_2D, textureId));
161 info.textureId = textureId;
164 return textureId;
H A DTextureManager.h64 unsigned textureId; member in struct:WebCore::TextureManager::TextureInfo
H A DVideoLayerChromium.cpp241 void VideoLayerChromium::allocateTexture(GraphicsContext3D* context, unsigned textureId, const IntSize& dimensions, unsigned textureFormat) const argument
243 GLC(context, context->bindTexture(GraphicsContext3D::TEXTURE_2D, textureId));
247 void VideoLayerChromium::updateTexture(GraphicsContext3D* context, unsigned textureId, const IntSize& dimensions, unsigned format, const void* data) const argument
250 GLC(context, context->bindTexture(GraphicsContext3D::TEXTURE_2D, textureId));
H A DVideoLayerChromium.h80 void allocateTexture(GraphicsContext3D*, unsigned textureId, const IntSize& dimensions, unsigned textureFormat) const;
82 void updateTexture(GraphicsContext3D*, unsigned textureId, const IntSize& dimensions, unsigned textureFormat, const void* data) const;
H A DWebGLLayerChromium.cpp105 unsigned int textureId = m_context->platformTexture(); local
106 if (textureId != m_textureId) {
110 m_textureId = textureId;
/external/webkit/Source/WebCore/platform/graphics/gpu/
H A DTexture.cpp99 int textureId = context->createTexture(); local
100 if (!textureId) {
105 textureIds->at(i) = textureId;
113 context->bindTexture(GraphicsContext3D::TEXTURE_2D, textureId);

Completed in 204 milliseconds