Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesdna/DNA_image_types.h
| Show First 20 Lines • Show All 109 Lines • ▼ Show 20 Lines | |||||
| } ImageTile; | } ImageTile; | ||||
| /* iuser->flag */ | /* iuser->flag */ | ||||
| #define IMA_ANIM_ALWAYS (1 << 0) | #define IMA_ANIM_ALWAYS (1 << 0) | ||||
| /* #define IMA_UNUSED_1 (1 << 1) */ | /* #define IMA_UNUSED_1 (1 << 1) */ | ||||
| /* #define IMA_UNUSED_2 (1 << 2) */ | /* #define IMA_UNUSED_2 (1 << 2) */ | ||||
| #define IMA_NEED_FRAME_RECALC (1 << 3) | #define IMA_NEED_FRAME_RECALC (1 << 3) | ||||
| #define IMA_SHOW_STEREO (1 << 4) | #define IMA_SHOW_STEREO (1 << 4) | ||||
| /* Do not limit the resolution by the limit texture size option in the user preferences. | |||||
| * Images in the image editor or used as a backdrop are always shown using the maximum | |||||
| * possible resolution. */ | |||||
| #define IMA_SHOW_MAX_RESOLUTION (1 << 5) | |||||
| /* Used to get the correct gpu texture from an Image datablock. */ | /* Used to get the correct gpu texture from an Image datablock. */ | ||||
| typedef enum eGPUTextureTarget { | typedef enum eGPUTextureTarget { | ||||
| TEXTARGET_2D = 0, | TEXTARGET_2D = 0, | ||||
| TEXTARGET_2D_ARRAY, | TEXTARGET_2D_ARRAY, | ||||
| TEXTARGET_TILE_MAPPING, | TEXTARGET_TILE_MAPPING, | ||||
| TEXTARGET_COUNT, | TEXTARGET_COUNT, | ||||
| } eGPUTextureTarget; | } eGPUTextureTarget; | ||||
| ▲ Show 20 Lines • Show All 90 Lines • ▼ Show 20 Lines | |||||
| }; | }; | ||||
| /* Image.gpuflag */ | /* Image.gpuflag */ | ||||
| enum { | enum { | ||||
| /** GPU texture needs to be refreshed. */ | /** GPU texture needs to be refreshed. */ | ||||
| IMA_GPU_REFRESH = (1 << 0), | IMA_GPU_REFRESH = (1 << 0), | ||||
| /** All mipmap levels in OpenGL texture set? */ | /** All mipmap levels in OpenGL texture set? */ | ||||
| IMA_GPU_MIPMAP_COMPLETE = (1 << 1), | IMA_GPU_MIPMAP_COMPLETE = (1 << 1), | ||||
| /** Current texture resolution isn't limited by the GL Texture Limit user preference. */ | |||||
| IMA_GPU_MAX_RESOLUTION = (1 << 2), | |||||
| }; | }; | ||||
| /* Image.source, where the image comes from */ | /* Image.source, where the image comes from */ | ||||
| enum { | enum { | ||||
| /* IMA_SRC_CHECK = 0, */ /* UNUSED */ | /* IMA_SRC_CHECK = 0, */ /* UNUSED */ | ||||
| IMA_SRC_FILE = 1, | IMA_SRC_FILE = 1, | ||||
| IMA_SRC_SEQUENCE = 2, | IMA_SRC_SEQUENCE = 2, | ||||
| IMA_SRC_MOVIE = 3, | IMA_SRC_MOVIE = 3, | ||||
| Show All 38 Lines | |||||