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

1 2 3 4

  /external/chromium_org/third_party/WebKit/Source/core/platform/graphics/gpu/
SharedGraphicsContext3D.h 29 #include "core/platform/graphics/GraphicsContext3D.h"
42 static PassRefPtr<GraphicsContext3D> get();
DrawingBuffer.cpp 38 #include "core/platform/graphics/GraphicsContext3D.h"
62 ScopedTextureUnit0BindingRestorer(GraphicsContext3D* context, GC3Denum activeTextureUnit, Platform3DObject textureUnitZeroId)
67 m_context->activeTexture(GraphicsContext3D::TEXTURE0);
71 m_context->bindTexture(GraphicsContext3D::TEXTURE_2D, m_oldTextureUnitZeroId);
76 GraphicsContext3D* m_context;
81 PassRefPtr<DrawingBuffer> DrawingBuffer::create(GraphicsContext3D* context, const IntSize& size, PreserveDrawingBuffer preserve, PassRefPtr<ContextEvictionManager> contextEvictionManager)
100 DrawingBuffer::DrawingBuffer(GraphicsContext3D* context,
110 , m_activeTextureUnit(GraphicsContext3D::TEXTURE0)
163 GraphicsContext3D::AlphaOp op = needPremultiply ? GraphicsContext3D::AlphaDoPremultiply : GraphicsContext3D::AlphaDoNothing
    [all...]
SharedGraphicsContext3D.cpp 32 #include "core/platform/graphics/GraphicsContext3D.h"
44 PassRefPtr<GraphicsContext3D> getOrCreateContext()
65 m_context = GraphicsContext3D::createGraphicsContextFromProvider(provider.release());
76 RefPtr<GraphicsContext3D> m_context;
79 PassRefPtr<GraphicsContext3D> SharedGraphicsContext3D::get()
  /external/chromium_org/third_party/WebKit/Source/core/html/canvas/
WebGLObject.h 29 #include "core/platform/graphics/GraphicsContext3D.h"
35 class GraphicsContext3D;
48 void deleteObject(GraphicsContext3D*);
51 void onDetached(GraphicsContext3D*);
68 virtual void deleteObjectImpl(GraphicsContext3D*, Platform3DObject) = 0;
74 virtual GraphicsContext3D* getAGraphicsContext3D() const = 0;
WebGLDrawBuffers.cpp 38 context->graphicsContext3D()->getExtensions()->ensureEnabled("GL_EXT_draw_buffers");
58 Extensions3D* extensions = context->graphicsContext3D()->getExtensions();
76 m_context->synthesizeGLError(GraphicsContext3D::INVALID_VALUE, "drawBuffersWEBGL", "more than one buffer");
79 if (bufs[0] != GraphicsContext3D::BACK && bufs[0] != GraphicsContext3D::NONE) {
80 m_context->synthesizeGLError(GraphicsContext3D::INVALID_OPERATION, "drawBuffersWEBGL", "BACK or NONE");
84 GC3Denum value = (bufs[0] == GraphicsContext3D::BACK) ? GraphicsContext3D::COLOR_ATTACHMENT0 : GraphicsContext3D::NONE;
85 m_context->graphicsContext3D()->getExtensions()->drawBuffersEXT(1, &value)
    [all...]
WebGLFramebuffer.cpp 58 virtual void onDetached(GraphicsContext3D*);
59 virtual void attach(GraphicsContext3D*, GC3Denum attachment);
60 virtual void unattach(GraphicsContext3D*, GC3Denum attachment);
90 if (format == GraphicsContext3D::DEPTH_STENCIL
92 && m_renderbuffer->emulatedStencilBuffer()->getInternalFormat() != GraphicsContext3D::STENCIL_INDEX8) {
124 void WebGLRenderbufferAttachment::onDetached(GraphicsContext3D* context)
129 void WebGLRenderbufferAttachment::attach(GraphicsContext3D* context, GC3Denum attachment)
132 if (attachment == GraphicsContext3D::DEPTH_STENCIL_ATTACHMENT && m_renderbuffer->emulatedStencilBuffer()) {
133 context->framebufferRenderbuffer(GraphicsContext3D::FRAMEBUFFER, GraphicsContext3D::DEPTH_ATTACHMENT, GraphicsContext3D::RENDERBUFFER, object)
    [all...]
WebGLRenderingContext.cpp 457 GraphicsContext3D::Attributes adjustAttributes(const GraphicsContext3D::Attributes& attributes, Settings* settings)
459 GraphicsContext3D::Attributes adjustedAttributes = attributes;
469 class WebGLRenderingContextLostCallback : public GraphicsContext3D::ContextLostCallback {
479 class WebGLRenderingContextErrorMessageCallback : public GraphicsContext3D::ErrorMessageCallback {
509 GraphicsContext3D::Attributes requestedAttributes = attrs ? attrs->attributes() : GraphicsContext3D::Attributes();
515 GraphicsContext3D::Attributes attributes = adjustAttributes(requestedAttributes, settings);
517 RefPtr<GraphicsContext3D> context(GraphicsContext3D::create(attributes))
    [all...]
WebGLContextAttributes.h 32 #include "core/platform/graphics/GraphicsContext3D.h"
45 static PassRefPtr<WebGLContextAttributes> create(GraphicsContext3D::Attributes attributes);
75 // form that can be used to initialize a GraphicsContext3D.
76 GraphicsContext3D::Attributes attributes() const;
80 WebGLContextAttributes(GraphicsContext3D::Attributes attributes);
83 GraphicsContext3D::Attributes m_attrs;
WebGLTexture.cpp 42 , m_minFilter(GraphicsContext3D::NEAREST_MIPMAP_LINEAR)
43 , m_magFilter(GraphicsContext3D::LINEAR)
44 , m_wrapS(GraphicsContext3D::REPEAT)
45 , m_wrapT(GraphicsContext3D::REPEAT)
54 setObject(ctx->graphicsContext3D()->createTexture());
70 case GraphicsContext3D::TEXTURE_2D:
75 case GraphicsContext3D::TEXTURE_CUBE_MAP:
89 case GraphicsContext3D::TEXTURE_MIN_FILTER:
91 case GraphicsContext3D::NEAREST:
92 case GraphicsContext3D::LINEAR
    [all...]
WebGLContextObject.h 33 class GraphicsContext3D;
59 virtual GraphicsContext3D* getAGraphicsContext3D() const;
WebGLBuffer.cpp 44 setObject(ctx->graphicsContext3D()->createBuffer());
52 void WebGLBuffer::deleteObjectImpl(GraphicsContext3D* context3d, Platform3DObject object)
62 if (target == GraphicsContext3D::ARRAY_BUFFER || target == GraphicsContext3D::ELEMENT_ARRAY_BUFFER)
WebGLRenderbuffer.cpp 46 , m_internalFormat(GraphicsContext3D::RGBA4)
53 setObject(ctx->graphicsContext3D()->createRenderbuffer());
56 void WebGLRenderbuffer::deleteObjectImpl(GraphicsContext3D* context3d, Platform3DObject object)
62 void WebGLRenderbuffer::deleteEmulatedStencilBuffer(GraphicsContext3D* context3d)
WebGLProgram.cpp 46 setObject(ctx->graphicsContext3D()->createProgram());
54 void WebGLProgram::deleteObjectImpl(GraphicsContext3D* context3d, Platform3DObject obj)
112 case GraphicsContext3D::VERTEX_SHADER:
114 case GraphicsContext3D::FRAGMENT_SHADER:
126 case GraphicsContext3D::VERTEX_SHADER:
131 case GraphicsContext3D::FRAGMENT_SHADER:
146 case GraphicsContext3D::VERTEX_SHADER:
151 case GraphicsContext3D::FRAGMENT_SHADER:
161 void WebGLProgram::cacheActiveAttribLocations(GraphicsContext3D* context3d)
166 context3d->getProgramiv(object(), GraphicsContext3D::ACTIVE_ATTRIBUTES, &numAttribs)
    [all...]
WebGLContextGroup.h 36 class GraphicsContext3D;
54 GraphicsContext3D* getAGraphicsContext3D();
WebGLSharedObject.h 33 class GraphicsContext3D;
67 virtual GraphicsContext3D* getAGraphicsContext3D() const;
WebGLFramebuffer.h 59 virtual void onDetached(GraphicsContext3D*) = 0;
60 virtual void attach(GraphicsContext3D*, GC3Denum attachment) = 0;
61 virtual void unattach(GraphicsContext3D*, GC3Denum attachment) = 0;
89 bool onAccess(GraphicsContext3D*, const char** reason);
111 virtual void deleteObjectImpl(GraphicsContext3D*, Platform3DObject);
WebGLObject.cpp 50 void WebGLObject::deleteObject(GraphicsContext3D* context3d)
76 void WebGLObject::onDetached(GraphicsContext3D* context3d)
WebGLProgram.h 66 virtual void deleteObjectImpl(GraphicsContext3D*, Platform3DObject);
71 void cacheActiveAttribLocations(GraphicsContext3D*);
  /external/chromium_org/third_party/WebKit/Source/core/platform/graphics/
GraphicsContext3DImagePacking.cpp 28 #include "core/platform/graphics/GraphicsContext3D.h"
40 GraphicsContext3D::DataFormat getDataFormat(GC3Denum destinationFormat, GC3Denum destinationType)
42 GraphicsContext3D::DataFormat dstFormat = GraphicsContext3D::DataFormatRGBA8;
44 case GraphicsContext3D::UNSIGNED_BYTE:
46 case GraphicsContext3D::RGB:
47 dstFormat = GraphicsContext3D::DataFormatRGB8;
49 case GraphicsContext3D::RGBA:
50 dstFormat = GraphicsContext3D::DataFormatRGBA8;
52 case GraphicsContext3D::ALPHA
    [all...]
GraphicsContext3D.cpp 30 #include "core/platform/graphics/GraphicsContext3D.h"
68 void getDrawingParameters(DrawingBuffer* drawingBuffer, WebKit::WebGraphicsContext3D* graphicsContext3D,
77 *width = graphicsContext3D->width();
78 *height = graphicsContext3D->height();
84 GraphicsContext3D::GraphicsContext3D(PassOwnPtr<WebKit::WebGraphicsContext3D> webContext, bool preserveDrawingBuffer)
96 GraphicsContext3D::GraphicsContext3D(PassOwnPtr<WebKit::WebGraphicsContext3DProvider> provider, bool preserveDrawingBuffer)
108 GraphicsContext3D::~GraphicsContext3D()
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/platform/graphics/filters/custom/
FECustomFilter.cpp 37 #include "core/platform/graphics/GraphicsContext3D.h"
47 FECustomFilter::FECustomFilter(Filter* filter, PassRefPtr<GraphicsContext3D> context, PassRefPtr<CustomFilterValidatedProgram> validatedProgram, const CustomFilterParameterList& parameters,
65 PassRefPtr<FECustomFilter> FECustomFilter::create(Filter* filter, PassRefPtr<GraphicsContext3D> context, PassRefPtr<CustomFilterValidatedProgram> validatedProgram, const CustomFilterParameterList& parameters,
87 m_context->bindFramebuffer(GraphicsContext3D::FRAMEBUFFER, 0);
107 m_context->bindFramebuffer(GraphicsContext3D::FRAMEBUFFER, 0);
143 m_context->bindFramebuffer(GraphicsContext3D::FRAMEBUFFER, multisample ? m_multisampleFrameBuffer : m_frameBuffer);
147 m_context->clear(GraphicsContext3D::COLOR_BUFFER_BIT | GraphicsContext3D::DEPTH_BUFFER_BIT);
196 m_context->readPixels(0, 0, newContextSize.width(), newContextSize.height(), GraphicsContext3D::RGBA, GraphicsContext3D::UNSIGNED_BYTE, dstPixelArray->data())
    [all...]
CustomFilterMesh.cpp 32 #include "core/platform/graphics/GraphicsContext3D.h"
38 CustomFilterMesh::CustomFilterMesh(GraphicsContext3D* context, unsigned columns, unsigned rows,
53 m_context->bindBuffer(GraphicsContext3D::ARRAY_BUFFER, m_verticesBufferObject);
54 m_context->bufferData(GraphicsContext3D::ARRAY_BUFFER, generator.vertices().size() * sizeof(float), generator.vertices().data(), GraphicsContext3D::STATIC_DRAW);
57 m_context->bindBuffer(GraphicsContext3D::ELEMENT_ARRAY_BUFFER, m_elementsBufferObject);
58 m_context->bufferData(GraphicsContext3D::ELEMENT_ARRAY_BUFFER, generator.indices().size() * sizeof(uint16_t), generator.indices().data(), GraphicsContext3D::STATIC_DRAW);
CustomFilterGlobalContext.h 41 class GraphicsContext3D;
50 GraphicsContext3D* context() const { return m_context.get(); }
73 RefPtr<GraphicsContext3D> m_context;
CustomFilterMesh.h 40 class GraphicsContext3D;
44 static PassRefPtr<CustomFilterMesh> create(GraphicsContext3D* context, unsigned cols, unsigned rows, const FloatRect& meshBox, CustomFilterMeshType meshType)
60 CustomFilterMesh(GraphicsContext3D*, unsigned cols, unsigned rows, const FloatRect& meshBox, CustomFilterMeshType);
62 GraphicsContext3D* m_context;
CustomFilterRenderer.cpp 36 #include "core/platform/graphics/GraphicsContext3D.h"
70 PassRefPtr<CustomFilterRenderer> CustomFilterRenderer::create(PassRefPtr<GraphicsContext3D> context, CustomFilterProgramType programType, const CustomFilterParameterList& parameters,
76 CustomFilterRenderer::CustomFilterRenderer(PassRefPtr<GraphicsContext3D> context, CustomFilterProgramType programType, const CustomFilterParameterList& parameters,
109 m_context->drawElements(GraphicsContext3D::TRIANGLES, m_mesh->indicesCount(), GraphicsContext3D::UNSIGNED_SHORT, 0);
141 m_context->vertexAttribPointer(attributeLocation, size, GraphicsContext3D::FLOAT, false, m_mesh->bytesPerVertex(), offset);
238 m_context->activeTexture(GraphicsContext3D::TEXTURE0);
240 m_context->bindTexture(GraphicsContext3D::TEXTURE_2D, inputTexture);
241 m_context->texParameteri(GraphicsContext3D::TEXTURE_2D, GraphicsContext3D::TEXTURE_MIN_FILTER, GraphicsContext3D::LINEAR)
    [all...]

Completed in 211 milliseconds

1 2 3 4