filename | src/pvr2/render.c |
changeset | 100:995e42e96cc9 |
next | 103:9b9cfc5855e0 |
author | nkeynes |
date | Wed Feb 15 13:11:50 2006 +0000 (14 years ago) |
permissions | -rw-r--r-- |
last change | Split pvr2.c out to separate files for TA and renderer, minor renames change pvrdma to use mem_copy_to_sh4 |
view | annotate | diff | log | raw |
1 /**
2 * $Id: render.c,v 1.1 2006-02-15 13:11:46 nkeynes Exp $
3 *
4 * PVR2 Renderer support. This is where the real work happens.
5 *
6 * Copyright (c) 2005 Nathan Keynes.
7 *
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2 of the License, or
11 * (at your option) any later version.
12 *
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
17 */
19 #include "pvr2/pvr2.h"
20 #include "asic.h"
21 #include "dream.h"
23 extern uint32_t pvr2_frame_counter;
25 /**
26 * Render a complete scene into an OpenGL buffer.
27 * Note: this may need to be broken up eventually once timings are
28 * determined.
29 */
30 void pvr2_render_scene( void )
31 {
32 /* Actual rendering goes here :) */
34 /* End of render event */
35 asic_event( EVENT_PVR_RENDER_DONE );
36 DEBUG( "Rendered frame %d", pvr2_frame_counter );
37 }
.