Mathias Agopian | 3f84483 | 2013-08-07 21:24:32 -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 | |
Peiyong Lin | 7e219eb | 2018-12-03 05:40:42 -0800 | [diff] [blame] | 17 | #ifndef SF_GLESRENDERENGINE_H_ |
| 18 | #define SF_GLESRENDERENGINE_H_ |
Mathias Agopian | 3f84483 | 2013-08-07 21:24:32 -0700 | [diff] [blame] | 19 | |
Alec Mouri | 554d06e | 2018-12-20 00:15:33 -0800 | [diff] [blame] | 20 | #include <android-base/thread_annotations.h> |
Mathias Agopian | 3f84483 | 2013-08-07 21:24:32 -0700 | [diff] [blame] | 21 | #include <stdint.h> |
| 22 | #include <sys/types.h> |
Alec Mouri | 554d06e | 2018-12-20 00:15:33 -0800 | [diff] [blame] | 23 | #include <condition_variable> |
Alec Mouri | da4cf3b | 2019-02-12 15:33:01 -0800 | [diff] [blame] | 24 | #include <deque> |
Alec Mouri | 554d06e | 2018-12-20 00:15:33 -0800 | [diff] [blame] | 25 | #include <mutex> |
| 26 | #include <queue> |
| 27 | #include <thread> |
Alec Mouri | da4cf3b | 2019-02-12 15:33:01 -0800 | [diff] [blame] | 28 | #include <unordered_map> |
Mathias Agopian | 3f84483 | 2013-08-07 21:24:32 -0700 | [diff] [blame] | 29 | |
Peiyong Lin | f11f39b | 2018-09-05 14:37:41 -0700 | [diff] [blame] | 30 | #include <EGL/egl.h> |
| 31 | #include <EGL/eglext.h> |
Mathias Agopian | 3f84483 | 2013-08-07 21:24:32 -0700 | [diff] [blame] | 32 | #include <GLES2/gl2.h> |
Peiyong Lin | cbc184f | 2018-08-22 13:24:10 -0700 | [diff] [blame] | 33 | #include <renderengine/RenderEngine.h> |
Peiyong Lin | 833074a | 2018-08-28 11:53:54 -0700 | [diff] [blame] | 34 | #include <renderengine/private/Description.h> |
Mathias Agopian | 3f84483 | 2013-08-07 21:24:32 -0700 | [diff] [blame] | 35 | |
Peiyong Lin | f11f39b | 2018-09-05 14:37:41 -0700 | [diff] [blame] | 36 | #define EGL_NO_CONFIG ((EGLConfig)0) |
| 37 | |
Mathias Agopian | 3f84483 | 2013-08-07 21:24:32 -0700 | [diff] [blame] | 38 | namespace android { |
Mathias Agopian | 3f84483 | 2013-08-07 21:24:32 -0700 | [diff] [blame] | 39 | |
Peiyong Lin | 833074a | 2018-08-28 11:53:54 -0700 | [diff] [blame] | 40 | namespace renderengine { |
| 41 | |
Mathias Agopian | 3f84483 | 2013-08-07 21:24:32 -0700 | [diff] [blame] | 42 | class Mesh; |
Mathias Agopian | 49457ac | 2013-08-14 18:20:17 -0700 | [diff] [blame] | 43 | class Texture; |
Mathias Agopian | 3f84483 | 2013-08-07 21:24:32 -0700 | [diff] [blame] | 44 | |
Peiyong Lin | 833074a | 2018-08-28 11:53:54 -0700 | [diff] [blame] | 45 | namespace gl { |
Lloyd Pique | 144e116 | 2017-12-20 16:44:52 -0800 | [diff] [blame] | 46 | |
Peiyong Lin | f1bada9 | 2018-08-29 09:39:31 -0700 | [diff] [blame] | 47 | class GLImage; |
Peiyong Lin | f1bada9 | 2018-08-29 09:39:31 -0700 | [diff] [blame] | 48 | |
Peiyong Lin | 7e219eb | 2018-12-03 05:40:42 -0800 | [diff] [blame] | 49 | class GLESRenderEngine : public impl::RenderEngine { |
Mathias Agopian | 3f84483 | 2013-08-07 21:24:32 -0700 | [diff] [blame] | 50 | public: |
Alec Mouri | da4cf3b | 2019-02-12 15:33:01 -0800 | [diff] [blame] | 51 | static std::unique_ptr<GLESRenderEngine> create(int hwcFormat, uint32_t featureFlags, |
| 52 | uint32_t imageCacheSize); |
Peiyong Lin | f11f39b | 2018-09-05 14:37:41 -0700 | [diff] [blame] | 53 | static EGLConfig chooseEglConfig(EGLDisplay display, int format, bool logConfig); |
| 54 | |
Peiyong Lin | 7e219eb | 2018-12-03 05:40:42 -0800 | [diff] [blame] | 55 | GLESRenderEngine(uint32_t featureFlags, // See RenderEngine::FeatureFlag |
Peiyong Lin | fb530cf | 2018-12-15 05:07:38 +0000 | [diff] [blame] | 56 | EGLDisplay display, EGLConfig config, EGLContext ctxt, EGLSurface dummy, |
Alec Mouri | da4cf3b | 2019-02-12 15:33:01 -0800 | [diff] [blame] | 57 | EGLContext protectedContext, EGLSurface protectedDummy, |
| 58 | uint32_t imageCacheSize); |
Alec Mouri | d43ccab | 2019-03-13 12:23:45 -0700 | [diff] [blame] | 59 | ~GLESRenderEngine() override EXCLUDES(mRenderingMutex); |
Mathias Agopian | 3f84483 | 2013-08-07 21:24:32 -0700 | [diff] [blame] | 60 | |
Peiyong Lin | e5a9a7f | 2018-08-30 15:32:13 -0700 | [diff] [blame] | 61 | std::unique_ptr<Framebuffer> createFramebuffer() override; |
Peiyong Lin | e5a9a7f | 2018-08-30 15:32:13 -0700 | [diff] [blame] | 62 | std::unique_ptr<Image> createImage() override; |
Peiyong Lin | f1bada9 | 2018-08-29 09:39:31 -0700 | [diff] [blame] | 63 | |
| 64 | void primeCache() const override; |
Peiyong Lin | 60bedb5 | 2018-09-05 10:47:31 -0700 | [diff] [blame] | 65 | bool isCurrent() const override; |
Peiyong Lin | 60bedb5 | 2018-09-05 10:47:31 -0700 | [diff] [blame] | 66 | base::unique_fd flush() override; |
| 67 | bool finish() override; |
| 68 | bool waitFence(base::unique_fd fenceFd) override; |
| 69 | void clearWithColor(float red, float green, float blue, float alpha) override; |
Chia-I Wu | 28e3a25 | 2018-09-07 12:05:02 -0700 | [diff] [blame] | 70 | void fillRegionWithColor(const Region& region, float red, float green, float blue, |
| 71 | float alpha) override; |
Peiyong Lin | 60bedb5 | 2018-09-05 10:47:31 -0700 | [diff] [blame] | 72 | void genTextures(size_t count, uint32_t* names) override; |
| 73 | void deleteTextures(size_t count, uint32_t const* names) override; |
Peiyong Lin | e5a9a7f | 2018-08-30 15:32:13 -0700 | [diff] [blame] | 74 | void bindExternalTextureImage(uint32_t texName, const Image& image) override; |
Alec Mouri | f049727 | 2019-03-11 15:53:11 -0700 | [diff] [blame] | 75 | status_t bindExternalTextureBuffer(uint32_t texName, sp<GraphicBuffer> buffer, sp<Fence> fence) |
| 76 | EXCLUDES(mRenderingMutex); |
| 77 | void unbindExternalTextureBuffer(uint64_t bufferId) EXCLUDES(mRenderingMutex); |
Peiyong Lin | e5a9a7f | 2018-08-30 15:32:13 -0700 | [diff] [blame] | 78 | status_t bindFrameBuffer(Framebuffer* framebuffer) override; |
| 79 | void unbindFrameBuffer(Framebuffer* framebuffer) override; |
Peiyong Lin | 60bedb5 | 2018-09-05 10:47:31 -0700 | [diff] [blame] | 80 | void checkErrors() const override; |
Peiyong Lin | f1bada9 | 2018-08-29 09:39:31 -0700 | [diff] [blame] | 81 | |
Peiyong Lin | fb530cf | 2018-12-15 05:07:38 +0000 | [diff] [blame] | 82 | bool isProtected() const override { return mInProtectedContext; } |
| 83 | bool supportsProtectedContent() const override; |
| 84 | bool useProtectedContext(bool useProtectedContext) override; |
Alec Mouri | 1089aed | 2018-10-25 21:33:57 -0700 | [diff] [blame] | 85 | status_t drawLayers(const DisplaySettings& display, const std::vector<LayerSettings>& layers, |
Alec Mouri | fe0d72b | 2019-03-21 14:05:56 -0700 | [diff] [blame^] | 86 | ANativeWindowBuffer* buffer, const bool useFramebufferCache, |
| 87 | base::unique_fd&& bufferFence, base::unique_fd* drawFence) |
| 88 | EXCLUDES(mRenderingMutex) override; |
Alec Mouri | 6e57f68 | 2018-09-29 20:45:08 -0700 | [diff] [blame] | 89 | |
Peiyong Lin | f11f39b | 2018-09-05 14:37:41 -0700 | [diff] [blame] | 90 | // internal to RenderEngine |
| 91 | EGLDisplay getEGLDisplay() const { return mEGLDisplay; } |
| 92 | EGLConfig getEGLConfig() const { return mEGLConfig; } |
Alec Mouri | da4cf3b | 2019-02-12 15:33:01 -0800 | [diff] [blame] | 93 | // Creates an output image for rendering to |
Alec Mouri | fe0d72b | 2019-03-21 14:05:56 -0700 | [diff] [blame^] | 94 | EGLImageKHR createFramebufferImageIfNeeded(ANativeWindowBuffer* nativeBuffer, bool isProtected, |
| 95 | bool useFramebufferCache); |
Peiyong Lin | f11f39b | 2018-09-05 14:37:41 -0700 | [diff] [blame] | 96 | |
Alec Mouri | d43ccab | 2019-03-13 12:23:45 -0700 | [diff] [blame] | 97 | // Test-only methods |
| 98 | // Returns true iff mImageCache contains an image keyed by bufferId |
| 99 | bool isImageCachedForTesting(uint64_t bufferId) EXCLUDES(mRenderingMutex); |
| 100 | // Returns true iff mFramebufferImageCache contains an image keyed by bufferId |
| 101 | bool isFramebufferImageCachedForTesting(uint64_t bufferId) EXCLUDES(mRenderingMutex); |
| 102 | |
Mathias Agopian | 3f84483 | 2013-08-07 21:24:32 -0700 | [diff] [blame] | 103 | protected: |
Alec Mouri | 820c740 | 2019-01-23 13:02:39 -0800 | [diff] [blame] | 104 | Framebuffer* getFramebufferForDrawing() override; |
Yiwei Zhang | 5434a78 | 2018-12-05 18:06:32 -0800 | [diff] [blame] | 105 | void dump(std::string& result) override; |
Peiyong Lin | e5a9a7f | 2018-08-30 15:32:13 -0700 | [diff] [blame] | 106 | void setViewportAndProjection(size_t vpw, size_t vph, Rect sourceCrop, |
| 107 | ui::Transform::orientation_flags rotation) override; |
| 108 | void setupLayerBlending(bool premultipliedAlpha, bool opaque, bool disableTexture, |
Lucas Dupin | 1b6531c | 2018-07-05 17:18:21 -0700 | [diff] [blame] | 109 | const half4& color, float cornerRadius) override; |
Peiyong Lin | e5a9a7f | 2018-08-30 15:32:13 -0700 | [diff] [blame] | 110 | void setupLayerTexturing(const Texture& texture) override; |
| 111 | void setupLayerBlackedOut() override; |
| 112 | void setupFillWithColor(float r, float g, float b, float a) override; |
Peiyong Lin | d378863 | 2018-09-18 16:01:31 -0700 | [diff] [blame] | 113 | void setColorTransform(const mat4& colorTransform) override; |
Peiyong Lin | e5a9a7f | 2018-08-30 15:32:13 -0700 | [diff] [blame] | 114 | void disableTexturing() override; |
| 115 | void disableBlending() override; |
Lucas Dupin | 1b6531c | 2018-07-05 17:18:21 -0700 | [diff] [blame] | 116 | void setupCornerRadiusCropSize(float width, float height) override; |
Mathias Agopian | 3f84483 | 2013-08-07 21:24:32 -0700 | [diff] [blame] | 117 | |
Peiyong Lin | f11f39b | 2018-09-05 14:37:41 -0700 | [diff] [blame] | 118 | // HDR and color management related functions and state |
| 119 | void setSourceY410BT2020(bool enable) override; |
| 120 | void setSourceDataSpace(ui::Dataspace source) override; |
| 121 | void setOutputDataSpace(ui::Dataspace dataspace) override; |
| 122 | void setDisplayMaxLuminance(const float maxLuminance) override; |
| 123 | |
| 124 | // drawing |
Peiyong Lin | e5a9a7f | 2018-08-30 15:32:13 -0700 | [diff] [blame] | 125 | void drawMesh(const Mesh& mesh) override; |
Mathias Agopian | 3f84483 | 2013-08-07 21:24:32 -0700 | [diff] [blame] | 126 | |
Peiyong Lin | e5a9a7f | 2018-08-30 15:32:13 -0700 | [diff] [blame] | 127 | size_t getMaxTextureSize() const override; |
| 128 | size_t getMaxViewportDims() const override; |
| 129 | |
| 130 | private: |
Peiyong Lin | f11f39b | 2018-09-05 14:37:41 -0700 | [diff] [blame] | 131 | enum GlesVersion { |
| 132 | GLES_VERSION_1_0 = 0x10000, |
| 133 | GLES_VERSION_1_1 = 0x10001, |
| 134 | GLES_VERSION_2_0 = 0x20000, |
| 135 | GLES_VERSION_3_0 = 0x30000, |
| 136 | }; |
| 137 | |
| 138 | static GlesVersion parseGlesVersion(const char* str); |
Peiyong Lin | a5e9f1b | 2018-11-27 22:49:37 -0800 | [diff] [blame] | 139 | static EGLContext createEglContext(EGLDisplay display, EGLConfig config, |
Peiyong Lin | fb530cf | 2018-12-15 05:07:38 +0000 | [diff] [blame] | 140 | EGLContext shareContext, bool useContextPriority, |
| 141 | Protection protection); |
Peiyong Lin | a5e9f1b | 2018-11-27 22:49:37 -0800 | [diff] [blame] | 142 | static EGLSurface createDummyEglPbufferSurface(EGLDisplay display, EGLConfig config, |
Peiyong Lin | fb530cf | 2018-12-15 05:07:38 +0000 | [diff] [blame] | 143 | int hwcFormat, Protection protection); |
Peiyong Lin | 1c09761 | 2019-03-22 16:21:46 -0700 | [diff] [blame] | 144 | void setScissor(const Rect& region); |
| 145 | void disableScissor(); |
Alec Mouri | 554d06e | 2018-12-20 00:15:33 -0800 | [diff] [blame] | 146 | bool waitSync(EGLSyncKHR sync, EGLint flags); |
Peiyong Lin | f11f39b | 2018-09-05 14:37:41 -0700 | [diff] [blame] | 147 | |
Peiyong Lin | e5a9a7f | 2018-08-30 15:32:13 -0700 | [diff] [blame] | 148 | // A data space is considered HDR data space if it has BT2020 color space |
| 149 | // with PQ or HLG transfer function. |
| 150 | bool isHdrDataSpace(const ui::Dataspace dataSpace) const; |
| 151 | bool needsXYZTransformMatrix() const; |
Alec Mouri | 1089aed | 2018-10-25 21:33:57 -0700 | [diff] [blame] | 152 | // Defines the viewport, and sets the projection matrix to the projection |
| 153 | // defined by the clip. |
| 154 | void setViewportAndProjection(Rect viewport, Rect clip); |
Alec Mouri | 539319f | 2018-12-19 17:56:23 -0800 | [diff] [blame] | 155 | // Evicts stale images from the buffer cache. |
| 156 | void evictImages(const std::vector<LayerSettings>& layers); |
Alec Mouri | 7c94edb | 2018-12-03 21:23:26 -0800 | [diff] [blame] | 157 | // Computes the cropping window for the layer and sets up cropping |
| 158 | // coordinates for the mesh. |
| 159 | FloatRect setupLayerCropping(const LayerSettings& layer, Mesh& mesh); |
Peiyong Lin | e5a9a7f | 2018-08-30 15:32:13 -0700 | [diff] [blame] | 160 | |
Peiyong Lin | 1c09761 | 2019-03-22 16:21:46 -0700 | [diff] [blame] | 161 | // We do a special handling for rounded corners when it's possible to turn off blending |
| 162 | // for the majority of the layer. The rounded corners needs to turn on blending such that |
| 163 | // we can set the alpha value correctly, however, only the corners need this, and since |
| 164 | // blending is an expensive operation, we want to turn off blending when it's not necessary. |
| 165 | void handleRoundedCorners(const DisplaySettings& display, const LayerSettings& layer, |
| 166 | const Mesh& mesh); |
| 167 | |
Peiyong Lin | f11f39b | 2018-09-05 14:37:41 -0700 | [diff] [blame] | 168 | EGLDisplay mEGLDisplay; |
| 169 | EGLConfig mEGLConfig; |
| 170 | EGLContext mEGLContext; |
Alec Mouri | 0a9c7b8 | 2018-11-16 13:05:25 -0800 | [diff] [blame] | 171 | EGLSurface mDummySurface; |
Peiyong Lin | fb530cf | 2018-12-15 05:07:38 +0000 | [diff] [blame] | 172 | EGLContext mProtectedEGLContext; |
| 173 | EGLSurface mProtectedDummySurface; |
Peiyong Lin | e5a9a7f | 2018-08-30 15:32:13 -0700 | [diff] [blame] | 174 | GLuint mProtectedTexName; |
| 175 | GLint mMaxViewportDims[2]; |
| 176 | GLint mMaxTextureSize; |
| 177 | GLuint mVpWidth; |
| 178 | GLuint mVpHeight; |
| 179 | Description mState; |
| 180 | |
Peiyong Lin | 70b26ce | 2018-09-18 19:02:39 -0700 | [diff] [blame] | 181 | mat4 mSrgbToXyz; |
Peiyong Lin | 70b26ce | 2018-09-18 19:02:39 -0700 | [diff] [blame] | 182 | mat4 mDisplayP3ToXyz; |
Valerie Hau | eb8e076 | 2018-11-06 10:10:42 -0800 | [diff] [blame] | 183 | mat4 mBt2020ToXyz; |
Peiyong Lin | e5a9a7f | 2018-08-30 15:32:13 -0700 | [diff] [blame] | 184 | mat4 mXyzToSrgb; |
| 185 | mat4 mXyzToDisplayP3; |
| 186 | mat4 mXyzToBt2020; |
Valerie Hau | eb8e076 | 2018-11-06 10:10:42 -0800 | [diff] [blame] | 187 | mat4 mSrgbToDisplayP3; |
| 188 | mat4 mSrgbToBt2020; |
| 189 | mat4 mDisplayP3ToSrgb; |
| 190 | mat4 mDisplayP3ToBt2020; |
| 191 | mat4 mBt2020ToSrgb; |
| 192 | mat4 mBt2020ToDisplayP3; |
Peiyong Lin | e5a9a7f | 2018-08-30 15:32:13 -0700 | [diff] [blame] | 193 | |
Peiyong Lin | fb530cf | 2018-12-15 05:07:38 +0000 | [diff] [blame] | 194 | bool mInProtectedContext = false; |
Alec Mouri | 554d06e | 2018-12-20 00:15:33 -0800 | [diff] [blame] | 195 | // If set to true, then enables tracing flush() and finish() to systrace. |
| 196 | bool mTraceGpuCompletion = false; |
Alec Mouri | da4cf3b | 2019-02-12 15:33:01 -0800 | [diff] [blame] | 197 | // Maximum size of mFramebufferImageCache. If more images would be cached, then (approximately) |
| 198 | // the last recently used buffer should be kicked out. |
| 199 | uint32_t mFramebufferImageCacheSize = 0; |
| 200 | |
| 201 | // Cache of output images, keyed by corresponding GraphicBuffer ID. |
| 202 | std::deque<std::pair<uint64_t, EGLImageKHR>> mFramebufferImageCache; |
Peiyong Lin | fb06930 | 2018-04-25 14:34:31 -0700 | [diff] [blame] | 203 | |
| 204 | // Current dataspace of layer being rendered |
| 205 | ui::Dataspace mDataSpace = ui::Dataspace::UNKNOWN; |
| 206 | |
| 207 | // Current output dataspace of the render engine |
| 208 | ui::Dataspace mOutputDataSpace = ui::Dataspace::UNKNOWN; |
| 209 | |
Peiyong Lin | 13effd1 | 2018-07-24 17:01:47 -0700 | [diff] [blame] | 210 | // Whether device supports color management, currently color management |
| 211 | // supports sRGB, DisplayP3 color spaces. |
| 212 | const bool mUseColorManagement = false; |
Alec Mouri | 554d06e | 2018-12-20 00:15:33 -0800 | [diff] [blame] | 213 | |
Alec Mouri | 539319f | 2018-12-19 17:56:23 -0800 | [diff] [blame] | 214 | // Cache of GL images that we'll store per GraphicBuffer ID |
Alec Mouri | f049727 | 2019-03-11 15:53:11 -0700 | [diff] [blame] | 215 | std::unordered_map<uint64_t, std::unique_ptr<Image>> mImageCache GUARDED_BY(mRenderingMutex); |
| 216 | // Mutex guarding rendering operations, so that: |
| 217 | // 1. GL operations aren't interleaved, and |
| 218 | // 2. Internal state related to rendering that is potentially modified by |
| 219 | // multiple threads is guaranteed thread-safe. |
| 220 | std::mutex mRenderingMutex; |
| 221 | |
| 222 | // See bindExternalTextureBuffer above, but requiring that mRenderingMutex |
| 223 | // is held. |
| 224 | status_t bindExternalTextureBufferLocked(uint32_t texName, sp<GraphicBuffer> buffer, |
| 225 | sp<Fence> fence) REQUIRES(mRenderingMutex); |
Alec Mouri | 539319f | 2018-12-19 17:56:23 -0800 | [diff] [blame] | 226 | |
Alec Mouri | 820c740 | 2019-01-23 13:02:39 -0800 | [diff] [blame] | 227 | std::unique_ptr<Framebuffer> mDrawingBuffer; |
| 228 | |
Alec Mouri | 554d06e | 2018-12-20 00:15:33 -0800 | [diff] [blame] | 229 | class FlushTracer { |
| 230 | public: |
| 231 | FlushTracer(GLESRenderEngine* engine); |
| 232 | ~FlushTracer(); |
| 233 | void queueSync(EGLSyncKHR sync) EXCLUDES(mMutex); |
| 234 | |
| 235 | struct QueueEntry { |
| 236 | EGLSyncKHR mSync = nullptr; |
| 237 | uint64_t mFrameNum = 0; |
| 238 | }; |
| 239 | |
| 240 | private: |
| 241 | void loop(); |
| 242 | GLESRenderEngine* const mEngine; |
| 243 | std::thread mThread; |
| 244 | std::condition_variable_any mCondition; |
| 245 | std::mutex mMutex; |
| 246 | std::queue<QueueEntry> mQueue GUARDED_BY(mMutex); |
| 247 | uint64_t mFramesQueued GUARDED_BY(mMutex) = 0; |
| 248 | bool mRunning = true; |
| 249 | }; |
| 250 | friend class FlushTracer; |
| 251 | std::unique_ptr<FlushTracer> mFlushTracer; |
Mathias Agopian | 3f84483 | 2013-08-07 21:24:32 -0700 | [diff] [blame] | 252 | }; |
| 253 | |
Peiyong Lin | 46080ef | 2018-10-26 18:43:14 -0700 | [diff] [blame] | 254 | } // namespace gl |
| 255 | } // namespace renderengine |
| 256 | } // namespace android |
Mathias Agopian | 3f84483 | 2013-08-07 21:24:32 -0700 | [diff] [blame] | 257 | |
Peiyong Lin | 7e219eb | 2018-12-03 05:40:42 -0800 | [diff] [blame] | 258 | #endif /* SF_GLESRENDERENGINE_H_ */ |