code
stringlengths
1
1.05M
repo_name
stringlengths
6
83
path
stringlengths
3
242
language
stringclasses
222 values
license
stringclasses
20 values
size
int64
1
1.05M
// Copyright 2016 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/drm/host/host_cursor_proxy.h" #include <utility> #include "base/task/single_thread_task_runner.h" #include "base/threading/platform_thread.h" #inc...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/drm/host/host_cursor_proxy.cc
C++
unknown
2,340
// Copyright 2016 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_DRM_HOST_HOST_CURSOR_PROXY_H_ #define UI_OZONE_PLATFORM_DRM_HOST_HOST_CURSOR_PROXY_H_ #include "base/task/single_thread_task_runner.h" #include "mojo...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/drm/host/host_cursor_proxy.h
C++
unknown
2,188
// Copyright 2016 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/drm/host/host_drm_device.h" #include <memory> #include <utility> #include <vector> #include "base/functional/bind.h" #include "base/run_loop.h" #i...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/drm/host/host_drm_device.cc
C++
unknown
11,874
// Copyright 2016 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_DRM_HOST_HOST_DRM_DEVICE_H_ #define UI_OZONE_PLATFORM_DRM_HOST_HOST_DRM_DEVICE_H_ #include <memory> #include "base/functional/callback.h" #include "...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/drm/host/host_drm_device.h
C++
unknown
5,262
// Copyright 2014 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/drm/ozone_platform_drm.h" #include <gbm.h> #include <stdlib.h> #include <xf86drm.h> #include <memory> #include <utility> #include "base/check.h" #...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/drm/ozone_platform_drm.cc
C++
unknown
15,059
// Copyright 2014 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_DRM_OZONE_PLATFORM_DRM_H_ #define UI_OZONE_PLATFORM_DRM_OZONE_PLATFORM_DRM_H_ namespace ui { class OzonePlatform; // Constructor hook for use in oz...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/drm/ozone_platform_drm.h
C++
unknown
458
include_rules = [ "+third_party/libdrm", ]
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/drm/test/DEPS
Python
unknown
45
// Copyright 2022 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/drm/test/integration_test_helpers.h" #include <fcntl.h> #include <unistd.h> #include <string> #include <utility> #include "base/files/file_path.h...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/drm/test/integration_test_helpers.cc
C++
unknown
1,558
// Copyright 2022 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_DRM_TEST_INTEGRATION_TEST_HELPERS_H_ #define UI_OZONE_PLATFORM_DRM_TEST_INTEGRATION_TEST_HELPERS_H_ #include <string> #include <utility> #include "b...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/drm/test/integration_test_helpers.h
C++
unknown
626
// Copyright 2022 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include <vector> #include "base/run_loop.h" #include "base/test/bind.h" #include "base/test/task_environment.h" #include "testing/gtest/include/gtest/gtest.h" #include "ui/di...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/drm/test/vkms_tests.cc
C++
unknown
5,684
include_rules = [ "+gpu/ipc/common", "+mojo/public", "+third_party/angle/src/common/fuchsia_egl", "+third_party/skia/include", "+gpu/ipc/common", ]
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/flatland/DEPS
Python
unknown
158
// Copyright 2021 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/flatland/client_native_pixmap_factory_flatland.h" #include <lib/zx/vmar.h> #include <lib/zx/vmo.h> #include <vector> #include "base/bits.h" #inclu...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/flatland/client_native_pixmap_factory_flatland.cc
C++
unknown
8,854
// Copyright 2021 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/flatland/flatland_connection.h" #include <lib/sys/cpp/component_context.h> #include "base/check.h" #include "base/check_op.h" #include "base/fuchs...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/flatland/flatland_connection.cc
C++
unknown
4,440
// Copyright 2021 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_FLATLAND_FLATLAND_CONNECTION_H_ #define UI_OZONE_PLATFORM_FLATLAND_FLATLAND_CONNECTION_H_ #include <fuchsia/ui/composition/cpp/fidl.h> #include <mem...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/flatland/flatland_connection.h
C++
unknown
3,990
// Copyright 2021 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/flatland/flatland_connection.h" #include <fuchsia/scenic/scheduling/cpp/fidl.h> #include <fuchsia/ui/composition/cpp/fidl.h> #include <lib/ui/sceni...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/flatland/flatland_connection_unittest.cc
C++
unknown
9,854
// Copyright 2021 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/flatland/flatland_gpu_host.h" #include <inttypes.h> #include <utility> #include "base/functional/bind.h" #include "base/functional/callback.h" #in...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/flatland/flatland_gpu_host.cc
C++
unknown
2,815
// Copyright 2021 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_FLATLAND_FLATLAND_GPU_HOST_H_ #define UI_OZONE_PLATFORM_FLATLAND_FLATLAND_GPU_HOST_H_ #include <inttypes.h> #include "base/functional/callback.h" #i...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/flatland/flatland_gpu_host.h
C++
unknown
2,651
// Copyright 2021 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/flatland/flatland_gpu_service.h" #include "base/functional/bind.h" #include "mojo/public/c/system/message_pipe.h" namespace ui { FlatlandGpuServi...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/flatland/flatland_gpu_service.cc
C++
unknown
1,526
// Copyright 2021 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_FLATLAND_FLATLAND_GPU_SERVICE_H_ #define UI_OZONE_PLATFORM_FLATLAND_FLATLAND_GPU_SERVICE_H_ #include "base/functional/callback.h" #include "base/memo...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/flatland/flatland_gpu_service.h
C++
unknown
1,903
// Copyright 2021 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/flatland/flatland_screen.h" #include "base/notreached.h" #include "ui/display/display.h" #include "ui/display/display_observer.h" #include "ui/gfx/...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/flatland/flatland_screen.cc
C++
unknown
1,801
// Copyright 2021 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_FLATLAND_FLATLAND_SCREEN_H_ #define UI_OZONE_PLATFORM_FLATLAND_FLATLAND_SCREEN_H_ #include <vector> #include "base/memory/weak_ptr.h" #include "base...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/flatland/flatland_screen.h
C++
unknown
1,586
// Copyright 2021 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/flatland/flatland_surface.h" #include <lib/sys/cpp/component_context.h> #include <lib/zx/eventpair.h> #include <zircon/types.h> #include "base/che...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/flatland/flatland_surface.cc
C++
unknown
19,371
// Copyright 2021 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_FLATLAND_FLATLAND_SURFACE_H_ #define UI_OZONE_PLATFORM_FLATLAND_FLATLAND_SURFACE_H_ #include <fuchsia/ui/composition/cpp/fidl.h> #include <vulkan/vul...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/flatland/flatland_surface.h
C++
unknown
6,204
// Copyright 2023 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/flatland/flatland_surface_canvas.h" #include <fuchsia/sysmem/cpp/fidl.h> #include <fuchsia/ui/composition/cpp/fidl.h> #include "base/fuchsia/fuchs...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/flatland/flatland_surface_canvas.cc
C++
unknown
14,885
// Copyright 2023 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_FLATLAND_FLATLAND_SURFACE_CANVAS_H_ #define UI_OZONE_PLATFORM_FLATLAND_FLATLAND_SURFACE_CANVAS_H_ #include "base/memory/shared_memory_mapping.h" #inc...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/flatland/flatland_surface_canvas.h
C++
unknown
3,687
// Copyright 2023 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/flatland/flatland_surface_canvas.h" #include <fuchsia/sysmem/cpp/fidl.h> #include <lib/sys/cpp/component_context.h> #include <lib/ui/scenic/cpp/tes...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/flatland/flatland_surface_canvas_unittest.cc
C++
unknown
9,982
// Copyright 2021 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/flatland/flatland_surface_factory.h" #include <lib/sys/cpp/component_context.h> #include <lib/zx/event.h> #include <memory> #include "base/contain...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/flatland/flatland_surface_factory.cc
C++
unknown
9,331
// Copyright 2021 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_FLATLAND_FLATLAND_SURFACE_FACTORY_H_ #define UI_OZONE_PLATFORM_FLATLAND_FLATLAND_SURFACE_FACTORY_H_ #include <memory> #include <vector> #include "ba...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/flatland/flatland_surface_factory.h
C++
unknown
4,540
// Copyright 2022 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/flatland/flatland_surface.h" #include <fuchsia/ui/composition/cpp/fidl.h> #include <lib/ui/scenic/cpp/testing/fake_flatland.h> #include <algorithm...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/flatland/flatland_surface_unittest.cc
C++
unknown
17,544
// Copyright 2021 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/flatland/flatland_sysmem_buffer_collection.h" #include <fuchsia/sysmem/cpp/fidl.h> #include <lib/zx/eventpair.h> #include <tuple> #include "base/...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/flatland/flatland_sysmem_buffer_collection.cc
C++
unknown
24,381
// Copyright 2021 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_FLATLAND_FLATLAND_SYSMEM_BUFFER_COLLECTION_H_ #define UI_OZONE_PLATFORM_FLATLAND_FLATLAND_SYSMEM_BUFFER_COLLECTION_H_ #include <fuchsia/sysmem/cpp/fi...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/flatland/flatland_sysmem_buffer_collection.h
C++
unknown
6,383
// Copyright 2021 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/flatland/flatland_sysmem_buffer_manager.h" #include <zircon/rights.h> #include "base/fuchsia/fuchsia_logging.h" #include "base/fuchsia/koid.h" #in...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/flatland/flatland_sysmem_buffer_manager.cc
C++
unknown
5,209
// Copyright 2021 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_FLATLAND_FLATLAND_SYSMEM_BUFFER_MANAGER_H_ #define UI_OZONE_PLATFORM_FLATLAND_FLATLAND_SYSMEM_BUFFER_MANAGER_H_ #include <fuchsia/sysmem/cpp/fidl.h> ...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/flatland/flatland_sysmem_buffer_manager.h
C++
unknown
3,572
// Copyright 2021 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/flatland/flatland_sysmem_native_pixmap.h" #include "base/fuchsia/fuchsia_logging.h" #include "base/logging.h" #include "ui/gfx/geometry/rect_f.h" ...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/flatland/flatland_sysmem_native_pixmap.cc
C++
unknown
2,445
// Copyright 2021 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_FLATLAND_FLATLAND_SYSMEM_NATIVE_PIXMAP_H_ #define UI_OZONE_PLATFORM_FLATLAND_FLATLAND_SYSMEM_NATIVE_PIXMAP_H_ #include "ui/gfx/native_pixmap.h" #incl...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/flatland/flatland_sysmem_native_pixmap.h
C++
unknown
2,314
// Copyright 2021 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/flatland/flatland_window.h" #include <fidl/fuchsia.ui.pointer/cpp/hlcpp_conversion.h> #include <fidl/fuchsia.ui.views/cpp/hlcpp_conversion.h> #incl...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/flatland/flatland_window.cc
C++
unknown
16,028
// Copyright 2021 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_FLATLAND_FLATLAND_WINDOW_H_ #define UI_OZONE_PLATFORM_FLATLAND_FLATLAND_WINDOW_H_ #include <fidl/fuchsia.ui.input3/cpp/fidl.h> #include <fuchsia/ui/c...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/flatland/flatland_window.h
C++
unknown
7,864
// Copyright 2021 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/flatland/flatland_window_manager.h" #include <lib/sys/cpp/component_context.h> #include <memory> #include "base/fuchsia/process_context.h" namesp...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/flatland/flatland_window_manager.cc
C++
unknown
1,119
// Copyright 2021 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_FLATLAND_FLATLAND_WINDOW_MANAGER_H_ #define UI_OZONE_PLATFORM_FLATLAND_FLATLAND_WINDOW_MANAGER_H_ #include <stdint.h> #include <memory> #include "ba...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/flatland/flatland_window_manager.h
C++
unknown
1,810
// Copyright 2021 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/flatland/flatland_window.h" #include <fidl/fuchsia.ui.pointer/cpp/fidl.h> #include <fidl/fuchsia.ui.pointer/cpp/hlcpp_conversion.h> #include <fuchs...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/flatland/flatland_window_unittest.cc
C++
unknown
19,136
// Copyright 2022 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/flatland/overlay_manager_flatland.h" #include "ui/gfx/overlay_transform.h" #include "ui/ozone/platform/flatland/flatland_sysmem_native_pixmap.h" #i...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/flatland/overlay_manager_flatland.cc
C++
unknown
1,563
// Copyright 2022 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_FLATLAND_OVERLAY_MANAGER_FLATLAND_H_ #define UI_OZONE_PLATFORM_FLATLAND_OVERLAY_MANAGER_FLATLAND_H_ #include <memory> #include "ui/ozone/public/over...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/flatland/overlay_manager_flatland.h
C++
unknown
882
// Copyright 2021 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/flatland/ozone_platform_flatland.h" #include <fidl/fuchsia.ui.views/cpp/hlcpp_conversion.h> #include <memory> #include <utility> #include <vector>...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/flatland/ozone_platform_flatland.cc
C++
unknown
9,796
// Copyright 2021 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_FLATLAND_OZONE_PLATFORM_FLATLAND_H_ #define UI_OZONE_PLATFORM_FLATLAND_OZONE_PLATFORM_FLATLAND_H_ namespace ui { class OzonePlatform; // Constructo...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/flatland/ozone_platform_flatland.h
C++
unknown
493
// Copyright 2021 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/flatland/vulkan_implementation_flatland.h" #include <lib/zx/channel.h> #include <vulkan/vulkan.h> #include <memory> #include <tuple> #include "ba...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/flatland/vulkan_implementation_flatland.cc
C++
unknown
8,305
// Copyright 2021 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_FLATLAND_VULKAN_IMPLEMENTATION_FLATLAND_H_ #define UI_OZONE_PLATFORM_FLATLAND_VULKAN_IMPLEMENTATION_FLATLAND_H_ #include <memory> #include "gpu/vulk...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/flatland/vulkan_implementation_flatland.h
C++
unknown
3,076
include_rules = [ "+third_party/skia/include", ]
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/headless/DEPS
Python
unknown
51
// Copyright 2015 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/headless/client_native_pixmap_factory_headless.h" #include "ui/ozone/common/stub_client_native_pixmap_factory.h" namespace ui { gfx::ClientNative...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/headless/client_native_pixmap_factory_headless.cc
C++
unknown
449
// Copyright 2015 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_HEADLESS_CLIENT_NATIVE_PIXMAP_FACTORY_HEADLESS_H_ #define UI_OZONE_PLATFORM_HEADLESS_CLIENT_NATIVE_PIXMAP_FACTORY_HEADLESS_H_ namespace gfx { class C...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/headless/client_native_pixmap_factory_headless.h
C++
unknown
591
// Copyright 2019 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/headless/headless_screen.h" #include <vector> #include "base/command_line.h" #include "base/strings/string_number_conversions.h" #include "base/st...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/headless/headless_screen.cc
C++
unknown
3,096
// Copyright 2019 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_HEADLESS_HEADLESS_SCREEN_H_ #define UI_OZONE_PLATFORM_HEADLESS_HEADLESS_SCREEN_H_ #include <vector> #include "base/observer_list.h" #include "ui/dis...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/headless/headless_screen.h
C++
unknown
1,592
// Copyright 2015 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/headless/headless_surface_factory.h" #include <memory> #include "base/files/file_util.h" #include "base/functional/bind.h" #include "base/location...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/headless/headless_surface_factory.cc
C++
unknown
10,911
// Copyright 2015 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_HEADLESS_HEADLESS_SURFACE_FACTORY_H_ #define UI_OZONE_PLATFORM_HEADLESS_HEADLESS_SURFACE_FACTORY_H_ #include <memory> #include <vector> #include "ba...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/headless/headless_surface_factory.h
C++
unknown
2,094
// Copyright 2014 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/headless/headless_window.h" #include <string> #include "build/build_config.h" #include "ui/events/platform/platform_event_source.h" #include "ui/o...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/headless/headless_window.cc
C++
unknown
826
// Copyright 2014 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_HEADLESS_HEADLESS_WINDOW_H_ #define UI_OZONE_PLATFORM_HEADLESS_HEADLESS_WINDOW_H_ #include "base/memory/raw_ptr.h" #include "ui/gfx/geometry/rect.h" ...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/headless/headless_window.h
C++
unknown
1,020
// Copyright 2014 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/headless/headless_window_manager.h" namespace ui { HeadlessWindowManager::HeadlessWindowManager() = default; HeadlessWindowManager::~HeadlessWind...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/headless/headless_window_manager.cc
C++
unknown
825
// Copyright 2014 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_HEADLESS_HEADLESS_WINDOW_MANAGER_H_ #define UI_OZONE_PLATFORM_HEADLESS_HEADLESS_WINDOW_MANAGER_H_ #include <stdint.h> #include "base/containers/id_m...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/headless/headless_window_manager.h
C++
unknown
1,181
// Copyright 2013 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/headless/ozone_platform_headless.h" #include <memory> #include "base/command_line.h" #include "base/files/file_path.h" #include "base/no_destructo...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/headless/ozone_platform_headless.cc
C++
unknown
6,078
// Copyright 2013 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_HEADLESS_OZONE_PLATFORM_HEADLESS_H_ #define UI_OZONE_PLATFORM_HEADLESS_OZONE_PLATFORM_HEADLESS_H_ namespace ui { class OzonePlatform; // Constructo...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/headless/ozone_platform_headless.h
C++
unknown
493
// Copyright 2022 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/headless/vulkan_implementation_headless.h" #include "base/base_paths.h" #include "base/files/file_path.h" #include "base/functional/callback_helper...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/headless/vulkan_implementation_headless.cc
C++
unknown
6,027
// Copyright 2022 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_HEADLESS_VULKAN_IMPLEMENTATION_HEADLESS_H_ #define UI_OZONE_PLATFORM_HEADLESS_VULKAN_IMPLEMENTATION_HEADLESS_H_ #include <memory> #include <vector> ...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/headless/vulkan_implementation_headless.h
C++
unknown
3,065
// Copyright 2022 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/headless/vulkan_surface_headless.h" #include "base/logging.h" #include "gpu/vulkan/vulkan_function_pointers.h" #include "ui/gfx/native_widget_types...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/headless/vulkan_surface_headless.cc
C++
unknown
1,357
// Copyright 2022 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_HEADLESS_VULKAN_SURFACE_HEADLESS_H_ #define UI_OZONE_PLATFORM_HEADLESS_VULKAN_SURFACE_HEADLESS_H_ #include <vulkan/vulkan.h> #include <memory> #incl...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/headless/vulkan_surface_headless.h
C++
unknown
944
include_rules = [ "+gpu/ipc/common", "+mojo/public", "+third_party/angle/src/common/fuchsia_egl", "+third_party/skia/include", ]
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/scenic/DEPS
Python
unknown
137
// Copyright 2018 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/scenic/client_native_pixmap_factory_scenic.h" #include <lib/zx/vmar.h> #include <lib/zx/vmo.h> #include <vector> #include "base/bits.h" #include "...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/scenic/client_native_pixmap_factory_scenic.cc
C++
unknown
8,824
// Copyright 2020 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/scenic/overlay_manager_scenic.h" #include "base/logging.h" #include "ui/ozone/platform/scenic/sysmem_native_pixmap.h" #include "ui/ozone/public/ove...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/scenic/overlay_manager_scenic.cc
C++
unknown
1,328
// Copyright 2020 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_SCENIC_OVERLAY_MANAGER_SCENIC_H_ #define UI_OZONE_PLATFORM_SCENIC_OVERLAY_MANAGER_SCENIC_H_ #include <memory> #include "ui/ozone/public/overlay_mana...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/scenic/overlay_manager_scenic.h
C++
unknown
856
// Copyright 2018 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/scenic/ozone_platform_scenic.h" #include <memory> #include <utility> #include <vector> #include <fidl/fuchsia.ui.views/cpp/hlcpp_conversion.h> #in...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/scenic/ozone_platform_scenic.cc
C++
unknown
9,766
// Copyright 2018 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_SCENIC_OZONE_PLATFORM_SCENIC_H_ #define UI_OZONE_PLATFORM_SCENIC_OZONE_PLATFORM_SCENIC_H_ namespace ui { class OzonePlatform; // Constructor hook f...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/scenic/ozone_platform_scenic.h
C++
unknown
479
// Copyright 2021 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/scenic/safe_presenter.h" #include <fuchsia/ui/gfx/cpp/fidl.h> #include <fuchsia/ui/scenic/cpp/fidl.h> #include "base/check.h" namespace ui { Saf...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/scenic/safe_presenter.cc
C++
unknown
1,587
// Copyright 2021 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_SCENIC_SAFE_PRESENTER_H_ #define UI_OZONE_PLATFORM_SCENIC_SAFE_PRESENTER_H_ #include <lib/ui/scenic/cpp/session.h> namespace ui { using QueuePresen...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/scenic/safe_presenter.h
C++
unknown
1,810
// Copyright 2018 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/scenic/scenic_gpu_host.h" #include <inttypes.h> #include <utility> #include "base/functional/bind.h" #include "base/functional/callback.h" #includ...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/scenic/scenic_gpu_host.cc
C++
unknown
2,954
// Copyright 2018 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_SCENIC_SCENIC_GPU_HOST_H_ #define UI_OZONE_PLATFORM_SCENIC_SCENIC_GPU_HOST_H_ #include <inttypes.h> #include "base/functional/callback.h" #include "...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/scenic/scenic_gpu_host.h
C++
unknown
2,812
// Copyright 2018 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/scenic/scenic_gpu_service.h" #include "base/functional/bind.h" #include "mojo/public/c/system/message_pipe.h" namespace ui { ScenicGpuService::Sc...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/scenic/scenic_gpu_service.cc
C++
unknown
1,500
// Copyright 2018 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_SCENIC_SCENIC_GPU_SERVICE_H_ #define UI_OZONE_PLATFORM_SCENIC_SCENIC_GPU_SERVICE_H_ #include "base/functional/callback.h" #include "base/memory/weak_...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/scenic/scenic_gpu_service.h
C++
unknown
1,882
// Copyright 2020 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/scenic/scenic_overlay_view.h" #include <lib/ui/scenic/cpp/commands.h> #include "base/fuchsia/fuchsia_logging.h" #include "base/location.h" namesp...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/scenic/scenic_overlay_view.cc
C++
unknown
3,998
// Copyright 2020 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_SCENIC_SCENIC_OVERLAY_VIEW_H_ #define UI_OZONE_PLATFORM_SCENIC_SCENIC_OVERLAY_VIEW_H_ #include <fuchsia/ui/scenic/cpp/fidl.h> #include <lib/ui/scenic...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/scenic/scenic_overlay_view.h
C++
unknown
2,767
// Copyright 2018 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/scenic/scenic_screen.h" #include "base/notreached.h" #include "ui/display/display.h" #include "ui/display/display_observer.h" #include "ui/gfx/geom...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/scenic/scenic_screen.cc
C++
unknown
1,489
// Copyright 2018 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_SCENIC_SCENIC_SCREEN_H_ #define UI_OZONE_PLATFORM_SCENIC_SCENIC_SCREEN_H_ #include <vector> #include "base/memory/weak_ptr.h" #include "base/observe...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/scenic/scenic_screen.h
C++
unknown
1,560
// Copyright 2018 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/scenic/scenic_surface.h" #include <lib/sys/cpp/component_context.h> #include <lib/ui/scenic/cpp/commands.h> #include <lib/ui/scenic/cpp/view_token_...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/scenic/scenic_surface.cc
C++
unknown
23,465
// Copyright 2018 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_SCENIC_SCENIC_SURFACE_H_ #define UI_OZONE_PLATFORM_SCENIC_SCENIC_SURFACE_H_ #include <fuchsia/ui/scenic/cpp/fidl.h> #include <lib/ui/scenic/cpp/resou...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/scenic/scenic_surface.h
C++
unknown
6,986
// Copyright 2018 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/scenic/scenic_surface_factory.h" #include <lib/sys/cpp/component_context.h> #include <lib/zx/event.h> #include <memory> #include "base/containers/...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/scenic/scenic_surface_factory.cc
C++
unknown
10,085
// Copyright 2018 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_SCENIC_SCENIC_SURFACE_FACTORY_H_ #define UI_OZONE_PLATFORM_SCENIC_SCENIC_SURFACE_FACTORY_H_ #include <fuchsia/ui/scenic/cpp/fidl.h> #include <lib/ui/...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/scenic/scenic_surface_factory.h
C++
unknown
4,666
// Copyright 2018 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/scenic/scenic_window.h" #include <fidl/fuchsia.ui.pointer/cpp/hlcpp_conversion.h> #include <fidl/fuchsia.ui.views/cpp/hlcpp_conversion.h> #include ...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/scenic/scenic_window.cc
C++
unknown
16,530
// Copyright 2018 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_SCENIC_SCENIC_WINDOW_H_ #define UI_OZONE_PLATFORM_SCENIC_SCENIC_WINDOW_H_ #include <fidl/fuchsia.ui.input3/cpp/fidl.h> #include <fuchsia/ui/gfx/cpp/f...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/scenic/scenic_window.h
C++
unknown
9,209
// Copyright 2018 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/scenic/scenic_window_canvas.h" #include <memory> #include "base/fuchsia/fuchsia_logging.h" #include "base/memory/read_only_shared_memory_region.h"...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/scenic/scenic_window_canvas.cc
C++
unknown
7,194
// Copyright 2018 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_SCENIC_SCENIC_WINDOW_CANVAS_H_ #define UI_OZONE_PLATFORM_SCENIC_SCENIC_WINDOW_CANVAS_H_ #include <lib/ui/scenic/cpp/resources.h> #include <memory> #...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/scenic/scenic_window_canvas.h
C++
unknown
2,912
// Copyright 2018 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/scenic/scenic_window_manager.h" #include <lib/sys/cpp/component_context.h> #include <memory> #include "base/fuchsia/fuchsia_logging.h" #include "b...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/scenic/scenic_window_manager.cc
C++
unknown
1,571
// Copyright 2018 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_SCENIC_SCENIC_WINDOW_MANAGER_H_ #define UI_OZONE_PLATFORM_SCENIC_SCENIC_WINDOW_MANAGER_H_ #include <fuchsia/ui/scenic/cpp/fidl.h> #include <stdint.h>...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/scenic/scenic_window_manager.h
C++
unknown
2,089
// Copyright 2019 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/scenic/sysmem_buffer_collection.h" #include <fuchsia/sysmem/cpp/fidl.h> #include <tuple> #include "base/bits.h" #include "base/fuchsia/fuchsia_lo...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/scenic/sysmem_buffer_collection.cc
C++
unknown
22,974
// Copyright 2019 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_SCENIC_SYSMEM_BUFFER_COLLECTION_H_ #define UI_OZONE_PLATFORM_SCENIC_SYSMEM_BUFFER_COLLECTION_H_ #include <fuchsia/sysmem/cpp/fidl.h> #include <lib/ui...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/scenic/sysmem_buffer_collection.h
C++
unknown
6,408
// Copyright 2019 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/scenic/sysmem_buffer_manager.h" #include <lib/zx/eventpair.h> #include <zircon/rights.h> #include <zircon/types.h> #include "base/containers/conta...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/scenic/sysmem_buffer_manager.cc
C++
unknown
4,359
// Copyright 2019 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_SCENIC_SYSMEM_BUFFER_MANAGER_H_ #define UI_OZONE_PLATFORM_SCENIC_SYSMEM_BUFFER_MANAGER_H_ #include <fuchsia/sysmem/cpp/fidl.h> #include <lib/ui/sceni...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/scenic/sysmem_buffer_manager.h
C++
unknown
2,854
// Copyright 2020 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/scenic/sysmem_native_pixmap.h" #include "ui/gfx/gpu_fence.h" #include "ui/gfx/overlay_plane_data.h" namespace ui { namespace { zx::event GpuFenc...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/scenic/sysmem_native_pixmap.cc
C++
unknown
3,665
// Copyright 2020 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_SCENIC_SYSMEM_NATIVE_PIXMAP_H_ #define UI_OZONE_PLATFORM_SCENIC_SYSMEM_NATIVE_PIXMAP_H_ #include <lib/zx/eventpair.h> #include "ui/gfx/native_pixmap...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/scenic/sysmem_native_pixmap.h
C++
unknown
2,409
// Copyright 2018 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/scenic/vulkan_implementation_scenic.h" #include <lib/ui/scenic/cpp/commands.h> #include <lib/ui/scenic/cpp/session.h> #include <lib/zx/channel.h> #...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/scenic/vulkan_implementation_scenic.cc
C++
unknown
9,807
// Copyright 2018 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_SCENIC_VULKAN_IMPLEMENTATION_SCENIC_H_ #define UI_OZONE_PLATFORM_SCENIC_VULKAN_IMPLEMENTATION_SCENIC_H_ #include <fuchsia/ui/scenic/cpp/fidl.h> #incl...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/scenic/vulkan_implementation_scenic.h
C++
unknown
3,402
include_rules = [ "+mojo/public", "+third_party/wayland", "+ui/base", "+ui/linux", ]
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/wayland/DEPS
Python
unknown
93
// Copyright 2016 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/wayland/client_native_pixmap_factory_wayland.h" #include "ui/gfx/linux/client_native_pixmap_factory_dmabuf.h" #include "ui/ozone/common/stub_client...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/wayland/client_native_pixmap_factory_wayland.cc
C++
unknown
645
// Copyright 2016 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_WAYLAND_CLIENT_NATIVE_PIXMAP_FACTORY_WAYLAND_H_ #define UI_OZONE_PLATFORM_WAYLAND_CLIENT_NATIVE_PIXMAP_FACTORY_WAYLAND_H_ namespace gfx { class Clien...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/wayland/client_native_pixmap_factory_wayland.h
C++
unknown
584