1 /* 2 * Copyright © 2012-2013 Rob Clark <[email protected]> 3 * SPDX-License-Identifier: MIT 4 * 5 * Authors: 6 * Rob Clark <[email protected]> 7 */ 8 9 #ifndef FD2_DRAW_H_ 10 #define FD2_DRAW_H_ 11 12 #include "pipe/p_context.h" 13 14 #include "freedreno_draw.h" 15 16 void fd2_draw_init(struct pipe_context *pctx); 17 18 enum { 19 GMEM_PATCH_FASTCLEAR_COLOR, 20 GMEM_PATCH_FASTCLEAR_DEPTH, 21 GMEM_PATCH_FASTCLEAR_COLOR_DEPTH, 22 GMEM_PATCH_RESTORE_INFO, 23 }; 24 25 #endif /* FD2_DRAW_H_ */ 26