blob: f3187e3706ec1bf6e4723756c253b49dc1302d0f [file] [log] [blame]
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
module mojo;
import "mojo/services/geometry/public/interfaces/geometry.mojom";
import "mojo/services/public/interfaces/gpu/command_buffer.mojom";
import "mojo/services/public/interfaces/gpu/viewport_parameter_listener.mojom";
interface Gpu {
CreateOnscreenGLES2Context(uint64 native_viewport_id,
Size? size,
CommandBuffer&? gles2_client,
ViewportParameterListener? listener);
CreateOffscreenGLES2Context(CommandBuffer&? gles2_client);
};