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

1 2 3 4 5

  /external/chromium_org/third_party/WebKit/Source/core/html/canvas/
WebGLContextObject.cpp 36 , m_context(context)
42 if (m_context)
43 m_context->removeContextObject(this);
49 if (m_context) {
50 deleteObject(m_context->graphicsContext3D());
51 m_context->removeContextObject(this);
52 m_context = 0;
58 return m_context ? m_context->graphicsContext3D() : 0;
WebGLContextObject.h 42 WebGLRenderingContext* context() const { return m_context; }
46 return context == m_context;
56 return m_context;
62 WebGLRenderingContext* m_context; member in class:WebCore::WebGLContextObject
WebGLExtension.cpp 33 : m_context(context)
WebGLExtension.h 59 WebGLRenderingContext* context() { return m_context; }
69 m_context = 0;
74 return !m_context;
80 WebGLRenderingContext* m_context; member in class:WebCore::WebGLExtension
OESVertexArrayObject.cpp 63 RefPtr<WebGLVertexArrayObjectOES> o = WebGLVertexArrayObjectOES::create(m_context, WebGLVertexArrayObjectOES::VaoTypeUser);
64 m_context->addContextObject(o.get());
73 if (!arrayObject->isDefaultObject() && arrayObject == m_context->m_boundVertexArrayObject)
74 m_context->setBoundVertexArrayObject(0);
76 arrayObject->deleteObject(m_context->graphicsContext3D());
87 Extensions3D* extensions = m_context->graphicsContext3D()->extensions();
97 m_context->graphicsContext3D()->synthesizeGLError(GL_INVALID_OPERATION);
101 Extensions3D* extensions = m_context->graphicsContext3D()->extensions();
106 m_context->setBoundVertexArrayObject(arrayObject);
109 m_context->setBoundVertexArrayObject(0)
    [all...]
WebGLDebugShaders.cpp 60 if (!m_context->validateWebGLObject("getTranslatedShaderSource", shader))
62 return m_context->graphicsContext3D()->extensions()->getTranslatedShaderSourceANGLE(shader->object());
WebGLLoseContext.cpp 63 m_context->forceLostContext(WebGLRenderingContext::SyntheticLostContext);
69 m_context->forceRestoreContext();
  /external/chromium_org/third_party/WebKit/Source/platform/graphics/
GraphicsContextStateSaver.h 41 : m_context(context)
45 m_context.save();
51 m_context.restore();
57 m_context.save();
64 m_context.restore();
68 GraphicsContext* context() const { return &m_context; }
72 GraphicsContext& m_context; member in class:WebCore::GraphicsContextStateSaver
Extensions3D.cpp 37 : m_context(context)
47 return m_context->supportsExtension(name);
52 bool result = m_context->ensureExtensionEnabled(name);
58 return m_context->isExtensionEnabled(name);
63 return static_cast<int>(m_context->webContext()->getGraphicsResetStatusARB());
68 m_context->webContext()->blitFramebufferCHROMIUM(srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter);
73 m_context->webContext()->renderbufferStorageMultisampleCHROMIUM(target, samples, internalformat, width, height);
78 return m_context->webContext()->mapBufferSubDataCHROMIUM(target, offset, size, access);
83 m_context->webContext()->unmapBufferSubDataCHROMIUM(data);
88 return m_context->webContext()->mapTexSubImage2DCHROMIUM(target, level, xoffset, yoffset, width, height, format, ty (…)
    [all...]
  /external/chromium_org/third_party/WebKit/Source/platform/graphics/gpu/
SharedGraphicsContext3D.cpp 41 SharedGraphicsContext3DImpl() : m_context(0) { }
58 blink::WebGraphicsContext3D* oldWebContext = m_context ? m_context->webContext() : 0;
59 GrContext* oldGrContext = m_context ? m_context->grContext() : 0;
61 m_context.clear();
63 if (!m_context) {
64 m_context = GraphicsContext3D::createGraphicsContextFromProvider(provider.release());
69 if (m_context && wasCreated)
70 m_context->extensions()->pushGroupMarkerEXT("SharedGraphicsContext")
75 RefPtr<GraphicsContext3D> m_context; member in class:WebCore::SharedGraphicsContext3DImpl
    [all...]
DrawingBuffer.cpp 62 : m_context(context)
66 m_context->activeTexture(GL_TEXTURE0);
70 m_context->bindTexture(GL_TEXTURE_2D, m_oldTextureUnitZeroId);
71 m_context->activeTexture(m_oldActiveTextureUnit);
75 GraphicsContext3D* m_context; member in class:WebCore::ScopedTextureUnit0BindingRestorer
110 , m_context(context)
148 if (!m_context)
150 return m_context->webContext();
155 if (!m_context || !m_contentsChanged || !m_lastColorBuffer)
158 m_context->makeContextCurrent()
    [all...]
  /external/chromium_org/third_party/WebKit/Source/platform/graphics/filters/custom/
CustomFilterMesh.cpp 40 : m_context(context)
50 m_context->makeContextCurrent();
52 m_verticesBufferObject = m_context->createBuffer();
53 m_context->bindBuffer(GL_ARRAY_BUFFER, m_verticesBufferObject);
54 m_context->bufferData(GL_ARRAY_BUFFER, generator.vertices().size() * sizeof(float), generator.vertices().data(), GL_STATIC_DRAW);
56 m_elementsBufferObject = m_context->createBuffer();
57 m_context->bindBuffer(GL_ELEMENT_ARRAY_BUFFER, m_elementsBufferObject);
58 m_context->bufferData(GL_ELEMENT_ARRAY_BUFFER, generator.indices().size() * sizeof(uint16_t), generator.indices().data(), GL_STATIC_DRAW);
63 m_context->makeContextCurrent();
64 m_context->deleteBuffer(m_verticesBufferObject)
    [all...]
CustomFilterCompiledProgram.cpp 36 : m_context(context)
51 m_context->makeContextCurrent();
59 m_context->deleteShader(vertexShader);
65 m_context->deleteShader(vertexShader);
66 m_context->deleteShader(fragmentShader);
80 Platform3DObject shader = m_context->createShader(shaderType);
81 m_context->shaderSource(shader, shaderString);
82 m_context->compileShader(shader);
85 m_context->getShaderiv(shader, GL_COMPILE_STATUS, &compiled);
89 m_context->deleteShader(shader)
    [all...]
FECustomFilter.cpp 47 , m_context(context)
59 m_customFilterRenderer = CustomFilterRenderer::create(m_context, m_validatedProgram->programInfo().programType(), parameters, meshRows, meshColumns, meshType);
75 ASSERT(m_context);
76 m_context->makeContextCurrent();
78 m_context->deleteTexture(m_inputTexture);
84 m_context->bindFramebuffer(GL_FRAMEBUFFER, 0);
85 m_context->deleteFramebuffer(m_frameBuffer);
89 m_context->deleteRenderbuffer(m_depthBuffer);
93 m_context->deleteTexture(m_destTexture);
104 m_context->bindFramebuffer(GL_FRAMEBUFFER, 0)
    [all...]
CustomFilterRenderer.cpp 76 : m_context(context)
107 m_context->drawElements(GL_TRIANGLES, m_mesh->indicesCount(), GL_UNSIGNED_SHORT, 0);
118 m_context->makeContextCurrent();
133 m_mesh = CustomFilterMesh::create(m_context.get(), m_meshColumns, m_meshRows, FloatRect(0, 0, 1, 1), m_meshType);
139 m_context->vertexAttribPointer(attributeLocation, size, GL_FLOAT, false, m_mesh->bytesPerVertex(), offset);
140 m_context->enableVertexAttribArray(attributeLocation);
147 m_context->disableVertexAttribArray(attributeLocation);
158 m_context->uniform1fv(uniformLocation, parameterSize, floatVector.data());
165 m_context->uniform1f(uniformLocation, numberParameter->valueAt(0));
168 m_context->uniform2f(uniformLocation, numberParameter->valueAt(0), numberParameter->valueAt(1))
    [all...]
  /external/chromium_org/third_party/WebKit/Source/bindings/v8/
ScriptScope.cpp 43 , m_context(scriptState->context())
44 , m_scope(m_context)
47 ASSERT(!m_context.IsEmpty());
ScriptScope.h 44 v8::Local<v8::Object> global() const { return m_context->Global(); }
48 v8::Local<v8::Context> m_context; member in class:WebCore::ScriptScope
ExceptionState.cpp 107 if (propertyName() && interfaceName() && m_context != UnknownContext) {
108 if (m_context == DeletionContext)
110 else if (m_context == ExecutionContext)
112 else if (m_context == GetterContext)
114 else if (m_context == SetterContext)
116 } else if (!propertyName() && interfaceName() && m_context == ConstructionContext) {
  /external/chromium_org/third_party/WebKit/Source/core/rendering/
GraphicsContextAnnotator.h 49 : m_context(0)
54 if (UNLIKELY(m_context != 0))
63 GraphicsContext* m_context; member in class:WebCore::GraphicsContextAnnotator
  /external/chromium_org/third_party/WebKit/Source/core/html/
HTMLCanvasElement.cpp 97 m_context.clear(); // Ensure this goes away before the ImageBuffer.
164 if (m_context && !m_context->is2d())
166 if (!m_context) {
168 m_context = CanvasRenderingContext2D::create(this, static_cast<Canvas2DContextAttributes*>(attrs), document().inQuirksMode());
169 if (m_context)
172 return m_context.get();
191 if (m_context && !m_context->is3d())
193 if (!m_context) {
    [all...]
  /external/chromium_org/third_party/WebKit/Source/testing/runner/
TestPlugin.cpp 155 , m_context(0)
209 m_context = Platform::current()->createOffscreenGraphicsContext3D(attrs);
210 if (!m_context)
213 if (!m_context->makeContextCurrent())
240 delete m_context;
241 m_context = 0;
257 m_context->reshapeWithScaleFactor(m_rect.width, m_rect.height, 1.f);
258 m_context->viewport(0, 0, m_rect.width, m_rect.height);
260 m_context->bindTexture(GL_TEXTURE_2D, m_colorTexture);
261 m_context->texParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST)
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/css/resolver/
SharedStyleFinder.h 50 , m_context(context)
68 Element& element() const { return *m_context.element(); }
76 const ElementResolveContext& m_context; member in class:WebCore::SharedStyleFinder
  /external/chromium_org/third_party/WebKit/Source/modules/notifications/
WorkerGlobalScopeNotifications.cpp 40 : m_context(context)
71 m_notificationCenter = NotificationCenter::create(m_context, m_context->thread()->getNotificationClient());
  /external/chromium_org/third_party/WebKit/Source/modules/webaudio/
AudioSummingJunction.cpp 40 : m_context(context)
47 if (m_renderingStateNeedUpdating && m_context.get())
48 m_context->removeMarkedSummingJunction(this);
AudioSummingJunction.h 45 AudioContext* context() { return m_context.get(); }
64 RefPtr<AudioContext> m_context; member in class:WebCore::AudioSummingJunction

Completed in 647 milliseconds

1 2 3 4 5