comparison pytouhou/ui/opengl/gamerenderer.pxd @ 519:b18f0bd30ad0

Optimise background rendering.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Sat, 07 Dec 2013 22:16:38 +0100
parents 577c3a88fb67
children 6e3b3d5d4691
comparison
equal deleted inserted replaced
518:75ae628522c9 519:b18f0bd30ad0
7 cdef class GameRenderer(Renderer): 7 cdef class GameRenderer(Renderer):
8 cdef Matrix game_mvp, interface_mvp, proj 8 cdef Matrix game_mvp, interface_mvp, proj
9 cdef Shader game_shader, background_shader, interface_shader, passthrough_shader 9 cdef Shader game_shader, background_shader, interface_shader, passthrough_shader
10 cdef Framebuffer framebuffer 10 cdef Framebuffer framebuffer
11 cdef BackgroundRenderer background_renderer 11 cdef BackgroundRenderer background_renderer
12 cdef object background
12 13
13 cdef void render_game(self, Game game) except * 14 cdef void render_game(self, Game game) except *
14 cdef void render_text(self, dict texts) except * 15 cdef void render_text(self, dict texts) except *
15 cdef void render_interface(self, interface, game_boss) except * 16 cdef void render_interface(self, interface, game_boss) except *