Lines Matching defs:front
162 * d3d12_wgl_framebuffer and it doesn't support front buffer
163 * drawing. A fake front texture is needed to handle that scenario.
213 * For Zink, we just alias the front buffer in that case.
278 /* When a fake front buffer is needed for drawing, we use the back buffer
281 * - When flushing the front buffer, we only need to swap the real buffers
282 * - When swapping buffers, we can safely overwrite the fake front buffer
302 /* Copying front texture content to fake front texture (back texture) */
344 texture = textures[ST_ATTACHMENT_BACK_LEFT]; /* Fake front buffer */
379 /* Fake front texture is dirty ?? */
454 /* Resolve the front buffer. */
465 /* fake front texture is now invalid */
549 unsigned front = ST_ATTACHMENT_FRONT_LEFT, back = ST_ATTACHMENT_BACK_LEFT;
554 ptex = stwfb->textures[front];
555 stwfb->textures[front] = stwfb->textures[back];
559 ptex = stwfb->msaa_textures[front];
560 stwfb->msaa_textures[front] = stwfb->msaa_textures[back];
564 /* Fake front texture is now dirty */
569 front = 1 << front;
573 mask = stwfb->texture_mask & ~(front | back);
574 if (stwfb->texture_mask & front)
577 mask |= front;
580 front = ST_ATTACHMENT_FRONT_LEFT;
581 return stw_st_framebuffer_present_locked(hdc, stctx, &stwfb->base, front);