Use a shorter/simpler license convention, stops the header taking so much space. Follow the SPDX license specification: https://spdx.org/licenses - C/C++/objc/objc++ - Python - Shell Scripts - CMake, GNUmakefile While most of the source tree has been included - `./extern/` was left out. - `./intern/cycles` & `./intern/atomic` are also excluded because they use different header conventions. doc/license/SPDX-license-identifiers.txt has been added to list SPDX all used identifiers. See P2788 for the script that automated these edits. Reviewed By: brecht, mont29, sergey Ref D14069
41 lines
868 B
C++
41 lines
868 B
C++
/* SPDX-License-Identifier: GPL-2.0-or-later
|
|
* Copyright 2007 Blender Foundation. All rights reserved. */
|
|
|
|
/** \file
|
|
* \ingroup wm
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
struct GPUOffScreen;
|
|
struct GPUTexture;
|
|
struct GPUViewport;
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
typedef struct wmDrawBuffer {
|
|
struct GPUOffScreen *offscreen;
|
|
struct GPUViewport *viewport;
|
|
bool stereo;
|
|
int bound_view;
|
|
} wmDrawBuffer;
|
|
|
|
struct ARegion;
|
|
struct ScrArea;
|
|
struct bContext;
|
|
struct wmWindow;
|
|
|
|
/* wm_draw.c */
|
|
void wm_draw_update(struct bContext *C);
|
|
void wm_draw_region_clear(struct wmWindow *win, struct ARegion *region);
|
|
void wm_draw_region_blend(struct ARegion *region, int view, bool blend);
|
|
void wm_draw_region_test(struct bContext *C, struct ScrArea *area, struct ARegion *region);
|
|
|
|
struct GPUTexture *wm_draw_region_texture(struct ARegion *region, int view);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|