1. 20 May, 2010 33 commits
  2. 19 May, 2010 7 commits
    • eric@webkit.org's avatar
      2010-05-19 Vangelis Kokkevis <vangelis@chromium.org> · 2f0e7423
      eric@webkit.org authored
              Reviewed by Darin Fisher.
      
              Implementing hardware accelerated compositing of layers for Chromium.
              Completely removed the existing software compositing path to replace
              it with code implemented using OpenGL.
              https://bugs.webkit.org/show_bug.cgi?id=38783
      
              Tests: Covered by existing compositing tests.
      
              * WebCore.gyp/WebCore.gyp:
              * platform/graphics/chromium/GraphicsLayerChromium.cpp:
              (WebCore::GraphicsLayerChromium::~GraphicsLayerChromium):
              (WebCore::GraphicsLayerChromium::updateLayerDrawsContent):
              (WebCore::GraphicsLayerChromium::updateContentsRect):
              * platform/graphics/chromium/LayerChromium.cpp:
              (WebCore::LayerChromium::LayerChromium):
              (WebCore::LayerChromium::~LayerChromium):
              (WebCore::LayerChromium::updateGraphicsContext):
              (WebCore::LayerChromium::drawsContentUpdated):
              (WebCore::LayerChromium::updateContents):
              (WebCore::LayerChromium::setContents):
              (WebCore::LayerChromium::setBackingStoreSize):
              (WebCore::LayerChromium::setBounds):
              (WebCore::LayerChromium::setNeedsDisplay):
              * platform/graphics/chromium/LayerChromium.h:
              (WebCore::LayerChromium::contentsDirty):
              (WebCore::LayerChromium::drawsContent):
              * platform/graphics/chromium/LayerRendererChromium.cpp:
              (WebCore::):
              (WebCore::checkGLError):
              (WebCore::loadShader):
              (WebCore::loadShaderProgram):
              (WebCore::toGLMatrix):
              (WebCore::orthoMatrix):
              (WebCore::createLayerTexture):
              (WebCore::LayerRendererChromium::create):
              (WebCore::LayerRendererChromium::LayerRendererChromium):
              (WebCore::LayerRendererChromium::~LayerRendererChromium):
              (WebCore::LayerRendererChromium::drawTexturedQuad):
              (WebCore::LayerRendererChromium::drawLayers):
              (WebCore::LayerRendererChromium::getTextureId):
              (WebCore::LayerRendererChromium::assignTextureForLayer):
              (WebCore::LayerRendererChromium::freeLayerTexture):
              (WebCore::LayerRendererChromium::drawDebugBorder):
              (WebCore::LayerRendererChromium::isLayerVisible):
              (WebCore::LayerRendererChromium::compositeLayersRecursive):
              (WebCore::LayerRendererChromium::makeContextCurrent):
              (WebCore::LayerRendererChromium::initGL):
              (WebCore::LayerRendererChromium::bindCommonAttribLocation):
              (WebCore::LayerRendererChromium::initializeSharedGLObjects):
              * platform/graphics/chromium/LayerRendererChromium.h:
              (WebCore::LayerRendererChromium::):
      2010-05-19  Vangelis Kokkevis  <vangelis@chromium.org>
      
              Reviewed by Darin Fisher.
      
              Modifying WebViewImpl to support new hardware compositing for
              LayerChromium layers.
              https://bugs.webkit.org/show_bug.cgi?id=38783
      
              * src/WebViewImpl.cpp:
              (WebKit::WebViewImpl::paint):
              (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
              (WebKit::WebViewImpl::updateRootLayerContents):
              (WebKit::WebViewImpl::setRootLayerNeedsDisplay):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@59822 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2f0e7423
    • eric@webkit.org's avatar
      2010-05-19 Eric Seidel <eric@webkit.org> · 383936c4
      eric@webkit.org authored
              Reviewed by Adam Roben.
      
              WinEWS should build Debug instead of Release
              https://bugs.webkit.org/show_bug.cgi?id=39242
      
              This is a workaround for
              https://bugs.webkit.org/show_bug.cgi?id=39197
              Adam Roben and Brian Weinstein believe this may
              also make building faster since Debug builds
              take less time to link.
      
              * Scripts/webkitpy/tool/commands/earlywarningsystem.py:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@59821 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      383936c4
    • barraclough@apple.com's avatar
      Errk! rename op_constructor_ret as requested in review of Bug 39399. · fd6a150a
      barraclough@apple.com authored
      Reviewed by Geoff Garen.
      
      * bytecode/CodeBlock.cpp:
      (JSC::CodeBlock::dump):
      * bytecode/Opcode.h:
      * bytecompiler/BytecodeGenerator.cpp:
      (JSC::BytecodeGenerator::emitReturn):
      * interpreter/Interpreter.cpp:
      (JSC::Interpreter::privateExecute):
      * jit/JIT.cpp:
      (JSC::JIT::privateCompileMainPass):
      * jit/JIT.h:
      * jit/JITCall.cpp:
      (JSC::JIT::emit_op_ret_object_or_this):
      * jit/JITOpcodes.cpp:
      (JSC::JIT::emit_op_ret_object_or_this):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@59820 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fd6a150a
    • tony@chromium.org's avatar
      2010-05-19 Tony Chang <tony@chromium.org> · 2e4aa8c6
      tony@chromium.org authored
              Reviewed by Kent Tamura.
      
              [chromium] disable spelling suggestions if spellcheck=false
              https://bugs.webkit.org/show_bug.cgi?id=39402
      
              This is the Chromium fix for bug 25639 that was fixed in the
              other ports in r59585.
      
              * src/ContextMenuClientImpl.cpp:
              (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@59819 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2e4aa8c6
    • eric@webkit.org's avatar
      2010-05-19 Mario Sanchez Prada <msanchez@igalia.com> · f849d713
      eric@webkit.org authored
              Reviewed by Darin Adler.
      
              Misleading variable name in a11y test
              https://bugs.webkit.org/show_bug.cgi?id=38465
      
              Use a more appropriate variable name for the return
              value of accessibilityController.rootElement
      
              * accessibility/aria-controls-with-tabs.html:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@59818 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f849d713
    • barraclough@apple.com's avatar
      Bug 39399 - Move responsibility for verifying constructors return objects from... · fdaf8dcc
      barraclough@apple.com authored
      Bug 39399 - Move responsibility for verifying constructors return objects from the caller to the callee.
              
      Reviewed by Geoff Garen.
      
      This is a necessary step to move object creation from caller to callee.
      
      * bytecode/CodeBlock.cpp:
      (JSC::CodeBlock::dump):
      * bytecode/Opcode.h:
      * bytecompiler/BytecodeGenerator.cpp:
      (JSC::BytecodeGenerator::BytecodeGenerator):
      (JSC::BytecodeGenerator::emitReturn):
      (JSC::BytecodeGenerator::emitConstruct):
      * bytecompiler/BytecodeGenerator.h:
      (JSC::BytecodeGenerator::isConstructor):
      * bytecompiler/NodesCodegen.cpp:
      (JSC::FunctionBodyNode::emitBytecode):
      * interpreter/Interpreter.cpp:
      (JSC::Interpreter::privateExecute):
      * jit/JIT.cpp:
      (JSC::JIT::privateCompileMainPass):
      (JSC::JIT::privateCompileSlowCases):
      * jit/JIT.h:
      * jit/JITCall.cpp:
      (JSC::JIT::emit_op_constructor_ret):
      * jit/JITOpcodes.cpp:
      (JSC::JIT::emit_op_constructor_ret):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@59817 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fdaf8dcc
    • eric@webkit.org's avatar
      2010-05-19 Andrey Kosyakov <caseq@chromium.org> · f8790ba9
      eric@webkit.org authored
              Reviewed by Timothy Hatcher.
      
              Maintain focus on help screen while it's active.
              https://bugs.webkit.org/show_bug.cgi?id=39237
      
              * inspector/front-end/HelpScreen.js:
              (WebInspector.HelpScreen):
              (WebInspector.HelpScreen.prototype.show):
              (WebInspector.HelpScreen.prototype._hide):
              (WebInspector.HelpScreen.prototype._onBlur):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@59816 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f8790ba9