Searched refs:m_context (Results 1 - 25 of 154) sorted by relevance

1234567

/external/webkit/Source/WebCore/platform/graphics/chromium/
H A DProgramBinding.cpp40 : m_context(context)
49 GLC(m_context, m_context->deleteProgram(m_program));
64 unsigned shader = m_context->createShader(type);
68 GLC(m_context, m_context->shaderSource(shader, sourceString));
69 GLC(m_context, m_context->compileShader(shader));
71 GLC(m_context, m_context
[all...]
H A DGeometryBinding.cpp39 : m_context(context)
52 GLC(m_context, m_quadVerticesVbo = m_context->createBuffer());
53 GLC(m_context, m_quadElementsVbo = m_context->createBuffer());
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_contex
[all...]
H A DWebGLLayerChromium.cpp49 , m_context(0)
56 if (m_context && layerRenderer())
57 layerRenderer()->removeChildContext(m_context);
66 ASSERT(m_context);
82 m_context->prepareTexture();
83 m_context->markLayerComposited();
96 if (m_context != context && layerRenderer()) {
97 if (m_context)
98 layerRenderer()->removeChildContext(m_context);
103 m_context
[all...]
/external/webkit/Source/WebCore/platform/graphics/gpu/
H A DDrawingBuffer.cpp54 return (drawingBuffer->m_context) ? drawingBuffer.release() : 0;
59 if (!m_context)
62 m_context->makeContextCurrent();
63 m_context->deleteTexture(m_colorBuffer);
67 m_context->deleteRenderbuffer(m_multisampleColorBuffer);
72 m_context->deleteRenderbuffer(m_depthStencilBuffer);
77 m_context->deleteRenderbuffer(m_depthBuffer);
82 m_context->deleteRenderbuffer(m_stencilBuffer);
87 m_context->bindFramebuffer(GraphicsContext3D::FRAMEBUFFER, m_multisampleFBO);
88 m_context
[all...]
H A DLoopBlinnShader.cpp44 m_context->useProgram(m_program);
48 m_context->uniformMatrix4fv(m_worldViewProjectionLocation, false /*transpose*/, matrix, 1 /*count*/);
50 m_context->vertexAttribPointer(m_positionLocation, 2, GraphicsContext3D::FLOAT, false, 0, vertexOffset);
51 m_context->enableVertexAttribArray(m_positionLocation);
54 m_context->vertexAttribPointer(m_klmLocation, 3, GraphicsContext3D::FLOAT, false, 0, klmOffset);
55 m_context->enableVertexAttribArray(m_klmLocation);
H A DBicubicShader.cpp114 m_context->useProgram(m_program);
117 m_context->uniformMatrix3fv(m_matrixLocation, false /*transpose*/, matrix, 1 /*count*/);
121 m_context->uniformMatrix3fv(m_texMatrixLocation, false /*transpose*/, texMatrix, 1 /*count*/);
122 m_context->uniformMatrix4fv(m_coefficientsLocation, false /*transpose*/, const_cast<float *>(coefficients), 1 /*count*/);
124 m_context->uniform2f(m_imageIncrementLocation, imageIncrement[0], imageIncrement[1]);
128 m_context->uniform1i(m_imageLocation, 0);
129 m_context->uniform1f(m_alphaLocation, alpha);
131 m_context->vertexAttribPointer(m_positionLocation, 2, GraphicsContext3D::FLOAT, false, 0, 0);
133 m_context->enableVertexAttribArray(m_positionLocation);
H A DConvolutionShader.cpp101 m_context->useProgram(m_program);
104 m_context->uniformMatrix3fv(m_matrixLocation, false /*transpose*/, matrix, 1 /*count*/);
108 m_context->uniformMatrix3fv(m_texMatrixLocation, false /*transpose*/, texMatrix, 1 /*count*/);
110 m_context->uniform2f(m_imageIncrementLocation, imageIncrement[0], imageIncrement[1]);
114 m_context->uniform1i(m_imageLocation, 0);
117 m_context->uniform1fv(m_kernelLocation, const_cast<float*>(kernel), kernelWidth);
119 m_context->vertexAttribPointer(m_positionLocation, 2, GraphicsContext3D::FLOAT, false, 0, 0);
121 m_context->enableVertexAttribArray(m_positionLocation);
H A DTexShader.cpp63 m_context->useProgram(m_program);
66 m_context->uniformMatrix3fv(m_matrixLocation, false /*transpose*/, matrix, 1 /*count*/);
70 m_context->uniformMatrix3fv(m_texMatrixLocation, false /*transpose*/, texMatrix, 1 /*count*/);
72 m_context->uniform1i(m_samplerLocation, sampler);
73 m_context->uniform1f(m_alphaLocation, alpha);
75 m_context->vertexAttribPointer(m_positionLocation, 2, GraphicsContext3D::FLOAT, false, 0, 0);
77 m_context->enableVertexAttribArray(m_positionLocation);
H A DSharedGraphicsContext3D.cpp93 : m_context(context)
106 Extensions3D* extensions = m_context->getExtensions();
119 m_context->deleteBuffer(m_quadVertices);
128 m_context->makeContextCurrent();
133 m_context->scissor(x, y, width, height);
138 m_context->enable(capacity);
143 m_context->disable(capacity);
150 m_context->clearColor(rgba[0], rgba[1], rgba[2], rgba[3]);
155 m_context->clear(mask);
160 m_context
[all...]
/external/webkit/Source/WebCore/html/canvas/
H A DWebGLObject.cpp38 , m_context(context)
46 if (m_context)
47 m_context->removeObject(this);
60 if (!m_context || !m_object)
63 m_context->graphicsContext3D()->makeContextCurrent();
H A DOESVertexArrayObject.cpp40 , m_context(context)
60 if (m_context->isContextLost())
63 RefPtr<WebGLVertexArrayObjectOES> o = WebGLVertexArrayObjectOES::create(m_context, WebGLVertexArrayObjectOES::VaoTypeUser);
64 m_context->addObject(o.get());
70 if (!arrayObject || m_context->isContextLost())
78 if (!arrayObject || m_context->isContextLost())
84 Extensions3D* extensions = m_context->graphicsContext3D()->getExtensions();
91 if (m_context->isContextLost())
94 if (arrayObject && arrayObject->context() != m_context) {
95 m_context
[all...]
H A DWebKitLoseContext.cpp38 , m_context(context)
58 if (m_context)
59 m_context->forceLostContext();
H A DWebKitLoseContext.h45 void contextDestroyed() { m_context = 0; }
50 WebGLRenderingContext* m_context; member in class:WebCore::WebKitLoseContext
/external/webkit/Source/WebCore/bindings/v8/
H A DScriptCachedFrameData.cpp45 m_context.set(V8Proxy::mainWorldContext(frame));
47 if (m_context.get().IsEmpty())
49 m_global.set(m_context.get()->Global());
60 if (m_context.get().IsEmpty())
64 v8::Context::Scope contextScope(m_context.get());
66 m_context.get()->ReattachGlobal(m_global.get());
69 proxy->windowShell()->setContext(m_context.get());
74 m_context.clear();
H A DWorldContextHandle.cpp45 m_context = context->sharedContext();
50 if (m_worldToUse == UseMainWorld || !m_context || m_context->get().IsEmpty())
53 return v8::Local<v8::Context>::New(m_context->get());
H A DScriptScope.cpp41 : m_context(scriptState->context())
42 , m_scope(m_context)
46 ASSERT(!m_context.IsEmpty());
H A DV8IsolatedContext.cpp57 m_context = SharedPersistent<v8::Context>::create(proxy->windowShell()->createNewContext(v8::Handle<v8::Object>(), extensionGroup));
58 if (m_context->get().IsEmpty())
62 v8::Context::Scope contextScope(m_context->get());
64 getGlobalObject(m_context->get())->SetPointerInInternalField(V8DOMWindow::enteredIsolatedWorldIndex, this);
66 V8DOMWindowShell::installHiddenObjectPrototype(m_context->get());
68 proxy->windowShell()->installDOMWindow(m_context->get(), proxy->frame()->domWindow());
76 m_context->get()->UseDefaultSecurityToken();
83 m_context->get().MakeWeak(this, &contextWeakReferenceCallback);
88 m_context->disposeHandle();
H A DScriptScope.h44 v8::Local<v8::Object> global() const { return m_context->Global(); }
48 v8::Local<v8::Context> m_context; member in class:WebCore::ScriptScope
/external/webkit/Source/WebCore/platform/graphics/skia/
H A DGraphicsContextPlatformPrivate.h44 : m_context(platformContext) { }
46 PlatformContextSkia* context() { return m_context; }
50 PlatformContextSkia* m_context; member in class:WebCore::GraphicsContextPlatformPrivate
/external/webkit/Source/JavaScriptCore/qt/api/
H A Dqscriptoriginalglobalobject_p.h56 JSGlobalContextRef m_context; member in class:QScriptOriginalGlobalObject
74 : m_context(JSGlobalContextRetain(context))
76 JSObjectRef globalObject = JSContextGetGlobalObject(m_context);
87 m_hasOwnPropertyFunction = const_cast<JSObjectRef>(JSObjectGetProperty(m_context, globalObject, propertyName.get(), &exception));
88 JSValueProtect(m_context, m_hasOwnPropertyFunction);
89 Q_ASSERT(JSValueIsObject(m_context, m_hasOwnPropertyFunction));
90 Q_ASSERT(JSObjectIsFunction(m_context, m_hasOwnPropertyFunction));
95 = const_cast<JSObjectRef>(JSObjectGetProperty(m_context, globalObject, propertyName.get(), &exception));
98 = const_cast<JSObjectRef>(JSObjectGetProperty(m_context, objectConstructor, propertyName.get(), &exception));
99 JSValueProtect(m_context, m_getOwnPropertyNamesFunctio
[all...]
H A Dqscriptengine_p.cpp34 , m_context(JSGlobalContextCreate(0))
36 , m_originalGlobalObject(m_context)
47 JSValueUnprotect(m_context, m_exception);
48 JSGlobalContextRelease(m_context);
55 bool syntaxIsCorrect = JSCheckScriptSyntax(m_context, source, /* url */ 0, /* starting line */ 1, &exception);
60 JSValueProtect(m_context, exception);
98 JSObjectRef funJS = JSObjectMake(m_context, m_nativeFunctionClass, reinterpret_cast<void*>(data));
107 JSObjectRef funJS = JSObjectMake(m_context, m_nativeFunctionWithArgClass, reinterpret_cast<void*>(data));
114 JSObjectSetPrototype(m_context, funJS, m_originalGlobalObject.functionPrototype());
127 return new QScriptValuePrivate(this, JSObjectMake(m_context, /* jsClas
[all...]
/external/webkit/Source/WebKit2/UIProcess/API/qt/tests/qwkpage/
H A Dtst_qwkpage.cpp35 QScopedPointer<QWKContext> m_context; member in class:tst_QWKPage
41 m_context.reset(new QWKContext);
42 m_page.reset(new QWKPage(m_context.data()));
48 m_context.reset();
/external/webkit/Source/WebKit2/UIProcess/
H A DWebGeolocationManagerProxy.cpp41 , m_context(context)
61 if (!m_context)
64 m_context->sendToAllProcesses(Messages::WebGeolocationManager::DidChangePosition(position->data()));
69 if (!m_context)
72 m_context->sendToAllProcesses(Messages::WebGeolocationManager::DidFailToDeterminePosition());
/external/webkit/Source/WebCore/platform/gtk/
H A DScrollbarThemeGtk3.cpp46 : m_context(static_cast<RenderThemeGtk*>(RenderTheme::defaultTheme().get())->gtkScrollbarStyle())
49 g_signal_connect(m_context, "changed", G_CALLBACK(gtkStyleChangedCallback), this);
54 gtk_style_context_get_style(m_context,
76 gtk_style_context_save(m_context);
78 gtk_style_context_add_class(m_context, GTK_STYLE_CLASS_SCROLLBAR);
79 gtk_style_context_add_class(m_context, GTK_STYLE_CLASS_TROUGH);
81 gtk_render_background(m_context, context->platformContext()->cr(),
83 gtk_render_frame(m_context, context->platformContext()->cr(),
86 gtk_style_context_restore(m_context);
91 gtk_style_context_save(m_context);
[all...]
/external/webkit/Tools/DumpRenderTree/cairo/
H A DPixelDumpSupportCairo.h64 cairo_destroy(m_context);
67 cairo_t* cairoContext() const { return m_context; }
73 , m_context(context)
78 cairo_t* m_context; member in class:BitmapContext

Completed in 493 milliseconds

1234567