line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package SDL2::RendererInfo { |
2
|
2
|
|
|
2
|
|
14
|
use SDL2::Utils; |
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
17
|
|
3
|
|
|
|
|
|
|
has name => 'opaque', # string |
4
|
|
|
|
|
|
|
flags => 'uint32', |
5
|
|
|
|
|
|
|
num_texture_formats => 'uint32', |
6
|
|
|
|
|
|
|
texture_formats => 'uint32[16]', |
7
|
|
|
|
|
|
|
max_texture_width => 'int', |
8
|
|
|
|
|
|
|
max_texture_height => 'int'; |
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
=encoding utf-8 |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
=head1 NAME |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
SDL2::RendererInfo - Information on the Capabilities of a Render Driver or |
15
|
|
|
|
|
|
|
Context |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
=head1 SYNOPSIS |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
use SDL2 qw[:all]; |
20
|
|
|
|
|
|
|
# TODO |
21
|
|
|
|
|
|
|
warn $renderer->name; |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
=head1 DESCRIPTION |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
SDL2::RendererInfo |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
=head1 Fields |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
=over |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
=item C - the name of the renderer |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
=item C - supported L<< C<:rendererFlags>|/C<:rendererFlags> >> |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
=item C - the number of available texture format |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
=item C - the available texture formats |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
=item C - the maximum texture width |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
=item C - the maximum texture height |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
=back |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
=head1 AUTHOR |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
Sanko Robinson Esanko@cpan.orgE |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
=begin stopwords |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
=end stopwords |
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
=cut |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
}; |
58
|
|
|
|
|
|
|
1; |