mirror of
https://gitlab.gnome.org/GNOME/libmks.git
synced 2024-12-22 13:45:21 +00:00
lib: use GLib numeric types
I'm trying to be consistent and keep with GLib type definitions except for char/int/double/float.
This commit is contained in:
parent
5a55efe987
commit
a8b605f401
@ -271,7 +271,7 @@ mks_display_picture_legacy_event_cb (MksDisplayPicture *self,
|
||||
case GDK_TOUCH_END:
|
||||
{
|
||||
double guest_x, guest_y;
|
||||
uint64_t num_slot = GPOINTER_TO_UINT (sequence);
|
||||
guint64 num_slot = GPOINTER_TO_UINT (sequence);
|
||||
MksTouchEventKind kind;
|
||||
|
||||
if (event_type == GDK_TOUCH_BEGIN)
|
||||
|
@ -26,14 +26,14 @@
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
GLuint mks_gl_context_import_dmabuf (GdkGLContext *context,
|
||||
uint32_t format,
|
||||
unsigned int width,
|
||||
unsigned int height,
|
||||
uint32_t n_planes,
|
||||
const int *fds,
|
||||
const uint32_t *strides,
|
||||
const uint32_t *offsets,
|
||||
const uint64_t *modifiers);
|
||||
GLuint mks_gl_context_import_dmabuf (GdkGLContext *context,
|
||||
guint32 format,
|
||||
guint width,
|
||||
guint height,
|
||||
guint32 n_planes,
|
||||
const int *fds,
|
||||
const guint32 *strides,
|
||||
const guint32 *offsets,
|
||||
const guint64 *modifiers);
|
||||
|
||||
G_END_DECLS
|
||||
|
@ -34,15 +34,15 @@
|
||||
#include "mks-gl-context-private.h"
|
||||
|
||||
GLuint
|
||||
mks_gl_context_import_dmabuf (GdkGLContext *context,
|
||||
uint32_t format,
|
||||
unsigned int width,
|
||||
unsigned int height,
|
||||
uint32_t n_planes,
|
||||
const int *fds,
|
||||
const uint32_t *strides,
|
||||
const uint32_t *offsets,
|
||||
const uint64_t *modifiers)
|
||||
mks_gl_context_import_dmabuf (GdkGLContext *context,
|
||||
guint32 format,
|
||||
guint width,
|
||||
guint height,
|
||||
guint32 n_planes,
|
||||
const int *fds,
|
||||
const guint32 *strides,
|
||||
const guint32 *offsets,
|
||||
const guint64 *modifiers)
|
||||
{
|
||||
GdkDisplay *display;
|
||||
EGLDisplay egl_display;
|
||||
|
Loading…
Reference in New Issue
Block a user