| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Public headers should mainly include gdktypes.h, which already include
the symbol visibility and versioning macros; we can also modify
gdktypes.h to include the enumerations.
|
|
|
|
|
| |
It was just added to avoid touching too many files.
Touching them now.
|
|
|
|
| |
The conversion was done by guard2one.
|
|
|
|
|
|
|
|
|
|
| |
The API docs outline why quite well.
This should make it possible to do saving of textures to image files
without any private API with the same featureset that GTK uses.
Also remove the gsktextureprivate.h include where
gdk_texture_get_format() was the only reason for it.
|
|
|
|
|
|
|
|
|
| |
Move the autocleanup declarations into their
respective headers.
While we are at it, correct the autocleanup
declaration for GdkEvent to use gdk_event_unref,
not g_object_unref. Oops
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
1. Change INSUFFICIENT_MEMORY to TOO_LARGE
GTK crashes on insufficient memory, we don't emit GErrors.
2. Split UNSUPPORTED into UNSUPPORTED_CONTENT and UNSUPPORTED_FORMAT
So we know if you need to find an RPM with a loader or curse and
the weird file.
3. Translate error messages, they are meant for end users.
|
| |
|
|
|
|
|
|
| |
This is a companion to gdk_texture_save_to_png, using
the tiff format, which will let us avoid lossy conversion
of HDR data, since we can store floating point data.
|
|
|
|
|
|
| |
Just expose what we already have available
internally, so e.g. tests can use it without
static linking.
|
| |
|
|
|
|
|
| |
There are quite a few places where we can make use of it, in particular
in the testsuite and icontheme.
|
|
|
|
|
| |
Add this new api, and make gdk_texture_new_from_file
a wrapper around it.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
We use a compilation symbol in our build to allow the inclusion of
specific headers while building GTK, to avoid the need to include only
the global header.
Each namespace has its own compilation symbol because we used to have
different libraries, and strict symbol visibility between libraries;
now that we have a single library, and we can use private symbols across
namespaces while building GTK, we should have a single compilation
symbol, and simplify the build rules.
|
|
|
|
|
| |
It's needed for debugging Timm's code, so better have it here than
hidden in my random-patch vault.
|
|
|
|
| |
Use gdk_memory_texture_new() instead.
|
|
|
|
|
|
|
| |
Put GdkGLTexture into its own file and rename the API to
gdk_gl_texture_foo() instead of gdk_texture_foo_for_gl().
Apart from naming, no actual code changes.
|
|
|
|
|
|
|
| |
Remove all the old 2.x and 3.x version annotations.
GTK+ 4 is a new start, and from the perspective of a
GTK+ 4 developer all these APIs have been around since
the beginning.
|
|
|
|
| |
Texture IDs are unsigned, so treat them like that.
|
|
|
|
|
|
|
|
|
|
| |
The inspector may hold on to render nodes and textures
beyond the lifetime of the widget (and thus the GL
resources). To handle this situation, allow the widget
to explicitly release the GL resources, and make
the texture available on the clent-side as a cairo
surface. This lets the recorder still show the content
after the widget is gone.
|
|
|
|
|
| |
This will be used to pass a GL textures from the application
(or rather, GtkGLArea) down to the GSK GL renderer.
|
|
|
|
| |
Correct function names in the docs, etc.
|
|
|
|
|
|
|
| |
and gdk_texture_new_from_resource().
While doing set, turn all GDK_AVAILABLE_IN_3_90 into
GDK_AVAILABLE_IN_3_94 because that's now true after the renaming.
|
|
We want this thing to replace GdkPixbuf, so it has to live in GDK.
|