When are VBOs faster than “simple” OpenGL primitives (glBegin())?

There are a lot of factors to optimizing 3D rendering. usually there are 4 bottlenecks: CPU (creating vertices, APU calls, everything else) Bus (CPU<->GPU transfer) Vertex (vertex shader over fixed function pipeline execution) Pixel (fill, fragment shader execution and rops) Your test is giving skewed results because you have a lot of CPU (and bus) … Read more

What is the idea behind scaling an image using Lanczos?

The selection of a particular filter for image processing is something of a black art, because the main criterion for judging the result is subjective: in computer graphics, the ultimate question is almost always: “does it look good?”. There are a lot of good filters out there, and the choice between the best frequently comes … Read more

Android SurfaceFlinger

SurfaceFlinger is not what draws your window. It allocates a frame buffer for your window, which the framework running in your application draws directly to without interacting with SurfaceFlinger. The only interaction SurfaceFlinger is involved with when you draw your window is to composite the final new frame buffer to the screen once you are … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)