Home
last modified time | relevance | path

Searched refs:layerRenderer (Results 1 – 23 of 23) sorted by relevance

/external/webkit/Source/WebCore/platform/graphics/chromium/
DRenderSurfaceChromium.cpp59 ASSERT(layerRenderer()); in cleanupResources()
64 LayerRendererChromium* RenderSurfaceChromium::layerRenderer() in layerRenderer() function in WebCore::RenderSurfaceChromium
67 return m_owningLayer->layerRenderer(); in layerRenderer()
84 TextureManager* textureManager = layerRenderer()->textureManager(); in prepareContentsTexture()
87 m_contentsTexture = LayerTexture::create(layerRenderer()->context(), textureManager); in prepareContentsTexture()
103 GraphicsContext3D* context3D = layerRenderer()->context(); in drawSurface()
107 const RenderSurfaceChromium::Program* program = layerRenderer()->renderSurfaceProgram(); in drawSurface()
108 …const RenderSurfaceChromium::MaskProgram* maskProgram = layerRenderer()->renderSurfaceMaskProgram(… in drawSurface()
114 layerRenderer()->useShader(maskProgram->program()); in drawSurface()
129 layerRenderer()->useShader(program->program()); in drawSurface()
[all …]
DCanvas2DLayerChromium.cpp58 if (m_drawingBuffer && layerRenderer()) in ~Canvas2DLayerChromium()
59 layerRenderer()->removeChildContext(m_drawingBuffer->graphicsContext3D().get()); in ~Canvas2DLayerChromium()
109 if (m_drawingBuffer && layerRenderer()) in setDrawingBuffer()
110 layerRenderer()->removeChildContext(m_drawingBuffer->graphicsContext3D().get()); in setDrawingBuffer()
115 if (drawingBuffer && layerRenderer()) in setDrawingBuffer()
116 layerRenderer()->addChildContext(m_drawingBuffer->graphicsContext3D().get()); in setDrawingBuffer()
122 if (layerRenderer() != newLayerRenderer) { in setLayerRenderer()
124 if (layerRenderer()) in setLayerRenderer()
125 layerRenderer()->removeChildContext(m_drawingBuffer->graphicsContext3D().get()); in setLayerRenderer()
DWebGLLayerChromium.cpp56 if (m_context && layerRenderer()) in ~WebGLLayerChromium()
57 layerRenderer()->removeChildContext(m_context); in ~WebGLLayerChromium()
96 if (m_context != context && layerRenderer()) { in setContext()
98 layerRenderer()->removeChildContext(m_context); in setContext()
100 layerRenderer()->addChildContext(const_cast<GraphicsContext3D*>(context)); in setContext()
116 if (layerRenderer() != newLayerRenderer) { in setLayerRenderer()
118 if (layerRenderer()) in setLayerRenderer()
119 layerRenderer()->removeChildContext(m_context); in setLayerRenderer()
DLayerTilerChromium.cpp47 PassOwnPtr<LayerTilerChromium> LayerTilerChromium::create(LayerRendererChromium* layerRenderer, con… in create() argument
49 if (!layerRenderer || tileSize.isEmpty()) in create()
52 return adoptPtr(new LayerTilerChromium(layerRenderer, tileSize, border)); in create()
55 LayerTilerChromium::LayerTilerChromium(LayerRendererChromium* layerRenderer, const IntSize& tileSiz… in LayerTilerChromium() argument
58 , m_layerRenderer(layerRenderer) in LayerTilerChromium()
63 void LayerTilerChromium::setLayerRenderer(LayerRendererChromium* layerRenderer) in setLayerRenderer() argument
65 if (m_layerRenderer != layerRenderer) in setLayerRenderer()
67 m_layerRenderer = layerRenderer; in setLayerRenderer()
77 ASSERT(layerRenderer()); in layerRendererContext()
78 return layerRenderer()->context(); in layerRendererContext()
[all …]
DContentLayerChromium.cpp93 ASSERT(layerRenderer()); in paintContentsIfDirty()
112 void ContentLayerChromium::setLayerRenderer(LayerRendererChromium* layerRenderer) in setLayerRenderer() argument
114 LayerChromium::setLayerRenderer(layerRenderer); in setLayerRenderer()
116 m_tiler->setLayerRenderer(layerRenderer); in setLayerRenderer()
195 …m_tiler = LayerTilerChromium::create(layerRenderer(), IntSize(defaultTileSize, defaultTileSize), L… in createTilerIfNeeded()
DLayerChromium.cpp109 if (layerRenderer() && layerRenderer() != renderer) { in setLayerRenderer()
319 ASSERT(layerRenderer()); in layerRendererContext()
320 return layerRenderer()->context(); in layerRendererContext()
418 LayerRendererChromium* LayerChromium::layerRenderer() const in layerRenderer() function in WebCore::LayerChromium
DVideoLayerChromium.cpp77 if (!layerRenderer()) in deleteTexturesInUse()
197 if (!layerRenderer()->checkTextureSize(requiredTextureSize)) in allocateTexturesIfNeeded()
201 texture.id = layerRenderer()->createLayerTexture(); in allocateTexturesIfNeeded()
DRenderSurfaceChromium.h72 LayerRendererChromium* layerRenderer();
DImageLayerChromium.cpp73 ASSERT(layerRenderer()); in paintContentsIfDirty()
DLayerTilerChromium.h123 LayerRendererChromium* layerRenderer() const { return m_layerRenderer; } in layerRenderer() function
DLayerChromium.h186 LayerRendererChromium* layerRenderer() const;
DLayerRendererChromium.cpp101 …RefPtr<LayerRendererChromium> layerRenderer(adoptRef(new LayerRendererChromium(context, contentPai… in create() local
102 if (!layerRenderer->hardwareCompositing()) in create()
105 return layerRenderer.release(); in create()
/external/webkit/Source/WebCore/platform/graphics/chromium/cc/
DCCVideoLayerImpl.cpp83 ASSERT(layerRenderer()); in draw()
84 const RGBAProgram* rgbaProgram = layerRenderer()->videoLayerRGBAProgram(); in draw()
86 const YUVProgram* yuvProgram = layerRenderer()->videoLayerYUVProgram(); in draw()
106 GraphicsContext3D* context = layerRenderer()->context(); in drawYUV()
118 layerRenderer()->useShader(program->program()); in drawYUV()
133 LayerChromium::drawTexturedQuad(context, layerRenderer()->projectionMatrix(), drawTransform(), in drawYUV()
144 GraphicsContext3D* context = layerRenderer()->context(); in drawRGBA()
150 layerRenderer()->useShader(program->program()); in drawRGBA()
156 LayerChromium::drawTexturedQuad(context, layerRenderer()->projectionMatrix(), drawTransform(), in drawRGBA()
DCCCanvasLayerImpl.cpp52 ASSERT(layerRenderer()); in draw()
53 const CCCanvasLayerImpl::Program* program = layerRenderer()->canvasLayerProgram(); in draw()
55 GraphicsContext3D* context = layerRenderer()->context(); in draw()
60 layerRenderer()->useShader(program->program()); in draw()
62 LayerChromium::drawTexturedQuad(context, layerRenderer()->projectionMatrix(), drawTransform(), in draw()
DCCPluginLayerImpl.cpp51 ASSERT(layerRenderer()); in draw()
52 const CCPluginLayerImpl::Program* program = layerRenderer()->pluginLayerProgram(); in draw()
54 GraphicsContext3D* context = layerRenderer()->context(); in draw()
65 layerRenderer()->useShader(program->program()); in draw()
67 LayerChromium::drawTexturedQuad(context, layerRenderer()->projectionMatrix(), drawTransform(), in draw()
DCCLayerImpl.cpp173 ASSERT(layerRenderer()); in drawDebugBorder()
174 const LayerChromium::BorderProgram* program = layerRenderer()->borderProgram(); in drawDebugBorder()
176 layerRenderer()->useShader(program->program()); in drawDebugBorder()
179 toGLMatrix(&glMatrix[0], layerRenderer()->projectionMatrix() * renderMatrix); in drawDebugBorder()
180 GraphicsContext3D* context = layerRenderer()->context(); in drawDebugBorder()
DCCLayerImpl.h113 LayerRendererChromium* layerRenderer() const { return m_layerRenderer.get(); } in layerRenderer() function
/external/webkit/Source/WebCore/rendering/
DRenderBox.cpp1014 RenderBox* layerRenderer = 0; in repaintLayerRectsForImage() local
1020 if (!layerRenderer) { in repaintLayerRectsForImage()
1023 layerRenderer = view(); in repaintLayerRectsForImage()
1028 if (FrameView* frameView = toRenderView(layerRenderer)->frameView()) { in repaintLayerRectsForImage()
1032 rw = layerRenderer->width(); in repaintLayerRectsForImage()
1033 rh = layerRenderer->height(); in repaintLayerRectsForImage()
1035 rendererRect = IntRect(-layerRenderer->marginLeft(), in repaintLayerRectsForImage()
1036 -layerRenderer->marginTop(), in repaintLayerRectsForImage()
1037 …max(layerRenderer->width() + layerRenderer->marginLeft() + layerRenderer->marginRight() + layerRen… in repaintLayerRectsForImage()
1038 …max(layerRenderer->height() + layerRenderer->marginTop() + layerRenderer->marginBottom() + layerRe… in repaintLayerRectsForImage()
[all …]
/external/webkit/Source/WebKit/chromium/src/
DWebMediaPlayerClientImpl.cpp525 return m_videoLayer.get() && m_videoLayer->layerRenderer(); in acceleratedRenderingInUse()
DWebViewImpl.cpp2438 …RefPtr<LayerRendererChromium> layerRenderer = LayerRendererChromium::create(newContext, WebViewImp… in reallocateRenderer() local
2441 if (layerRenderer) { in reallocateRenderer()
2442 m_layerRenderer->transferRootLayer(layerRenderer.get()); in reallocateRenderer()
2443 m_layerRenderer = layerRenderer; in reallocateRenderer()
/external/webkit/Source/WebCore/
DChangeLog37047 (WebCore::LayerChromium::layerRenderer):
59722 (WebCore::LayerChromium::layerRenderer):
59768 (WebCore::CCLayerImpl::layerRenderer):
DChangeLog-2010-12-0612364 (WebCore::LayerChromium::layerRenderer):
12384 (WebCore::RenderSurfaceChromium::layerRenderer):
45551 (WebCore::LayerChromium::layerRenderer):
75029 (WebCore::LayerChromium::layerRenderer):
DChangeLog-2011-02-1636980 (WebCore::LayerTilerChromium::layerRenderer):