|
Blender V5.3
|
#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 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 687 of file blender/display_driver.cpp.
References DCHECK_NOTNULL, blender::GPUSamplerState::default_sampler(), draw_tile(), blender::GPU_texture_bind_ex(), LOG_ERROR, texture(), vertex_draw(), float2::x, and float2::y.
Referenced by BlenderDisplayDriver::draw(), and draw_tile().
|
static |
Definition at line 480 of file blender/display_driver.cpp.
References DCHECK_NOTNULL, blender::GPU_DATA_HALF_FLOAT, blender::GPU_texture_update_sub_from_pixel_buffer(), LOG_ERROR, texture(), tile, and update_tile_texture_pixels().
Referenced by BlenderDisplayDriver::draw(), BlenderDisplayDriver::update_end(), and update_tile_texture_pixels().
|
static |
Definition at line 660 of file blender/display_driver.cpp.
References DisplayDriver::Params::full_offset, blender::GPU_PRIM_TRI_STRIP, blender::immAttr2f(), blender::immBegin(), blender::immEnd(), blender::immVertex2f(), DisplayDriver::Params::size, vertex_draw(), int2::x, x, int2::y, and y.
Referenced by draw_tile(), and vertex_draw().