summaryrefslogtreecommitdiffstats
path: root/src/gallium/docs/source/screen.rst
blob: 9631e6967ef00700195314ccdcf98eb3d00d8daa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
Screen
======

A screen is an object representing the context-independent part of a device.

Methods
-------

XXX moar; got bored

get_name
^^^^^^^^

Returns an identifying name for the screen.

get_vendor
^^^^^^^^^^

Returns the screen vendor.

get_param
^^^^^^^^^

Get an integer/boolean screen parameter.

get_paramf
^^^^^^^^^^

Get a floating-point screen parameter.

is_format_supported
^^^^^^^^^^^^^^^^^^^

See if a format can be used in a specific manner.

texture_create
^^^^^^^^^^^^^^

Given a template of texture setup, create a BO-backed texture.