Radeon ProRender

rprContextResolveFrameBuffer

Resolves a framebuffer.

The resolve operation applies AA filters and tonemapping operators to the framebuffer data.

rpr_status rprContextResolveFrameBuffer( rpr_context context,
  rpr_framebuffer src_frame_buffer,
  rpr_framebuffer dst_frame_buffer,
  rpr_bool normalizeOnly);

Parameters

Parameter Description
context Context used to resolve the frame buffer.
src_frame_buffer Source framebuffer.
dst_frame_buffer Destination framebuffer.
normalizeOnly If normalizeOnly is TRUE : it only normalizes src_frame_buffer, and write the result in dst_frame_buffer. If normalizeOnly is FALSE : it applies all the rpr_post_process attached to the context with rprContextAttachPostEffect.

Notes

In RPR API 1.310, the default value of normalizeOnly has been removed. Set it to FALSE, if you don’t use this argument.

Return

Returns RPR_SUCCESS in case of success, or RPR_ERROR code if a problem was encountered.

To learn how to handle errors in AMD Radeon ProRender SDK, see Error Handling.

Errors

Possible error codes:

  • RPR_ERROR_OUT_OF_SYSTEM_MEMORY
  • RPR_ERROR_OUT_OF_VIDEO_MEMORY