| # Copyright 2021 The Cobalt Authors. All Rights Reserved. |
| # |
| # Licensed under the Apache License, Version 2.0 (the "License"); |
| # you may not use this file except in compliance with the License. |
| # You may obtain a copy of the License at |
| # |
| # http://www.apache.org/licenses/LICENSE-2.0 |
| # |
| # Unless required by applicable law or agreed to in writing, software |
| # distributed under the License is distributed on an "AS IS" BASIS, |
| # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| # See the License for the specific language governing permissions and |
| # limitations under the License. |
| |
| static_library("egl_backend") { |
| sources = [ |
| "display.cc", |
| "display.h", |
| "framebuffer.cc", |
| "framebuffer.h", |
| "framebuffer_render_target.h", |
| "graphics_context.cc", |
| "graphics_context.h", |
| "graphics_system.cc", |
| "graphics_system.h", |
| "pbuffer_render_target.cc", |
| "pbuffer_render_target.h", |
| "render_target.h", |
| "resource_context.cc", |
| "resource_context.h", |
| "texture.cc", |
| "texture.h", |
| "texture_data.cc", |
| "texture_data.h", |
| "texture_data_cpu.cc", |
| "texture_data_cpu.h", |
| "texture_data_pbo.cc", |
| "texture_data_pbo.h", |
| "utils.cc", |
| "utils.h", |
| ] |
| |
| deps = [ |
| "//base", |
| "//cobalt/base", |
| "//cobalt/configuration", |
| "//cobalt/math", |
| "//cobalt/renderer:renderer_headers_only", |
| "//cobalt/system_window", |
| "//starboard:starboard_headers_only", |
| "//starboard/common", |
| ] |
| } |