cef/tests/unittests
Marshall Greenblatt dea4daffd7 Implement off-screen rendering support using delegated rendering (issue #1257).
This implementation supports both GPU compositing and software compositing (used when GPU is not supported or when passing `--disable-gpu --disable-gpu-compositing` command-line flags). GPU-accelerated features (WebGL and 3D CSS) that did not work with the previous off-screen rendering implementation do work with this implementation when GPU support is available.

Rendering now operates on a per-frame basis. The frame rate is configurable via CefBrowserSettings.windowless_frame_rate up to a maximum of 60fps (potentially limited by how fast the system can generate new frames). CEF generates a bitmap from the compositor backing and passes it to CefRenderHandler::OnPaint.

The previous CefRenderHandler/CefBrowserHost API for off-screen rendering has been restored mostly as-is with some minor changes:

- CefBrowserHost::Invalidate no longer accepts a CefRect region argument. Instead of invalidating a specific region it now triggers generation of a new frame.
- The |dirtyRects| argument to CefRenderHandler::OnPaint will now always be a single CefRect representing the whole view (frame) size. Previously, invalidated regions were listed separately.
- Linux: CefBrowserHost::SendKeyEvent now expects X11 event information instead of GTK event information. See cefclient for an example of converting GTK events to the necessary format.
- Sizes passed to the CefRenderHandler OnPaint and OnPopupSize methods are now already DPI scaled. Previously, the client had to perform DPI scaling.
- Includes drag&drop implementation from issue #1032.
- Includes unit test fixes from issue #1245.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1751 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2014-06-30 22:30:29 +00:00
..
mac
browser_info_map_unittest.cc Provide a generic JavaScript message router implementation (issue #1183). 2014-01-27 23:31:03 +00:00
client_app_delegates.cc Provide a generic JavaScript message router implementation (issue #1183). 2014-01-27 23:31:03 +00:00
command_line_unittest.cc
cookie_unittest.cc Update to Chromium revision 248478. 2014-02-05 20:35:45 +00:00
dialog_unittest.cc
display_unittest.cc Update to Chromium revision 242756. 2014-01-02 22:41:11 +00:00
dom_unittest.cc
download_unittest.cc Fix svn:eol-style property. 2013-10-18 16:33:56 +00:00
geolocation_unittest.cc Update to Chromium revision 272007. 2014-05-29 17:15:34 +00:00
jsdialog_unittest.cc
life_span_unittest.cc Provide a generic JavaScript message router implementation (issue #1183). 2014-01-27 23:31:03 +00:00
message_router_unittest.cc Windows: Fix 64-bit compile errors (issue #1184). 2014-01-28 16:58:44 +00:00
navigation_unittest.cc Add <algorithm> include required by VS2013 (issue #1094). 2014-01-14 19:57:17 +00:00
os_rendering_unittest_mac.h Implement off-screen rendering support using delegated rendering (issue #1257). 2014-06-30 22:30:29 +00:00
os_rendering_unittest_mac.mm Implement off-screen rendering support using delegated rendering (issue #1257). 2014-06-30 22:30:29 +00:00
os_rendering_unittest.cc Implement off-screen rendering support using delegated rendering (issue #1257). 2014-06-30 22:30:29 +00:00
process_message_unittest.cc Provide a generic JavaScript message router implementation (issue #1183). 2014-01-27 23:31:03 +00:00
request_context_unittest.cc Linux: Fix compile error 2013-09-03 19:12:22 +00:00
request_handler_unittest.cc Remove CefRenderProcessHandler::OnBeforeNavigation (issue #1076). 2013-09-16 15:26:08 +00:00
request_unittest.cc Restore CefRenderProcessHandler::OnBeforeNavigation (issue #1076). This method is still needed for some use cases due to issue #1129. 2013-11-21 20:59:28 +00:00
routing_test_handler.cc Provide a generic JavaScript message router implementation (issue #1183). 2014-01-27 23:31:03 +00:00
routing_test_handler.h Provide a generic JavaScript message router implementation (issue #1183). 2014-01-27 23:31:03 +00:00
run_all_unittests_mac.mm
run_all_unittests.cc Linux: Fix crash due to Chromium modifying the |argv| passed to main() (issue #620). 2014-06-25 19:47:06 +00:00
scheme_handler_unittest.cc Add <algorithm> include required by VS2013 (issue #1094). 2014-01-14 19:57:17 +00:00
stream_resource_handler_unittest.cc Fix completion status for asynchronous custom resource handler requests (issue #1066, issue #1187). 2014-02-06 00:18:33 +00:00
stream_unittest.cc - Add MayBlock() method to stream classes which is used as a hint when determining the thread to access the stream from (issue #1187). 2014-01-30 23:15:55 +00:00
string_unittest.cc
task_unittest.cc Fix error in TaskTest.PostDelayedTask1 test. 2013-11-11 16:57:20 +00:00
test_handler.cc Provide a generic JavaScript message router implementation (issue #1183). 2014-01-27 23:31:03 +00:00
test_handler.h Update to Chromium revision 248478. 2014-02-05 20:35:45 +00:00
test_suite.cc Implement off-screen rendering support using delegated rendering (issue #1257). 2014-06-30 22:30:29 +00:00
test_suite.h Update to Chromium revision 261035. 2014-04-04 16:50:38 +00:00
test_util.cc Windows: Fix 64-bit compile errors (issue #394). 2013-08-14 21:45:22 +00:00
test_util.h
tracing_unittest.cc Update to Chromium revision 248478. 2014-02-05 20:35:45 +00:00
url_unittest.cc Add a new CefURLParts.origin member for retrieving the origin when parsing a URL. 2014-01-28 19:19:41 +00:00
urlrequest_unittest.cc Update to Chromium revision 261035. 2014-04-04 16:50:38 +00:00
v8_unittest.cc - Support DevTools without remote debugging via CefBrowserHost::ShowDevTools and CloseDevTools methods (issue #659). 2013-11-08 16:06:06 +00:00
values_unittest.cc
version_unittest.cc
xml_reader_unittest.cc
zip_reader_unittest.cc Add password argument to CefZipArchive::Load (issue #986). 2013-06-10 18:23:48 +00:00