| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2009, Google Inc. | 2 * Copyright 2009, Google Inc. |
| 3 * All rights reserved. | 3 * All rights reserved. |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions are | 6 * modification, are permitted provided that the following conditions are |
| 7 * met: | 7 * met: |
| 8 * | 8 * |
| 9 * * Redistributions of source code must retain the above copyright | 9 * * Redistributions of source code must retain the above copyright |
| 10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 72 ParamCache* param_cache); | 72 ParamCache* param_cache); |
| 73 virtual Primitive::Ref CreatePrimitive(); | 73 virtual Primitive::Ref CreatePrimitive(); |
| 74 virtual DrawElement::Ref CreateDrawElement(); | 74 virtual DrawElement::Ref CreateDrawElement(); |
| 75 virtual VertexBuffer::Ref CreateVertexBuffer(); | 75 virtual VertexBuffer::Ref CreateVertexBuffer(); |
| 76 virtual IndexBuffer::Ref CreateIndexBuffer(); | 76 virtual IndexBuffer::Ref CreateIndexBuffer(); |
| 77 virtual Effect::Ref CreateEffect(); | 77 virtual Effect::Ref CreateEffect(); |
| 78 virtual Sampler::Ref CreateSampler(); | 78 virtual Sampler::Ref CreateSampler(); |
| 79 virtual RenderDepthStencilSurface::Ref CreateDepthStencilSurface(int width, | 79 virtual RenderDepthStencilSurface::Ref CreateDepthStencilSurface(int width, |
| 80 int height); | 80 int height); |
| 81 virtual StreamBank::Ref CreateStreamBank(); | 81 virtual StreamBank::Ref CreateStreamBank(); |
| 82 virtual bool SaveScreen(const String& file_name); | 82 virtual Bitmap::Ref TakeScreenshot(); |
| 83 ParamCache *CreatePlatformSpecificParamCache(); | 83 ParamCache *CreatePlatformSpecificParamCache(); |
| 84 virtual void SetViewportInPixels(int left, | 84 virtual void SetViewportInPixels(int left, |
| 85 int top, | 85 int top, |
| 86 int width, | 86 int width, |
| 87 int height, | 87 int height, |
| 88 float min_z, | 88 float min_z, |
| 89 float max_z); | 89 float max_z); |
| 90 | 90 |
| 91 // Overridden from Renderer. | 91 // Overridden from Renderer. |
| 92 virtual const int* GetRGBAUByteNSwizzleTable(); | 92 virtual const int* GetRGBAUByteNSwizzleTable(); |
| (...skipping 24 matching lines...) Expand all Loading... |
| 117 virtual TextureCUBE::Ref CreatePlatformSpecificTextureCUBE( | 117 virtual TextureCUBE::Ref CreatePlatformSpecificTextureCUBE( |
| 118 int edge_length, | 118 int edge_length, |
| 119 Texture::Format format, | 119 Texture::Format format, |
| 120 int levels, | 120 int levels, |
| 121 bool enable_render_surfaces); | 121 bool enable_render_surfaces); |
| 122 }; | 122 }; |
| 123 | 123 |
| 124 } // namespace o3d | 124 } // namespace o3d |
| 125 | 125 |
| 126 #endif // O3D_CONVERTER_CROSS_RENDERER_STUB_H__ | 126 #endif // O3D_CONVERTER_CROSS_RENDERER_STUB_H__ |
| OLD | NEW |