/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;
|
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.cpp | 33 : m_context(context)
|
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
|
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()->getExtensions(); 97 m_context->graphicsContext3D()->synthesizeGLError(GraphicsContext3D::INVALID_OPERATION); 101 Extensions3D* extensions = m_context->graphicsContext3D()->getExtensions(); 106 m_context->setBoundVertexArrayObject(arrayObject); 109 m_context->setBoundVertexArrayObject(0) [all...] |
WebGLDebugShaders.cpp | 60 if (!m_context->validateWebGLObject("getTranslatedShaderSource", shader)) 62 return m_context->graphicsContext3D()->getExtensions()->getTranslatedShaderSourceANGLE(shader->object());
|
WebGLLoseContext.cpp | 63 m_context->forceLostContext(WebGLRenderingContext::SyntheticLostContext); 69 m_context->forceRestoreContext();
|
/external/chromium_org/third_party/WebKit/Source/core/platform/graphics/ |
GraphicsContextStateSaver.h | 40 : m_context(context) 44 m_context.save(); 50 m_context.restore(); 56 m_context.save(); 63 m_context.restore(); 67 GraphicsContext* context() const { return &m_context; } 70 GraphicsContext& m_context; member in class:WebCore::GraphicsContextStateSaver
|
Extensions3D.cpp | 38 : m_context(context) 48 return m_context->supportsExtension(name); 53 bool result = m_context->ensureExtensionEnabled(name); 59 return m_context->isExtensionEnabled(name); 64 return static_cast<int>(m_context->webContext()->getGraphicsResetStatusARB()); 69 m_context->webContext()->blitFramebufferCHROMIUM(srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter); 74 m_context->webContext()->renderbufferStorageMultisampleCHROMIUM(target, samples, internalformat, width, height); 79 return m_context->webContext()->mapBufferSubDataCHROMIUM(target, offset, size, access); 84 m_context->webContext()->unmapBufferSubDataCHROMIUM(data); 89 return m_context->webContext()->mapTexSubImage2DCHROMIUM(target, level, xoffset, yoffset, width, height, format, ty (…) [all...] |
GraphicsContextAnnotation.h | 84 : m_context(0) 89 if (UNLIKELY(m_context != 0)) 98 GraphicsContext* m_context; member in class:WebCore::GraphicsContextAnnotator
|
/external/chromium_org/third_party/WebKit/Source/core/platform/graphics/gpu/ |
SharedGraphicsContext3D.cpp | 42 SharedGraphicsContext3DImpl() : m_context(0) { } 59 WebKit::WebGraphicsContext3D* oldWebContext = m_context ? m_context->webContext() : 0; 60 GrContext* oldGrContext = m_context ? m_context->grContext() : 0; 62 m_context.clear(); 64 if (!m_context) { 65 m_context = GraphicsContext3D::createGraphicsContextFromProvider(provider.release()); 70 if (m_context && wasCreated) 71 m_context->getExtensions()->pushGroupMarkerEXT("SharedGraphicsContext") 76 RefPtr<GraphicsContext3D> m_context; member in class:WebCore::SharedGraphicsContext3DImpl [all...] |
DrawingBuffer.cpp | 63 : m_context(context) 67 m_context->activeTexture(GraphicsContext3D::TEXTURE0); 71 m_context->bindTexture(GraphicsContext3D::TEXTURE_2D, m_oldTextureUnitZeroId); 72 m_context->activeTexture(m_oldActiveTextureUnit); 76 GraphicsContext3D* m_context; member in class:WebCore::ScopedTextureUnit0BindingRestorer 111 , m_context(context) 142 if (!m_context) 144 return m_context->webContext(); 149 if (!m_context || !m_contentsChanged || !m_lastColorBuffer) 152 m_context->makeContextCurrent() [all...] |
/external/chromium_org/third_party/WebKit/Source/core/platform/graphics/filters/custom/ |
CustomFilterCompiledProgram.cpp | 37 : m_context(context) 52 m_context->makeContextCurrent(); 60 m_context->deleteShader(vertexShader); 66 m_context->deleteShader(vertexShader); 67 m_context->deleteShader(fragmentShader); 81 Platform3DObject shader = m_context->createShader(shaderType); 82 m_context->shaderSource(shader, shaderString); 83 m_context->compileShader(shader); 86 m_context->getShaderiv(shader, GraphicsContext3D::COMPILE_STATUS, &compiled); 90 m_context->deleteShader(shader) [all...] |
CustomFilterMesh.cpp | 40 : m_context(context) 50 m_context->makeContextCurrent(); 52 m_verticesBufferObject = m_context->createBuffer(); 53 m_context->bindBuffer(GraphicsContext3D::ARRAY_BUFFER, m_verticesBufferObject); 54 m_context->bufferData(GraphicsContext3D::ARRAY_BUFFER, generator.vertices().size() * sizeof(float), generator.vertices().data(), GraphicsContext3D::STATIC_DRAW); 56 m_elementsBufferObject = m_context->createBuffer(); 57 m_context->bindBuffer(GraphicsContext3D::ELEMENT_ARRAY_BUFFER, m_elementsBufferObject); 58 m_context->bufferData(GraphicsContext3D::ELEMENT_ARRAY_BUFFER, generator.indices().size() * sizeof(uint16_t), generator.indices().data(), GraphicsContext3D::STATIC_DRAW); 63 m_context->makeContextCurrent(); 64 m_context->deleteBuffer(m_verticesBufferObject) [all...] |
FECustomFilter.cpp | 50 , m_context(context) 62 m_customFilterRenderer = CustomFilterRenderer::create(m_context, m_validatedProgram->programInfo().programType(), parameters, meshRows, meshColumns, meshType); 78 ASSERT(m_context); 79 m_context->makeContextCurrent(); 81 m_context->deleteTexture(m_inputTexture); 87 m_context->bindFramebuffer(GraphicsContext3D::FRAMEBUFFER, 0); 88 m_context->deleteFramebuffer(m_frameBuffer); 92 m_context->deleteRenderbuffer(m_depthBuffer); 96 m_context->deleteTexture(m_destTexture); 107 m_context->bindFramebuffer(GraphicsContext3D::FRAMEBUFFER, 0) [all...] |
CustomFilterRenderer.cpp | 78 : m_context(context) 109 m_context->drawElements(GraphicsContext3D::TRIANGLES, m_mesh->indicesCount(), GraphicsContext3D::UNSIGNED_SHORT, 0); 120 m_context->makeContextCurrent(); 135 m_mesh = CustomFilterMesh::create(m_context.get(), m_meshColumns, m_meshRows, FloatRect(0, 0, 1, 1), m_meshType); 141 m_context->vertexAttribPointer(attributeLocation, size, GraphicsContext3D::FLOAT, false, m_mesh->bytesPerVertex(), offset); 142 m_context->enableVertexAttribArray(attributeLocation); 149 m_context->disableVertexAttribArray(attributeLocation); 160 m_context->uniform1fv(uniformLocation, parameterSize, floatVector.data()); 167 m_context->uniform1f(uniformLocation, numberParameter->valueAt(0)); 170 m_context->uniform2f(uniformLocation, numberParameter->valueAt(0), numberParameter->valueAt(1)) [all...] |
CustomFilterGlobalContext.h | 50 GraphicsContext3D* context() const { return m_context.get(); } 73 RefPtr<GraphicsContext3D> m_context; member in class:WebCore::CustomFilterGlobalContext
|
/external/chromium_org/third_party/WebKit/Source/bindings/v8/ |
ScriptScope.cpp | 42 : m_context(scriptState->context()) 43 , m_scope(m_context) 46 ASSERT(!m_context.IsEmpty());
|
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
|
/external/chromium_org/third_party/WebKit/Source/core/html/ |
HTMLCanvasElement.cpp | 101 m_context.clear(); // Ensure this goes away before the ImageBuffer. 168 if (m_context && !m_context->is2d()) 170 if (!m_context) { 172 m_context = CanvasRenderingContext2D::create(this, RuntimeEnabledFeatures::experimentalCanvasFeaturesEnabled() ? static_cast<Canvas2DContextAttributes*>(attrs) : 0, document()->inQuirksMode()); 173 if (m_context) 176 return m_context.get(); 195 if (m_context && !m_context->is3d()) 197 if (!m_context) { [all...] |
/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->reshape(m_rect.width, m_rect.height); 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/platform/ |
LifecycleNotifier.cpp | 34 : m_context(context) 46 ASSERT(observer->lifecycleContext() == m_context); 65 return m_context;
|
/external/chromium_org/third_party/WebKit/Source/modules/notifications/ |
WorkerGlobalScopeNotifications.cpp | 40 : m_context(context) 71 m_notificationCenter = NotificationCenter::create(m_context, m_context->thread()->getNotificationClient());
|
/external/chromium_org/third_party/WebKit/Source/modules/webaudio/ |
AudioSummingJunction.cpp | 40 : m_context(context) 47 if (m_renderingStateNeedUpdating && m_context.get()) 48 m_context->removeMarkedSummingJunction(this);
|
AudioSummingJunction.h | 45 AudioContext* context() { return m_context.get(); } 64 RefPtr<AudioContext> m_context; member in class:WebCore::AudioSummingJunction
|