Skip to content

Instantly share code, notes, and snippets.

View mahmoudahmedd's full-sized avatar
👋
Hi

Mahmoud Tawfik mahmoudahmedd

👋
Hi
View GitHub Profile
@mahmoudahmedd
mahmoudahmedd / gsoc23.md
Last active February 16, 2024 04:54
GSoC 2023 Chromium Project - Improve AR/VR experience on Web

Improve AR/VR experience on Web - WebXR Debugging Page for Chromium ("webxr-internals")

https://summerofcode.withgoogle.com/programs/2023/projects/4EVJm10k
Video: https://www.linkedin.com/posts/mahmoudaahmedd_webxr-chromium-developertools-activity-7117623435916120064--nZi?utm_source=share&utm_medium=member_ios

Project Overview

The "webxr-internals" project is a Google Summer of Code (GSoC) 2023 initiative that aims to enhance the Augmented Reality (AR) and Virtual Reality (VR) experience on the web by providing a dedicated debugging page in the Chromium browser. This debugging page, similar to existing debugging pages like chrome://media-internals and chrome://webrtc-internals, will serve as a valuable tool for developers to diagnose and optimize WebXR pages.

Project Abstract

@mahmoudahmedd
mahmoudahmedd / xr_internals_handler.cc
Created March 18, 2023 23:04
xr_internals (chrome/browser/ui/webui/xr_internals/)
// 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 "chrome/browser/ui/webui/xr_internals/xr_internals_handler.h"
#include "base/cpu.h"
#include "base/system/sys_info.h"
#include "base/strings/string_number_conversions.h"
#include "base/strings/stringprintf.h"
@mahmoudahmedd
mahmoudahmedd / BUILD.gn
Last active April 3, 2023 00:36
XR-Internals web page (chrome/browser/resources/xr_internals/)
# 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.
import("//tools/typescript/ts_library.gni")
ts_library("build_ts") {
root_dir = "."
out_dir = "$target_gen_dir/tsc"
@mahmoudahmedd
mahmoudahmedd / index.html
Last active March 23, 2023 11:20
"XR-Internals" page
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>XR Internals</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/css/materialize.min.css">
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="container">