|
Blender V4.3
|
#include "GPU_context.hh"#include "GPU_immediate.hh"#include "GPU_shader.hh"#include "GPU_state.hh"#include "GPU_texture.hh"#include "RE_engine.h"#include "blender/display_driver.h"#include "device/device.h"#include "util/log.h"#include "util/math.h"Go to the source code of this file.
Classes | |
| class | DisplayGPUTexture |
| class | DisplayGPUPixelBuffer |
| class | DrawTile |
| class | DrawTileAndPBO |
| struct | BlenderDisplayDriver::Tiles |
Functions | |
| static GPUShader * | compile_fallback_shader (void) |
| static void | update_tile_texture_pixels (const DrawTileAndPBO &tile) |
| static void | vertex_draw (const DisplayDriver::Params ¶ms, int texcoord_attribute, int position_attribute) |
| static void | draw_tile (const float2 &zoom, const int texcoord_attribute, const int position_attribute, const DrawTile &draw_tile) |
|
static |
Definition at line 58 of file blender/display_driver.cpp.
References GPU_shader_create_from_info_name().
Referenced by BlenderFallbackDisplayShader::create_shader_if_needed().
|
static |
Definition at line 684 of file blender/display_driver.cpp.
References DCHECK_NOTNULL, GPUSamplerState::default_sampler(), draw_tile(), GPU_texture_bind_ex(), LOG, vertex_draw(), float2::x, and float2::y.
Referenced by BlenderDisplayDriver::draw(), draw_tile(), and blender::draw::overlay::MeshUVs::end_sync().
|
static |
Definition at line 533 of file blender/display_driver.cpp.
References DCHECK_NOTNULL, GPU_DATA_HALF_FLOAT, GPU_texture_update_sub_from_pixel_buffer(), LOG, and tile.
Referenced by BlenderDisplayDriver::draw(), and BlenderDisplayDriver::update_end().
|
static |
Definition at line 657 of file blender/display_driver.cpp.
References GPU_PRIM_TRI_STRIP, immAttr2f(), immBegin(), immEnd(), immVertex2f(), and params.
Referenced by draw_tile().