-
Notifications
You must be signed in to change notification settings - Fork 135
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
export USE_RBE=1 cobalt/build/gn.py -p linux-cobalt-x64x11 -C devel --no-check --override-args autoninja -C out/linux-cobalt-x64x11_devel/ content_shell content_shell --single-process --ozone-platform=starboard https://www.youtube.com/tv
- Loading branch information
Showing
39 changed files
with
1,541 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
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
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,68 @@ | ||
# Copyright 2024 The Chromium Authors | ||
# Use of this source code is governed by a BSD-style license that can be | ||
# found in the LICENSE file. | ||
|
||
import("//build/config/ozone.gni") | ||
|
||
visibility = [ | ||
"//ui/ozone/*", | ||
] | ||
|
||
source_set("starboard") { | ||
public_configs = [ | ||
] | ||
sources = [ | ||
"client_native_pixmap_factory_starboard.cc", | ||
"client_native_pixmap_factory_starboard.h", | ||
"gl_ozone_egl_starboard.cc", | ||
"gl_ozone_egl_starboard.h", | ||
"gl_surface_starboard.cc", | ||
"gl_surface_starboard.h", | ||
"overlay_manager_starboard.cc", | ||
"overlay_manager_starboard.h", | ||
"ozone_platform_starboard.cc", | ||
"ozone_platform_starboard.h", | ||
"platform_screen_starboard.cc", | ||
"platform_screen_starboard.h", | ||
"platform_window_starboard.cc", | ||
"platform_window_starboard.h", | ||
"surface_factory_starboard.cc", | ||
"surface_factory_starboard.h", | ||
"starboard_platform_event_source.h", | ||
"starboard_platform_event_source.cc", | ||
] | ||
|
||
defines = [ | ||
"OZONE_IMPLEMENTATION", | ||
] | ||
|
||
deps = [ | ||
"//base", | ||
"//starboard($starboard_toolchain)", | ||
"//ui/base/cursor", | ||
"//ui/base/ime", | ||
"//ui/events/ozone", | ||
"//ui/events/ozone/evdev", | ||
"//ui/events/ozone/layout", | ||
"//ui/gfx", | ||
"//ui/gfx/geometry", | ||
"//ui/ozone:ozone_base", | ||
"//ui/ozone/common", | ||
"//ui/platform_window", | ||
"//ui/platform_window/stub", | ||
] | ||
} | ||
|
||
source_set("test_support") { | ||
testonly = true | ||
|
||
sources = [ | ||
"starboard_ozone_ui_controls_test_helper.cc", | ||
"starboard_ozone_ui_controls_test_helper.h", | ||
] | ||
|
||
deps = [ | ||
"//ui/aura:aura", | ||
"//ui/base/x:test_support", | ||
] | ||
} |
17 changes: 17 additions & 0 deletions
17
ui/ozone/platform/starboard/client_native_pixmap_factory_starboard.cc
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,17 @@ | ||
// Copyright 2024 The Chromium Authors | ||
// Use of this source code is governed by a BSD-style license that can be | ||
// found in the LICENSE file. | ||
|
||
#include "ui/ozone/platform/starboard/client_native_pixmap_factory_starboard.h" | ||
|
||
#include "base/logging.h" | ||
#include "ui/ozone/common/stub_client_native_pixmap_factory.h" | ||
|
||
namespace ui { | ||
|
||
gfx::ClientNativePixmapFactory* CreateClientNativePixmapFactoryStarboard() { | ||
LOG(INFO) << "CreateClientNativePixmapFactoryStarboard"; | ||
return CreateStubClientNativePixmapFactory(); | ||
} | ||
|
||
} // namespace ui |
18 changes: 18 additions & 0 deletions
18
ui/ozone/platform/starboard/client_native_pixmap_factory_starboard.h
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,18 @@ | ||
// Copyright 2024 The Chromium Authors | ||
// Use of this source code is governed by a BSD-style license that can be | ||
// found in the LICENSE file. | ||
|
||
#ifndef UI_OZONE_PLATFORM_STARBOARD_CLIENT_NATIVE_PIXMAP_FACTORY_STARBOARD_H_ | ||
#define UI_OZONE_PLATFORM_STARBOARD_CLIENT_NATIVE_PIXMAP_FACTORY_STARBOARD_H_ | ||
|
||
namespace gfx { | ||
class ClientNativePixmapFactory; | ||
} | ||
|
||
namespace ui { | ||
|
||
gfx::ClientNativePixmapFactory* CreateClientNativePixmapFactoryStarboard(); | ||
|
||
} // namespace ui | ||
|
||
#endif // UI_OZONE_PLATFORM_STARBOARD_CLIENT_NATIVE_PIXMAP_FACTORY_STARBOARD_H_ |
Oops, something went wrong.