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

Function Documentation

◆ compile_fallback_shader()

static GPUShader * compile_fallback_shader ( void )
static

◆ draw_tile()

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

◆ update_tile_texture_pixels()

static void update_tile_texture_pixels ( const DrawTileAndPBO & tile)
static

◆ vertex_draw()

static void vertex_draw ( const DisplayDriver::Params & params,
int texcoord_attribute,
int position_attribute )
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().