/external/webkit/Source/JavaScriptCore/qt/api/ |
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...] |
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...] |
/external/webkit/Tools/DumpRenderTree/cairo/ |
PixelDumpSupportCairo.h | 64 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
|
/external/webkit/Source/WebCore/bindings/v8/ |
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
|
ScriptState.h | 58 return v8::Local<v8::Context>::New(m_context); 75 v8::Persistent<v8::Context> m_context; member in class:WebCore::ScriptState 92 m_context = v8::Persistent<v8::Context>::New(scriptState->context()); 96 if (!m_context.IsEmpty()) { 97 m_context.Dispose(); 98 m_context.Clear(); 104 v8::Persistent<v8::Context> m_context; member in class:WebCore::ScriptStateProtectedPtr
|
V8IsolatedContext.h | 91 v8::Handle<v8::Context> context() { return m_context->get(); } 92 PassRefPtr<SharedPersistent<v8::Context> > sharedContext() { return m_context; } 107 // long as |m_context| has not been garbage collected. 108 RefPtr<SharedPersistent<v8::Context> > m_context; member in class:WebCore::V8IsolatedContext
|
WorldContextHandle.h | 52 RefPtr<SharedPersistent<v8::Context> > m_context; member in class:WebCore::WorldContextHandle
|
/external/webkit/Source/WebCore/platform/graphics/chromium/ |
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...] |
ProgramBinding.h | 52 GraphicsContext3D* m_context; member in class:WebCore::ProgramBindingBase 65 if (!m_vertexShader.init(m_context, m_program)) 67 if (!m_fragmentShader.init(m_context, m_program))
|
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...] |
DrawingBufferChromium.cpp | 78 : m_context(context) 94 if (!m_context->getExtensions()->supports("GL_CHROMIUM_copy_texture_to_parent_texture")) { 95 m_context.clear(); 112 if (!m_context) 115 m_context->bindFramebuffer(GraphicsContext3D::FRAMEBUFFER, m_fbo); 116 m_context->deleteTexture(m_colorBuffer); 124 if (!m_context) 137 m_context->makeContextCurrent(); 142 static_cast<Extensions3DChromium*>(m_context->getExtensions())->copyTextureToParentTextureCHROMIUM(m_colorBuffer, parentTexture); 143 m_context->flush() [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...] |
/external/webkit/Source/WebCore/html/canvas/ |
WebGLRenderingContext.cpp | 314 : m_context(context) 321 m_context->cleanupAfterGraphicsCall(m_changed); 325 WebGLRenderingContext* m_context; member in class:WebCore::__anon13111::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...] |
/external/webkit/Source/WebCore/platform/graphics/gpu/ |
SolidFillShader.cpp | 62 m_context->useProgram(m_program); 66 m_context->uniform4f(m_colorLocation, rgba[0] * rgba[3], rgba[1] * rgba[3], rgba[2] * rgba[3], rgba[3]); 70 m_context->uniformMatrix3fv(m_matrixLocation, false /*transpose*/, matrix, 1 /*count*/); 72 m_context->vertexAttribPointer(m_positionLocation, 2, GraphicsContext3D::FLOAT, false, 0, 0); 74 m_context->enableVertexAttribArray(m_positionLocation);
|
/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/Tools/DumpRenderTree/cg/ |
PixelDumpSupportCG.h | 67 CGContextRef cgContext() const { return m_context.get(); } 73 , m_context(AdoptCF, context) 78 RetainPtr<CGContextRef> m_context; member in class:BitmapContext
|
/external/webkit/Source/WebKit2/UIProcess/ |
WebContextUserMessageCoders.h | 89 , m_context(context) 95 , m_context(userMessageDecoder.m_context) 113 coder.m_root = coder.m_context->process()->webPage(pageID); 120 coder.m_root = coder.m_context->process()->webFrame(frameID); 138 WebContext* m_context; member in class:WebKit::WebContextUserMessageDecoder
|
WebGeolocationManagerProxy.h | 51 void clearContext() { m_context = 0; } 73 WebContext* m_context; member in class:WebKit::WebGeolocationManagerProxy
|
/external/webkit/Source/WebCore/html/ |
HTMLCanvasElement.cpp | 169 if (m_context && !m_context->is2d()) 171 if (!m_context) { 177 m_context = adoptPtr(new CanvasRenderingContext2D(this, document()->inQuirksMode(), usesDashbardCompatibilityMode)); 179 if (m_context) { 185 return m_context.get(); 198 if (m_context && !m_context->is3d()) 200 if (!m_context) { 201 m_context = WebGLRenderingContext::create(this, static_cast<WebGLContextAttributes*>(attrs)) [all...] |
/external/webkit/Source/WebCore/platform/graphics/ca/win/ |
LegacyCACFLayerTreeHost.cpp | 104 , m_context(wkCACFContextCreate()) 116 wkCACFContextDestroy(m_context); 121 wkCACFContextSetUserData(m_context, userData); 122 wkCACFContextSetLayer(m_context, layer->platformLayer()); 189 wkCACFContextSetD3DDevice(m_context, m_d3dDevice.get()); 201 wkCACFContextSetLayer(m_context, 0); 203 wkCACFContextSetD3DDevice(m_context, 0); 261 if (!wkCACFContextBeginUpdate(m_context, space, sizeof(space), CACurrentMediaTime(), bounds, windowDirtyRects.data(), windowDirtyRects.size())) 270 WKCACFUpdateRectEnumerator* e = wkCACFContextCopyUpdateRectEnumerator(m_context); 286 timeToNextRender = wkCACFContextGetNextUpdateTime(m_context); [all...] |
/external/webkit/Source/WebCore/websockets/ |
WebSocketChannel.cpp | 61 : m_context(context) 73 if (m_context->isDocument()) 74 if (Page* page = static_cast<Document*>(m_context)->page()) 78 InspectorInstrumentation::didCreateWebSocket(m_context, m_identifier, url, m_context->url()); 128 if (m_identifier && m_context) 129 InspectorInstrumentation::didCloseWebSocket(m_context, m_identifier); 132 m_context = 0; 153 if (!m_context) 156 InspectorInstrumentation::willSendWebSocketHandshakeRequest(m_context, m_identifier, m_handshake.clientHandshakeRequest()) [all...] |
/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/platform/graphics/mac/ |
WebGLLayer.h | 41 WebCore::GraphicsContext3D* m_context; member in namespace:CAOpenGLLayer
|
/external/webkit/Source/WebKit/chromium/src/ |
WebFileSystemCallbacksImpl.cpp | 53 , m_context(context) 90 if (m_context && m_context->isWorkerContext()) 91 m_callbacks->didOpenFileSystem(name, WorkerAsyncFileSystemChromium::create(m_context, m_type, path, m_synchronous));
|
/external/webkit/Source/WebCore/platform/graphics/opengl/ |
Extensions3DOpenGL.cpp | 46 , m_context(context) 109 ANGLEWebKitBridge& compiler = m_context->m_compiler; 125 ANGLEWebKitBridge& compiler = m_context->m_compiler; 149 m_context->makeContextCurrent(); 164 m_context->makeContextCurrent(); 175 m_context->makeContextCurrent(); 188 m_context->makeContextCurrent();
|