Subversion Repository Public Repository

Divide-Framework

This repository has no backups
This repository's network speed is throttled to 100KB/sec

Diff Revisions 760 vs 762 for /trunk/Source Code/Platform/Video/Headers/GFXDevice.inl

Diff revisions: vs.
  @@ -198,23 +198,6 @@
198 198 return getRenderStage() == RenderStage::SHADOW || isPrePass();
199 199 }
200 200
201 - /// Query rasterization state
202 - inline bool
203 - GFXDevice::rasterizationState() {
204 - return _rasterizationEnabled;
205 - }
206 -
207 - /// Toggle writes to the depth buffer on or off
208 - inline void
209 - GFXDevice::toggleDepthWrites(bool state) {
210 - if(_zWriteEnabled == state) {
211 - return;
212 - }
213 - _zWriteEnabled = state;
214 -
215 - _api->toggleDepthWrites(state);
216 - }
217 -
218 201 inline bool
219 202 GFXDevice::isPrePass() const {
220 203 return _isPrePassStage;
  @@ -225,16 +208,6 @@
225 208 _isPrePassStage = state;
226 209 }
227 210
228 - /// Toggle hardware rasterization on or off.
229 - inline void
230 - GFXDevice::toggleRasterization(bool state) {
231 - if (_rasterizationEnabled == state) {
232 - return;
233 - }
234 - _rasterizationEnabled = state;
235 -
236 - _api->toggleRasterization(state);
237 - }
238 211 /// Register a function to be called in the 2D rendering fase of the GFX Flush
239 212 /// routine. Use callOrder for sorting purposes
240 213 inline void