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

1 2 3 4 5

  /external/chromium_org/third_party/WebKit/Source/platform/graphics/filters/custom/
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...]
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...]
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...]
CustomFilterGlobalContext.cpp 73 if (m_context.get())
81 m_context = GraphicsContext3D::create(attributes);
82 if (!m_context)
84 m_context->makeContextCurrent();
85 m_context->enable(GL_DEPTH_TEST);
  /external/chromium_org/third_party/WebKit/Source/platform/graphics/
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...]
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
  /external/chromium_org/third_party/WebKit/Source/platform/graphics/gpu/
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...]
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...]
  /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;
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...]
WebGLRenderingContext.cpp 472 explicit WebGLRenderingContextLostCallback(WebGLRenderingContext* cb) : m_context(cb) { }
473 virtual void onContextLost() { m_context->forceLostContext(WebGLRenderingContext::RealLostContext); }
476 WebGLRenderingContext* m_context; member in class:WebCore::WebGLRenderingContextLostCallback
482 explicit WebGLRenderingContextErrorMessageCallback(WebGLRenderingContext* cb) : m_context(cb) { }
485 if (m_context->m_synthesizedErrorsToConsole)
486 m_context->printGLErrorToConsole(message);
487 InspectorInstrumentation::didFireWebGLErrorOrWarning(m_context->canvas(), message);
491 WebGLRenderingContext* m_context; member in class:WebCore::WebGLRenderingContextErrorMessageCallback
542 , m_context(context)
559 ASSERT(m_context);
    [all...]
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.h 59 WebGLRenderingContext* context() { return m_context; }
69 m_context = 0;
74 return !m_context;
80 WebGLRenderingContext* m_context; member in class:WebCore::WebGLExtension
WebGLDrawBuffers.cpp 74 if (!m_context->m_framebufferBinding) {
76 m_context->synthesizeGLError(GL_INVALID_VALUE, "drawBuffersWEBGL", "more than one buffer");
80 m_context->synthesizeGLError(GL_INVALID_OPERATION, "drawBuffersWEBGL", "BACK or NONE");
85 m_context->graphicsContext3D()->extensions()->drawBuffersEXT(1, &value);
86 m_context->setBackDrawBuffer(bufs[0]);
88 if (n > m_context->maxDrawBuffers()) {
89 m_context->synthesizeGLError(GL_INVALID_VALUE, "drawBuffersWEBGL", "more than max draw buffers");
94 m_context->synthesizeGLError(GL_INVALID_OPERATION, "drawBuffersWEBGL", "COLOR_ATTACHMENTi_EXT or NONE");
98 m_context->m_framebufferBinding->drawBuffers(buffers);
  /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/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/bindings/v8/
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) {
ExceptionState.h 58 , m_context(UnknownContext)
66 , m_context(context)
74 , m_context(context)
78 , m_isolate(isolate) { ASSERT(m_context == ConstructionContext); }
105 Context context() const { return m_context; }
111 Context m_context; member in class:WebCore::ExceptionState
ScriptScope.cpp 43 , m_context(scriptState->context())
44 , m_scope(m_context)
47 ASSERT(!m_context.IsEmpty());
  /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
GraphicsContextAnnotator.cpp 83 ASSERT(!m_context);
124 m_context = paintInfo.context;
125 m_context->beginAnnotation(rendererName, paintPhase, elementId, elementClass, elementTag);
130 ASSERT(m_context);
131 m_context->endAnnotation();
  /external/chromium_org/third_party/WebKit/Source/core/dom/
MainThreadTaskRunner.cpp 65 : m_context(context)
83 if (m_context->tasksNeedSuspension() || !m_pendingTasks.isEmpty()) {
88 task->performTask(m_context);
112 task->performTask(m_context);
  /external/chromium_org/third_party/WebKit/Source/platform/
LifecycleNotifier.h 63 , m_context(context)
67 Context* context() const { return m_context; }
85 Context* m_context; member in class:WebCore::LifecycleNotifier
95 ASSERT(observer->lifecycleContext() == m_context);
  /external/chromium_org/third_party/WebKit/Source/core/svg/
SVGLengthContext.cpp 40 : m_context(context)
45 : m_context(context)
222 RenderStyle* style = renderStyleForLengthResolving(m_context);
239 RenderStyle* style = renderStyleForLengthResolving(m_context);
250 RenderStyle* style = renderStyleForLengthResolving(m_context);
269 RenderStyle* style = renderStyleForLengthResolving(m_context);
282 if (!m_context)
292 if (m_context->isOutermostSVGSVGElement()) {
293 viewportSize = toSVGSVGElement(m_context)->currentViewportSize();
298 SVGElement* viewportElement = m_context->viewportElement()
    [all...]

Completed in 761 milliseconds

1 2 3 4 5