HomeSort by relevance Sort by last modified time
    Searched refs:GraphicsContext3D (Results 1 - 25 of 90) sorted by null

1 2 3 4

  /external/webkit/Source/WebCore/platform/graphics/chromium/
GeometryBinding.h 35 class GraphicsContext3D;
39 explicit GeometryBinding(GraphicsContext3D*);
44 GraphicsContext3D* context() const { return m_context; }
57 GraphicsContext3D* m_context;
WebGLLayerChromium.cpp 37 #include "GraphicsContext3D.h"
65 GraphicsContext3D* rendererContext = layerRendererContext();
68 rendererContext->bindTexture(GraphicsContext3D::TEXTURE_2D, m_textureId);
71 rendererContext->texParameteri(GraphicsContext3D::TEXTURE_2D, GraphicsContext3D::TEXTURE_MIN_FILTER, GraphicsContext3D::LINEAR);
72 rendererContext->texParameteri(GraphicsContext3D::TEXTURE_2D, GraphicsContext3D::TEXTURE_MAG_FILTER, GraphicsContext3D::LINEAR);
73 rendererContext->texParameteri(GraphicsContext3D::TEXTURE_2D, GraphicsContext3D::TEXTURE_WRAP_S, GraphicsContext3D::CLAMP_TO_EDGE)
    [all...]
WebGLLayerChromium.h 41 class GraphicsContext3D;
54 void setContext(const GraphicsContext3D* context);
63 GraphicsContext3D* m_context;
Canvas2DLayerChromium.cpp 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_EDG
    [all...]
DrawingBufferChromium.cpp 36 #include "GraphicsContext3D.h"
56 static unsigned generateColorTexture(GraphicsContext3D* context, const IntSize& size)
62 context->bindTexture(GraphicsContext3D::TEXTURE_2D, offscreenColorTexture);
63 context->texParameteri(GraphicsContext3D::TEXTURE_2D, GraphicsContext3D::TEXTURE_MAG_FILTER, GraphicsContext3D::NEAREST);
64 context->texParameteri(GraphicsContext3D::TEXTURE_2D, GraphicsContext3D::TEXTURE_MIN_FILTER, GraphicsContext3D::NEAREST);
65 context->texParameteri(GraphicsContext3D::TEXTURE_2D, GraphicsContext3D::TEXTURE_WRAP_S, GraphicsContext3D::CLAMP_TO_EDGE)
    [all...]
GeometryBinding.cpp 33 #include "GraphicsContext3D.h"
38 GeometryBinding::GeometryBinding(GraphicsContext3D* context)
54 GLC(m_context, m_context->bindBuffer(GraphicsContext3D::ARRAY_BUFFER, m_quadVerticesVbo));
55 GLC(m_context, m_context->bufferData(GraphicsContext3D::ARRAY_BUFFER, sizeof(vertices), vertices, GraphicsContext3D::STATIC_DRAW));
56 GLC(m_context, m_context->bindBuffer(GraphicsContext3D::ELEMENT_ARRAY_BUFFER, m_quadElementsVbo));
57 GLC(m_context, m_context->bufferData(GraphicsContext3D::ELEMENT_ARRAY_BUFFER, sizeof(indices), indices, GraphicsContext3D::STATIC_DRAW));
70 GLC(m_context, m_context->bindBuffer(GraphicsContext3D::ARRAY_BUFFER, quadVerticesVbo()));
71 GLC(m_context, m_context->bindBuffer(GraphicsContext3D::ELEMENT_ARRAY_BUFFER, quadElementsVbo()))
    [all...]
  /external/webkit/Source/WebCore/platform/graphics/gpu/qt/
DrawingBufferQt.cpp 34 DrawingBuffer::DrawingBuffer(GraphicsContext3D* context,
58 context->bindTexture(GraphicsContext3D::TEXTURE_2D, m_colorBuffer);
59 context->texParameterf(GraphicsContext3D::TEXTURE_2D, GraphicsContext3D::TEXTURE_MAG_FILTER, GraphicsContext3D::LINEAR);
60 context->texParameterf(GraphicsContext3D::TEXTURE_2D, GraphicsContext3D::TEXTURE_MIN_FILTER, GraphicsContext3D::LINEAR);
61 context->texParameteri(GraphicsContext3D::TEXTURE_2D, GraphicsContext3D::TEXTURE_WRAP_S, GraphicsContext3D::CLAMP_TO_EDGE)
    [all...]
  /external/webkit/Source/WebCore/platform/graphics/gtk/
DrawingBufferGtk.cpp 36 DrawingBuffer::DrawingBuffer(GraphicsContext3D* context,
58 context->bindTexture(GraphicsContext3D::TEXTURE_2D, m_colorBuffer);
59 context->texParameterf(GraphicsContext3D::TEXTURE_2D, GraphicsContext3D::TEXTURE_MAG_FILTER, GraphicsContext3D::LINEAR);
60 context->texParameterf(GraphicsContext3D::TEXTURE_2D, GraphicsContext3D::TEXTURE_MIN_FILTER, GraphicsContext3D::LINEAR);
61 context->texParameteri(GraphicsContext3D::TEXTURE_2D, GraphicsContext3D::TEXTURE_WRAP_S, GraphicsContext3D::CLAMP_TO_EDGE)
    [all...]
GraphicsContext3DInternal.h 31 class GraphicsContext3D;
40 friend class GraphicsContext3D;
46 static void addActiveGraphicsContext(GraphicsContext3D*);
47 static void removeActiveGraphicsContext(GraphicsContext3D*);
GraphicsContext3DGtk.cpp 28 #include "GraphicsContext3D.h"
40 PassRefPtr<GraphicsContext3D> GraphicsContext3D::create(GraphicsContext3D::Attributes attributes, HostWindow* hostWindow, GraphicsContext3D::RenderStyle renderStyle)
50 RefPtr<GraphicsContext3D> context = adoptRef(new GraphicsContext3D(attributes, hostWindow, false));
55 GraphicsContext3D::GraphicsContext3D(GraphicsContext3D::Attributes attributes, HostWindow*, bool
    [all...]
  /external/webkit/Source/WebCore/platform/graphics/gpu/
DrawingBuffer.cpp 41 PassRefPtr<DrawingBuffer> DrawingBuffer::create(GraphicsContext3D* context, const IntSize& size)
87 m_context->bindFramebuffer(GraphicsContext3D::FRAMEBUFFER, m_multisampleFBO);
92 m_context->bindFramebuffer(GraphicsContext3D::FRAMEBUFFER, m_fbo);
104 m_context->bindFramebuffer(GraphicsContext3D::FRAMEBUFFER, m_multisampleFBO);
111 const GraphicsContext3D::Attributes& attributes = m_context->getContextAttributes();
115 m_context->bindRenderbuffer(GraphicsContext3D::RENDERBUFFER, m_depthStencilBuffer);
117 m_context->getExtensions()->renderbufferStorageMultisample(GraphicsContext3D::RENDERBUFFER, sampleCount, Extensions3D::DEPTH24_STENCIL8, m_size.width(), m_size.height());
119 m_context->renderbufferStorage(GraphicsContext3D::RENDERBUFFER, Extensions3D::DEPTH24_STENCIL8, m_size.width(), m_size.height());
120 m_context->framebufferRenderbuffer(GraphicsContext3D::FRAMEBUFFER, GraphicsContext3D::STENCIL_ATTACHMENT, GraphicsContext3D::RENDERBUFFER, m_depthStencilBuffer)
    [all...]
LoopBlinnShader.h 33 class GraphicsContext3D;
43 LoopBlinnShader(GraphicsContext3D*, unsigned program);
LoopBlinnSolidFillShader.h 33 class GraphicsContext3D;
37 static PassOwnPtr<LoopBlinnSolidFillShader> create(GraphicsContext3D*, Region, AntialiasType);
45 LoopBlinnSolidFillShader(GraphicsContext3D*, unsigned program);
BicubicShader.h 40 static PassOwnPtr<BicubicShader> create(GraphicsContext3D*);
45 BicubicShader(GraphicsContext3D*, unsigned program);
ConvolutionShader.h 40 static PassOwnPtr<ConvolutionShader> create(GraphicsContext3D*, int kernelWidth);
45 ConvolutionShader(GraphicsContext3D*, unsigned program, int kernelWidth);
SolidFillShader.h 40 static PassOwnPtr<SolidFillShader> create(GraphicsContext3D* context);
44 SolidFillShader(GraphicsContext3D* context, unsigned program);
TexShader.h 40 static PassOwnPtr<TexShader> create(GraphicsContext3D* context);
44 TexShader(GraphicsContext3D* context, unsigned program);
Shader.h 41 class GraphicsContext3D;
65 Shader(GraphicsContext3D*, unsigned program);
73 static unsigned loadShader(GraphicsContext3D*, unsigned type, const String& shaderSource);
74 static unsigned loadProgram(GraphicsContext3D*, const String& vertexShaderSource, const String& fragmentShaderSource);
76 GraphicsContext3D* m_context;
  /external/webkit/Source/WebCore/platform/graphics/mac/
WebGLLayer.h 35 class GraphicsContext3D;
41 WebCore::GraphicsContext3D* m_context;
44 - (id)initWithGraphicsContext3D:(WebCore::GraphicsContext3D*)context;
  /external/webkit/Source/WebCore/platform/graphics/gpu/mac/
DrawingBufferMac.mm 39 DrawingBuffer::DrawingBuffer(GraphicsContext3D* context,
71 context->bindTexture(GraphicsContext3D::TEXTURE_2D, m_colorBuffer);
72 context->texParameterf(GraphicsContext3D::TEXTURE_2D, GraphicsContext3D::TEXTURE_MAG_FILTER, GraphicsContext3D::LINEAR);
73 context->texParameterf(GraphicsContext3D::TEXTURE_2D, GraphicsContext3D::TEXTURE_MIN_FILTER, GraphicsContext3D::LINEAR);
74 context->texParameteri(GraphicsContext3D::TEXTURE_2D, GraphicsContext3D::TEXTURE_WRAP_S, GraphicsContext3D::CLAMP_TO_EDGE)
    [all...]
  /external/webkit/Source/WebCore/platform/graphics/chromium/cc/
CCPluginLayerImpl.cpp 32 #include "GraphicsContext3D.h"
54 GraphicsContext3D* context = layerRenderer()->context();
55 GLC(context, context->activeTexture(GraphicsContext3D::TEXTURE0));
56 GLC(context, context->bindTexture(GraphicsContext3D::TEXTURE_2D, m_textureId));
60 GLC(context, context->texParameteri(GraphicsContext3D::TEXTURE_2D, GraphicsContext3D::TEXTURE_MIN_FILTER, GraphicsContext3D::LINEAR));
61 GLC(context, context->texParameteri(GraphicsContext3D::TEXTURE_2D, GraphicsContext3D::TEXTURE_MAG_FILTER, GraphicsContext3D::LINEAR))
    [all...]
  /external/webkit/Source/WebCore/html/canvas/
WebGLFramebuffer.cpp 82 setObject(context()->graphicsContext3D()->createFramebuffer());
92 case GraphicsContext3D::COLOR_ATTACHMENT0:
99 case GraphicsContext3D::DEPTH_ATTACHMENT:
102 case GraphicsContext3D::STENCIL_ATTACHMENT:
105 case GraphicsContext3D::DEPTH_STENCIL_ATTACHMENT:
120 case GraphicsContext3D::COLOR_ATTACHMENT0:
123 case GraphicsContext3D::DEPTH_ATTACHMENT:
126 case GraphicsContext3D::STENCIL_ATTACHMENT:
129 case GraphicsContext3D::DEPTH_STENCIL_ATTACHMENT:
142 case GraphicsContext3D::COLOR_ATTACHMENT0
    [all...]
WebGLContextAttributes.h 31 #include "GraphicsContext3D.h"
44 static PassRefPtr<WebGLContextAttributes> create(GraphicsContext3D::Attributes attributes);
74 // form that can be used to initialize a GraphicsContext3D.
75 GraphicsContext3D::Attributes attributes() const;
79 WebGLContextAttributes(GraphicsContext3D::Attributes attributes);
82 GraphicsContext3D::Attributes m_attrs;
WebGLRenderingContext.cpp 350 class WebGLRenderingContextLostCallback : public GraphicsContext3D::ContextLostCallback {
362 GraphicsContext3D::Attributes attributes = attrs ? attrs->attributes() : GraphicsContext3D::Attributes();
370 RefPtr<GraphicsContext3D> context(GraphicsContext3D::create(attributes, hostWindow));
380 WebGLRenderingContext::WebGLRenderingContext(HTMLCanvasElement* passedCanvas, PassRefPtr<GraphicsContext3D> context,
381 GraphicsContext3D::Attributes attributes)
404 m_unpackColorspaceConversion = GraphicsContext3D::BROWSER_DEFAULT_WEBGL;
424 m_context->getIntegerv(GraphicsContext3D::MAX_COMBINED_TEXTURE_IMAGE_UNITS, &numCombinedTextureImageUnits);
429 m_context->getIntegerv(GraphicsContext3D::MAX_VERTEX_ATTRIBS, &numVertexAttribs)
    [all...]
  /external/webkit/Source/WebCore/platform/graphics/cg/
GraphicsContext3DCG.cpp 31 #include "GraphicsContext3D.h"
65 static GraphicsContext3D::SourceDataFormat getSourceDataFormat(unsigned int componentsPerPixel, AlphaFormat alphaFormat, bool is16BitFormat, bool bigEndian)
74 const static GraphicsContext3D::SourceDataFormat formatTable[SourceFormatBaseNumFormats][4] = { // SourceDataFormatBase x bitsPerComponent x endian
76 { GraphicsContext3D::SourceFormatR8, GraphicsContext3D::SourceFormatR8, GraphicsContext3D::SourceFormatR16Little, GraphicsContext3D::SourceFormatR16Big },
77 { GraphicsContext3D::SourceFormatA8, GraphicsContext3D::SourceFormatA8, GraphicsContext3D::SourceFormatA16Little, GraphicsContext3D::SourceFormatA16Big }
    [all...]

Completed in 271 milliseconds

1 2 3 4