Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Architecture: adding windows on ARM support #446

Closed

Conversation

thirumalai-qcom
Copy link

@thirumalai-qcom thirumalai-qcom commented Jul 16, 2024

Description

This pull request updates the OBS-browser module to the latest CEF (Chromium Embedded Framework) library. This update necessitates changes to existing function declarations and signatures to align with the new library's specifications. Additionally, ARM architecture support has been introduced, with modifications guarded by ARM-specific macros to ensure compatibility without affecting the existing codebase.

Motivation and Context

The primary motivation for this change is to keep the OBS-browser module up-to-date with the latest CEF library with the new features. Additionally, expanding compatibility to include ARM-based systems allows a broader range of users to benefit from the OBS-browser functionalities.

How Has This Been Tested?

The changes have been tested by building OBS Studio on an ARM machine (X elite machine). All builds were successful, Basic functionality tests confirmed that the OBS Studio application with the modified obs-browser is functional.

Types of changes

  • Library Update:
    • Updated to the latest CEF library, resulting in changes to existing function declarations and structures.
    • High-DPI support is now enabled by default in Chromium, resulting in the removal of the "CefEnableHighDPISupport" method.

Checklist:

  • My code has been run through clang-format.
  • I have read the contributing document.
  • My code is not on the master branch.
  • The code has been tested.
  • All commit messages are properly formatted and commits squashed where appropriate.
  • I have included updates to all appropriate documentation.

Copy link
Member

@WizardCM WizardCM left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please be aware most changes in this PR will be available as part of

and won't need to be limited to the ARM architecture.

obs-browser-page/obs-browser-page-main.cpp Outdated Show resolved Hide resolved
@thirumalai-qcom thirumalai-qcom force-pushed the aarch64_support branch 2 times, most recently from 0693017 to ac1075a Compare July 17, 2024 17:03
@thirumalai-qcom thirumalai-qcom marked this pull request as ready for review July 17, 2024 17:06
@thirumalai-qcom thirumalai-qcom changed the title Architecture: Add ARM support Architecture: adding windows on ARM support Jul 17, 2024
Adjusted the frame retrieval method for ARM64 architecture.
Separated frame retrieval logic for ARM64 using GetFrameByName
and for other architectures using GetFrame. This ensures proper
functioning across different architectures.
Updated the OnAcceleratedPaint method to handle ARM64 architecture
specifically. This includes conditional compilation for _M_ARM64 to
use CefAcceleratedPaintInfo and shared texture handles appropriately.
@RytoEX
Copy link
Member

RytoEX commented Jul 30, 2024

This will need to be rebased now that #434 has been merged.

@thirumalai-qcom
Copy link
Author

This will need to be rebased now that #434 has been merged.

Hi Ryan,

I have reviewed the mainline, and it seems that the changes in this PR have already been merged through PR #434. Could you please let me know if there are any specific reasons or additional changes you would like to see in this PR that necessitate a rebase?

@RytoEX
Copy link
Member

RytoEX commented Jul 31, 2024

If all changes in this PR are covered or superseded by #434, then this PR can simply be closed.

@thirumalai-qcom
Copy link
Author

If all changes in this PR are covered or superseded by #434, then this PR can simply be closed.

I have confirmed that all changes in this PR have been covered by the changes merged from PR #434. Therefore, i will proceed to close this PR as it is no longer necessary.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants