mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Update to Chromium revision 100584.
- Add a new CefSettings.graphics_implementation option for using different GL implementations. - Disable accelerated compositing by default due to multiple issues (issue #334, issue #335, issue #337). - Eliminate the "patcher" project and perform all patching during GYP project generation. - Fix references to non-existent files in cef.gyp. - Move BrowserWebKitInit method implementations to a separate .cc file. - Add support for Flash on Mac (issue #305). git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@284 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
@@ -135,6 +135,12 @@ typedef struct _cef_settings_t
|
||||
// logged.
|
||||
///
|
||||
cef_log_severity_t log_severity;
|
||||
|
||||
///
|
||||
// The graphics implementation that CEF will use for rendering GPU accelerated
|
||||
// content like WebGL, accelerated layers and 3D CSS.
|
||||
///
|
||||
cef_graphics_implementation_t graphics_implementation;
|
||||
} cef_settings_t;
|
||||
|
||||
///
|
||||
@@ -321,9 +327,11 @@ typedef struct _cef_browser_settings_t
|
||||
bool webgl_disabled;
|
||||
|
||||
///
|
||||
// Set to true (1) to disable accelerated compositing.
|
||||
// Set to true (1) to enable accelerated compositing. This is turned off by
|
||||
// default because the current in-process GPU implementation does not
|
||||
// support it correctly.
|
||||
///
|
||||
bool accelerated_compositing_disabled;
|
||||
bool accelerated_compositing_enabled;
|
||||
|
||||
///
|
||||
// Set to true (1) to disable accelerated layers. This affects features like
|
||||
|
@@ -43,6 +43,15 @@ extern "C" {
|
||||
#define cef_window_handle_t GtkWidget*
|
||||
#define cef_cursor_handle_t void*
|
||||
|
||||
///
|
||||
// Supported graphics implementations.
|
||||
///
|
||||
enum cef_graphics_implementation_t
|
||||
{
|
||||
DESKTOP_IN_PROCESS = 0,
|
||||
DESKTOP_IN_PROCESS_COMMAND_BUFFER,
|
||||
};
|
||||
|
||||
///
|
||||
// Class representing window information.
|
||||
///
|
||||
|
@@ -51,6 +51,15 @@ class NSView;
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
///
|
||||
// Supported graphics implementations.
|
||||
///
|
||||
enum cef_graphics_implementation_t
|
||||
{
|
||||
DESKTOP_IN_PROCESS = 0,
|
||||
DESKTOP_IN_PROCESS_COMMAND_BUFFER,
|
||||
};
|
||||
|
||||
///
|
||||
// Class representing window information.
|
||||
///
|
||||
|
@@ -43,6 +43,17 @@ extern "C" {
|
||||
#define cef_window_handle_t HWND
|
||||
#define cef_cursor_handle_t HCURSOR
|
||||
|
||||
///
|
||||
// Supported graphics implementations.
|
||||
///
|
||||
enum cef_graphics_implementation_t
|
||||
{
|
||||
ANGLE_IN_PROCESS = 0,
|
||||
ANGLE_IN_PROCESS_COMMAND_BUFFER,
|
||||
DESKTOP_IN_PROCESS,
|
||||
DESKTOP_IN_PROCESS_COMMAND_BUFFER,
|
||||
};
|
||||
|
||||
///
|
||||
// Class representing window information.
|
||||
///
|
||||
|
@@ -280,6 +280,7 @@ struct CefSettingsTraits {
|
||||
cef_string_set(src->log_file.str, src->log_file.length, &target->log_file,
|
||||
copy);
|
||||
target->log_severity = src->log_severity;
|
||||
target->graphics_implementation = src->graphics_implementation;
|
||||
}
|
||||
};
|
||||
|
||||
@@ -374,8 +375,8 @@ struct CefBrowserSettingsTraits {
|
||||
target->databases_disabled = src->databases_disabled;
|
||||
target->application_cache_disabled = src->application_cache_disabled;
|
||||
target->webgl_disabled = src->webgl_disabled;
|
||||
target->accelerated_compositing_disabled =
|
||||
src->accelerated_compositing_disabled;
|
||||
target->accelerated_compositing_enabled =
|
||||
src->accelerated_compositing_enabled;
|
||||
target->accelerated_layers_disabled = src->accelerated_layers_disabled;
|
||||
target->accelerated_video_disabled = src->accelerated_video_disabled;
|
||||
target->accelerated_2d_canvas_disabled =
|
||||
|
Reference in New Issue
Block a user