HomeSort by relevance Sort by last modified time
    Searched full:m_context (Results 1 - 25 of 166) 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...]
TextureManager.cpp 42 : m_context(context)
130 GLC(m_context.get(), m_context->deleteTexture(info.textureId));
149 GLC(m_context.get(), textureId = m_context->createTexture());
150 GLC(m_context.get(), m_context->bindTexture(GraphicsContext3D::TEXTURE_2D, textureId));
152 GLC(m_context.get(), m_context->texParameteri(GraphicsContext3D::TEXTURE_2D, GraphicsContext3D::TEXTURE_MIN_FILTER, GraphicsContext3D::LINEAR));
153 GLC(m_context.get(), m_context->texParameteri(GraphicsContext3D::TEXTURE_2D, GraphicsContext3D::TEXTURE_MAG_FILT (…)
    [all...]
GLES2Canvas.cpp 199 , m_context(context)
215 m_context->graphicsContext3D()->deleteBuffer(m_pathIndexBuffer);
217 m_context->graphicsContext3D()->deleteBuffer(m_pathVertexBuffer);
241 m_context->applyCompositeOperator(m_state->m_compositeOp);
251 m_context->scissor(intX, m_size.height() - intHeight - intY, intWidth, intHeight);
252 m_context->enable(GraphicsContext3D::SCISSOR_TEST);
253 m_context->clearColor(Color(RGBA32(0)));
254 m_context->clear(GraphicsContext3D::COLOR_BUFFER_BIT);
255 m_context->disable(GraphicsContext3D::SCISSOR_TEST);
294 m_context->useQuadVertices()
    [all...]
LayerRendererChromium.cpp 117 , m_context(context)
122 m_contextSupportsLatch = m_context->getExtensions()->supports("GL_CHROMIUM_latch");
138 return m_context.get();
151 GLC(m_context.get(), m_context->useProgram(programId));
218 Extensions3DChromium* parentExt = static_cast<Extensions3DChromium*>(m_context->getExtensions());
241 Extensions3DChromium* parentExt = static_cast<Extensions3DChromium*>(m_context->getExtensions());
379 GLC(m_context.get(), m_context->viewport(0, 0, m_viewportVisibleRect.width(), m_viewportVisibleRect.height()));
385 GLC(m_context.get(), m_context->disable(GraphicsContext3D::DEPTH_TEST))
    [all...]
  /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...]
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...]
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);
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);
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);
  /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...]
qscriptengine_p.h 95 JSGlobalContextRef m_context; member in class:QScriptEnginePrivate
113 JSValueRef result = JSEvaluateScript(m_context, program, /* Global Object */ 0, fileName, lineNumber, &exception);
130 JSValueUnprotect(m_context, m_exception);
141 JSValueUnprotect(m_context, m_exception);
142 JSValueProtect(m_context, exception);
148 if (!hasUncaughtException() || !JSValueIsObject(m_context, m_exception))
153 JSValueRef lineNumber = JSObjectGetProperty(m_context, const_cast<JSObjectRef>(m_exception), lineNumberPropertyName.get(), &exception);
154 int result = JSValueToNumber(m_context, lineNumber, &exception);
160 if (!hasUncaughtException() || !JSValueIsObject(m_context, m_exception))
166 JSValueRef jsFileName = JSObjectGetProperty(m_context, const_cast<JSObjectRef>(m_exception), fileNamePropertyName.get(), &exception)
    [all...]
qscriptengine_p.cpp 34 , 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, /* jsClass */ 0, /* userData */ 0))
    [all...]
  /external/webkit/Source/WebCore/html/canvas/
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...]
WebGLRenderingContext.cpp 314 : m_context(context)
321 m_context->cleanupAfterGraphicsCall(m_changed);
325 WebGLRenderingContext* m_context; member in class:WebCore::__anon14772::StripComments
335 if (!m_context->m_contextLost) {
336 m_context->onLostContext();
341 if (!m_context->canvas()->hasEventListeners(eventNames().webglcontextrestoredEvent))
344 m_context->restoreContext();
345 if (m_context->m_contextLost)
383 , m_context(context)
389 ASSERT(m_context);
    [all...]
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();
  /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...]
  /external/webkit/Source/WebCore/platform/graphics/pango/
FontPlatformDataPango.cpp 49 : m_context(0)
91 m_context = pango_font_map_create_context(m_fontMap);
93 m_context = pango_cairo_font_map_create_context(PANGO_CAIRO_FONT_MAP(m_fontMap));
97 pango_context_set_font_description(m_context, description);
98 m_font = pango_font_map_load_font(m_fontMap, m_context, description);
115 if (pango_cairo_context_get_font_options(m_context))
116 fontOptions = cairo_font_options_copy(pango_cairo_context_get_font_options(m_context));
130 : m_context(0)
140 : m_context(0)
197 if (m_context) {
    [all...]
  /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();
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();
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());
  /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/JavaScriptCore/parser/
SyntaxChecker.h 36 : m_context(&context)
38 m_context->m_topBinaryExprs.append(m_context->m_topBinaryExpr);
39 m_context->m_topBinaryExpr = 0;
43 m_context->m_topBinaryExpr = m_context->m_topBinaryExprs.last();
44 m_context->m_topBinaryExprs.removeLast();
47 SyntaxChecker* m_context; member in struct:JSC::SyntaxChecker::BinaryExprContext
51 : m_context(&context)
53 m_context->m_topUnaryTokens.append(m_context->m_topUnaryToken)
62 SyntaxChecker* m_context; member in struct:JSC::SyntaxChecker::UnaryExprContext
    [all...]
  /external/webkit/Source/WebCore/html/
HTMLCanvasElement.cpp 170 if (m_context && !m_context->is2d())
172 if (!m_context) {
178 m_context = adoptPtr(new CanvasRenderingContext2D(this, document()->inQuirksMode(), usesDashbardCompatibilityMode));
180 if (m_context) {
186 return m_context.get();
199 if (m_context && !m_context->is3d())
201 if (!m_context) {
202 m_context = WebGLRenderingContext::create(this, static_cast<WebGLContextAttributes*>(attrs))
    [all...]

Completed in 1147 milliseconds

1 2 3 4 5 6 7