- Advanced DirectX12 graphics and performance | Max McMullen, Microsoft video
- Code clinic - How to Write Code the Compiler Can Actually Optimize | Mike Acton, Engine Director, Insomniac Games slideshare
- Destiny - Six years in the making | Chris Butcher, Bungie video
- Fast Iteration for Far Cry 4 - Optimizing Key Parts of the Dunia Pipeline | Remi Quenin, Engine Architect, Ubisoft pptx
- More on Vulkan and SPIR-V - The future of high-performance graphics | Khronos Group pdf video
- Parallelizing the Naughty Dog engine using fibers | Ch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
@rem Set up environment for compiling with XP support | |
@rem Gist: 8b357a25f08329636081 | |
if not "%3" == "" goto usage | |
if /i %1 == vc10 goto vc10 | |
if /i %1 == vc11 goto vc11 | |
if /i %1 == vc12 goto vc12 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
extern crate sdl2; | |
use sdl2::pixels::Color; | |
use sdl2::event::Event; | |
use sdl2::keyboard::Keycode; | |
use sdl2::rect::Rect; | |
const BORDER: i32 = 32; | |
const WIDTH: i32 = 1024; | |
const HEIGHT: i32 = 768; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# bench_f32 loop: | |
.LBB23_30: | |
vmovss (%rdi), %xmm1 | |
vmovsd 4(%rdi), %xmm2 | |
vmulss 12(%rdi), %xmm1, %xmm1 | |
vmovsd 16(%rdi), %xmm3 | |
vmulps %xmm3, %xmm2, %xmm2 | |
vaddss %xmm2, %xmm1, %xmm1 | |
vmovshdup %xmm2, %xmm2 | |
vaddss %xmm2, %xmm1, %xmm1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/imgui-examples/examples/test_window_impl.rs b/imgui-examples/examples/test_window_impl.rs | |
index c9cc5c8..e5ec03a 100644 | |
--- a/imgui-examples/examples/test_window_impl.rs | |
+++ b/imgui-examples/examples/test_window_impl.rs | |
@@ -4,9 +4,34 @@ extern crate imgui; | |
extern crate imgui_glium_renderer; | |
use imgui::*; | |
+use std::mem; | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifndef TASK_FENCE_HPP | |
#define TASK_FENCE_HPP | |
#include <condition_variable> | |
#include <mutex> | |
class TaskFence | |
{ | |
int taskCount_; | |
std::condition_variable taskCV_; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "tbb/tbb.h" | |
#include "tbb/concurrent_queue.h" | |
#include "tbb/task_arena.h" | |
// Based on LocalSerializer pattern which enforces execution order based on submission order | |
// https://www.threadingbuildingblocks.org/docs/help/tbb_userguide/Design_Patterns/Local_Serializer.html | |
class SerializedTaskArena | |
{ | |
public: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@rem Do not use "echo off" to not affect any child calls. | |
@setlocal | |
@rem Get the abolute path to the parent directory, which is assumed to be the | |
@rem Git installation root. | |
@for /F "delims=" %%I in ("%~dp0..") do @set git_install_root=%%~fI | |
@set PATH=%git_install_root%\bin;%git_install_root%\usr\bin;%PATH% | |
@if not exist "%HOME%" @set HOME=%HOMEDRIVE%%HOMEPATH% | |
@if not exist "%HOME%" @set HOME=%USERPROFILE% |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# | |
# Lists best candidates for adding to pre-compiled headers from an | |
# output list showing all the includes during a build. | |
# | |
# By Noel Llopis - April 2005 | |
# http://www.gamesfromwithin.com | |
# | |
# Modified by Cameron Hart 2014 | |
# |
OlderNewer