RoosterDragon
a2ed4fd5f9
Avoid redundantly setting viewport parameters in BeginFrame.
...
- Cache the old resolution, scroll and zoom in BeginFrame, and don't bother updating the viewport parameters again until they change.
- Pass around scroll as an int2 to reduce the number of back-and-forth casts.
2014-06-10 17:06:25 +01:00
Paul Chote
401e7cf1b2
Remove an outdated hack from Renderer.
2014-05-03 11:40:55 +12:00
Paul Chote
4935266945
Merge FileFormats dll into Game and reorganise namespaces.
2014-04-17 01:20:47 +12:00
Matthias Mailänder
eed38b3da4
fallback to defaults when something goes wrong
2013-11-09 11:06:16 +01:00
Paul Chote
94554d7678
Support nested scissor rectangles.
2013-10-25 08:31:34 +13:00
Paul Chote
b7123cda7d
Route screen size queries via Game.Renderer.
2013-10-05 21:01:21 +13:00
Paul Chote
4c22193446
Remove obsolete Stencil Buffer functions.
2013-06-15 19:31:52 +12:00
Paul Chote
c5337cdcf3
Reimplement voxel rendering with a FBO.
2013-06-15 19:31:52 +12:00
Paul Chote
7d09e78655
Add WorldRgbaSpriteRenderer.
2013-06-15 19:16:08 +12:00
Paul Chote
a00696ec3b
Add core voxel rendering code.
2013-06-04 20:40:24 +12:00
Paul Chote
f6264eeba4
Expose stencil buffer to render code.
...
The intention is to provide a layer for tracking shadow
rendering, so a single bit is sufficient for now.
2013-06-04 20:25:21 +12:00
Paul Chote
1b34c7d6b9
Expose depth buffer to render code.
2013-06-04 20:25:21 +12:00
Matthias Mailänder
acc8cd1e5e
fixes #2885 forgot to enable the cursor palette before drawing
...
split HardwarePalette.Update into two functions, closes #2847
2013-04-06 08:44:32 +02:00
Matthias Mailänder
6c6f5601d8
make PaletteTexture private and only use it for sprite renders
2013-04-06 08:44:32 +02:00
Matthias Mailänder
1a6a7da9c1
apply recent refactoring to quad renderer
2013-03-10 07:47:00 +01:00
Matthias Mailänder
7d0de5645f
Added QuadRenderer to render shaded/colored quads. Added DebugOverlay to World to show A* bidi search cost per cell.
2013-03-10 07:32:35 +01:00
Paul Chote
8a53819f50
Redirect IShader calls via respective *Renderers.
2013-03-08 18:21:35 +13:00
Paul Chote
786c3b1f1a
Rename uniform setters to avoid future ambiguity.
2013-03-04 19:06:42 +13:00
Paul Chote
a166815348
Remove duplication between world/chrome shaders.
2013-02-23 09:53:46 +13:00
Paul Chote
35a149ea87
Apply consistent formatting to Renderer (no code changes).
2013-02-23 09:46:16 +13:00
Igor Popov
bf73cdbd01
basic dedicated server support
2012-09-23 17:20:45 +12:00
alzeih
1b0724719d
Make LineRenderer understand Zoom internally
2011-12-13 23:58:39 +13:00
Chris Forbes
55036cd58c
fix trailing whitespace everywhere
2011-09-26 08:40:39 +13:00
Chris Forbes
cc716ab8c7
#1106 fixed -- mac-specific hack should only be applied on a mac.
2011-08-15 14:15:55 +12:00
Chris Forbes
a79cc0a0e0
drop unused parameter on IGraphicsDevice.Clear()
2011-08-09 08:51:36 +12:00
Paul Chote
6183621a72
Scale line-width to match zoom.
2011-07-25 22:23:17 +12:00
Paul Chote
fc783ddf80
Support custom zoom levels
2011-07-25 22:23:17 +12:00
Paul Chote
926b396605
Fix bogus naming of Shaders/Renderers. Split LineRenderer into world and chrome variants.
2011-07-25 22:23:16 +12:00
Chris Forbes
b0ccc58516
remove unused vsync parameter from renderers
2011-07-17 17:55:52 +12:00
Paul Chote
f9b1c4fcc3
Work around a non-interactable window bug exposed by earlier graphics refactoring.
2011-07-15 23:57:29 +12:00
Chris Forbes
6f477a2c14
fix broken detection of desktop resolution on linux
2011-07-14 20:29:10 +12:00
Chris Forbes
b06647a079
reduce noise in Renderer
2011-07-14 20:29:10 +12:00
Chris Forbes
a4648cfbcc
move SheetSize to Graphics section of settings
2011-07-14 20:29:03 +12:00
Chris Forbes
dcd9627c22
fixed #989 : don't do renderer setup in a reflected call.
2011-07-14 20:29:03 +12:00
Chris Forbes
a07e151ab5
drop bogus comment in renderer
2011-07-14 20:29:03 +12:00
Chris Forbes
5ecc1ebefc
split IGraphicsDevice.{Present,PumpInput}
2011-05-22 22:10:48 +12:00
Chris Forbes
90cea9f73d
expose temp VBO tuning parameters in settings
2011-05-22 20:41:31 +12:00
Chris Forbes
9434dd993a
slight cleanup in Renderer
2011-05-22 20:38:57 +12:00
Chris Forbes
75588b050e
improve error message in CreateDevice
2011-05-22 20:38:56 +12:00
Paul Chote
d7f009b218
Use the font dictionary everywhere
2011-05-21 17:26:18 +12:00
Paul Chote
e1c8658fdc
Fonts are now defined in mod.yaml
2011-05-21 17:26:18 +12:00
Paul Chote
1e66d57ef1
Refactor font code out of LabelWidget
2011-05-21 16:28:17 +12:00
Paul Chote
890136d447
Allow Labels to use any defined font. Add a new font type.
2011-05-21 16:26:59 +12:00
Chris Forbes
4d6b2c7954
IBOless rendering with quads; considerably reduces renderer complexity
2011-05-18 20:42:10 +12:00
Chris Forbes
7155747337
remove IShader.Commit
2011-04-30 14:29:32 +12:00
Paul Chote
a5af4e85ce
Tweak CashTick and Oil Derricks
2011-03-19 17:48:56 +13:00
Paul Chote
094907c1a9
Update copyright header. Normalize line endings to LF.
2011-02-13 10:38:57 +13:00
Chris Forbes
3c9891cdea
blah
2011-01-30 15:55:46 +13:00
Chris Forbes
ae1710896a
add a tiny font; add labels in PerfGraphWidget
2010-12-28 17:24:20 +13:00
Paul Chote
ccf66cde2f
Expose Graphics.Renderer setting; Refactor Renderer.Null.
2010-11-21 13:10:19 +13:00