Lines Matching refs:GRSurface
43 std::unique_ptr<GRSurface> GRSurface::Create(size_t width, size_t height, size_t row_bytes, in Create()
49 auto result = std::unique_ptr<GRSurface>(new GRSurface(width, height, row_bytes, pixel_bytes)); in Create()
59 std::unique_ptr<GRSurface> GRSurface::Clone() const { in Clone()
60 auto result = GRSurface::Create(width, height, row_bytes, pixel_bytes); in Clone()
186 int res_create_display_surface(const char* name, GRSurface** pSurface) { in res_create_display_surface()
196 auto surface = GRSurface::Create(width, height, width * 4, 4); in res_create_display_surface()
219 GRSurface*** pSurface) { in res_create_multi_display_surface()
247 GRSurface** surface = nullptr; in res_create_multi_display_surface()
260 surface = static_cast<GRSurface**>(calloc(*frames, sizeof(GRSurface*))); in res_create_multi_display_surface()
266 auto created_surface = GRSurface::Create(width, height / *frames, width * 4, 4); in res_create_multi_display_surface()
300 int res_create_alpha_surface(const char* name, GRSurface** pSurface) { in res_create_alpha_surface()
314 auto surface = GRSurface::Create(width, height, width, 1); in res_create_alpha_surface()
392 GRSurface** pSurface) { in res_create_localized_alpha_surface()
420 auto surface = GRSurface::Create(w, h, w, 1); in res_create_localized_alpha_surface()
442 void res_free_surface(GRSurface* surface) { in res_free_surface()