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

1 2 3 4 5 6 7

  /external/webkit/Source/WebCore/platform/graphics/chromium/
ProgramBinding.cpp 40 : 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->getShaderiv(shader, GraphicsContext3D::COMPILE_STATUS, &compiled))
    [all...]
GeometryBinding.cpp 39 : 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_context->bindBuffer(GraphicsContext3D::ELEMENT_ARRAY_BUFFER, m_quadElementsVbo))
    [all...]
WebGLLayerChromium.cpp 49 , 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 = const_cast<GraphicsContext3D*>(context)
    [all...]
GeometryBinding.h 44 GraphicsContext3D* context() const { return m_context; }
57 GraphicsContext3D* m_context; member in class:WebCore::GeometryBinding
WebGLLayerChromium.h 50 virtual bool drawsContent() const { return m_context; }
63 GraphicsContext3D* m_context; member in class:WebCore::WebGLLayerChromium
  /external/webkit/Source/WebCore/platform/graphics/skia/
GraphicsContextPlatformPrivate.h 44 : m_context(platformContext) { }
46 PlatformContextSkia* context() { return m_context; }
50 PlatformContextSkia* m_context; member in class:WebCore::GraphicsContextPlatformPrivate
  /external/webkit/Source/WebCore/platform/graphics/gpu/
DrawingBuffer.cpp 54 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->deleteFramebuffer(m_multisampleFBO)
    [all...]
LoopBlinnShader.cpp 44 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);
BicubicShader.cpp 114 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);
ConvolutionShader.cpp 101 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);
TexShader.cpp 63 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);
SharedGraphicsContext3D.cpp 93 : 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->drawArrays(mode, first, count)
    [all...]
  /external/webkit/Source/WebCore/html/canvas/
WebGLObject.cpp 38 , m_context(context)
46 if (m_context)
47 m_context->removeObject(this);
60 if (!m_context || !m_object)
63 m_context->graphicsContext3D()->makeContextCurrent();
OESVertexArrayObject.cpp 40 , 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->graphicsContext3D()->synthesizeGLError(GraphicsContext3D::INVALID_OPERATION)
    [all...]
WebKitLoseContext.cpp 38 , m_context(context)
58 if (m_context)
59 m_context->forceLostContext();
WebKitLoseContext.h 45 void contextDestroyed() { m_context = 0; }
50 WebGLRenderingContext* m_context; member in class:WebCore::WebKitLoseContext
WebGLObject.h 53 m_context = 0;
56 WebGLRenderingContext* context() const { return m_context; }
90 WebGLRenderingContext* m_context; member in class:WebCore::WebGLObject
  /external/webkit/Source/WebCore/bindings/v8/
ScriptCachedFrameData.cpp 45 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();
WorldContextHandle.cpp 45 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());
ScriptScope.cpp 41 : m_context(scriptState->context())
42 , m_scope(m_context)
46 ASSERT(!m_context.IsEmpty());
V8IsolatedContext.cpp 57 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();
  /external/webkit/Source/JavaScriptCore/qt/api/
qscriptoriginalglobalobject_p.h 56 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_getOwnPropertyNamesFunction)
    [all...]
  /external/webkit/Source/WebKit2/UIProcess/API/qt/tests/qwkpage/
tst_qwkpage.cpp 35 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/
WebGeolocationManagerProxy.cpp 41 , 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/
ScrollbarThemeGtk3.cpp 46 : 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...]

Completed in 238 milliseconds

1 2 3 4 5 6 7