xref: /mports/www/chromium/files/patch-gpu_command__buffer_tests_gl__test__utils.cc
  • Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 --- gpu/command_buffer/tests/gl_test_utils.cc.orig	2022-07-22 17:30:31 UTC
2 +++ gpu/command_buffer/tests/gl_test_utils.cc
3 @@ -24,7 +24,7 @@
4  #include "ui/gl/gl_version_info.h"
5  #include "ui/gl/init/gl_factory.h"
6 
7 -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
8 +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
9  #include "ui/gl/gl_image_native_pixmap.h"
10  #endif
11 
12 @@ -458,7 +458,7 @@ void GpuCommandBufferTestEGL::RestoreGLDefault() {
13    window_system_binding_info_ = gl::GLWindowSystemBindingInfo();
14  }
15 
16 -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
17 +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
18  scoped_refptr<gl::GLImageNativePixmap>
19  GpuCommandBufferTestEGL::CreateGLImageNativePixmap(gfx::BufferFormat format,
20                                                     gfx::Size size,
21 

served by {OpenGrok

Last Index Update: Sun Mar 22 17:06:33 EDT 2026