blob: a765c1cb7ed47361ce4d109deccb057858f25696 [file]
// 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/public/interfaces/geometry/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);
};