cef/libcef_dll/ctocpp
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
..
allow_certificate_error_callback_ctocpp.cc Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
allow_certificate_error_callback_ctocpp.h Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
app_ctocpp.cc Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
app_ctocpp.h Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
auth_callback_ctocpp.cc Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
auth_callback_ctocpp.h Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
base_ctocpp.h Branch CEF3 files from /branches/cef3 to /trunk/cef3 (issue #564). 2012-04-03 01:34:16 +00:00
before_download_callback_ctocpp.cc Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
before_download_callback_ctocpp.h Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
binary_value_ctocpp.cc Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
binary_value_ctocpp.h Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
browser_ctocpp.cc Add <algorithm> include required by VS2013 (issue #1094). 2014-01-14 02:45:56 +00:00
browser_ctocpp.h Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
browser_host_ctocpp.cc Implement off-screen rendering support using delegated rendering (issue #1257). 2014-06-30 22:30:29 +00:00
browser_host_ctocpp.h Implement off-screen rendering support using delegated rendering (issue #1257). 2014-06-30 22:30:29 +00:00
browser_process_handler_ctocpp.cc Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
browser_process_handler_ctocpp.h Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
callback_ctocpp.cc Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
callback_ctocpp.h Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
client_ctocpp.cc Implement off-screen rendering support using delegated rendering (issue #1257). 2014-06-30 22:30:29 +00:00
client_ctocpp.h Implement off-screen rendering support using delegated rendering (issue #1257). 2014-06-30 22:30:29 +00:00
command_line_ctocpp.cc Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
command_line_ctocpp.h Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
completion_callback_ctocpp.cc Update to Chromium revision 248478. 2014-02-05 20:35:45 +00:00
completion_callback_ctocpp.h Update to Chromium revision 248478. 2014-02-05 20:35:45 +00:00
context_menu_handler_ctocpp.cc Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
context_menu_handler_ctocpp.h Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
context_menu_params_ctocpp.cc Update to Chromium revision 272007. 2014-05-29 17:15:34 +00:00
context_menu_params_ctocpp.h Update to Chromium revision 272007. 2014-05-29 17:15:34 +00:00
cookie_manager_ctocpp.cc Update to Chromium revision 248478. 2014-02-05 20:35:45 +00:00
cookie_manager_ctocpp.h Update to Chromium revision 248478. 2014-02-05 20:35:45 +00:00
cookie_visitor_ctocpp.cc Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
cookie_visitor_ctocpp.h Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
ctocpp.h Branch CEF3 files from /branches/cef3 to /trunk/cef3 (issue #564). 2012-04-03 01:34:16 +00:00
dialog_handler_ctocpp.cc Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
dialog_handler_ctocpp.h Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
dictionary_value_ctocpp.cc Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
dictionary_value_ctocpp.h Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
display_handler_ctocpp.cc Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
display_handler_ctocpp.h Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
domdocument_ctocpp.cc Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
domdocument_ctocpp.h Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
domevent_ctocpp.cc Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
domevent_ctocpp.h Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
domevent_listener_ctocpp.cc Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
domevent_listener_ctocpp.h Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
domnode_ctocpp.cc Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
domnode_ctocpp.h Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
domvisitor_ctocpp.cc Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
domvisitor_ctocpp.h Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
download_handler_ctocpp.cc Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
download_handler_ctocpp.h Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
download_item_callback_ctocpp.cc Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
download_item_callback_ctocpp.h Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
download_item_ctocpp.cc Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
download_item_ctocpp.h Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
drag_data_ctocpp.cc Implement off-screen rendering support using delegated rendering (issue #1257). 2014-06-30 22:30:29 +00:00
drag_data_ctocpp.h Implement off-screen rendering support using delegated rendering (issue #1257). 2014-06-30 22:30:29 +00:00
drag_handler_ctocpp.cc Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
drag_handler_ctocpp.h Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
end_tracing_callback_ctocpp.cc Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
end_tracing_callback_ctocpp.h Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
file_dialog_callback_ctocpp.cc Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
file_dialog_callback_ctocpp.h Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
focus_handler_ctocpp.cc Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
focus_handler_ctocpp.h Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
frame_ctocpp.cc Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
frame_ctocpp.h Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
geolocation_callback_ctocpp.cc Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
geolocation_callback_ctocpp.h Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
geolocation_handler_ctocpp.cc Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
geolocation_handler_ctocpp.h Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
get_geolocation_callback_ctocpp.cc Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
get_geolocation_callback_ctocpp.h Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
jsdialog_callback_ctocpp.cc Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
jsdialog_callback_ctocpp.h Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
jsdialog_handler_ctocpp.cc Fix wrapping of comments in generated files. 2014-02-11 22:46:57 +00:00
jsdialog_handler_ctocpp.h Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
keyboard_handler_ctocpp.cc Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
keyboard_handler_ctocpp.h Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
life_span_handler_ctocpp.cc Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
life_span_handler_ctocpp.h Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
list_value_ctocpp.cc Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
list_value_ctocpp.h Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
load_handler_ctocpp.cc Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
load_handler_ctocpp.h Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
menu_model_ctocpp.cc Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
menu_model_ctocpp.h Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
permission_handler_ctocpp.cc Branch CEF3 files from /branches/cef3 to /trunk/cef3 (issue #564). 2012-04-03 01:34:16 +00:00
permission_handler_ctocpp.h Branch CEF3 files from /branches/cef3 to /trunk/cef3 (issue #564). 2012-04-03 01:34:16 +00:00
post_data_ctocpp.cc Add <algorithm> include required by VS2013 (issue #1094). 2014-01-14 02:45:56 +00:00
post_data_ctocpp.h Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
post_data_element_ctocpp.cc Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
post_data_element_ctocpp.h Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
process_message_ctocpp.cc Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
process_message_ctocpp.h Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
quota_callback_ctocpp.cc Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
quota_callback_ctocpp.h Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
read_handler_ctocpp.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
read_handler_ctocpp.h - 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
render_handler_ctocpp.cc Implement off-screen rendering support using delegated rendering (issue #1257). 2014-06-30 22:30:29 +00:00
render_handler_ctocpp.h Implement off-screen rendering support using delegated rendering (issue #1257). 2014-06-30 22:30:29 +00:00
render_process_handler_ctocpp.cc Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
render_process_handler_ctocpp.h Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
request_context_ctocpp.cc Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
request_context_ctocpp.h Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
request_context_handler_ctocpp.cc Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
request_context_handler_ctocpp.h Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
request_ctocpp.cc Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
request_ctocpp.h Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
request_handler_ctocpp.cc Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
request_handler_ctocpp.h Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
resource_bundle_handler_ctocpp.cc Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
resource_bundle_handler_ctocpp.h Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
resource_handler_ctocpp.cc Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
resource_handler_ctocpp.h Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
response_ctocpp.cc Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
response_ctocpp.h Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
run_file_dialog_callback_ctocpp.cc Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
run_file_dialog_callback_ctocpp.h Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
scheme_handler_factory_ctocpp.cc Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
scheme_handler_factory_ctocpp.h Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
scheme_registrar_ctocpp.cc Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
scheme_registrar_ctocpp.h Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
stream_reader_ctocpp.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
stream_reader_ctocpp.h - 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
stream_writer_ctocpp.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
stream_writer_ctocpp.h - 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_visitor_ctocpp.cc Make |string| parameter to CefStringVisitor::Visit optional (issue #1216). 2014-03-12 14:49:11 +00:00
string_visitor_ctocpp.h Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
task_ctocpp.cc Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
task_ctocpp.h Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
task_runner_ctocpp.cc Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
task_runner_ctocpp.h Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
urlrequest_client_ctocpp.cc Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
urlrequest_client_ctocpp.h Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
urlrequest_ctocpp.cc Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
urlrequest_ctocpp.h Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
v8accessor_ctocpp.cc Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
v8accessor_ctocpp.h Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
v8context_ctocpp.cc Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
v8context_ctocpp.h Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
v8exception_ctocpp.cc Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
v8exception_ctocpp.h Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
v8handler_ctocpp.cc Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
v8handler_ctocpp.h Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
v8stack_frame_ctocpp.cc Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
v8stack_frame_ctocpp.h Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
v8stack_trace_ctocpp.cc Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
v8stack_trace_ctocpp.h Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
v8value_ctocpp.cc Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
v8value_ctocpp.h Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
web_plugin_info_ctocpp.cc Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
web_plugin_info_ctocpp.h Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
web_plugin_info_visitor_ctocpp.cc Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
web_plugin_info_visitor_ctocpp.h Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
web_plugin_unstable_callback_ctocpp.cc Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
web_plugin_unstable_callback_ctocpp.h Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
write_handler_ctocpp.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
write_handler_ctocpp.h - 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
xml_reader_ctocpp.cc Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
xml_reader_ctocpp.h Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
zip_reader_ctocpp.cc Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
zip_reader_ctocpp.h Update copyright year in generated files. 2014-01-06 19:48:18 +00:00