Changeset View
Changeset View
Standalone View
Standalone View
source/blender/render/intern/render_types.h
| Show First 20 Lines • Show All 65 Lines • ▼ Show 20 Lines | struct Render { | ||||
| RenderResult *pushedresult; | RenderResult *pushedresult; | ||||
| /** A list of #RenderResults, for full-samples. */ | /** A list of #RenderResults, for full-samples. */ | ||||
| ListBase fullresult; | ListBase fullresult; | ||||
| /* read/write mutex, all internal code that writes to re->result must use a | /* read/write mutex, all internal code that writes to re->result must use a | ||||
| * write lock, all external code must use a read lock. internal code is assumed | * write lock, all external code must use a read lock. internal code is assumed | ||||
| * to not conflict with writes, so no lock used for that */ | * to not conflict with writes, so no lock used for that */ | ||||
| ThreadRWMutex resultmutex; | ThreadRWMutex resultmutex; | ||||
| /* Guard for drawing render result using engine's `draw()` callback. */ | |||||
| ThreadMutex engine_draw_mutex; | |||||
| /** Window size, display rect, viewplane. | /** Window size, display rect, viewplane. | ||||
| * \note Buffer width and height with percentage applied | * \note Buffer width and height with percentage applied | ||||
| * without border & crop. convert to long before multiplying together to avoid overflow. */ | * without border & crop. convert to long before multiplying together to avoid overflow. */ | ||||
| int winx, winy; | int winx, winy; | ||||
| rcti disprect; /* part within winx winy */ | rcti disprect; /* part within winx winy */ | ||||
| rctf viewplane; /* mapped on winx winy */ | rctf viewplane; /* mapped on winx winy */ | ||||
| /* final picture width and height (within disprect) */ | /* final picture width and height (within disprect) */ | ||||
| ▲ Show 20 Lines • Show All 68 Lines • Show Last 20 Lines | |||||