Mathias Agopian | 875d8e1 | 2013-06-07 15:35:48 -0700 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2013 The Android Open Source Project |
| 3 | * |
| 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | * you may not use this file except in compliance with the License. |
| 6 | * You may obtain a copy of the License at |
| 7 | * |
| 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | * |
| 10 | * Unless required by applicable law or agreed to in writing, software |
| 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | * See the License for the specific language governing permissions and |
| 14 | * limitations under the License. |
| 15 | */ |
| 16 | |
Mathias Agopian | 875d8e1 | 2013-06-07 15:35:48 -0700 | [diff] [blame] | 17 | #ifndef SF_RENDERENGINE_H_ |
| 18 | #define SF_RENDERENGINE_H_ |
| 19 | |
| 20 | #include <stdint.h> |
| 21 | #include <sys/types.h> |
Peiyong Lin | 833074a | 2018-08-28 11:53:54 -0700 | [diff] [blame] | 22 | #include <memory> |
Mathias Agopian | 875d8e1 | 2013-06-07 15:35:48 -0700 | [diff] [blame] | 23 | |
Chia-I Wu | 767fcf7 | 2017-11-30 22:07:38 -0800 | [diff] [blame] | 24 | #include <android-base/unique_fd.h> |
Chia-I Wu | b027f80 | 2017-11-29 14:00:52 -0800 | [diff] [blame] | 25 | #include <math/mat4.h> |
Alec Mouri | 6e57f68 | 2018-09-29 20:45:08 -0700 | [diff] [blame] | 26 | #include <renderengine/DisplaySettings.h> |
Peiyong Lin | e5a9a7f | 2018-08-30 15:32:13 -0700 | [diff] [blame] | 27 | #include <renderengine/Framebuffer.h> |
Peiyong Lin | 60bedb5 | 2018-09-05 10:47:31 -0700 | [diff] [blame] | 28 | #include <renderengine/Image.h> |
Alec Mouri | 6e57f68 | 2018-09-29 20:45:08 -0700 | [diff] [blame] | 29 | #include <renderengine/LayerSettings.h> |
Peiyong Lin | efefaac | 2018-08-17 12:27:51 -0700 | [diff] [blame] | 30 | #include <ui/GraphicTypes.h> |
| 31 | #include <ui/Transform.h> |
Mathias Agopian | 875d8e1 | 2013-06-07 15:35:48 -0700 | [diff] [blame] | 32 | |
Peiyong Lin | b491b3c | 2018-08-15 14:53:34 -0700 | [diff] [blame] | 33 | /** |
Ana Krulec | 70d15b1b | 2020-12-01 10:05:15 -0800 | [diff] [blame] | 34 | * Allows to set RenderEngine backend to GLES (default) or SkiaGL (NOT yet supported). |
Peiyong Lin | b491b3c | 2018-08-15 14:53:34 -0700 | [diff] [blame] | 35 | */ |
| 36 | #define PROPERTY_DEBUG_RENDERENGINE_BACKEND "debug.renderengine.backend" |
Jesse Hall | 19e8729 | 2013-12-23 21:02:15 -0800 | [diff] [blame] | 37 | |
Ana Krulec | 70d15b1b | 2020-12-01 10:05:15 -0800 | [diff] [blame] | 38 | /** |
| 39 | * Turns on recording of skia commands in SkiaGL version of the RE. This property |
| 40 | * defines number of milliseconds for the recording to take place. A non zero value |
| 41 | * turns on the recording. |
| 42 | */ |
| 43 | #define PROPERTY_DEBUG_RENDERENGINE_CAPTURE_SKIA_MS "debug.renderengine.capture_skia_ms" |
| 44 | |
Chia-I Wu | eadbaa6 | 2017-11-09 11:26:15 -0800 | [diff] [blame] | 45 | struct ANativeWindowBuffer; |
| 46 | |
Mathias Agopian | 875d8e1 | 2013-06-07 15:35:48 -0700 | [diff] [blame] | 47 | namespace android { |
Mathias Agopian | 875d8e1 | 2013-06-07 15:35:48 -0700 | [diff] [blame] | 48 | |
Mathias Agopian | 3f84483 | 2013-08-07 21:24:32 -0700 | [diff] [blame] | 49 | class Rect; |
| 50 | class Region; |
Peiyong Lin | 833074a | 2018-08-28 11:53:54 -0700 | [diff] [blame] | 51 | |
| 52 | namespace renderengine { |
| 53 | |
Chia-I Wu | 401ef83 | 2017-12-01 10:52:22 -0800 | [diff] [blame] | 54 | class Image; |
Peiyong Lin | e5a9a7f | 2018-08-30 15:32:13 -0700 | [diff] [blame] | 55 | class Mesh; |
Peiyong Lin | 833074a | 2018-08-28 11:53:54 -0700 | [diff] [blame] | 56 | class Texture; |
Peiyong Lin | 4137a1d | 2019-10-09 10:39:09 -0700 | [diff] [blame] | 57 | struct RenderEngineCreationArgs; |
Lloyd Pique | 144e116 | 2017-12-20 16:44:52 -0800 | [diff] [blame] | 58 | |
Ana Krulec | 9bc9dc6 | 2020-02-26 12:16:40 -0800 | [diff] [blame] | 59 | namespace threaded { |
| 60 | class RenderEngineThreaded; |
| 61 | } |
| 62 | |
Lloyd Pique | 144e116 | 2017-12-20 16:44:52 -0800 | [diff] [blame] | 63 | namespace impl { |
| 64 | class RenderEngine; |
| 65 | } |
Chia-I Wu | f846a35 | 2017-11-10 09:22:52 -0800 | [diff] [blame] | 66 | |
Peiyong Lin | fb530cf | 2018-12-15 05:07:38 +0000 | [diff] [blame] | 67 | enum class Protection { |
| 68 | UNPROTECTED = 1, |
| 69 | PROTECTED = 2, |
| 70 | }; |
| 71 | |
Mathias Agopian | 875d8e1 | 2013-06-07 15:35:48 -0700 | [diff] [blame] | 72 | class RenderEngine { |
Mathias Agopian | 875d8e1 | 2013-06-07 15:35:48 -0700 | [diff] [blame] | 73 | public: |
Peiyong Lin | 4137a1d | 2019-10-09 10:39:09 -0700 | [diff] [blame] | 74 | enum class ContextPriority { |
| 75 | LOW = 1, |
| 76 | MEDIUM = 2, |
| 77 | HIGH = 3, |
Alec Mouri | d6f0946 | 2020-12-07 11:18:17 -0800 | [diff] [blame^] | 78 | REALTIME = 4, |
Kalle Raita | bbdcf1f | 2017-05-22 15:47:46 -0700 | [diff] [blame] | 79 | }; |
Jesse Hall | 05f8c70 | 2013-12-23 20:44:38 -0800 | [diff] [blame] | 80 | |
Ana Krulec | 9bc9dc6 | 2020-02-26 12:16:40 -0800 | [diff] [blame] | 81 | enum class RenderEngineType { |
| 82 | GLES = 1, |
| 83 | THREADED = 2, |
John Reck | 67b1e2b | 2020-08-26 13:17:24 -0700 | [diff] [blame] | 84 | SKIA_GL = 3, |
Ana Krulec | 9bc9dc6 | 2020-02-26 12:16:40 -0800 | [diff] [blame] | 85 | }; |
| 86 | |
Ana Krulec | 15f7cf3 | 2020-05-12 11:57:42 -0700 | [diff] [blame] | 87 | static std::unique_ptr<RenderEngine> create(const RenderEngineCreationArgs& args); |
Peiyong Lin | f11f39b | 2018-09-05 14:37:41 -0700 | [diff] [blame] | 88 | |
Lloyd Pique | 144e116 | 2017-12-20 16:44:52 -0800 | [diff] [blame] | 89 | virtual ~RenderEngine() = 0; |
Mathias Agopian | 875d8e1 | 2013-06-07 15:35:48 -0700 | [diff] [blame] | 90 | |
Alec Mouri | 6e57f68 | 2018-09-29 20:45:08 -0700 | [diff] [blame] | 91 | // ----- BEGIN DEPRECATED INTERFACE ----- |
| 92 | // This interface, while still in use until a suitable replacement is built, |
| 93 | // should be considered deprecated, minus some methods which still may be |
| 94 | // used to support legacy behavior. |
Lloyd Pique | 144e116 | 2017-12-20 16:44:52 -0800 | [diff] [blame] | 95 | virtual void primeCache() const = 0; |
Dan Stoza | 4e63777 | 2016-07-28 13:31:51 -0700 | [diff] [blame] | 96 | |
Mathias Agopian | 458197d | 2013-08-15 14:56:51 -0700 | [diff] [blame] | 97 | // dump the extension strings. always call the base class. |
Yiwei Zhang | 5434a78 | 2018-12-05 18:06:32 -0800 | [diff] [blame] | 98 | virtual void dump(std::string& result) = 0; |
Mathias Agopian | 458197d | 2013-08-15 14:56:51 -0700 | [diff] [blame] | 99 | |
Lloyd Pique | 144e116 | 2017-12-20 16:44:52 -0800 | [diff] [blame] | 100 | virtual void genTextures(size_t count, uint32_t* names) = 0; |
| 101 | virtual void deleteTextures(size_t count, uint32_t const* names) = 0; |
Alec Mouri | d7b3a8b | 2019-03-21 11:44:18 -0700 | [diff] [blame] | 102 | // Caches Image resources for this buffer, but does not bind the buffer to |
| 103 | // a particular texture. |
Alec Mouri | 16a9940 | 2019-07-29 16:37:30 -0700 | [diff] [blame] | 104 | // Note that work is deferred to an additional thread, i.e. this call |
| 105 | // is made asynchronously, but the caller can expect that cache/unbind calls |
| 106 | // are performed in a manner that's conflict serializable, i.e. unbinding |
| 107 | // a buffer should never occur before binding the buffer if the caller |
| 108 | // called {bind, cache}ExternalTextureBuffer before calling unbind. |
| 109 | virtual void cacheExternalTextureBuffer(const sp<GraphicBuffer>& buffer) = 0; |
Alec Mouri | b5c4f35 | 2019-02-19 19:46:38 -0800 | [diff] [blame] | 110 | // Removes internal resources referenced by the bufferId. This method should be |
| 111 | // invoked when the caller will no longer hold a reference to a GraphicBuffer |
| 112 | // and needs to clean up its resources. |
Alec Mouri | 16a9940 | 2019-07-29 16:37:30 -0700 | [diff] [blame] | 113 | // Note that work is deferred to an additional thread, i.e. this call |
| 114 | // is made asynchronously, but the caller can expect that cache/unbind calls |
| 115 | // are performed in a manner that's conflict serializable, i.e. unbinding |
| 116 | // a buffer should never occur before binding the buffer if the caller |
| 117 | // called {bind, cache}ExternalTextureBuffer before calling unbind. |
Alec Mouri | b5c4f35 | 2019-02-19 19:46:38 -0800 | [diff] [blame] | 118 | virtual void unbindExternalTextureBuffer(uint64_t bufferId) = 0; |
Alec Mouri | 368e158 | 2020-08-13 10:14:29 -0700 | [diff] [blame] | 119 | |
| 120 | enum class CleanupMode { |
| 121 | CLEAN_OUTPUT_RESOURCES, |
| 122 | CLEAN_ALL, |
| 123 | }; |
Lingfeng Yang | 2e4fef6 | 2020-04-24 14:48:43 +0000 | [diff] [blame] | 124 | // Clean-up method that should be called on the main thread after the |
| 125 | // drawFence returned by drawLayers fires. This method will free up |
| 126 | // resources used by the most recently drawn frame. If the frame is still |
| 127 | // being drawn, then this call is silently ignored. |
| 128 | // |
Alec Mouri | 368e158 | 2020-08-13 10:14:29 -0700 | [diff] [blame] | 129 | // If mode is CLEAN_OUTPUT_RESOURCES, then only resources related to the |
| 130 | // output framebuffer are cleaned up, including the sibling texture. |
| 131 | // |
| 132 | // If mode is CLEAN_ALL, then we also cleanup resources related to any input |
| 133 | // buffers. |
| 134 | // |
Lingfeng Yang | 2e4fef6 | 2020-04-24 14:48:43 +0000 | [diff] [blame] | 135 | // Returns true if resources were cleaned up, and false if we didn't need to |
| 136 | // do any work. |
Alec Mouri | 368e158 | 2020-08-13 10:14:29 -0700 | [diff] [blame] | 137 | virtual bool cleanupPostRender(CleanupMode mode = CleanupMode::CLEAN_OUTPUT_RESOURCES) = 0; |
Mathias Agopian | 3f84483 | 2013-08-07 21:24:32 -0700 | [diff] [blame] | 138 | |
Mathias Agopian | 3f84483 | 2013-08-07 21:24:32 -0700 | [diff] [blame] | 139 | // queries |
Mathias Agopian | 875d8e1 | 2013-06-07 15:35:48 -0700 | [diff] [blame] | 140 | virtual size_t getMaxTextureSize() const = 0; |
| 141 | virtual size_t getMaxViewportDims() const = 0; |
Alec Mouri | 6e57f68 | 2018-09-29 20:45:08 -0700 | [diff] [blame] | 142 | |
| 143 | // ----- END DEPRECATED INTERFACE ----- |
| 144 | |
| 145 | // ----- BEGIN NEW INTERFACE ----- |
| 146 | |
Peiyong Lin | fb530cf | 2018-12-15 05:07:38 +0000 | [diff] [blame] | 147 | virtual bool isProtected() const = 0; |
| 148 | virtual bool supportsProtectedContent() const = 0; |
| 149 | virtual bool useProtectedContext(bool useProtectedContext) = 0; |
| 150 | |
Alec Mouri | 6e57f68 | 2018-09-29 20:45:08 -0700 | [diff] [blame] | 151 | // Renders layers for a particular display via GPU composition. This method |
| 152 | // should be called for every display that needs to be rendered via the GPU. |
Alec Mouri | 1089aed | 2018-10-25 21:33:57 -0700 | [diff] [blame] | 153 | // @param display The display-wide settings that should be applied prior to |
Alec Mouri | 6e57f68 | 2018-09-29 20:45:08 -0700 | [diff] [blame] | 154 | // drawing any layers. |
Alec Mouri | 3d7c561 | 2019-07-09 13:51:37 -0700 | [diff] [blame] | 155 | // |
| 156 | // Assumptions when calling this method: |
| 157 | // 1. There is exactly one caller - i.e. multi-threading is not supported. |
| 158 | // 2. Additional threads may be calling the {bind,cache}ExternalTexture |
| 159 | // methods above. But the main thread is responsible for holding resources |
| 160 | // such that Image destruction does not occur while this method is called. |
| 161 | // |
| 162 | // TODO(b/136806342): This should behavior should ideally be fixed since |
| 163 | // the above two assumptions are brittle, as conditional thread safetyness |
| 164 | // may be insufficient when maximizing rendering performance in the future. |
| 165 | // |
Alec Mouri | 6e57f68 | 2018-09-29 20:45:08 -0700 | [diff] [blame] | 166 | // @param layers The layers to draw onto the display, in Z-order. |
| 167 | // @param buffer The buffer which will be drawn to. This buffer will be |
Alec Mouri | 6338c9d | 2019-02-07 16:57:51 -0800 | [diff] [blame] | 168 | // ready once drawFence fires. |
Alec Mouri | fe0d72b | 2019-03-21 14:05:56 -0700 | [diff] [blame] | 169 | // @param useFramebufferCache True if the framebuffer cache should be used. |
| 170 | // If an implementation does not cache output framebuffers, then this |
| 171 | // parameter does nothing. |
Alec Mouri | 6338c9d | 2019-02-07 16:57:51 -0800 | [diff] [blame] | 172 | // @param bufferFence Fence signalling that the buffer is ready to be drawn |
| 173 | // to. |
Alec Mouri | 1089aed | 2018-10-25 21:33:57 -0700 | [diff] [blame] | 174 | // @param drawFence A pointer to a fence, which will fire when the buffer |
Alec Mouri | 6e57f68 | 2018-09-29 20:45:08 -0700 | [diff] [blame] | 175 | // has been drawn to and is ready to be examined. The fence will be |
| 176 | // initialized by this method. The caller will be responsible for owning the |
| 177 | // fence. |
| 178 | // @return An error code indicating whether drawing was successful. For |
| 179 | // now, this always returns NO_ERROR. |
Alec Mouri | 1089aed | 2018-10-25 21:33:57 -0700 | [diff] [blame] | 180 | virtual status_t drawLayers(const DisplaySettings& display, |
Vishnu Nair | 9b079a2 | 2020-01-21 14:36:08 -0800 | [diff] [blame] | 181 | const std::vector<const LayerSettings*>& layers, |
Ana Krulec | fc874ae | 2020-02-22 15:39:32 -0800 | [diff] [blame] | 182 | const sp<GraphicBuffer>& buffer, const bool useFramebufferCache, |
Alec Mouri | fe0d72b | 2019-03-21 14:05:56 -0700 | [diff] [blame] | 183 | base::unique_fd&& bufferFence, base::unique_fd* drawFence) = 0; |
Marin Shalamanov | 23c31af | 2020-09-09 15:01:47 +0200 | [diff] [blame] | 184 | virtual void cleanFramebufferCache() = 0; |
Alec Mouri | d6f0946 | 2020-12-07 11:18:17 -0800 | [diff] [blame^] | 185 | // Returns the priority this context was actually created with. Note: this may not be |
| 186 | // the same as specified at context creation time, due to implementation limits on the |
| 187 | // number of contexts that can be created at a specific priority level in the system. |
| 188 | virtual int getContextPriority() = 0; |
Alec Mouri | 6e57f68 | 2018-09-29 20:45:08 -0700 | [diff] [blame] | 189 | |
Alec Mouri | 820c740 | 2019-01-23 13:02:39 -0800 | [diff] [blame] | 190 | protected: |
Ana Krulec | 9bc9dc6 | 2020-02-26 12:16:40 -0800 | [diff] [blame] | 191 | friend class threaded::RenderEngineThreaded; |
Lloyd Pique | 144e116 | 2017-12-20 16:44:52 -0800 | [diff] [blame] | 192 | }; |
| 193 | |
Peiyong Lin | 4137a1d | 2019-10-09 10:39:09 -0700 | [diff] [blame] | 194 | struct RenderEngineCreationArgs { |
| 195 | int pixelFormat; |
| 196 | uint32_t imageCacheSize; |
| 197 | bool useColorManagement; |
| 198 | bool enableProtectedContext; |
| 199 | bool precacheToneMapperShaderOnly; |
Lucas Dupin | 19c8f0e | 2019-11-25 17:55:44 -0800 | [diff] [blame] | 200 | bool supportsBackgroundBlur; |
Peiyong Lin | 4137a1d | 2019-10-09 10:39:09 -0700 | [diff] [blame] | 201 | RenderEngine::ContextPriority contextPriority; |
Ana Krulec | 9bc9dc6 | 2020-02-26 12:16:40 -0800 | [diff] [blame] | 202 | RenderEngine::RenderEngineType renderEngineType; |
Peiyong Lin | 4137a1d | 2019-10-09 10:39:09 -0700 | [diff] [blame] | 203 | |
| 204 | struct Builder; |
| 205 | |
| 206 | private: |
| 207 | // must be created by Builder via constructor with full argument list |
Ana Krulec | 9bc9dc6 | 2020-02-26 12:16:40 -0800 | [diff] [blame] | 208 | RenderEngineCreationArgs(int _pixelFormat, uint32_t _imageCacheSize, bool _useColorManagement, |
| 209 | bool _enableProtectedContext, bool _precacheToneMapperShaderOnly, |
| 210 | bool _supportsBackgroundBlur, |
| 211 | RenderEngine::ContextPriority _contextPriority, |
| 212 | RenderEngine::RenderEngineType _renderEngineType) |
| 213 | : pixelFormat(_pixelFormat), |
| 214 | imageCacheSize(_imageCacheSize), |
| 215 | useColorManagement(_useColorManagement), |
| 216 | enableProtectedContext(_enableProtectedContext), |
| 217 | precacheToneMapperShaderOnly(_precacheToneMapperShaderOnly), |
| 218 | supportsBackgroundBlur(_supportsBackgroundBlur), |
| 219 | contextPriority(_contextPriority), |
| 220 | renderEngineType(_renderEngineType) {} |
Peiyong Lin | 4137a1d | 2019-10-09 10:39:09 -0700 | [diff] [blame] | 221 | RenderEngineCreationArgs() = delete; |
| 222 | }; |
| 223 | |
| 224 | struct RenderEngineCreationArgs::Builder { |
| 225 | Builder() {} |
| 226 | |
| 227 | Builder& setPixelFormat(int pixelFormat) { |
| 228 | this->pixelFormat = pixelFormat; |
| 229 | return *this; |
| 230 | } |
| 231 | Builder& setImageCacheSize(uint32_t imageCacheSize) { |
| 232 | this->imageCacheSize = imageCacheSize; |
| 233 | return *this; |
| 234 | } |
| 235 | Builder& setUseColorManagerment(bool useColorManagement) { |
| 236 | this->useColorManagement = useColorManagement; |
| 237 | return *this; |
| 238 | } |
| 239 | Builder& setEnableProtectedContext(bool enableProtectedContext) { |
| 240 | this->enableProtectedContext = enableProtectedContext; |
| 241 | return *this; |
| 242 | } |
| 243 | Builder& setPrecacheToneMapperShaderOnly(bool precacheToneMapperShaderOnly) { |
| 244 | this->precacheToneMapperShaderOnly = precacheToneMapperShaderOnly; |
| 245 | return *this; |
| 246 | } |
Lucas Dupin | 19c8f0e | 2019-11-25 17:55:44 -0800 | [diff] [blame] | 247 | Builder& setSupportsBackgroundBlur(bool supportsBackgroundBlur) { |
| 248 | this->supportsBackgroundBlur = supportsBackgroundBlur; |
| 249 | return *this; |
| 250 | } |
Peiyong Lin | 4137a1d | 2019-10-09 10:39:09 -0700 | [diff] [blame] | 251 | Builder& setContextPriority(RenderEngine::ContextPriority contextPriority) { |
| 252 | this->contextPriority = contextPriority; |
| 253 | return *this; |
| 254 | } |
Ana Krulec | 9bc9dc6 | 2020-02-26 12:16:40 -0800 | [diff] [blame] | 255 | Builder& setRenderEngineType(RenderEngine::RenderEngineType renderEngineType) { |
| 256 | this->renderEngineType = renderEngineType; |
| 257 | return *this; |
| 258 | } |
Peiyong Lin | 4137a1d | 2019-10-09 10:39:09 -0700 | [diff] [blame] | 259 | RenderEngineCreationArgs build() const { |
| 260 | return RenderEngineCreationArgs(pixelFormat, imageCacheSize, useColorManagement, |
Lucas Dupin | 19c8f0e | 2019-11-25 17:55:44 -0800 | [diff] [blame] | 261 | enableProtectedContext, precacheToneMapperShaderOnly, |
Ana Krulec | 9bc9dc6 | 2020-02-26 12:16:40 -0800 | [diff] [blame] | 262 | supportsBackgroundBlur, contextPriority, renderEngineType); |
Peiyong Lin | 4137a1d | 2019-10-09 10:39:09 -0700 | [diff] [blame] | 263 | } |
| 264 | |
| 265 | private: |
| 266 | // 1 means RGBA_8888 |
| 267 | int pixelFormat = 1; |
| 268 | uint32_t imageCacheSize = 0; |
| 269 | bool useColorManagement = true; |
| 270 | bool enableProtectedContext = false; |
| 271 | bool precacheToneMapperShaderOnly = false; |
Lucas Dupin | 19c8f0e | 2019-11-25 17:55:44 -0800 | [diff] [blame] | 272 | bool supportsBackgroundBlur = false; |
Peiyong Lin | 4137a1d | 2019-10-09 10:39:09 -0700 | [diff] [blame] | 273 | RenderEngine::ContextPriority contextPriority = RenderEngine::ContextPriority::MEDIUM; |
Ana Krulec | 9bc9dc6 | 2020-02-26 12:16:40 -0800 | [diff] [blame] | 274 | RenderEngine::RenderEngineType renderEngineType = RenderEngine::RenderEngineType::GLES; |
Peiyong Lin | 4137a1d | 2019-10-09 10:39:09 -0700 | [diff] [blame] | 275 | }; |
| 276 | |
Peiyong Lin | 46080ef | 2018-10-26 18:43:14 -0700 | [diff] [blame] | 277 | } // namespace renderengine |
| 278 | } // namespace android |
Mathias Agopian | 875d8e1 | 2013-06-07 15:35:48 -0700 | [diff] [blame] | 279 | |
| 280 | #endif /* SF_RENDERENGINE_H_ */ |