Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(443)

Side by Side Diff: converter/cross/renderer_stub.h

Issue 164130: This CL adds client.toDataURL which gets the contents... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/o3d/
Patch Set: '' Created 11 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | converter/cross/renderer_stub.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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__
OLDNEW
« no previous file with comments | « no previous file | converter/cross/renderer_stub.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698