Searched refs:GraphicsContext3D (Results 1 - 25 of 90) sorted by relevance

1234

/external/webkit/Source/WebCore/platform/graphics/gpu/qt/
H A DDrawingBufferQt.cpp34 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
[all...]
/external/webkit/Source/WebCore/platform/graphics/gtk/
H A DDrawingBufferGtk.cpp36 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
[all...]
H A DGraphicsContext3DGtk.cpp28 #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 function in class:WebCore::GraphicsContext3D
[all...]
H A DGraphicsContext3DInternal.h31 class GraphicsContext3D;
40 friend class GraphicsContext3D;
46 static void addActiveGraphicsContext(GraphicsContext3D*);
47 static void removeActiveGraphicsContext(GraphicsContext3D*);
/external/webkit/Source/WebCore/platform/graphics/gpu/
H A DDrawingBuffer.cpp41 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
[all...]
H A DLoopBlinnSolidFillShader.h33 class GraphicsContext3D;
37 static PassOwnPtr<LoopBlinnSolidFillShader> create(GraphicsContext3D*, Region, AntialiasType);
45 LoopBlinnSolidFillShader(GraphicsContext3D*, unsigned program);
H A DBicubicShader.h40 static PassOwnPtr<BicubicShader> create(GraphicsContext3D*);
45 BicubicShader(GraphicsContext3D*, unsigned program);
H A DLoopBlinnShader.h33 class GraphicsContext3D;
43 LoopBlinnShader(GraphicsContext3D*, unsigned program);
H A DSolidFillShader.h40 static PassOwnPtr<SolidFillShader> create(GraphicsContext3D* context);
44 SolidFillShader(GraphicsContext3D* context, unsigned program);
H A DTexShader.h40 static PassOwnPtr<TexShader> create(GraphicsContext3D* context);
44 TexShader(GraphicsContext3D* context, unsigned program);
H A DShader.h41 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;
H A DTexture.cpp39 #include "GraphicsContext3D.h"
50 Texture::Texture(GraphicsContext3D* context, PassOwnPtr<Vector<unsigned int> > tileTextureIds, Format format, int width, int height, int maxTextureSize)
64 static void convertFormat(GraphicsContext3D* context, Texture::Format format, unsigned int* glFormat, unsigned int* glType, bool* swizzle)
69 *glFormat = GraphicsContext3D::RGBA;
70 *glType = GraphicsContext3D::UNSIGNED_BYTE;
75 *glType = GraphicsContext3D::UNSIGNED_BYTE;
77 *glFormat = GraphicsContext3D::RGBA;
78 *glType = GraphicsContext3D::UNSIGNED_BYTE;
88 PassRefPtr<Texture> Texture::create(GraphicsContext3D* context, Format format, int width, int height)
91 context->getIntegerv(GraphicsContext3D
[all...]
/external/webkit/Source/WebCore/platform/graphics/chromium/
H A DWebGLLayerChromium.cpp37 #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
[all...]
H A DGeometryBinding.h35 class GraphicsContext3D;
39 explicit GeometryBinding(GraphicsContext3D*);
44 GraphicsContext3D* context() const { return m_context; }
57 GraphicsContext3D* m_context;
H A DCanvas2DLayerChromium.cpp38 #include "GraphicsContext3D.h"
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
[all...]
H A DDrawingBufferChromium.cpp36 #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
[all...]
H A DGeometryBinding.cpp33 #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
[all...]
/external/webkit/Source/WebCore/platform/graphics/gpu/mac/
H A DDrawingBufferMac.mm39 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
[all...]
/external/webkit/Source/WebCore/platform/graphics/chromium/cc/
H A DCCPluginLayerImpl.cpp32 #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
[all...]
/external/webkit/Source/WebCore/html/canvas/
H A DWebGLFramebuffer.cpp92 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:
144 case GraphicsContext3D
[all...]
H A DWebGLContextAttributes.h31 #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;
H A DWebGLRenderingContext.cpp350 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
[all...]
H A DWebGLTexture.cpp45 , m_minFilter(GraphicsContext3D::NEAREST_MIPMAP_LINEAR)
46 , m_magFilter(GraphicsContext3D::LINEAR)
47 , m_wrapS(GraphicsContext3D::REPEAT)
48 , m_wrapT(GraphicsContext3D::REPEAT)
64 case GraphicsContext3D::TEXTURE_2D:
69 case GraphicsContext3D::TEXTURE_CUBE_MAP:
83 case GraphicsContext3D::TEXTURE_MIN_FILTER:
85 case GraphicsContext3D::NEAREST:
86 case GraphicsContext3D::LINEAR:
87 case GraphicsContext3D
[all...]
/external/webkit/Source/WebCore/platform/graphics/mac/
H A DWebGLLayer.h35 class GraphicsContext3D;
41 WebCore::GraphicsContext3D* m_context;
44 - (id)initWithGraphicsContext3D:(WebCore::GraphicsContext3D*)context;
/external/webkit/Source/WebCore/platform/graphics/cg/
H A DGraphicsContext3DCG.cpp31 #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
[all...]

Completed in 1358 milliseconds

1234