WIP: XDC presentation
[fc2020] / estea-xdc2020.tex
1 \documentclass{beamer}
2 \usepackage[font=small,skip=-1pt]{caption}
3 \usepackage{listings}
4 \usepackage{xcolor}
5 \usepackage{graphicx}
6 \usepackage{hyperref}
7 \usepackage{comment}
8 \usepackage{textpos}
9 \usepackage{tgpagella}
10 \usepackage[utf8]{inputenc}
11 \usepackage{fontspec}
12 \setmainfont{Noto Sans} % substitute with any font that exists on your system
13 \setsansfont{Noto Sans} % substitute with any font that exists on your system
14 \setmonofont{Noto Sans Mono} % substitute with any font that exists on your system
15
16 \usetheme{Warsaw}
17 \useoutertheme{infolines}
18 \usecolortheme{crane}
19
20 \usepackage{caption}
21 \captionsetup[figure]{labelformat=empty}
22
23 \addtobeamertemplate{headline}{}{\vskip2pt}
24 \addtobeamertemplate{headline}{}{%
25         \begin{textblock*}{5mm}(.9\textwidth,-0.6cm)
26         \includegraphics[height=0.67cm]{data/igalia-logo.png}
27 \end{textblock*}}
28
29 \definecolor{links}{rgb}{0, 0.6, 0}
30 \hypersetup{colorlinks,linkcolor=,urlcolor=links}
31
32 %\pgfdeclareimage[height=\paperheight]{igaliabg}{data/igalia_bg_light.eps}
33 \pgfdeclareimage[height=\paperheight]{igaliabg}{data/igaliabg.eps}
34
35 %\setbeamertemplate{title page}{
36 %        \begin{picture}(-90, 180)
37 %                       \put(-200, -74){%
38 %                \pgfuseimage{igaliabg}
39 %            }
40 %
41 %            \put(55,19){%
42 %                               \begin{minipage}[b][36mm][t]{240mm}
43 %                    \usebeamerfont{title}{\inserttitle\par}
44 %                    \usebeamerfont{author}{\insertauthor\par}
45 %                    \usebeamerfont{title}{\insertinstitute\par}
46 %                \end{minipage}
47 %            }
48 %               \end{picture}
49 %}
50
51 \setbeamertemplate{navigation symbols}{}
52 \setbeamertemplate{title page}{
53         \begin{picture}(0,0)
54             \put(-30,-164){%
55                 \pgfuseimage{igaliabg}
56             }
57
58             \put(0,-110.7){%
59                 \begin{minipage}[b][38mm][t]{220mm}
60                     \usebeamerfont{title}{\inserttitle\par}
61                     \usebeamerfont{author}{\insertauthor\par}
62                 \end{minipage}
63             }
64                 \end{picture}
65 }
66
67 \setbeamertemplate{itemize items}[triangle]
68 \setbeamertemplate{itemize subitem}[circle]
69 \setbeamerfont{frametitle}{size=\small}
70
71 \setbeamertemplate{blocks}[default]
72 \setbeamercolor{block title}{fg=lightgray,bg=black}
73 \title{\textbf{OpenGL and Vulkan Interoperability}}
74 \author[Eleni Maria Stea]{\small{Eleni Maria Stea
75 <estea@igalia.com>}\\\\\includegraphics{data/igalia.eps}}
76 \date{}
77
78 \AtBeginSection[]
79 {
80   \begin{frame}<beamer>
81     \frametitle{Outline}
82         \tableofcontents[currentsection]
83   \end{frame}
84 }
85
86 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
87 \begin{document}
88 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
89
90 \begin{frame}[plain]
91 \titlepage
92 \end{frame}
93
94 \begin{frame}
95         \frametitle{Outline}
96         \tableofcontents
97 \end{frame}
98
99 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
100
101 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
102 \section[Introduction]{The concept behind OpenGL and Vulkan interoperability}
103 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
104
105 \begin{frame}
106         \frametitle{Why interoperability?}
107
108         The idea is to avoid unnecessary allocations and memory mappings when we
109         exchange texture and buffer data across APIs.\\
110         \vspace{0.3cm}
111         Interoperability extensions allow us to:\\
112         \vspace{0.8cm}
113
114         {\fontsize{9}{9}\selectfont
115                 \begin{itemize}\setlength\itemsep{0.8cm}
116                                 \item {\color[rgb]{0, 0, 0.6} Allocate the resources (textures,
117                                         buffers) once.}
118                                 \item {\color[rgb]{0, 0, 0.6} Reuse them several times from both
119                                         APIs.}
120                                 \item {\color[rgb]{0, 0, 0.6} Synchronize the APIs access to the
121                                         resources.}
122                 \end{itemize}
123         }
124 \end{frame}
125
126 \begin{frame}
127         \frametitle{What's the alternative?}
128
129         Alternatively we would need to:\\
130         \vspace{0.8cm}
131
132         {\fontsize{9}{9}\selectfont
133                 \begin{itemize}\setlength\itemsep{0.8cm}
134                                 \item {\color[rgb]{0, 0, 0.6} Allocate resources of the same
135                                         size in both APIs.}
136                                 \item {\color[rgb]{0, 0, 0.6} Map the Vulkan memory and copy the Vulkan object data to a an
137                                         OpenGL object data (and \textit{do all the necessary
138                                         conversions!}).}
139                                 \item {\color[rgb]{0, 0, 0.6} Copy the data back after the process (and \textit{do all the
140                                         necessary conversions!}).}
141                                 \item {\color[rgb]{0, 0, 0.6} Synchronize the access externally
142                                         (more complex).}
143                 \end{itemize}
144         }
145 \end{frame}
146
147 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
148 \section[EXT\_external\_objects(\_fd)]{The required OpenGL extensions}
149 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
150
151 \begin{frame}
152         \frametitle{test}
153         foobar
154 \end{frame}
155
156 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
157 \section[Piglit tests use cases]{Some use cases for Piglit}
158 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
159
160 \begin{frame}
161         \frametitle{test}
162         foobar
163 \end{frame}
164 \section[Work and Status]{Igalia's work on mesa}
165 \begin{frame}
166         \frametitle{test}
167         foobar
168 \end{frame}
169
170 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
171 \section[Q \& A]{Questions and Answers}
172 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
173
174 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
175
176 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
177 \end{document}