|
Blender V5.0
|
#include "GPU_context.hh"#include "GPU_immediate.hh"#include "GPU_platform.hh"#include "GPU_platform_backend_enum.h"#include "GPU_shader.hh"#include "GPU_state.hh"#include "GPU_texture.hh"#include "RE_engine.h"#include "blender/display_driver.h"#include "util/log.h"#include "util/math.h"#include "util/vector.h"Go to the source code of this file.
Classes | |
| class | DisplayGPUTexture |
| class | DisplayGPUPixelBuffer |
| class | DrawTile |
| class | DrawTileAndPBO |
| struct | BlenderDisplayDriver::Tiles |
Functions | |
| static blender::gpu::Shader * | compile_fallback_shader () |
| static void | update_tile_texture_pixels (const DrawTileAndPBO &tile) |
| static void | vertex_draw (const DisplayDriver::Params ¶ms, const int texcoord_attribute, const 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 60 of file blender/display_driver.cpp.
References GPU_shader_create_from_info_name().
Referenced by BlenderFallbackDisplayShader::create_shader_if_needed().
|
static |
Definition at line 751 of file blender/display_driver.cpp.
References DCHECK_NOTNULL, GPUSamplerState::default_sampler(), draw_tile(), GPU_texture_bind_ex(), LOG_ERROR, texture(), vertex_draw(), float2::x, and float2::y.
Referenced by BlenderDisplayDriver::draw(), draw_tile(), and blender::draw::overlay::MeshUVs::end_sync().
|
static |
Definition at line 552 of file blender/display_driver.cpp.
References DCHECK_NOTNULL, GPU_DATA_HALF_FLOAT, GPU_texture_update_sub_from_pixel_buffer(), LOG_ERROR, texture(), and tile.
Referenced by BlenderDisplayDriver::draw(), and BlenderDisplayDriver::update_end().
|
static |
Definition at line 724 of file blender/display_driver.cpp.
References GPU_PRIM_TRI_STRIP, immAttr2f(), immBegin(), immEnd(), immVertex2f(), params, x, and y.
Referenced by draw_tile().