MPLABĀ® Harmony Graphics Suite  GFX v3.13.0
Legato API Documentation
legato_gpu.h
Go to the documentation of this file.
1 /*******************************************************************************
2 * Copyright (C) 2020 Microchip Technology Inc. and its subsidiaries.
3 *
4 * Subject to your compliance with these terms, you may use Microchip software
5 * and any derivatives exclusively with Microchip products. It is your
6 * responsibility to comply with third party license terms applicable to your
7 * use of third party software (including open source software) that may
8 * accompany Microchip software.
9 *
10 * THIS SOFTWARE IS SUPPLIED BY MICROCHIP "AS IS". NO WARRANTIES, WHETHER
11 * EXPRESS, IMPLIED OR STATUTORY, APPLY TO THIS SOFTWARE, INCLUDING ANY IMPLIED
12 * WARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY, AND FITNESS FOR A
13 * PARTICULAR PURPOSE.
14 *
15 * IN NO EVENT WILL MICROCHIP BE LIABLE FOR ANY INDIRECT, SPECIAL, PUNITIVE,
16 * INCIDENTAL OR CONSEQUENTIAL LOSS, DAMAGE, COST OR EXPENSE OF ANY KIND
17 * WHATSOEVER RELATED TO THE SOFTWARE, HOWEVER CAUSED, EVEN IF MICROCHIP HAS
18 * BEEN ADVISED OF THE POSSIBILITY OR THE DAMAGES ARE FORESEEABLE. TO THE
19 * FULLEST EXTENT ALLOWED BY LAW, MICROCHIP'S TOTAL LIABILITY ON ALL CLAIMS IN
20 * ANY WAY RELATED TO THIS SOFTWARE WILL NOT EXCEED THE AMOUNT OF FEES, IF ANY,
21 * THAT YOU HAVE PAID DIRECTLY TO MICROCHIP FOR THIS SOFTWARE.
22 *******************************************************************************/
23 
31 
32 leResult leGPU_DrawLine(int32_t x0,
33  int32_t y0,
34  int32_t x1,
35  int32_t y2,
36  const leRect* clip,
37  leColor clr,
38  uint32_t a);
39 
40 leResult leGPU_FillRect(const leRect* rect,
41  leColor clr,
42  uint32_t a);
43 
44 leResult leGPU_BlitBuffer(const lePixelBuffer* sourceBuffer,
45  const leRect* sourceRect,
46  const leRect* destRect,
47  uint32_t a);
48 
49 leResult leGPU_BlitStretchBuffer(const lePixelBuffer* sourceBuffer,
50  const leRect* sourceRect,
51  const leRect* destRect,
52  uint32_t a);
53 
54 leResult leGPU_ClearBuffer(lePixelBuffer* buf);
leResult
This enum represents function call results.
Definition: legato_common.h:123
This struct represents a rectangle.
Definition: legato_common.h:394
Definition: legato_pixelbuffer.h:90