blob: 9631e6967ef00700195314ccdcf98eb3d00d8daa [file] [log] [blame]
Corbin Simpson8283e202009-12-20 15:28:00 -08001Screen
2======
3
4A screen is an object representing the context-independent part of a device.
5
6Methods
7-------
8
Corbin Simpsona524aab2009-12-20 19:41:50 -08009XXX moar; got bored
10
11get_name
12^^^^^^^^
13
14Returns an identifying name for the screen.
15
16get_vendor
17^^^^^^^^^^
18
19Returns the screen vendor.
20
21get_param
22^^^^^^^^^
23
24Get an integer/boolean screen parameter.
25
26get_paramf
27^^^^^^^^^^
28
29Get a floating-point screen parameter.
30
31is_format_supported
32^^^^^^^^^^^^^^^^^^^
33
34See if a format can be used in a specific manner.
35
36texture_create
37^^^^^^^^^^^^^^
38
39Given a template of texture setup, create a BO-backed texture.