Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7595679
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T21:43:50+00:00 2026-05-30T21:43:50+00:00

My app uses Canvas methods which are not supported by hardware acceleration (clipPath, drawPicture),

  • 0

My app uses Canvas methods which are not supported by hardware acceleration (clipPath, drawPicture), so I do not enable hardware accelaration. However, I started getting crash reports with exceptions like: android.view.GLES20Canvas.drawPicture(GLES20Canvas.java:895).

In investigating this, it seems that some devices have an option to force hardware acceleration in settings: “force gpu rendering, use 2d harware acceleartion in applciations”.
So, I added <application android:hardwareAccelerated="false"> to my manifest.xml, but still get the crash when the “force gpu rendering” setting is checked.

So, is there anyway to prevent my application from being forced to use hardware acceleration?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T21:43:51+00:00Added an answer on May 30, 2026 at 9:43 pm

    Disable it for the views using those operations with the ‘View Level’ option in the dev guide – I expect that other options will be foiled by how the setting is forced on your app.

    myView.setLayerType(View.LAYER_TYPE_SOFTWARE, null);
    

    Failing that, the link describes how you can detect hardware acceleration, to complain about it.

    View.isHardwareAccelerated() returns true if the View is attached to a hardware accelerated window.

    Canvas.isHardwareAccelerated() returns true if the Canvas is hardware accelerated

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm currently developing an app which uses tabs and google map. What I want
I'm writing a web app that uses an HTML5 canvas and testing on a
Here's a canvas app I come across : canvasphoto (uses YUI 2 I believe,
In my app I have a UIView derived class Canvas that uses touchesBegan: withEvent:
I'm working on a small app that uses sprites which are rendered using a
I have an app that I wrote a couple years ago that uses Canvas/FBML
Probably something silly going on, but I am trying to enable hardware acceleration in
Our app uses a component that requires a license file in the directory with
My app uses javascript to generate all the HTML for my website. The index.html
My app uses a landscape only view and requires the user to answer a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.