Bug 112150 - [GTK] Add rendering of texture mapper backing store tiles using cairo-gl
Summary: [GTK] Add rendering of texture mapper backing store tiles using cairo-gl
Status: UNCONFIRMED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on: 104672
Blocks:
  Show dependency treegraph
 
Reported: 2013-03-12 07:18 PDT by Anton Obzhirov
Modified: 2017-03-11 10:57 PST (History)
8 users (show)

See Also:


Attachments
WIP patch (16.97 KB, patch)
2013-03-12 07:18 PDT, Anton Obzhirov
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Anton Obzhirov 2013-03-12 07:18:40 PDT
Created attachment 192732 [details]
WIP patch

This is my first attempt to enable texture mapper backing store tiles rendering directly into GL textures
using cairo gl.

The idea is to use cairo gl backend to render graphics layers into GPU memory skipping rendering in software memory.
In force composting mode it would allow to render whole page in GPU memory.
In theory it should improve performance of page rendering and help the integration of cairo gl with WebKit GTK.

This is work in progress patch and I want to use it as a starting point for the discussion to find the best
approach possible.

In order to try the patch you should enable force compositing and webgl in Source/WebKit2/Shared/WebPreferencesStore.h.
Also you should apply Alex's 2D canvas patch first as I reuse some bits of it for this patch.
Comment 1 Mario Sanchez Prada 2013-03-12 07:20:34 PDT
This depends on the cairo-gl work