render: implement a vulkan renderer
This commit is contained in:
parent
4ba8550da8
commit
cf332e8436
66 changed files with 4287 additions and 239 deletions
|
|
@ -1,6 +1,5 @@
|
|||
use {
|
||||
crate::{
|
||||
format::Format,
|
||||
gfx_api::{
|
||||
AbsoluteRect, BufferPoint, BufferPoints, CopyTexture, FillRect, GfxApiOpt, GfxTexture,
|
||||
},
|
||||
|
|
@ -118,7 +117,6 @@ impl RendererBase<'_> {
|
|||
texture: &Rc<dyn GfxTexture>,
|
||||
x: i32,
|
||||
y: i32,
|
||||
format: &'static Format,
|
||||
tpoints: Option<BufferPoints>,
|
||||
tsize: Option<(i32, i32)>,
|
||||
tscale: Scale,
|
||||
|
|
@ -181,7 +179,6 @@ impl RendererBase<'_> {
|
|||
|
||||
self.ops.push(GfxApiOpt::CopyTexture(CopyTexture {
|
||||
tex: texture.clone(),
|
||||
format,
|
||||
source: texcoord,
|
||||
target: AbsoluteRect {
|
||||
x1: x,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue