Blender V4.5
display_driver.cpp File Reference
#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 GPUShader * compile_fallback_shader ()
static void update_tile_texture_pixels (const DrawTileAndPBO &tile)
static void vertex_draw (const DisplayDriver::Params &params, 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)

Function Documentation

◆ compile_fallback_shader()

GPUShader * compile_fallback_shader ( )
static

◆ draw_tile()

void draw_tile ( const float2 & zoom,
const int texcoord_attribute,
const int position_attribute,
const DrawTile & draw_tile )
static

◆ update_tile_texture_pixels()

◆ vertex_draw()

void vertex_draw ( const DisplayDriver::Params & params,
const int texcoord_attribute,
const int position_attribute )
static