1. 09 Feb, 2015 - 1 commit
  2. 23 Jan, 2015 - 3 commits
  3. 31 Mar, 2014 - 1 commit
    • Simon Hausmann's avatar
      Centralize OpenGL initialization · 3d6d6594
      Simon Hausmann authored
      
      We now require the user to use QWebEngine::initialize() in main (preferably) and
      print out an error message if this wasn't set up accordingly. This limits the use
      of private scene graph API to inside QWebEngine and offers public API for users
      of the API.
      
      Change-Id: I787c176a85ab7784dbc8787d9876960b4872959e
      Reviewed-by: default avatarJocelyn Turcotte <jocelyn.turcotte@digia.com>
      3d6d6594
  4. 26 Mar, 2014 - 1 commit
  5. 19 Mar, 2014 - 3 commits
    • Jocelyn Turcotte's avatar
      Fork the quicknanobrowser as tests/quicktestbrowser · c117207e
      Jocelyn Turcotte authored
      
      This also removed experimental API uses from the quicknanobrowser example,
      which should be used mainly for documentation purposes.
      
      The quicktestbrowser should be the one that we use from now on as a raw testbed
      of new APIs.
      
      As with other targets in the tests directory, it will only be built by default
      if Qt is configured with -developer-build (and without -nomake tests).
      
      Change-Id: Ib4461c898cd3227bbb810493daac4d841d0d8f3e
      Reviewed-by: default avatarPierre Rossi <pierre.rossi@gmail.com>
      c117207e
    • Jocelyn Turcotte's avatar
      Rename example directories to match the source install destination · 482a89fb
      Jocelyn Turcotte authored
      
      To match other modules example directory structures we should deploy our
      examples in a directory matching the module name, webengine and
      webenginewidgets in our case.
      
      qmake uses the relative directory of each example up to the upper "examples"
      directory to decide where they will be deployed when running the sources
      install target.
      
      Change-Id: I59ce7ff8a30f98fad20064c7eecf72b784f1d275
      Reviewed-by: default avatarPierre Rossi <pierre.rossi@gmail.com>
      482a89fb
    • Jocelyn Turcotte's avatar
      Remove the widgetsnanobrowser example · f8d1105a
      Jocelyn Turcotte authored
      
      This example hasn't been touched since we imported QtWebKit examples.
      If we need to have a more test-purpose widgets browser in the future,
      we can dig it back from the history.
      
      Change-Id: Icee9bd7f09827a97b33c6783b87311e331d963b1
      Reviewed-by: default avatarPierre Rossi <pierre.rossi@gmail.com>
      f8d1105a
  6. 15 Jan, 2014 - 2 commits
    • Pierre Rossi's avatar
      Pave the way for our UI delegation strategy. · e4688691
      Pierre Rossi authored
      
      Starting with the context Menus for QtQuick.
      Add default UI delegates as a subproject. We allow ourselves to use
      Qt Quick Controls there for in order to get a nice "out of the box"
      experience for things like context menus, dialogs, etc while leaving
      the door open for system embedders to override this.
      
      Opting out of the deployment of these QML files is still very primitive
      but can be done by passing WEBENGINE_CONFIG+=no_ui_delegates at qmake
      time.
      
      Customization of context menus could be done via a qml component, which
      is probably best kept in experimental for now while we address its
      shortcomings.
      
      Change-Id: I0705b20d5ddd3bb010f9371b65a181c6b02a03e1
      Reviewed-by: default avatarJocelyn Turcotte <jocelyn.turcotte@digia.com>
      e4688691
    • Simon Hausmann's avatar
      Fix installation of most examples · 0b611c39
      Simon Hausmann authored
      
      * Make sure the example source code is installed
      * Make sure the installation path is consistent with the path within the module, to ensure
        that the sources end up next to the compiled binary.
      * Skip the widgets nano browser from the installation, as it's a developer tool.
      
      Change-Id: I35b421e12f8e6ddd3f2045e318b21543ff929cd8
      Reviewed-by: default avatarJocelyn Turcotte <jocelyn.turcotte@digia.com>
      0b611c39
  7. 18 Nov, 2013 - 1 commit
    • Jocelyn Turcotte's avatar
      Remove the need for application to set an RPATH. · 175cc28b
      Jocelyn Turcotte authored
      
      The WebEngineWidgets module and the WebEngine QtQuick plugin libraries
      already have the RPATH set properly in their headers and the application
      won't need to link any symbol directly to the Core library.
      
      Remove the RPATH directive for examples and tests and fix the build issue
      by making sure that the link directive isn't passed to dependencies
      through the prl or pkgconfig file.
      
      Change-Id: Id1f5efb8c9823613e804e8e6356d711d561d72ec
      Reviewed-by: default avatarAndras Becsi <andras.becsi@digia.com>
      175cc28b
  8. 11 Nov, 2013 - 1 commit
    • Jocelyn Turcotte's avatar
      Delegated renderer: Put textures on those quads. · 7403ef59
      Jocelyn Turcotte authored
      A few changes are necessary to allow fetching textures provided by
      the render processes through IPC and bound to their respective GL
      context in the GPU process and use them in the QtQuick scene graph.
      
      - Remove the plain color test textures.
      - Allow setting the QtQuick QOpenGLContext's handle as the share
        context for all context set as shared in the Chromium GPU process.
        We do this by letting the GpuChannelManager ask us for a
        ShareGroup instance responsible for returning a sharing GL context
        handle.
      - Fetch texture IDs from the MailboxManager used by the GPU process
        using the Mailbox given to us in the DelegatedFrameData.
        This is the same mechanism used by Chromium to share textures
        between "client" GL contexts.
      - Keep the QtQuick scene graph threads and Chromium in-process GPU
        thread separate. The complicated part of merging those two
        rendering pipelines on the same thread is that it would force Qt
        to also use only one thread for rende...
      7403ef59
  9. 19 Aug, 2013 - 2 commits
    • Jocelyn Turcotte's avatar
      Detach common.pri from the nano browser examples. · b6b4418d
      Jocelyn Turcotte authored
      
      Move common.pri to the root directory to be able to use it with tests.
      Remove nano browser specific logic (util.h include and common resources)
      from this file and use relative paths in the examples instead.
      
      This also remove unnecessary directives:
      - lib doesn't have to be added to INCLUDEPATH since proper modules are used
      - util.h doesn't need to be added to HEADERS, moc doesn't need to go through it
      - MOC_DIR doesn't have to be adjusted anymore
      
      Change-Id: Id706e7f2ef7c9607bdcd0ba63afecf5b5854262b
      Reviewed-by: default avatarPierre Rossi <pierre.rossi@gmail.com>
      b6b4418d
    • Jocelyn Turcotte's avatar
      Prepare the directories to have more examples included. · 6713e926
      Jocelyn Turcotte authored
      
      This also ajust the name to be consistent with other Qt examples.
      - Move nano browser one directory level down,
        also renaming them to match their target name
      - Remove the dashes from the target names
      - Rename the qtquick example directory to quick, matching the style in lib
      
      Change-Id: I4a5e31be0b919ae596eadbf731be52372ae61151
      Reviewed-by: default avatarZeno Albisser <zeno.albisser@digia.com>
      6713e926
  10. 31 Jul, 2013 - 1 commit
    • Pierre Rossi's avatar
      Split out the Widgets and QtQuick integration · 67d042d0
      Pierre Rossi authored
      
      This is the first step to making proper Qt Modules out of QtWebEngine.
      The Widgets integration becomes a proper C++ Qt Module while we make
      the QtQuick side a QML plugin for now (could probably be promoted if
      the need arises).
      
      Code-wise, this means the introduction of a WebContentsAdapterClient
      interface that is subclassed by the private implementation of our API
      classes for delegation of things that are UI specific. Functionality
      from WebContents and the like is exposed via the WebContentsAdapter.
      
      Change-Id: I4ca3395b9fe8502a24e36002cfd5af44067bb6e8
      Reviewed-by: default avatarJocelyn Turcotte <jocelyn.turcotte@digia.com>
      67d042d0
  11. 18 Jun, 2013 - 1 commit
  12. 17 Jun, 2013 - 1 commit