Questions tagged [hardware-acceleration]

the use of computer hardware to perform some function faster than is possible in software running on the general-purpose CPU

In computing, hardware acceleration is the use of computer hardware to perform some function faster than is possible in software running on the general-purpose CPU. Examples of hardware acceleration include blitting acceleration functionality in graphics processing units (GPUs) and instructions for complex operations in CPUs.

Normally, processors are sequential, and instructions are executed one by one. Various techniques are used to improve performance; hardware acceleration is one of them. The main difference between hardware and software is concurrency, allowing hardware to be much faster than software. Hardware accelerators are designed for computationally intensive software code. Depending upon granularity, hardware acceleration can vary from a small functional unit to a large functional block (like motion estimation in MPEG-2).

The hardware that performs the acceleration, when in a separate unit from the CPU, is referred to as a hardware accelerator, or often more specifically as graphics accelerator or floating-point accelerator, etc. Those terms, however, are older and have been replaced with less descriptive terms like video card or graphics card.

Many hardware accelerators are built on top of field-programmable gate array chips.

Recently, regular expression hardware acceleration has been gaining popularity in the server industry, owing to very noticeable speed ups in spam control.

609 questions
13
votes
3 answers

Canvas in SurfaceView - hardware acceleration

I'm developing on ICS and trying to understand why a Canvas.isHardwareAccelerated() will always return FALSE when using a Canvas inside a SurfaceView. I've tried a very basic example like…
user1019096
  • 135
  • 1
  • 7
13
votes
3 answers

How to tell whether an OpenGL context is hardware accelerated?

I know that if the openGl implementation does not find a suitable driver it happily falls back and render everything in software mode. It's good for graphics applications but it is not acceptable for computer games. I know many users using Windows…
Calmarius
  • 18,570
  • 18
  • 110
  • 157
13
votes
2 answers

View.isHardwareAccelerated() is always false

I've got a View that is hardware accelerated on many devices. Within that View I need to be able to check whether hardware acceleration is used. According to Android SDK documentation, this is done using View.isHardwareAccelerated(). The…
Nick
  • 8,181
  • 4
  • 38
  • 63
12
votes
3 answers

How to use the new GPU accelerated avd?

Google has announced that the Android emulator finally uses the GPU, as written here However, I can't find a tutorial of how to use it. I've tried to do some things and it just keeps crashing. So far , I've tried to : Install the app on…
android developer
  • 114,585
  • 152
  • 739
  • 1,270
11
votes
5 answers

My OpenCL kernel is slower on faster hardware.. But why?

As I was finishing coding my project for a multicore programming class I came up upon something really weird I wanted to discuss with you. We were asked to create any program that would show significant improvement in being programmed for a…
matdumsa
  • 16,005
  • 1
  • 22
  • 18
11
votes
1 answer

Why is hardware acceleration not working on my View?

I'm using Facebook's Rebound library to replicate the bouncy animations seen in their chat heads implementation. The problem is, most of the time the animation stutters. A few pictures will explain this better. Here's the buttery-smooth chat heads…
11
votes
3 answers

Android Force GPU Rendering How to enable and disable?

I am building an app that requires a lot of drawing on the canvas. I notice that the app is a bit laggy in devices with high resolution (nexus 7 for example). I saw there is a Force GPU option in the developer option. When Force GPU is enabled, my…
xiaowoo
  • 2,248
  • 7
  • 34
  • 45
11
votes
3 answers

VideoView is not displayed on a Fragment

I have a problem in running a video in Samsung S3(Android 4.1.1), the issue seems to be because the videoview is on a fragment because if I put it on and activity, it works. Also I found out that if I turn on the GPU hardware acceleration on, the…
Cata
  • 11,133
  • 11
  • 65
  • 86
10
votes
3 answers

jQuery and CSS Animations Choppy in Firefox

I'm working on a minisite that features a lot of jQuery animation. It works fine in Safari, Chrome & IE9, but the animation is really choppy in Firefox (7, 8 & 9) on OSX. I thought CSS animation would be smoother, so I adapted the iPad version of…
Jordan Acosta
  • 405
  • 4
  • 12
10
votes
2 answers

Intel graphics hardware H264 MFT ProcessInput call fails after feeding few input samples, the same works fine with Nvidia hardware MFT

I'm capturing the desktop using DesktopDuplication API and converting the samples from RGBA to NV12 in GPU and feeding the same to MediaFoundation hardware H264 MFT. This works fine with Nvidia graphics, and also with software encoders but fails…
10
votes
2 answers

Background color issue, Chrome on Retina iMac. Hardware acceleration related?

I'm testing out a site and I'm getting strange issue on latest Chrome version. On a non retina iMac it displays fine, but on a 5k Retina iMac the background color is getting blocks of colour that are slightly off. Attaching an image to…
shorn
  • 1,327
  • 5
  • 15
  • 20
9
votes
2 answers

Detect Hardware Acceleration at Runtime: Android

Is it possible to consistently detect if an Activity has hardware acceleration enabled when it is created? I'm worried that users of my library will enable it through the manifest when they shouldn't, by not specifically disabling it for my Activity…
Jesse
  • 403
  • 1
  • 5
  • 5
9
votes
2 answers

Fully utilizing HW accelerator

I would like to use OpenSSL for handling all our SSL communication (both client and server sides). We would like to use HW acceleration card for offloading the heavy cryptographic calculations. We noticed that in the OpenSSL 'speed' test, there are…
dimba
  • 26,717
  • 34
  • 141
  • 196
9
votes
2 answers

QGLWidget and hardware acceleration?

Greetings all, Does simply subclassing QGLWidget and reimplementing paintEvent() make use of OpenGL and hardware acceleration? I create a QPainter and draw QImages in this paintEvent(). What happen inside the paintEvent() method of QGLWidget? Does…
Ashika Umanga Umagiliya
  • 8,988
  • 28
  • 102
  • 185
9
votes
3 answers

Issue On OpenGLRenderer : Path Too Large To Be Rendered To a Texture

i have a TextView inside of a ReleativeLayout which i set a big Text into that at runtime. the problem is about my ReleativeLayout background which is a rounded shape with a border. it doesn't set the background and in Logcat it says that : 12-12…
Arash GM
  • 10,316
  • 6
  • 58
  • 76
1 2
3
40 41