Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove barrier transition of frame images #325

Closed
wants to merge 144 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
144 commits
Select commit Hold shift + click to select a range
481227d
Bug 1498639 - Give WR the id of the scroll frame perspective scrolls …
emilio Jan 28, 2019
506ffcc
Bug 1512010 - snap text positions without device transform in local r…
lsalzman Jan 29, 2019
b6f6535
Bug 1525032 - use switch statement for text snapping decision r=lsalzman
srijs Feb 4, 2019
7211817
Bug 1525087 - Plane split dependency update to 0.13.5 r=kats
kvark Feb 4, 2019
ef5baef
Add gfx backend
Feb 4, 2019
f476937
Fix deleting in flight textures
Feb 7, 2019
70ac3fc
Bug 1523228 - Use down scaling more often to avoid blurs on very larg…
gw3583 Jan 28, 2019
a086afc
Bug 1431582 - Add reduced test case for 3d transform bugs. r=kvark
aosmond Jan 28, 2019
7889638
Bug 1431582 - WR support non-locally-rasterized split planes r=gw
kvark Jan 29, 2019
c665d78
Fix do_debug_blit
Feb 17, 2019
856c077
Apply gecko fixes
Feb 17, 2019
621d473
Apply gecko fixes pt2
Feb 20, 2019
b7d732a
Apply gecko fixes pt3
Feb 27, 2019
1b382c2
Fix capture and load
Feb 24, 2019
ce2a7d2
Update gfx-rs
Feb 27, 2019
e97abba
Store Instance in Device instead of Renderer
Feb 27, 2019
69a207f
Wait for pending resources before deiniting device
Mar 11, 2019
607783f
Fix nightly builds
Mar 18, 2019
7c2a9a1
Update gfx-rs
Mar 14, 2019
4f1f60e
Use PresentMode
Mar 18, 2019
fd694e3
Fix blitting with different image formats
Mar 8, 2019
357c5da
Use surface format more consistently
Mar 19, 2019
a36616d
Better organization of gfx dependencies
Mar 25, 2019
9ddc084
Add headless mode to gfx-hal backend
Mar 26, 2019
70222c7
Change `headless` mode from compile time feature to runtime switch
Mar 28, 2019
456efd2
Update README.md
Apr 8, 2019
7fa103a
Update gfx-rs
Apr 4, 2019
1e81eaf
Get max_texture_layers from gfx-hal limits
Apr 4, 2019
12b1172
Use rendy-memory for memory allocation
Mar 20, 2019
516d589
Fix usage of alignments
Mar 26, 2019
5412849
Update rendy-memory and fix offsets
Apr 2, 2019
4cf2630
Add HeapsConfig to RendererOptions
Apr 3, 2019
43e0a57
Fix nonCoherentAtomSize usage
Apr 3, 2019
bac0730
Remove unnecesary Vec alocations
Mar 29, 2019
e464480
Split device/gfx.rs into multiple modules
Mar 29, 2019
2ed599a
Rustfmt
Mar 29, 2019
508f959
Remove more Vec allocation
Mar 29, 2019
2400536
Fix visibility of vertex_types mod
Apr 1, 2019
0309cbb
Fix headless
Apr 11, 2019
078a7fd
Fix examples
Apr 10, 2019
a2c8d82
Remove debug_renderer feature from gfx-hal backend
Apr 10, 2019
0554813
Fix drawing vertices from the previous update
Apr 10, 2019
02dcdec
Fix debug renderer crash after resize
Apr 18, 2019
6a08c15
Refactor descriptor usage
Apr 10, 2019
0e55b4f
Fix debug renderer crash with debug build
Apr 26, 2019
f87fc56
[vk]Fix descriptor related validation layer errors
May 3, 2019
7251af2
[vk]Fix image layout related validation layer errors
May 3, 2019
59fa67e
Lover the number of inital descriptor sets
May 6, 2019
a814b29
Fix dx12 debug layer errors
May 7, 2019
067866c
Update gfx, winit and glutin
May 10, 2019
58a081f
[vk] Fix subresource ranges
May 10, 2019
667b9ba
Fix view kinds
May 13, 2019
9ff88d3
Fix composite alpha
May 13, 2019
827a83c
[vk] Fix invalid renderpass errors
May 16, 2019
6ddc87d
Use info instead of print
May 23, 2019
c75b5fe
Minor clean-up
May 23, 2019
aaa1a55
Fix depth image barriers
May 23, 2019
aba6adc
Fix the `VkBufferImageCopy-bufferOffset` validation error
May 22, 2019
3cfbd18
Update gfx-hal to 0.2
May 24, 2019
6a91431
Fix wrench window dimensions
May 29, 2019
f85edd0
Rework descriptor usage
Apr 11, 2019
676c769
Build time switch for push constants
Jun 6, 2019
73381e5
Swapchain recreating after present error.
May 22, 2019
28ec6e7
Fix validation layer errors on resize/swapchain recreation
May 24, 2019
b31d38a
Correct specialization constants
Jun 24, 2019
8eca02b
Create render_pass once
Jun 25, 2019
dc051ae
Define descriptor set layouts in the code
Jun 5, 2019
45fea76
Combined image samplers and immutable samplers
Jun 18, 2019
136905c
Hook up rendy-descriptor
Jun 19, 2019
aaa820c
Typo fix
Jun 19, 2019
4e25341
Fix sampler bindings
Jun 19, 2019
e30bbdc
[dx12] Fix missing samplers
Jun 19, 2019
c80901d
Clean up build script
Jun 20, 2019
26a548e
Move PrevPass textures in a different descriptor set
Jun 21, 2019
5027ad9
Share per draw dascriptor sets globally
Jun 21, 2019
d1a35f5
Less redundant code
Jun 24, 2019
1e73614
Move descriptor writes from Program to Device
Jun 25, 2019
548d7d8
Rename per frame to per group
Jun 26, 2019
9854bde
New descriptor module
Jun 26, 2019
e8e8980
Remove bind_textures and set_uniforms from renderer
Jun 26, 2019
05c74d7
Consistent binding numbers
Jun 27, 2019
3b28583
Minor refactor in descriptor mod
Jun 27, 2019
d99b8ca
Remove sampler descritor set
Jun 27, 2019
f60f897
Description for traits in descriptor module
Jun 27, 2019
8107227
Add a switch between push constants and uniform in shaders
Jun 7, 2019
1370148
Initial implementation of runtime switching for push constants
mmatyas Jun 7, 2019
4ccdd51
Fix validation layer error VkBufferImageCopy-bufferOffset
Jul 5, 2019
70de514
Move quad vertex buffer away from programs
Jul 4, 2019
f7604d9
Fix mapping range exceeding buffer size
Jul 4, 2019
74cda71
Move instance buffers away from programs
Jul 5, 2019
4da1951
Use one download buffer with fixed size
Jul 9, 2019
7f1d851
Address review changes for the buffer rework
Jul 10, 2019
2dbba89
Make instance/staging buffer sizes configurable
Jul 10, 2019
ac05a75
Remove data stride param from VertexBufferHandler::new
Jul 10, 2019
1bef646
Fix mapping range for uniform buffers
Jul 10, 2019
58cfe93
Remove typed command buffers, pools and queues
mmatyas Jul 8, 2019
807e338
Fix multiwindow example
Jul 12, 2019
fa8972c
Fix wrench DeviceInit with wrong framebuffer size
Jul 23, 2019
72dcb68
Remove unnecessary command_buffer `begin/finish`
Jul 5, 2019
5ec8dae
Fix the Rust nightly build
mmatyas Jun 27, 2019
ef128d8
Use a persisitently mapped buffer for GpuCache
Jun 29, 2019
8269d7a
Use rendy-memory for PMbuffers
Jul 30, 2019
2ef0da1
Workaround for DX12 can't create pipeline with readonly qualifier
Aug 2, 2019
01cee09
Use rendy-memory's read/write functions
Aug 7, 2019
f488584
Update gfx-hal to 0.3
Aug 12, 2019
84ca601
Use latest version of gfx crates
Sep 9, 2019
d4bfda8
Fix frame count calculation
Sep 9, 2019
37c8ee2
Add readonly qualifier to gpu cache buffer
Sep 9, 2019
daac8d4
Move gpu cache updates to RenderBackend
Aug 8, 2019
939070e
Rework pipeline barriers
Sep 2, 2019
e2f1076
Add PipelineBarrierInfo helper
Sep 16, 2019
15435fe
Clean up command buffer usage
Sep 16, 2019
7021af9
Fix pathfinder build
Sep 16, 2019
d1da232
Fix picking the wrong frame image
Sep 17, 2019
89beae4
More barrier fixes (submit and read_pixels)
Sep 17, 2019
5112ab5
Update gfx-backend-dx12 to 0.3.4
Sep 18, 2019
0a6ee2c
Fix wrong Format picked for `float` in `build_gfx.rs`
Sep 25, 2019
cc2ebcc
Early return during texture to descriptor binding
Sep 26, 2019
cfeb4bc
Make mozangle dependency optional in wrench
Sep 26, 2019
5cfa03a
Load rendy-memory configuration from a file
Oct 1, 2019
40edf4d
Use SmallVec for temporary variables
Oct 1, 2019
e1e4382
Replace Vec's with SmallVec's where we know the max size
Oct 1, 2019
e65af16
Remove redundant code
Oct 1, 2019
16a2667
Use ArrayVec where we know the hard limit
Oct 1, 2019
cff0d32
Encapsulate frame image related resources
Oct 2, 2019
269f099
Move render passes creation to it's proper place
Sep 11, 2019
4d40f81
Don't start a render pass for each draw
Sep 11, 2019
29d0036
Skip clear rect optimization with gfx-backend
Sep 12, 2019
11e3f61
Fewer render passes
Sep 12, 2019
00f4c56
Fix depth test transitions
Oct 1, 2019
d727bce
Adjust pipeline creation to render pass depth states
Oct 3, 2019
03f35e4
Delete unnecessary 'push_constans' feature
Oct 4, 2019
a80bb1b
Add UpdateWindowSize to scene messages
Oct 4, 2019
0a4afc5
Remove unused pipeline states
Oct 8, 2019
10239f8
Restore backend features in example and wrench.
dati91 Oct 15, 2019
5f29e7a
Extend image transition
Oct 16, 2019
57d09e3
Merge barriers
Oct 16, 2019
e62ce37
Don't store previous state in ImageCore
Oct 16, 2019
c9a99e4
Fix attachment load ops
Oct 16, 2019
7942c11
Fix wrench build on Windows
Oct 17, 2019
a8da8e5
Dynamic render pass creation
Oct 16, 2019
5ccab52
Rework frame image transition
Oct 17, 2019
c960b13
Use clear load operation where it is possible
Oct 18, 2019
83da150
Fix debug blit validation errors
Oct 18, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,6 @@ wrench/ron_frames

# System
.fuse_hidden*

# mac
.DS_Store
56 changes: 56 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
dist: trusty
language: rust
rust:
- 1.35.0
- nightly
matrix:
fast_finish: true
allow_failures:
- rust: nightly
os:
- linux
- osx

branches:
only:
- master

addons:
apt:
sources:
- sourceline: 'deb http://apt.llvm.org/trusty/ llvm-toolchain-trusty-3.9 main'
keyurl: 'http://apt.llvm.org/llvm-snapshot.gpg.key'
- sourceline: 'ppa:jonathonf/python-2.7'
packages:
- libgl1-mesa-dev
- llvm-3.9-dev
- libedit-dev
- python
env:
- BUILD_KIND=DEBUG RUST_BACKTRACE=1 RUSTFLAGS='--deny warnings'
- BUILD_KIND=RELEASE RUST_BACKTRACE=1 RUSTFLAGS='--deny warnings'
before_install:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then export LLVM_CONFIG=/usr/lib/llvm-3.9/bin/llvm-config; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install zlib; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then export PKG_CONFIG_PATH="/usr/local/opt/zlib/lib/pkgconfig:$PKG_CONFIG_PATH"; fi
- pip install virtualenv
- virtualenv ../venv
- source ../venv/bin/activate
- python --version
- pip install mako voluptuous PyYAML servo-tidy
script:
# - servo-tidy
- if [ $BUILD_KIND = DEBUG ]; then (cd webrender_api && cargo test --verbose --features "ipc"); fi
- if [ $BUILD_KIND = DEBUG ]; then (cd webrender && cargo check --verbose --no-default-features); fi
- if [ $BUILD_KIND = DEBUG ]; then (cd webrender && cargo check --verbose --no-default-features --features capture); fi
- if [ $BUILD_KIND = DEBUG ]; then (cd webrender && cargo check --verbose --features profiler,capture); fi
- if [ $BUILD_KIND = DEBUG ]; then (cd webrender && cargo check --verbose --features replay); fi
# - if [ $BUILD_KIND = DEBUG ]; then (cd webrender && cargo check --verbose --no-default-features --features pathfinder); fi
- if [ $BUILD_KIND = DEBUG ]; then (cd webrender && cargo check --verbose --no-default-features --features serialize_program); fi
- if [ $BUILD_KIND = DEBUG ]; then (cd wrench && cargo check --verbose --features env_logger); fi
- if [ $BUILD_KIND = DEBUG ]; then (cd examples && cargo check --verbose); fi
- if [ $BUILD_KIND = DEBUG ]; then (cargo test --all --verbose); fi
- if [ $BUILD_KIND = RELEASE ]; then (cd wrench && python script/headless.py reftest); fi
- if [ $BUILD_KIND = RELEASE ]; then (cd wrench && cargo build --release); fi
- if [ $TRAVIS_RUST_VERSION == "nightly" ]; then (cd webrender && cargo bench --verbose); fi
Loading