Commit Graph

2 Commits

Author SHA1 Message Date
Yann MAGNIN c966807cd7 VxKernel 0.6.0-12 : Fix image rendering + fix shader crash
@update
<> include/display/image/render
  | update dimage_* prototype to force return the display ID
  | update dimage_* prototype to change the arguments order
  | isolate "render" part of the API and the "shader" part
  | prepare shadow shader primitives
<> include/display/shader
  | change routine prototype (remove routine status)
  | update macros, to generate directly usable dshader_call_t pointer
  | add shader primitives to add shader on some display action
<> src/modules/display/stack
  | update shader allocation sizeof for more visibility
  | isolate shader adding
<> src/modules/display/image
  | isolate each render primitive in "render/" sub-folder
  | isolate each shader primitive in "shader/" sub-folder
  | prepare shadow shader code (WIP)
  | enable image rendering for image with no alpha channel

@fix
<> src/modules/display/stack
  | remove memset() which removed shader table allocation
2022-06-21 18:43:11 +02:00
Yann MAGNIN 1ebab24090 VxKernel 0.6.0-10 : Add image API
@add
<> include/vhex/display/image && src/modules/display/draw
  | add image "types" information
  | add image "object" manipulation API
  | add image "render" API (first version)

@update
<> include/vhex/display/shader.h
  | update surface structure to add some precalculated information
<> src/drivers/screen/r61524
  | precalculate some surface geometry information
  | remove useless code
<> src/module/display
  | use the new surface precalculated information

@fix
<> include/display/draw/circle
  | fix DCIRCLE_* flags value
<> src/modules/display/draw
  | fix dhline culling check
  | fix dvline culling check
  | fix circle position
  | fix circle render freeze
2022-06-19 20:11:52 +02:00