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

Flickering when animating cupertino widgets #5

Open
swift-kim opened this issue Jun 29, 2021 · 4 comments
Open

Flickering when animating cupertino widgets #5

swift-kim opened this issue Jun 29, 2021 · 4 comments
Labels
bug Something isn't working

Comments

@swift-kim
Copy link
Member

Previously only on TM1 devices (#53), but it now also occurs on watch devices. Reproducible with the Gallery app.

@swift-kim swift-kim added the bug Something isn't working label Jun 29, 2021
@bbrto21
Copy link

bbrto21 commented Jul 14, 2021

It's been a while since this issue opened, but I've found no clue, Has anyone figured out anything?

@swift-kim
Copy link
Member Author

swift-kim commented Sep 1, 2021

The problem is not limited to cupertino widgets. The flickering also occurs for some material widgets in the Gallery app (to be more specific, the "Bottom app bar" page).

@swift-kim
Copy link
Member Author

swift-kim commented Oct 8, 2021

Here's simple reproduction code:

import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';

void main() {
  runApp(const MaterialApp(
    home: Scaffold(body: CupertinoNavigationBarDemo()),
  ));
}

class CupertinoNavigationBarDemo extends StatelessWidget {
  const CupertinoNavigationBarDemo({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Navigator(
      onGenerateRoute: (settings) {
        return CupertinoPageRoute(
          title: 'Navigator',
          settings: settings,
          builder: (context) {
            return CupertinoPageScaffold(
              child: CustomScrollView(
                slivers: [
                  const CupertinoSliverNavigationBar(),
                  SliverList(
                    delegate: SliverChildBuilderDelegate((context, index) {
                      return const ListTile(title: Text('Title'));
                    }, childCount: 20),
                  ),
                ],
              ),
            );
          },
        );
      },
    );
  }
}

Run this code on a watch or TM1 in release mode.

@swift-kim
Copy link
Member Author

I encountered these error messages when I was testing my wayland renderer:

E/MALI    (31852): ==>[ERROR] (runner) [GLES] gles/src/surface/backend/mali_gles_surface_pixel_format_pfs_lx.c:1562 gles_surface_pixel_format_check_copy_tex_image_match 0x3:GLES_ERROR_INVALID_OPERATION in glCopyTexSubImage2D [glCopyTex* cannot copy from a channel that does not exist in the source]
E/MALI    (31852): ==>[ERROR] (runner) [GLES] gles/src/surface/backend/mali_gles_surface_pixel_format_pfs_lx.c:1562 gles_surface_pixel_format_check_copy_tex_image_match 0x3:GLES_ERROR_INVALID_OPERATION in glCopyTexSubImage2D [glCopyTex* cannot copy from a channel that does not exist in the source]
E/MALI    (31852): ==>[ERROR] (runner) [GLES] gles/src/surface/backend/mali_gles_surface_pixel_format_pfs_lx.c:1562 gles_surface_pixel_format_check_copy_tex_image_match 0x3:GLES_ERROR_INVALID_OPERATION in glCopyTexSubImage2D [glCopyTex* cannot copy from a channel that does not exist in the source]
E/MALI    (31852): ==>[ERROR] (runner) [GLES] gles/src/surface/backend/mali_gles_surface_pixel_format_pfs_lx.c:1562 gles_surface_pixel_format_check_copy_tex_image_match 0x3:GLES_ERROR_INVALID_OPERATION in glCopyTexSubImage2D [glCopyTex* cannot copy from a channel that does not exist in the source]
E/MALI    (31852): ==>[ERROR] (runner) [GLES] gles/src/surface/backend/mali_gles_surface_pixel_format_pfs_lx.c:1562 gles_surface_pixel_format_check_copy_tex_image_match 0x3:GLES_ERROR_INVALID_OPERATION in glCopyTexSubImage2D [glCopyTex* cannot copy from a channel that does not exist in the source]
E/MALI    (31852): ==>[ERROR] (runner) [GLES] gles/src/surface/backend/mali_gles_surface_pixel_format_pfs_lx.c:1562 gles_surface_pixel_format_check_copy_tex_image_match 0x3:GLES_ERROR_INVALID_OPERATION in glCopyTexSubImage2D [glCopyTex* cannot copy from a channel that does not exist in the source]
E/MALI    (31852): ==>[ERROR] (runner) [GLES] gles/src/surface/backend/mali_gles_surface_pixel_format_pfs_lx.c:1562 gles_surface_pixel_format_check_copy_tex_image_match 0x3:GLES_ERROR_INVALID_OPERATION in glCopyTexSubImage2D [glCopyTex* cannot copy from a channel that does not exist in the source]
E/MALI    (31852): ==>[ERROR] (runner) [GLES] gles/src/surface/backend/mali_gles_surface_pixel_format_pfs_lx.c:1562 gles_surface_pixel_format_check_copy_tex_image_match 0x3:GLES_ERROR_INVALID_OPERATION in glCopyTexSubImage2D [glCopyTex* cannot copy from a channel that does not exist in the source]

I don't know what the error is about but it could be related to this issue because it only happens when the app is rendering cupertino widgets.

@swift-kim swift-kim transferred this issue from flutter-tizen/engine Nov 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants