summaryrefslogtreecommitdiff
path: root/boilerplate
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2010-01-22 20:48:54 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2010-01-22 23:01:52 +0000
commit77afe8491ed7038a8399c01f10d8f062a7239225 (patch)
tree0af0013ef61936fffb9e4a69605856866da5b677 /boilerplate
parentb9407af6a4bc792c1bcb52c90aa8a618627bb618 (diff)
drm: Add backends for i915 and i965.
As proof-of-principle add the nearly working demonstrations of using DRM to render directly with the GPU bypassing both RENDER and GL for performance whilst preserving high quality rendering. The basis behind developing these chip specific backends is that this is the idealised interface that we desire for this chips, and so a target for cairo-gl as we continue to develop both it and our GL stack. Note that this backends do not yet fully pass the test suite, so only use if you are brave and willing to help develop them further.
Diffstat (limited to 'boilerplate')
-rw-r--r--boilerplate/cairo-boilerplate-drm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/boilerplate/cairo-boilerplate-drm.c b/boilerplate/cairo-boilerplate-drm.c
index 34d67b54..77a052dd 100644
--- a/boilerplate/cairo-boilerplate-drm.c
+++ b/boilerplate/cairo-boilerplate-drm.c
@@ -45,7 +45,7 @@ _cairo_boilerplate_drm_create_surface (const char *name,
int id,
void **closure)
{
- cairo_drm_device_t *device;
+ cairo_device_t *device;
device = cairo_drm_device_default ();
if (device == NULL)