Index of /archives/NetBSD/NetBSD-release-9/xsrc/external/mit/xf86-video-intel-2014/dist/src/sna

Icon  Name                                                                                Last modified      Size  Description
[PARENTDIR] Parent Directory - [TXT] xassert.h 2019-05-10 15:22 1.6K [TXT] sna_video_textured.c 2019-05-10 15:22 11K [TXT] sna_video_sprite.c 2019-05-10 15:22 20K [TXT] sna_video_overlay.c 2019-05-10 15:22 23K [TXT] sna_video_hwmc.h 2019-05-10 15:22 1.6K [TXT] sna_video_hwmc.c 2019-05-10 15:22 6.4K [TXT] sna_video.h 2019-05-10 15:22 5.7K [TXT] sna_video.c 2019-05-10 15:22 19K [TXT] sna_vertex.c 2019-05-10 15:22 1.4K [TXT] sna_trapezoids_precise.c 2019-05-10 15:22 87K [TXT] sna_trapezoids_mono.c 2019-05-10 15:22 39K [TXT] sna_trapezoids_imprecise.c 2019-05-10 15:22 95K [TXT] sna_trapezoids_boxes.c 2019-05-10 15:22 38K [TXT] sna_trapezoids.h 2019-05-10 15:22 11K [TXT] sna_trapezoids.c 2019-05-10 15:22 32K [TXT] sna_transform.c 2019-05-10 15:22 5.4K [TXT] sna_tiling.c 2019-05-10 15:22 31K [TXT] sna_threads.c 2019-05-10 15:22 8.2K [TXT] sna_stream.c 2019-05-10 15:22 4.0K [TXT] sna_render_inline.h 2019-05-10 15:22 8.8K [TXT] sna_render.h 2019-05-10 15:22 21K [TXT] sna_render.c 2019-05-10 15:22 61K [TXT] sna_reg.h 2019-05-10 15:22 2.8K [TXT] sna_present.c 2019-05-10 15:22 12K [TXT] sna_module.h 2019-05-10 15:22 54 [TXT] sna_io.c 2019-05-10 15:22 50K [TXT] sna_gradient.c 2019-05-10 15:22 12K [TXT] sna_glyphs.c 2019-05-10 15:22 60K [TXT] sna_driver.c 2019-05-10 15:22 34K [TXT] sna_dri3.c 2019-05-10 15:22 10K [TXT] sna_dri2.c 2019-05-10 15:22 88K [TXT] sna_display_fake.c 2019-05-10 15:22 8.5K [TXT] sna_display.c 2019-05-10 15:22 194K [TXT] sna_damage.h 2019-05-10 15:22 8.9K [TXT] sna_damage.c 2019-05-10 15:22 45K [TXT] sna_cpuid.h 2019-05-10 15:22 2.1K [TXT] sna_cpu.c 2019-05-10 15:22 2.9K [TXT] sna_composite.c 2019-05-10 15:22 32K [TXT] sna_blt.c 2019-05-10 15:22 114K [TXT] sna_acpi.c 2019-05-10 15:22 5.1K [TXT] sna_accel.c 2019-05-10 15:22 463K [TXT] sna.h 2019-05-10 15:22 31K [TXT] rop.h 2019-05-10 15:22 6.3K [TXT] kgem_debug_gen7.c 2019-05-10 15:22 17K [TXT] kgem_debug_gen6.c 2019-05-10 15:22 31K [TXT] kgem_debug_gen5.c 2019-05-10 15:22 18K [TXT] kgem_debug_gen4.c 2019-05-10 15:22 18K [TXT] kgem_debug_gen3.c 2019-05-10 15:22 43K [TXT] kgem_debug_gen2.c 2019-05-10 15:22 20K [TXT] kgem_debug.h 2019-05-10 15:22 1.0K [TXT] kgem_debug.c 2019-05-10 15:22 17K [TXT] kgem.h 2019-05-10 15:22 22K [TXT] kgem.c 2019-05-10 15:22 187K [TXT] gen8_vertex.h 2019-05-10 15:22 337 [TXT] gen8_vertex.c 2019-05-10 15:22 9.2K [TXT] gen8_render.h 2019-05-10 15:22 45K [TXT] gen8_render.c 2019-05-10 15:22 103K [TXT] gen8_eu.h 2019-05-10 15:22 886 [TXT] gen8_eu.c 2019-05-10 15:22 34K [TXT] gen7_render.h 2019-05-10 15:22 53K [TXT] gen7_render.c 2019-05-10 15:22 103K [TXT] gen6_render.h 2019-05-10 15:22 59K [TXT] gen6_render.c 2019-05-10 15:22 99K [TXT] gen6_common.h 2019-05-10 15:22 4.6K [TXT] gen6_common.c 2019-05-10 15:22 2.1K [TXT] gen5_render.h 2019-05-10 15:22 82K [TXT] gen5_render.c 2019-05-10 15:22 91K [TXT] gen4_vertex.h 2019-05-10 15:22 514 [TXT] gen4_vertex.c 2019-05-10 15:22 78K [TXT] gen4_source.h 2019-05-10 15:22 424 [TXT] gen4_source.c 2019-05-10 15:22 5.6K [TXT] gen4_render.h 2019-05-10 15:22 78K [TXT] gen4_render.c 2019-05-10 15:22 86K [TXT] gen4_common.h 2019-05-10 15:22 1.7K [TXT] gen4_common.c 2019-05-10 15:22 2.0K [TXT] gen3_render.h 2019-05-10 15:22 55K [TXT] gen3_render.c 2019-05-10 15:22 165K [TXT] gen2_render.h 2019-05-10 15:22 28K [TXT] gen2_render.c 2019-05-10 15:22 92K [DIR] fb/ 2020-03-20 07:40 - [TXT] debug.h 2019-05-10 15:22 1.5K [TXT] compiler.h 2019-05-10 15:22 3.0K [DIR] brw/ 2020-03-20 07:40 - [TXT] blt.c 2019-05-10 15:22 28K [TXT] atomic.h 2019-05-10 15:22 3.1K [TXT] README 2019-05-10 15:22 1.7K [TXT] Makefile.in 2019-05-10 15:22 33K [TXT] Makefile.am 2019-05-10 15:22 3.6K [DIR] CVS/ 2020-03-20 07:41 -
SandyBridge's New Acceleration
------------------------------

The guiding principle behind the design is to avoid GPU context switches.
On SandyBridge (and beyond), these are especially pernicious because the
RENDER and BLT engine are now on different rings and require
synchronisation of the various execution units when switching contexts.
They were not cheap on early generation, but with the increasing
complexity of the GPU, avoiding such serialisations is important.

Furthermore, we try very hard to avoid migrating between the CPU and GPU.
Every pixmap (apart from temporary "scratch" surfaces which we intend to
use on the GPU) is created in system memory. All operations are then done
upon this shadow copy until we are forced to move it onto the GPU. Such
migration can only be first triggered by: setting the pixmap as the
scanout (we obviously need a GPU buffer here), using the pixmap as a DRI
buffer (the client expects to perform hardware acceleration and we do not
want to disappoint) and lastly using the pixmap as a RENDER target. This
last is chosen because when we know we are going to perform hardware
acceleration and will continue to do so without fallbacks, using the GPU
is much, much faster than the CPU. The heuristic I chose therefore was
that if the application uses RENDER, i.e. cairo, then it will only be
using those paths and not intermixing core drawing operations and so
unlikely to trigger a fallback.

The complicating case is front-buffer rendering. So in order to accommodate
using RENDER on an application whilst running xterm without a composite
manager redirecting all the pixmaps to backing surfaces, we have to
perform damage tracking to avoid excess migration of portions of the
buffer.