projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mesa: implement per-buffer color masking
[mesa.git]
/
src
/
mesa
/
state_tracker
/
st_public.h
diff --git
a/src/mesa/state_tracker/st_public.h
b/src/mesa/state_tracker/st_public.h
index 174fbc639410e8b298506c934f9bc25a4a9ac6c6..a5fdac32d1fd48bcefaff562b91c9f7ede580a25 100644
(file)
--- a/
src/mesa/state_tracker/st_public.h
+++ b/
src/mesa/state_tracker/st_public.h
@@
-91,9
+91,9
@@
void *st_framebuffer_private( struct st_framebuffer *stfb );
void st_unreference_framebuffer( struct st_framebuffer *stfb );
void st_unreference_framebuffer( struct st_framebuffer *stfb );
-
void
st_make_current(struct st_context *st,
- struct st_framebuffer *draw,
- struct st_framebuffer *read);
+
GLboolean
st_make_current(struct st_context *st,
+
struct st_framebuffer *draw,
+
struct st_framebuffer *read);
struct st_context *st_get_current(void);
struct st_context *st_get_current(void);
@@
-107,7
+107,9
@@
void st_swapbuffers(struct st_framebuffer *stfb,
struct pipe_surface **front_left,
struct pipe_surface **front_right);
struct pipe_surface **front_left,
struct pipe_surface **front_right);
-int st_set_teximage(struct pipe_texture *pt, int target);
+int st_bind_texture_surface(struct pipe_surface *ps, int target, int level,
+ enum pipe_format format);
+int st_unbind_texture_surface(struct pipe_surface *ps, int target, int level);
/** Redirect rendering into stfb's surface to a texture image */
int st_bind_teximage(struct st_framebuffer *stfb, uint surfIndex,
/** Redirect rendering into stfb's surface to a texture image */
int st_bind_teximage(struct st_framebuffer *stfb, uint surfIndex,