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

12 3 4

  /external/webkit/Source/WebCore/html/canvas/
WebGLTexture.cpp 45 , m_minFilter(GraphicsContext3D::NEAREST_MIPMAP_LINEAR)
46 , m_magFilter(GraphicsContext3D::LINEAR)
47 , m_wrapS(GraphicsContext3D::REPEAT)
48 , m_wrapT(GraphicsContext3D::REPEAT)
53 setObject(context()->graphicsContext3D()->createTexture());
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
    [all...]
WebGLProgram.cpp 46 setObject(context()->graphicsContext3D()->createProgram());
51 context()->graphicsContext3D()->deleteProgram(obj);
67 GraphicsContext3D* context3d = context()->graphicsContext3D();
74 context3d->getProgramiv(object(), GraphicsContext3D::ACTIVE_ATTRIBUTES, &numAttribs);
109 case GraphicsContext3D::VERTEX_SHADER:
111 case GraphicsContext3D::FRAGMENT_SHADER:
123 case GraphicsContext3D::VERTEX_SHADER:
128 case GraphicsContext3D::FRAGMENT_SHADER:
143 case GraphicsContext3D::VERTEX_SHADER
    [all...]
WebGLRenderbuffer.cpp 43 , m_internalFormat(GraphicsContext3D::RGBA4)
50 setObject(context()->graphicsContext3D()->createRenderbuffer());
55 context()->graphicsContext3D()->deleteRenderbuffer(object);
WebGLContextAttributes.cpp 40 PassRefPtr<WebGLContextAttributes> WebGLContextAttributes::create(GraphicsContext3D::Attributes attributes)
50 WebGLContextAttributes::WebGLContextAttributes(GraphicsContext3D::Attributes attributes)
120 GraphicsContext3D::Attributes WebGLContextAttributes::attributes() const
  /external/webkit/Source/WebCore/platform/graphics/gpu/
Texture.cpp 39 #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::MAX_TEXTURE_SIZE, &maxTextureSize)
    [all...]
Texture.h 42 class GraphicsContext3D;
50 static PassRefPtr<Texture> create(GraphicsContext3D*, Format, int width, int height);
57 Texture(GraphicsContext3D*, PassOwnPtr<Vector<unsigned int> > tileTextureIds, Format format, int width, int height, int maxTextureSize);
58 GraphicsContext3D* m_context;
LoopBlinnShader.cpp 30 #include "GraphicsContext3D.h"
34 LoopBlinnShader::LoopBlinnShader(GraphicsContext3D* context, unsigned program)
50 m_context->vertexAttribPointer(m_positionLocation, 2, GraphicsContext3D::FLOAT, false, 0, vertexOffset);
54 m_context->vertexAttribPointer(m_klmLocation, 3, GraphicsContext3D::FLOAT, false, 0, klmOffset);
SharedGraphicsContext3D.cpp 66 GraphicsContext3D::Attributes attr;
71 RefPtr<GraphicsContext3D> context = GraphicsContext3D::create(attr, hostWindow);
92 SharedGraphicsContext3D::SharedGraphicsContext3D(PassRefPtr<GraphicsContext3D> context, PassOwnPtr<SolidFillShader> solidFillShader, PassOwnPtr<TexShader> texShader, PassOwnPtr<BicubicShader> bicubicShader, PassOwnArrayPtr<OwnPtr<ConvolutionShader> > convolutionShaders)
284 m_context->enable(GraphicsContext3D::BLEND);
285 m_context->blendFunc(GraphicsContext3D::ZERO, GraphicsContext3D::ZERO);
288 m_context->disable(GraphicsContext3D::BLEND);
291 m_context->enable(GraphicsContext3D::BLEND);
292 m_context->blendFunc(GraphicsContext3D::ONE, GraphicsContext3D::ONE_MINUS_SRC_ALPHA)
    [all...]
DrawingBuffer.h 34 #include "GraphicsContext3D.h"
60 friend class GraphicsContext3D;
111 PassRefPtr<GraphicsContext3D> graphicsContext3D() const { return m_context; }
114 static PassRefPtr<DrawingBuffer> create(GraphicsContext3D*, const IntSize&);
116 DrawingBuffer(GraphicsContext3D*, const IntSize&, bool multisampleExtensionSupported, bool packedDepthStencilExtensionSupported);
121 RefPtr<GraphicsContext3D> m_context;
LoopBlinnSolidFillShader.cpp 31 #include "GraphicsContext3D.h"
35 PassOwnPtr<LoopBlinnSolidFillShader> LoopBlinnSolidFillShader::create(GraphicsContext3D* context,
48 LoopBlinnSolidFillShader::LoopBlinnSolidFillShader(GraphicsContext3D* context, unsigned program)
  /external/webkit/Source/WebCore/platform/graphics/chromium/
ShaderChromium.h 39 class GraphicsContext3D;
45 bool init(GraphicsContext3D*, unsigned program);
58 bool init(GraphicsContext3D*, unsigned program);
75 bool init(GraphicsContext3D*, unsigned program);
88 bool init(GraphicsContext3D*, unsigned program);
103 bool init(GraphicsContext3D*, unsigned program);
132 bool init(GraphicsContext3D*, unsigned program);
154 bool init(GraphicsContext3D*, unsigned program);
177 bool init(GraphicsContext3D*, unsigned program);
LayerTexture.h 38 class GraphicsContext3D;
44 static PassOwnPtr<LayerTexture> create(GraphicsContext3D* context, TextureManager* manager)
62 LayerTexture(GraphicsContext3D*, TextureManager*);
64 RefPtr<GraphicsContext3D> m_context;
ProgramBinding.h 35 class GraphicsContext3D;
39 explicit ProgramBindingBase(GraphicsContext3D*);
52 GraphicsContext3D* m_context;
60 explicit ProgramBinding(GraphicsContext3D* context)
LayerTexture.cpp 31 #include "GraphicsContext3D.h"
36 LayerTexture::LayerTexture(GraphicsContext3D* context, TextureManager* manager)
77 m_context->bindTexture(GraphicsContext3D::TEXTURE_2D, m_textureId);
82 m_context->framebufferTexture2D(GraphicsContext3D::FRAMEBUFFER, GraphicsContext3D::COLOR_ATTACHMENT0, GraphicsContext3D::TEXTURE_2D, m_textureId, 0);
VideoLayerChromium.h 79 bool allocateTexturesIfNeeded(GraphicsContext3D*, const VideoFrameChromium*, unsigned textureFormat);
80 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;
VideoLayerChromium.cpp 37 #include "GraphicsContext3D.h"
80 GraphicsContext3D* context = layerRendererContext();
118 if (textureFormat == GraphicsContext3D::INVALID_VALUE) {
139 GraphicsContext3D* context = layerRendererContext();
177 return GraphicsContext3D::LUMINANCE;
179 return GraphicsContext3D::RGBA;
183 return GraphicsContext3D::INVALID_VALUE;
186 bool VideoLayerChromium::allocateTexturesIfNeeded(GraphicsContext3D* context, const VideoFrameChromium* frame, unsigned textureFormat)
241 void VideoLayerChromium::allocateTexture(GraphicsContext3D* context, unsigned textureId, const IntSize& dimensions, unsigned textureFormat) const
243 GLC(context, context->bindTexture(GraphicsContext3D::TEXTURE_2D, textureId))
    [all...]
TextureManager.cpp 41 TextureManager::TextureManager(GraphicsContext3D* context, size_t memoryLimitBytes, int maxTextureSize)
150 GLC(m_context.get(), m_context->bindTexture(GraphicsContext3D::TEXTURE_2D, textureId));
152 GLC(m_context.get(), m_context->texParameteri(GraphicsContext3D::TEXTURE_2D, GraphicsContext3D::TEXTURE_MIN_FILTER, GraphicsContext3D::LINEAR));
153 GLC(m_context.get(), m_context->texParameteri(GraphicsContext3D::TEXTURE_2D, GraphicsContext3D::TEXTURE_MAG_FILTER, GraphicsContext3D::LINEAR));
154 // NPOT textures in GL ES only work when the wrap mode is set to GraphicsContext3D::CLAMP_TO_EDGE.
155 GLC(m_context.get(), m_context->texParameteri(GraphicsContext3D::TEXTURE_2D, GraphicsContext3D::TEXTURE_WRAP_S, GraphicsContext3D::CLAMP_TO_EDGE))
    [all...]
ProgramBinding.cpp 34 #include "GraphicsContext3D.h"
39 ProgramBindingBase::ProgramBindingBase(GraphicsContext3D* context)
71 GLC(m_context, m_context->getShaderiv(shader, GraphicsContext3D::COMPILE_STATUS, &compiled));
81 unsigned vertexShader = loadShader(GraphicsContext3D::VERTEX_SHADER, vertexShaderSource);
87 unsigned fragmentShader = loadShader(GraphicsContext3D::FRAGMENT_SHADER, fragmentShaderSource);
109 GLC(m_context, m_context->getProgramiv(programObject, GraphicsContext3D::LINK_STATUS, &linked));
GLES2Canvas.cpp 38 #include "GraphicsContext3D.h"
215 m_context->graphicsContext3D()->deleteBuffer(m_pathIndexBuffer);
217 m_context->graphicsContext3D()->deleteBuffer(m_pathVertexBuffer);
252 m_context->enable(GraphicsContext3D::SCISSOR_TEST);
254 m_context->clear(GraphicsContext3D::COLOR_BUFFER_BIT);
255 m_context->disable(GraphicsContext3D::SCISSOR_TEST);
296 m_context->drawArrays(GraphicsContext3D::TRIANGLE_STRIP, 0, 4);
358 beginStencilDraw(GraphicsContext3D::INCR);
382 beginStencilDraw(GraphicsContext3D::DECR);
401 m_context->setActiveTexture(GraphicsContext3D::TEXTURE0)
    [all...]
  /external/webkit/Source/WebCore/platform/graphics/opengl/
Extensions3DOpenGL.h 31 #include "GraphicsContext3D.h"
55 // This class only needs to be instantiated by GraphicsContext3D implementations.
56 friend class GraphicsContext3D;
57 Extensions3DOpenGL(GraphicsContext3D*);
62 // Weak pointer back to GraphicsContext3D
63 GraphicsContext3D* m_context;
GraphicsContext3DOpenGL.cpp 30 #include "GraphicsContext3D.h"
57 void GraphicsContext3D::validateAttributes()
81 void GraphicsContext3D::readRenderingResults(unsigned char *pixels, int pixelsSize)
119 void GraphicsContext3D::paintRenderingResultsToCanvas(CanvasRenderingContext* context)
146 PassRefPtr<ImageData> GraphicsContext3D::paintRenderingResultsToImageData()
166 void GraphicsContext3D::reshape(int width, int height)
190 // See GraphicsContext3D::validateAttributes.
320 IntSize GraphicsContext3D::getInternalFramebufferSize()
325 void GraphicsContext3D::prepareTexture()
346 void GraphicsContext3D::activeTexture(GC3Denum texture
    [all...]
  /external/webkit/Source/WebCore/platform/graphics/chromium/cc/
CCCanvasLayerImpl.cpp 33 #include "GraphicsContext3D.h"
55 GraphicsContext3D* context = layerRenderer()->context();
56 GLC(context, context->activeTexture(GraphicsContext3D::TEXTURE0));
57 GLC(context, context->bindTexture(GraphicsContext3D::TEXTURE_2D, m_textureId));
58 GC3Denum sfactor = m_premultipliedAlpha ? GraphicsContext3D::ONE : GraphicsContext3D::SRC_ALPHA;
59 GLC(context, context->blendFunc(sfactor, GraphicsContext3D::ONE_MINUS_SRC_ALPHA));
  /external/webkit/Source/WebCore/platform/graphics/mac/
GraphicsContext3DMac.mm 30 #include "GraphicsContext3D.h"
81 PassRefPtr<GraphicsContext3D> GraphicsContext3D::create(GraphicsContext3D::Attributes attrs, HostWindow* hostWindow, GraphicsContext3D::RenderStyle renderStyle)
86 RefPtr<GraphicsContext3D> context = adoptRef(new GraphicsContext3D(attrs, hostWindow, false));
90 GraphicsContext3D::GraphicsContext3D(GraphicsContext3D::Attributes attrs, HostWindow* hostWindow, bool
    [all...]
  /external/webkit/Source/WebCore/platform/graphics/qt/
GraphicsContext3DQt.cpp 21 #include "GraphicsContext3D.h"
158 GraphicsContext3DInternal(GraphicsContext3D::Attributes attrs, HostWindow* hostWindow);
259 GraphicsContext3D::Attributes m_attrs;
285 bool GraphicsContext3D::isGLES2Compliant() const
294 GraphicsContext3DInternal::GraphicsContext3DInternal(GraphicsContext3D::Attributes attrs, HostWindow* hostWindow)
314 LOG_ERROR("GraphicsContext3D: QGLWidget initialization failed.");
424 LOG_ERROR("GraphicsContext3D: All needed OpenGL extensions are not available");
432 glBindTexture(GraphicsContext3D::TEXTURE_2D, m_texture);
433 glTexParameterf(GraphicsContext3D::TEXTURE_2D, GraphicsContext3D::TEXTURE_MAG_FILTER, GraphicsContext3D::LINEAR)
    [all...]
Extensions3DQt.h 50 // This class only needs to be instantiated by GraphicsContext3D implementations.
51 friend class GraphicsContext3D;

Completed in 841 milliseconds

12 3 4