forked from sanyaade-mobiledev/chromium.src
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reland the patch to move WebGraphicsContext3DImpl out of webkit/.
BUG=338338 TEST= R=jamesr@chromium.org,piman@chromium.org TBR=torne@chromium.org Review URL: https://codereview.chromium.org/810273004 Cr-Commit-Position: refs/heads/master@{#309341}
- Loading branch information
Showing
19 changed files
with
1,783 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
# Copyright 2014 The Chromium Authors. All rights reserved. | ||
# Use of this source code is governed by a BSD-style license that can be | ||
# found in the LICENSE file. | ||
|
||
# GYP version: gpu/blink/gpu_blink.gyp:gpu_blink | ||
component("blink") { | ||
output_name = "gpu_blink" | ||
|
||
sources = [ | ||
"gpu_blink_export.h", | ||
"webgraphicscontext3d_impl.cc", | ||
"webgraphicscontext3d_impl.h", | ||
] | ||
|
||
defines = [ "GPU_BLINK_IMPLEMENTATION" ] | ||
|
||
deps = [ | ||
"//base", | ||
"//base/third_party/dynamic_annotations", | ||
"//cc", | ||
"//gpu/command_buffer/common", | ||
"//gpu/command_buffer/service", | ||
"//gpu/command_buffer/client:gles2_c_lib", | ||
"//gpu/command_buffer/client:gles2_implementation", | ||
"//gpu/command_buffer/client:gl_in_process_context", | ||
"//gpu/skia_bindings", | ||
"//skia", | ||
"//third_party/WebKit/public:blink_minimal", | ||
"//third_party/angle:translator", | ||
"//ui/gl", | ||
"//ui/gfx", | ||
"//ui/gfx/geometry", | ||
] | ||
|
||
if (is_win) { | ||
# TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | ||
cflags = [ "/wd4267" ] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
include_rules = [ | ||
"+third_party/WebKit/public/platform", | ||
"+third_party/khronos/GLES2", | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
# Copyright 2014 The Chromium Authors. All rights reserved. | ||
# Use of this source code is governed by a BSD-style license that can be | ||
# found in the LICENSE file. | ||
|
||
{ | ||
'conditions': [ | ||
['OS != "ios"', { | ||
'targets': [ | ||
{ | ||
# GN version: //gpu/blink | ||
'target_name': 'gpu_blink', | ||
'type': '<(component)', | ||
'variables': { | ||
'chromium_code': 1, | ||
'enable_wexit_time_destructors': 1, | ||
}, | ||
'dependencies': [ | ||
'<(DEPTH)/base/base.gyp:base', | ||
'<(DEPTH)/cc/cc.gyp:cc', | ||
'<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations', | ||
'<(DEPTH)/gpu/command_buffer/command_buffer.gyp:gles2_utils', | ||
'<(DEPTH)/gpu/gpu.gyp:command_buffer_service', | ||
'<(DEPTH)/gpu/gpu.gyp:gles2_c_lib', | ||
'<(DEPTH)/gpu/gpu.gyp:gles2_implementation', | ||
'<(DEPTH)/gpu/gpu.gyp:gl_in_process_context', | ||
'<(DEPTH)/gpu/skia_bindings/skia_bindings.gyp:gpu_skia_bindings', | ||
'<(DEPTH)/skia/skia.gyp:skia', | ||
'<(DEPTH)/third_party/WebKit/public/blink.gyp:blink_minimal', | ||
'<(angle_path)/src/angle.gyp:translator', | ||
'<(DEPTH)/ui/gl/gl.gyp:gl', | ||
'<(DEPTH)/ui/gfx/gfx.gyp:gfx', | ||
'<(DEPTH)/ui/gfx/gfx.gyp:gfx_geometry', | ||
], | ||
'sources': [ | ||
'gpu_blink_export.h', | ||
'webgraphicscontext3d_impl.cc', | ||
'webgraphicscontext3d_impl.h', | ||
], | ||
'defines': [ | ||
'GPU_BLINK_IMPLEMENTATION', | ||
], | ||
# TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | ||
'msvs_disabled_warnings': [ 4267, ], | ||
}, | ||
], | ||
}], | ||
], | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
// Copyright 2014 The Chromium Authors. All rights reserved. | ||
// Use of this source code is governed by a BSD-style license that can be | ||
// found in the LICENSE file. | ||
|
||
#ifndef GPU_BLINK_GPU_BLINK_EXPORT_H_ | ||
#define GPU_BLINK_GPU_BLINK_EXPORT_H_ | ||
|
||
#if defined(COMPONENT_BUILD) | ||
#if defined(WIN32) | ||
|
||
#if defined(GPU_BLINK_IMPLEMENTATION) | ||
#define GPU_BLINK_EXPORT __declspec(dllexport) | ||
#else | ||
#define GPU_BLINK_EXPORT __declspec(dllimport) | ||
#endif // defined(GPU_BLINK_IMPLEMENTATION) | ||
|
||
#else // defined(WIN32) | ||
#if defined(GPU_BLINK_IMPLEMENTATION) | ||
#define GPU_BLINK_EXPORT __attribute__((visibility("default"))) | ||
#else | ||
#define GPU_BLINK_EXPORT | ||
#endif | ||
#endif | ||
|
||
#else // defined(COMPONENT_BUILD) | ||
#define GPU_BLINK_EXPORT | ||
#endif | ||
|
||
#endif // GPU_BLINK_GPU_BLINK_EXPORT_H_ |
Oops, something went wrong.