Lines Matching refs:state
44 c->state.raster.x = x; in ggl_rasterPos2x()
45 c->state.raster.y = y; in ggl_rasterPos2x()
59 surface_t* cb = &(c->state.buffers.color); in ggl_copyPixels()
72 GGLint xd = gglFixedToIntRound(c->state.raster.x); in ggl_copyPixels()
73 GGLint yd = gglFixedToIntRound(c->state.raster.y); in ggl_copyPixels()
76 if (xd < GGLint(c->state.scissor.left)) { in ggl_copyPixels()
77 GGLint offset = GGLint(c->state.scissor.left) - xd; in ggl_copyPixels()
78 xd = GGLint(c->state.scissor.left); in ggl_copyPixels()
82 if (yd < GGLint(c->state.scissor.top)) { in ggl_copyPixels()
83 GGLint offset = GGLint(c->state.scissor.top) - yd; in ggl_copyPixels()
84 yd = GGLint(c->state.scissor.top); in ggl_copyPixels()
88 if ((xd + width) > GGLint(c->state.scissor.right)) { in ggl_copyPixels()
89 width = GGLint(c->state.scissor.right) - xd; in ggl_copyPixels()
91 if ((yd + height) > GGLint(c->state.scissor.bottom)) { in ggl_copyPixels()
92 height = GGLint(c->state.scissor.bottom) - yd; in ggl_copyPixels()
156 const GGLSurface& cbSurface = c->state.buffers.color.s; in gglBitBlit()
161 if (c->state.enabled_tmu != tmus) { in gglBitBlit()
163 c->state.enabled_tmu = tmus; in gglBitBlit()
164 c->state.enables |= GGL_ENABLE_TMUS; in gglBitBlit()