mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 18:28:12 +02:00
Remove temporary cell_create_surface()
This commit is contained in:
parent
457a96e777
commit
fda387988c
2 changed files with 5 additions and 29 deletions
|
|
@ -41,28 +41,6 @@
|
|||
#include "cell_spu.h"
|
||||
|
||||
|
||||
|
||||
struct pipe_surface *
|
||||
cell_create_surface(int width, int height)
|
||||
{
|
||||
#if 0
|
||||
/* XXX total hack */
|
||||
struct pipe_surface *ps = CALLOC_STRUCT(pipe_surface);
|
||||
|
||||
printf("cell_create_surface\n");
|
||||
|
||||
ps->width = width;
|
||||
ps->height = height;
|
||||
|
||||
ps->region = CALLOC_STRUCT(pipe_region);
|
||||
ps->region->map = align_malloc(width * height * 4, 16);
|
||||
return ps;
|
||||
#endif
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
|
||||
void
|
||||
cell_clear_surface(struct pipe_context *pipe, struct pipe_surface *ps,
|
||||
unsigned clearValue)
|
||||
|
|
|
|||
|
|
@ -26,20 +26,18 @@
|
|||
**************************************************************************/
|
||||
|
||||
|
||||
#ifndef CELL_SURFACE
|
||||
#define CELL_SURFACE
|
||||
#ifndef CELL_SURFACE_H
|
||||
#define CELL_SURFACE_H
|
||||
|
||||
|
||||
#include "pipe/p_state.h"
|
||||
struct pipe_context;
|
||||
struct pipe_surface;
|
||||
|
||||
|
||||
extern struct pipe_surface *
|
||||
cell_create_surface(int width, int height);
|
||||
|
||||
extern void
|
||||
cell_clear_surface(struct pipe_context *pipe, struct pipe_surface *ps,
|
||||
unsigned clearValue);
|
||||
|
||||
|
||||
|
||||
#endif /* CELL_SURFACE */
|
||||
#endif /* CELL_SURFACE_H */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue