Home
last modified time | relevance | path

Searched refs:open_gl (Results 1 – 10 of 10) sorted by relevance

/third_party/flutter/engine/flutter/shell/platform/embedder/tests/
Dembedder_test_compositor.cc191 backing_store_out->open_gl.type = kFlutterOpenGLTargetTypeFramebuffer; in CreateFramebufferRenderSurface()
192 backing_store_out->open_gl.framebuffer.target = framebuffer_info.fFormat; in CreateFramebufferRenderSurface()
193 backing_store_out->open_gl.framebuffer.name = framebuffer_info.fFBOID; in CreateFramebufferRenderSurface()
196 backing_store_out->open_gl.framebuffer.user_data = surface.get(); in CreateFramebufferRenderSurface()
197 backing_store_out->open_gl.framebuffer.destruction_callback = in CreateFramebufferRenderSurface()
241 backing_store_out->open_gl.type = kFlutterOpenGLTargetTypeTexture; in CreateTextureRenderSurface()
242 backing_store_out->open_gl.texture.target = texture_info.fTarget; in CreateTextureRenderSurface()
243 backing_store_out->open_gl.texture.name = texture_info.fID; in CreateTextureRenderSurface()
244 backing_store_out->open_gl.texture.format = texture_info.fFormat; in CreateTextureRenderSurface()
247 backing_store_out->open_gl.texture.user_data = surface.get(); in CreateTextureRenderSurface()
[all …]
Dembedder_assertions.h76 return a.open_gl == b.open_gl;
205 out << backing_store.open_gl;
Dembedder_unittests.cc555 backing_store.open_gl.type = kFlutterOpenGLTargetTypeFramebuffer; in TEST_F()
587 backing_store.open_gl.type = kFlutterOpenGLTargetTypeFramebuffer; in TEST_F()
647 backing_store.open_gl.type = kFlutterOpenGLTargetTypeTexture; in TEST_F()
679 backing_store.open_gl.type = kFlutterOpenGLTargetTypeTexture; in TEST_F()
906 backing_store.open_gl.type = kFlutterOpenGLTargetTypeTexture; in TEST_F()
939 backing_store.open_gl.type = kFlutterOpenGLTargetTypeTexture; in TEST_F()
972 backing_store.open_gl.type = kFlutterOpenGLTargetTypeTexture; in TEST_F()
Dembedder_config_builder.cc75 renderer_config_.open_gl = opengl_renderer_config_; in SetOpenGLRendererConfig()
/third_party/flutter/engine/flutter/shell/platform/windows/
Dflutter_windows.cc54 config.open_gl.struct_size = sizeof(config.open_gl); in RunFlutterEngine()
55 config.open_gl.make_current = [](void* user_data) -> bool { in RunFlutterEngine()
59 config.open_gl.clear_current = [](void* user_data) -> bool { in RunFlutterEngine()
63 config.open_gl.present = [](void* user_data) -> bool { in RunFlutterEngine()
67 config.open_gl.fbo_callback = [](void* user_data) -> uint32_t { return 0; }; in RunFlutterEngine()
68 config.open_gl.gl_proc_resolver = [](void* user_data, in RunFlutterEngine()
/third_party/flutter/engine/flutter/shell/platform/glfw/
Dflutter_glfw.cc419 config.open_gl.struct_size = sizeof(config.open_gl); in RunFlutterEngine()
420 config.open_gl.make_current = [](void* data) -> bool { return false; }; in RunFlutterEngine()
421 config.open_gl.clear_current = [](void* data) -> bool { return false; }; in RunFlutterEngine()
422 config.open_gl.present = [](void* data) -> bool { return false; }; in RunFlutterEngine()
423 config.open_gl.fbo_callback = [](void* data) -> uint32_t { return 0; }; in RunFlutterEngine()
427 config.open_gl.struct_size = sizeof(config.open_gl); in RunFlutterEngine()
428 config.open_gl.make_current = GLFWMakeContextCurrent; in RunFlutterEngine()
429 config.open_gl.clear_current = GLFWClearContext; in RunFlutterEngine()
430 config.open_gl.present = GLFWPresent; in RunFlutterEngine()
431 config.open_gl.send_current_surface = sendSurface; in RunFlutterEngine()
[all …]
/third_party/flutter/engine/flutter/shell/platform/embedder/
Dace_embedder.cc76 const FlutterOpenGLRendererConfig* open_gl_config = &config->open_gl; in IsOpenGLRendererConfigValid()
145 auto gl_make_current = [ptr = config->open_gl.make_current, in InferOpenGLPlatformViewCreationCallback()
148 auto gl_clear_current = [ptr = config->open_gl.clear_current, in InferOpenGLPlatformViewCreationCallback()
151 auto gl_present = [ptr = config->open_gl.present, user_data]() -> bool { in InferOpenGLPlatformViewCreationCallback()
155 auto gl_send_surface = [ptr = config->open_gl.send_current_surface, in InferOpenGLPlatformViewCreationCallback()
162 auto gl_fbo_callback = [ptr = config->open_gl.fbo_callback, in InferOpenGLPlatformViewCreationCallback()
165 const FlutterOpenGLRendererConfig* open_gl_config = &config->open_gl; in InferOpenGLPlatformViewCreationCallback()
169 [ptr = config->open_gl.make_resource_current, user_data]() { in InferOpenGLPlatformViewCreationCallback()
177 [ptr = config->open_gl.surface_transformation, user_data]() { in InferOpenGLPlatformViewCreationCallback()
194 gl_proc_resolver = [ptr = config->open_gl.gl_proc_resolver, in InferOpenGLPlatformViewCreationCallback()
[all …]
Dembedder.cc67 const FlutterOpenGLRendererConfig* open_gl_config = &config->open_gl; in IsOpenGLRendererConfigValid()
136 auto gl_make_current = [ptr = config->open_gl.make_current, in InferOpenGLPlatformViewCreationCallback()
139 auto gl_clear_current = [ptr = config->open_gl.clear_current, in InferOpenGLPlatformViewCreationCallback()
142 auto gl_present = [ptr = config->open_gl.present, user_data]() -> bool { in InferOpenGLPlatformViewCreationCallback()
146 auto gl_fbo_callback = [ptr = config->open_gl.fbo_callback, in InferOpenGLPlatformViewCreationCallback()
149 const FlutterOpenGLRendererConfig* open_gl_config = &config->open_gl; in InferOpenGLPlatformViewCreationCallback()
153 [ptr = config->open_gl.make_resource_current, user_data]() { in InferOpenGLPlatformViewCreationCallback()
161 [ptr = config->open_gl.surface_transformation, user_data]() { in InferOpenGLPlatformViewCreationCallback()
178 gl_proc_resolver = [ptr = config->open_gl.gl_proc_resolver, in InferOpenGLPlatformViewCreationCallback()
433 switch (backing_store.open_gl.type) { in CreateEmbedderRenderTarget()
[all …]
Dembedder.h190 FlutterOpenGLRendererConfig open_gl; member
445 FlutterOpenGLBackingStore open_gl; member
/third_party/flutter/engine/flutter/shell/platform/darwin/macos/framework/Source/
DFlutterEngine.mm174 .open_gl.struct_size = sizeof(FlutterOpenGLRendererConfig),
175 .open_gl.make_current = (BoolCallback)OnMakeCurrent,
176 .open_gl.clear_current = (BoolCallback)OnClearCurrent,
177 .open_gl.present = (BoolCallback)OnPresent,
178 .open_gl.fbo_callback = (UIntCallback)OnFBO,
179 .open_gl.make_resource_current = (BoolCallback)OnMakeResourceCurrent,