diff options
Diffstat (limited to 'py')
-rwxr-xr-x | py/functest.py | 2 | ||||
-rw-r--r-- | py/pykms.i | 1 | ||||
-rwxr-xr-x | py/test.py | 2 |
3 files changed, 3 insertions, 2 deletions
diff --git a/py/functest.py b/py/functest.py index 21a543a..24a9a85 100755 --- a/py/functest.py +++ b/py/functest.py @@ -8,7 +8,7 @@ conn = card.get_first_connected_connector() mode = conn.get_default_mode() -fb = pykms.Framebuffer(card, mode.hdisplay, mode.vdisplay, "XR24"); +fb = pykms.DumbFramebuffer(card, mode.hdisplay, mode.vdisplay, "XR24"); pykms.draw_test_pattern(fb); crtc = conn.get_current_crtc() @@ -17,6 +17,7 @@ using namespace kms; %include "card.h" %include "property.h" %include "framebuffer.h" +%include "dumbframebuffer.h" %include "plane.h" %include "connector.h" %include "encoder.h" @@ -9,7 +9,7 @@ conn = card.get_first_connected_connector() mode = conn.get_default_mode() -fb = pykms.Framebuffer(card, mode.hdisplay, mode.vdisplay, "XR24"); +fb = pykms.DumbFramebuffer(card, mode.hdisplay, mode.vdisplay, "XR24"); pykms.draw_test_pattern(fb); crtc = conn.get_current_crtc() |