Home | History | Annotate | Download | only in chromium

Lines Matching refs:GraphicsContext3D

38 #include "GraphicsContext3D.h"
59 layerRenderer()->removeChildContext(m_drawingBuffer->graphicsContext3D().get());
67 GraphicsContext3D* context = layerRendererContext();
71 context->activeTexture(GraphicsContext3D::TEXTURE0);
72 context->bindTexture(GraphicsContext3D::TEXTURE_2D, m_textureId);
74 context->texImage2DResourceSafe(GraphicsContext3D::TEXTURE_2D, 0, GraphicsContext3D::RGBA, size.width(), size.height(), 0, GraphicsContext3D::RGBA, GraphicsContext3D::UNSIGNED_BYTE);
75 // Set the min-mag filters to linear and wrap modes to GraphicsContext3D::CLAMP_TO_EDGE
77 context->texParameteri(GraphicsContext3D::TEXTURE_2D, GraphicsContext3D::TEXTURE_MIN_FILTER, GraphicsContext3D::LINEAR);
78 context->texParameteri(GraphicsContext3D::TEXTURE_2D, GraphicsContext3D::TEXTURE_MAG_FILTER, GraphicsContext3D::LINEAR);
79 context->texParameteri(GraphicsContext3D::TEXTURE_2D, GraphicsContext3D::TEXTURE_WRAP_S, GraphicsContext3D::CLAMP_TO_EDGE);
80 context->texParameteri(GraphicsContext3D::TEXTURE_2D, GraphicsContext3D::TEXTURE_WRAP_T, GraphicsContext3D::CLAMP_TO_EDGE);
110 layerRenderer()->removeChildContext(m_drawingBuffer->graphicsContext3D().get());
116 layerRenderer()->addChildContext(m_drawingBuffer->graphicsContext3D().get());
123 if (m_drawingBuffer->graphicsContext3D()) {
125 layerRenderer()->removeChildContext(m_drawingBuffer->graphicsContext3D().get());
127 newLayerRenderer->addChildContext(m_drawingBuffer->graphicsContext3D().get());