Changeset View
Changeset View
Standalone View
Standalone View
source/blender/windowmanager/wm_draw.h
| Show All 25 Lines | |||||
| #include "GPU_glew.h" | #include "GPU_glew.h" | ||||
| struct GPUOffScreen; | struct GPUOffScreen; | ||||
| struct GPUTexture; | struct GPUTexture; | ||||
| struct GPUViewport; | struct GPUViewport; | ||||
| typedef struct wmDrawBuffer { | typedef struct wmDrawBuffer { | ||||
| struct GPUOffScreen *offscreen[2]; | struct GPUOffScreen *offscreen[2]; | ||||
fclem: Why do we still need two offscreen? we use GPUViewport for UV image editor now so that… | |||||
jbakkerAuthorUnsubmitted Done Inline ActionsI will do that in a separate patch. jbakker: I will do that in a separate patch. | |||||
jbakkerAuthorUnsubmitted Done Inline Actionsjbakker: {D7153} | |||||
| struct GPUViewport *viewport[2]; | struct GPUViewport *viewport; | ||||
| bool stereo; | bool stereo; | ||||
| int bound_view; | int bound_view; | ||||
| } wmDrawBuffer; | } wmDrawBuffer; | ||||
| struct ARegion; | struct ARegion; | ||||
| struct ScrArea; | struct ScrArea; | ||||
| struct bContext; | struct bContext; | ||||
| struct wmWindow; | struct wmWindow; | ||||
| Show All 10 Lines | |||||
Why do we still need two offscreen? we use GPUViewport for UV image editor now so that shouldn't be required unless there is other areas i'm not aware of that still draw using stereo.