summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/r300')
-rw-r--r--src/gallium/drivers/r300/r300_screen.c15
1 files changed, 10 insertions, 5 deletions
diff --git a/src/gallium/drivers/r300/r300_screen.c b/src/gallium/drivers/r300/r300_screen.c
index 04b5a7772b5..3cb61b4c4ea 100644
--- a/src/gallium/drivers/r300/r300_screen.c
+++ b/src/gallium/drivers/r300/r300_screen.c
@@ -22,17 +22,20 @@
#include "r300_screen.h"
-static const char* r300_get_vendor(struct pipe_screen* pscreen) {
+static const char* r300_get_vendor(struct pipe_screen* pscreen)
+{
return "X.Org R300 Project";
}
-static const char* r300_get_name(struct pipe_screen* pscreen) {
+static const char* r300_get_name(struct pipe_screen* pscreen)
+{
struct r300_screen* r300screen = r300_screen(pscreen);
return chip_families[r300screen->caps->family];
}
-static int r300_get_param(struct pipe_screen* pscreen, int param) {
+static int r300_get_param(struct pipe_screen* pscreen, int param)
+{
struct r300_screen* r300screen = r300_screen(pscreen);
switch (param) {
@@ -87,7 +90,8 @@ static int r300_get_param(struct pipe_screen* pscreen, int param) {
}
}
-static float r300_get_paramf(struct pipe_screen* pscreen, int param) {
+static float r300_get_paramf(struct pipe_screen* pscreen, int param)
+{
switch (param) {
case PIPE_CAP_MAX_LINE_WIDTH:
case PIPE_CAP_MAX_LINE_WIDTH_AA:
@@ -134,7 +138,8 @@ static void r300_surface_unmap(struct pipe_screen* screen,
pipe_buffer_unmap(screen, surface->buffer);
}
-static void r300_destroy_screen(struct pipe_screen* pscreen) {
+static void r300_destroy_screen(struct pipe_screen* pscreen)
+{
struct r300_screen* r300screen = r300_screen(pscreen);
FREE(r300screen->caps);