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
0
votes
0 answers

Accelerated canvas context translation: bug, or my mistake?

I found an odd behavior while working on my pet game. I wanted to draw few objects on canvas, some of them required image / icon to be rotated. It is quite common use case, usual solution is to make use of context's rotate method. Going with the…
zencodism
  • 442
  • 4
  • 9
0
votes
0 answers

Unity3d - How can I speed up Line Drawing?

I'm using this code here (very simple). It draws a line: Create a new scene, Create a cylinder, Scale the cylinder to (0.005, 1.0, 0.005), Put the following script on the cylinder #pragma strict var pos1 : Vector3; var pos2 : Vector3; var…
Johnny
  • 612
  • 3
  • 13
  • 32
0
votes
0 answers

Canvas in android 2.3 isn't using GPU?

From android developer site: Beginning in Android 3.0 (API level 11), the Android 2D rendering pipeline supports hardware acceleration, meaning that all drawing operations that are performed on a View's canvas use the GPU. but I found that in…
suitianshi
  • 3,300
  • 1
  • 17
  • 34
0
votes
1 answer

Correct way to partially update Hardware Accelarated Android view with Bitmaps

I have an Android App that is custom drawing a View (full-screen). I want to invalidate a part of it, then just draw that part in the next onDraw() call. I want to do this in a cycle, drawing each part of the screen at a time. What I have found…
hack_on
  • 2,532
  • 4
  • 26
  • 30
0
votes
1 answer

SDL2 + hardware acceleration + android

After surfing the net, i got the below information. 1) SDL is a wrapper around OpenGL. 2) Does SDL provides Hardware acceleration? - IT depends on Operating System. Question: 1) Does SDL support hardware acceleration in Android Platform? 2) In…
Whoami
  • 13,930
  • 19
  • 84
  • 140
0
votes
2 answers

Hardware Acceleration in MFC

I am currently developing a software that involves real-time rendering of performance metrics in graph and chart forms. I need to acquire data, process data and render an image as fast as possible. My backend is in C++, and I am at a point where I…
user2654449
  • 119
  • 7
0
votes
3 answers

Taking advantage of Flash hardware acceleration

My goal is to test Flash 3D environment performance by generating lots of 3D cubes, rotating them and reading FPS. I know that I can rotate 2D objects in 3D space. For example, I can construct a cube with 6 movie clips, rotating them and putting…
Starwave
  • 2,352
  • 2
  • 23
  • 30
0
votes
0 answers

what's the difference of drawing model when hardware acceleration is true and false?

I have a custom LinearLayout and custom TextView, the TextView locates at center. see the xml layout:
suitianshi
  • 3,300
  • 1
  • 17
  • 34
0
votes
1 answer

How to combine gyroscope, acceleration of gravity, magnetometer to achieve the rotation of the picture?

How to combine gyroscope, acceleration of gravity, magnetometer to achieve the rotation of the picture in android?
0
votes
1 answer

Dynamically Configure FPGA From Host Program

I was wondering if anyone knows an efficient way to program the FPGA(PL) for a Xilinx Zynq-7 series or related devices,from a host C program (not on the SoC, but from the host PC). Is there an Xilinx API I can use/include in my program. As the only…
Sam Palmer
  • 1,675
  • 1
  • 25
  • 45
0
votes
1 answer

any good ways to do mediamuxer on android?

I am trying to build a video system on android. I am using the sample provided by Qualcomm, which allows me to use openmax and do hardware-acceleration on Qualcomm customer device. Anyway, this sample only generates .h264 file. So I am looking…
Brendon Tsai
  • 1,267
  • 1
  • 17
  • 31
0
votes
1 answer

H264 HW accelerated decoding in Android using stagefright library

I`m trying to decode h264 video using HW with Stagefright library. i have used an example in here. Im getting decoded data in MedaBuffer. For rendering MediaBuffer->data() i tried AwesomeLocalRenderer in AwesomePlayer.cpp. but picture in screen…
Arsen Davtyan
  • 1,891
  • 8
  • 23
  • 40
0
votes
3 answers

Hardware accelerated double buffering on Android

Our applications need double buffering semantics e.g. when drawing a line in one paint operation the line should still be there the next time around (no wipe, use same buffer). This works very well for us with SurfaceView, lock etc. However those…
Shai Almog
  • 51,749
  • 5
  • 35
  • 65
0
votes
1 answer

JS hardware-accelerated image comparison

I can get a measure of the difference between two images loaded in canvas with something like: