summaryrefslogtreecommitdiff
path: root/gdk/gdktexture.h
Commit message (Collapse)AuthorAgeFilesLines
* Add pure and const annotations to various functionsTimm Bäder2020-01-261-2/+2
|
* Use a single compilation symbolEmmanuele Bassi2019-11-271-1/+1
| | | | | | | | | | | | 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.
* texture: Add gdk_texture_save_to_png()Benjamin Otte2018-04-121-0/+3
| | | | | It's needed for debugging Timm's code, so better have it here than hidden in my random-patch vault.
* gdk: Remove gdk_texture_new_from_data()Benjamin Otte2018-03-181-5/+0
| | | | Use gdk_memory_texture_new() instead.
* gdk: Split out GL textureBenjamin Otte2018-03-071-12/+0
| | | | | | | 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.
* The big versioning cleanupMatthias Clasen2018-02-061-10/+10
| | | | | | | 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: Make the texture id a guintBenjamin Otte2018-02-021-1/+1
| | | | Texture IDs are unsigned, so treat them like that.
* Add a way to release GL resourcesMatthias Clasen2018-01-171-0/+3
| | | | | | | | | | 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.
* gdk: Add a gl texture implementationMatthias Clasen2018-01-171-0/+9
| | | | | This will be used to pass a GL textures from the application (or rather, GtkGLArea) down to the GSK GL renderer.
* Fix some typosMatthias Clasen2017-11-041-1/+1
| | | | Correct function names in the docs, etc.
* texture: Add gdk_texture_new_from_file()Benjamin Otte2017-11-041-7/+12
| | | | | | | 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.
* GskTexture => GdkTextureBenjamin Otte2017-11-041-0/+65
We want this thing to replace GdkPixbuf, so it has to live in GDK.