summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Bragg <robert@linux.intel.com>2013-07-10 10:45:53 +0100
committerRobert Bragg <robert@linux.intel.com>2013-07-15 22:58:19 +0100
commit81d0725e19595196ca70971fc8d3e351bcdd7a65 (patch)
treea070991b73aa58f6bded61ca06ef56d5cbec7511
parent418912b93ff81a47f9b38114d05335ab76277c48 (diff)
downloadcogl-81d0725e19595196ca70971fc8d3e351bcdd7a65.tar.gz
framebuffer: remove _draw_primitive() api
Since there is a replacement cogl_primitive_draw() api this removes the cogl_framebuffer_draw_primitive() api. Reviewed-by: Neil Roberts <neil@linux.intel.com>
-rw-r--r--cogl/cogl-framebuffer.c9
-rw-r--r--cogl/cogl-framebuffer.h23
2 files changed, 0 insertions, 32 deletions
diff --git a/cogl/cogl-framebuffer.c b/cogl/cogl-framebuffer.c
index cb8c66ae..56e84693 100644
--- a/cogl/cogl-framebuffer.c
+++ b/cogl/cogl-framebuffer.c
@@ -2222,15 +2222,6 @@ cogl_framebuffer_vdraw_indexed_attributes (CoglFramebuffer *framebuffer,
}
void
-cogl_framebuffer_draw_primitive (CoglFramebuffer *framebuffer,
- CoglPipeline *pipeline,
- CoglPrimitive *primitive)
-{
- _cogl_primitive_draw (primitive, framebuffer, pipeline,
- 0 /* flags */);
-}
-
-void
cogl_framebuffer_draw_rectangle (CoglFramebuffer *framebuffer,
CoglPipeline *pipeline,
float x_1,
diff --git a/cogl/cogl-framebuffer.h b/cogl/cogl-framebuffer.h
index 7b129996..273442d9 100644
--- a/cogl/cogl-framebuffer.h
+++ b/cogl/cogl-framebuffer.h
@@ -1060,29 +1060,6 @@ cogl_framebuffer_clear4f (CoglFramebuffer *framebuffer,
float alpha);
/**
- * cogl_framebuffer_draw_primitive:
- * @framebuffer: A destination #CoglFramebuffer
- * @pipeline: A #CoglPipeline state object
- * @primitive: A #CoglPrimitive geometry object
- *
- * Draws the given @primitive geometry to the specified destination
- * @framebuffer using the graphics processing state described by @pipeline.
- *
- * This drawing api doesn't support high-level meta texture types such
- * as #CoglTexture2DSliced so it is the user's responsibility to
- * ensure that only low-level textures that can be directly sampled by
- * a GPU such as #CoglTexture2D, #CoglTextureRectangle or #CoglTexture3D
- * are associated with layers of the given @pipeline.
- *
- * Stability: unstable
- * Since: 1.10
- */
-void
-cogl_framebuffer_draw_primitive (CoglFramebuffer *framebuffer,
- CoglPipeline *pipeline,
- CoglPrimitive *primitive);
-
-/**
* cogl_framebuffer_vdraw_attributes:
* @framebuffer: A destination #CoglFramebuffer
* @pipeline: A #CoglPipeline state object