Questions tagged [gpu-overdraw]
12 questions
6
votes
0 answers
Android how to reduce drawable layer-list GPU overdraw
I create simple example. Take a look
It's a simple layout
LinearLayout with children
Relative - bg = test_drawable_1
Relative - bg = test_drawable_2
Relative - bg = test_drawable_3
Relative - bg = test_drawable_4
Relative - bg =…

Dmitry Nelepov
- 7,246
- 8
- 53
- 74
2
votes
0 answers
what does "show overdraw counter" really mean and why Admob increases it so much?
Background
On Android, there is a way to find the GPU overdraw in order to measure how well your app performs with the GPU.
Starting with Kitkat, there are new ways to do it:
The "show overdraw areas" shows the how bad each drawing is (from…

android developer
- 114,585
- 152
- 739
- 1,270
1
vote
3 answers
Unity 2d, multilayer background overdraw
The definition of the problem is simple yet I wasn't able to find a simple or straightforward solution.
I have a background, made of several opaque layers:
Gradient sky (1pic, static);
Bright big mountain (1pic, moves a little);
Darker [closer]…

Anton Kasabutski
- 355
- 5
- 16
1
vote
0 answers
Android reusable layouts with background causing lint overdraw error
Our android application has a theme applied at application level and this theme contains the android:windowBackground attribute (white color).
Now I am creating a reusable layout for a widget which will used in multiple screens. This widget also has…

ctor
- 805
- 1
- 10
- 26
1
vote
1 answer
Android: Using Shape to create a Frame for RecyclerView cell, causes Overdraw
I'm trying to add border/frame for each cell of my RecyclerView. I'm able to successfully achieve that by creating a "Drawable Resource File", and setting that as a background for the cell, as you can see in the following:
.
.
However, I realized…

Sam Ramezanli
- 998
- 9
- 20
1
vote
1 answer
ValueAnimator lag when set margin changed
I use the following class to play a animation in my app. This works well when the view tree is simple. While, it stuck when I use it in a complex fragment (i.e. the view maybe overdrawed). Is there any way to optimize the efficiency ? I have heard…

zccneil
- 139
- 11
0
votes
0 answers
Is lint detect overdraw issue correctly in Android studio?
lint shows an overdraw issue because I set a background to a linear layout
but even I use a custom theme in the project the lint shows the issue with Holo theme. I don't know how (no usage for…

Emy Abobakr
- 1
- 1
0
votes
2 answers
Overdraw issue in fragment layout with both background color and theme existing
Hi I am a newbie to Android Programming using AS. This should be a common/easy problem but I have not found a solution so far.
I was creating left_ and right_fragments tags in activity_main.xml for tablets, in which I wanted to have a background…

jerryc05
- 454
- 1
- 4
- 16
0
votes
1 answer
"This RelativeLayout layout or its RelativeLayout parent is possibly useless" - measure performance
Android Lint gives me these warnings
"This RelativeLayout layout or its RelativeLayout parent is possibly useless; transfer the background attribute to the other view" or similar.
I'm wondering simply: how can I measure the impact on performance…

MPelletier
- 16,256
- 15
- 86
- 137
0
votes
1 answer
Layout being measured twice, what could be the issue?
I am using the following layouts:

AndyRoid
- 5,062
- 8
- 38
- 73
0
votes
0 answers
GPU Overdraw (ionic / cordova)
Ive been reading into App optimisation and have come across the GPU overdraw functionality embedded in the Developer menu in Android.
There are some great articles here that I have read…

SM3RKY
- 1,548
- 1
- 14
- 27
-1
votes
1 answer
Android Emulator | Overdraw bug
I have tested my application with overdraw enabled in the emulator, and once i disabled it the overdraw won't go.
Things i tried:
Reinstall the application in the emulator.
Create new emulator and run the app there.
Running other version of android…

bailando bailando
- 2,121
- 2
- 13
- 17