Skip to content

Implement TizenRendererEvasGL::SetGeometry #214

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

Merged

Conversation

bbrto21
Copy link

@bbrto21 bbrto21 commented Dec 2, 2021

Signed-off-by: Boram Bae boram21.bae@samsung.com

Signed-off-by: Boram Bae <boram21.bae@samsung.com>
@bbrto21
Copy link
Author

bbrto21 commented Dec 2, 2021

@HakkyuKim
I reviewed what you asked me last time. to solve this problem, I open this PR. I think we need to change the size of graphics adapter for resizing.

Signed-off-by: Boram Bae <boram21.bae@samsung.com>
* It cannot pass our symbol checker(Tizne 4.0).

Signed-off-by: Boram Bae <boram21.bae@samsung.com>
* Enable this feature when Tizen 5.5 or later becomes the default.

Signed-off-by: Boram Bae <boram21.bae@samsung.com>
@bbrto21 bbrto21 changed the title Enable window channel on evas gl renderer Implement TizenRendererEvasGL::SetGeometry Dec 2, 2021
Signed-off-by: Boram Bae <boram21.bae@samsung.com>

evas_object_image_size_set(graphics_adapter_, width, height);
gl_surface_ = evas_gl_surface_create(evas_gl_, gl_config_, width, height);
gl_resource_surface_ = evas_gl_pbuffer_surface_create(evas_gl_, gl_config_,
Copy link
Member

@bwikbs bwikbs Dec 2, 2021

Choose a reason for hiding this comment

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

Have you tried without this? Because the last time I saw it, it didn't seem to be used much.

Copy link
Author

Choose a reason for hiding this comment

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

Yes, it didn't work without this.

Copy link
Member

Choose a reason for hiding this comment

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

Do you have a sample to test this PR?

Copy link
Author

Choose a reason for hiding this comment

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

Please, see original PR : #201 (comment)

@@ -663,7 +663,11 @@ Evas_Object* TizenRendererEvasGL::SetupEvasWindow(int32_t* width,
efl_util_set_notification_window_level(evas_window_,
EFL_UTIL_NOTIFICATION_LEVEL_TOP);
}
// Please uncomment below and enable setWindowGeometry of window channel when
// Tizen 5.5 or later was chosen as default.
// elm_win_aux_hint_add(evas_window_, "wm.policy.win.user.geometry", "1");
Copy link
Member

Choose a reason for hiding this comment

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

Is it only necessary for 5.5 and higher? I thought it was absolutely necessary

Copy link
Author

Choose a reason for hiding this comment

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

elm_win_aux_hint_add is supported in Tizen 5.5 and later and Our symbol checker filters elm_win_aux_hint_add in Tizen 4.0.

So @swift-kim and I decided to comment it out and to keep that setWindowGeometry disabled on evas gl until Tizen 5.5 or later becomes our default.

Choose a reason for hiding this comment

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

So elm_win_aux_hint_add(evas_window_, "wm.policy.win.user.geometry", "1") is required to configure window size?

Copy link
Author

Choose a reason for hiding this comment

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

@HakkyuKim Yes, sorry for the late reply, I was on vacation.

Copy link

@HakkyuKim HakkyuKim left a comment

Choose a reason for hiding this comment

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

Thanks for solving the resizing issue in evasgl, LGTM!

Signed-off-by: Boram Bae <boram21.bae@samsung.com>
@swift-kim swift-kim merged commit 8d94089 into flutter-tizen:flutter-2.5.3-tizen Dec 9, 2021
swift-kim pushed a commit that referenced this pull request Dec 9, 2021
* Enable window channel on evas gl renderer

* Fix x64 shell build break

* Comment out elm_win_aux_hint_add related stuff

* It cannot pass our symbol checker (Tizen 4.0).

* Disable setWindowGeometry on evas gl

* Enable this feature when Tizen 5.5 or later becomes the default.

* Cleanup minor things

* Apply suggested changes

Signed-off-by: Boram Bae <boram21.bae@samsung.com>
swift-kim pushed a commit that referenced this pull request Dec 17, 2021
* Enable window channel on evas gl renderer

* Fix x64 shell build break

* Comment out elm_win_aux_hint_add related stuff

* It cannot pass our symbol checker (Tizen 4.0).

* Disable setWindowGeometry on evas gl

* Cleanup minor things

* Apply suggested changes

Signed-off-by: Boram Bae <boram21.bae@samsung.com>
swift-kim pushed a commit that referenced this pull request Feb 7, 2022
* Enable window channel on evas gl renderer

* Fix x64 shell build break

* Comment out elm_win_aux_hint_add related stuff

* It cannot pass our symbol checker (Tizen 4.0).

* Disable setWindowGeometry on evas gl

* Cleanup minor things

* Apply suggested changes

Signed-off-by: Boram Bae <boram21.bae@samsung.com>
swift-kim pushed a commit that referenced this pull request Feb 11, 2022
* Enable window channel on evas gl renderer

* Fix x64 shell build break

* Comment out elm_win_aux_hint_add related stuff

* It cannot pass our symbol checker (Tizen 4.0).

* Disable setWindowGeometry on evas gl

* Cleanup minor things

* Apply suggested changes

Signed-off-by: Boram Bae <boram21.bae@samsung.com>
swift-kim pushed a commit that referenced this pull request May 12, 2022
* Enable window channel on evas gl renderer

* Fix x64 shell build break

* Comment out elm_win_aux_hint_add related stuff

* It cannot pass our symbol checker (Tizen 4.0).

* Disable setWindowGeometry on evas gl

* Cleanup minor things

* Apply suggested changes

Signed-off-by: Boram Bae <boram21.bae@samsung.com>
swift-kim pushed a commit that referenced this pull request Aug 5, 2022
* Enable window channel on evas gl renderer

* Fix x64 shell build break

* Comment out elm_win_aux_hint_add related stuff

* It cannot pass our symbol checker (Tizen 4.0).

* Disable setWindowGeometry on evas gl

Signed-off-by: Boram Bae <boram21.bae@samsung.com>
swift-kim pushed a commit that referenced this pull request Sep 1, 2022
* Enable window channel on evas gl renderer

* Fix x64 shell build break

* Comment out elm_win_aux_hint_add related stuff

* It cannot pass our symbol checker (Tizen 4.0).

* Disable setWindowGeometry on evas gl

Signed-off-by: Boram Bae <boram21.bae@samsung.com>
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.

4 participants