ChatKit icon indicating copy to clipboard operation
ChatKit copied to clipboard

W/OpenGLRenderer: Path too large to be rendered into a texture

Open umarhussain15 opened this issue 8 years ago • 6 comments

I'm facing this issue when a very large text message is displayed, it also doesn't apply color to the bubble. Any fix?

umarhussain15 avatar Jan 04 '18 18:01 umarhussain15

your problem not very clear, can you provide screenshot on the issue encountered?

ChiHwe avatar Jan 05 '18 06:01 ChiHwe

Add android:layerType="software" to your scrollview/listview that has problems. But this may cause some performance issues.

akhil-m-g avatar May 22 '18 05:05 akhil-m-g

Hi @umarhussain15 Coul you provide a stack trace of this issue please? Also it would be great if you specify more info about device (model, android version etc.). Thanks

troy379 avatar Jul 11 '18 08:07 troy379

There are no any stack trace only W/OpenGLRenderer: Path too large to be rendered into a texture. Simplest way to repeat it write/send message with 4/5/6 thousands of symbols. Count of symbols depend on screen size and resolution.

a23sokolov avatar Oct 15 '19 08:10 a23sokolov

The easiest way solve this problem, for big Views draw figures on Canvas. Don't use canvas.drawPath cuz it need much more memory.

a23sokolov avatar Oct 18 '19 02:10 a23sokolov

@a23sokolov Thanks! Your suggestion, about dropping the path, worked perfectly!

Jacob-Zinn avatar Jun 25 '21 18:06 Jacob-Zinn