Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/gioui/gio
/ functions
Functions
3,179 in github.com/gioui/gio
⨍
Functions
3,179
◇
Types & classes
680
↓ 7 callers
Method
Begin
()
gpu/internal/driver/driver.go:137
↓ 7 callers
Method
BindTexture
(unit int, t Texture)
gpu/internal/driver/driver.go:42
↓ 7 callers
Function
DestroySurface
(inst Instance, s Surface)
internal/vk/vulkan.go:1211
↓ 7 callers
Function
Disabled
Disabled blends color towards the luminance and multiplies alpha. Blending towards luminance will desaturate the color. Multiplying alpha blends the c
internal/f32color/rgba.go:148
↓ 7 callers
Method
EditorInsert
(text string)
app/window.go:445
↓ 7 callers
Method
End
()
gpu/internal/driver/driver.go:138
↓ 7 callers
Method
FlushEvents
FlushEvents delivers pending events to the client.
app/os.go:300
↓ 7 callers
Method
LayoutRunes
LayoutRunes shapes and wraps the text, and returns the result in Gio's shaped text format.
text/gotext.go:571
↓ 7 callers
Method
MoveCoord
MoveCoord moves the caret to the position closest to the provided point that is aligned to a grapheme cluster boundary.
widget/text.go:472
↓ 7 callers
Function
NewImageOp
NewImageOp creates an ImageOp backed by src. NewImageOp assumes the backing image is immutable, and may cache a copy of its contents in a GPU-friendl
op/paint/paint.go:72
↓ 7 callers
Method
ProcessEvent
(e event.Event)
app/os_windows.go:637
↓ 7 callers
Method
Put
Put inserts the given value with the given key, evicting old cache entries if necessary.
text/lru.go:43
↓ 7 callers
Function
RGBAToNRGBA
RGBAToNRGBA converts from premultiplied sRGB color to non-premultiplied sRGB color.
internal/f32color/rgba.go:99
↓ 7 callers
Method
Release
()
app/os.go:173
↓ 7 callers
Method
Screenshot
Screenshot transfers the Window content at origin img.Rect.Min to img.
gpu/headless/headless.go:139
↓ 7 callers
Method
SelectedText
SelectedText returns the currently selected text (if any) from the editor, filling the provided byte slice if it is large enough or allocating and ret
widget/text.go:786
↓ 7 callers
Method
SetDriver
(d driver)
app/window.go:393
↓ 7 callers
Method
Sp
Sp converts v to pixels, rounded to the nearest integer value.
unit/unit.go:49
↓ 7 callers
Method
Split
Split a transform into two parts, one which is pure offset and the other representing the scaling, shearing and rotation part.
f32/affine.go:126
↓ 7 callers
Method
Stop
(t time.Duration)
app/os_wayland.go:1318
↓ 7 callers
Method
String
String returns the mode name.
app/os.go:94
↓ 7 callers
Function
UniformRRect
UniformRRect returns an RRect with all corner radii set to the provided radius.
op/clip/shapes.go:41
↓ 7 callers
Method
bindTexture
(f *gl.Functions, unit int, t gl.Texture)
gpu/internal/opengl/opengl.go:432
↓ 7 callers
Method
destroy
()
app/os_wayland.go:1519
↓ 7 callers
Method
draw
(sync bool)
app/os_wayland.go:1764
↓ 7 callers
Function
eglGetError
()
internal/egl/egl_unix.go:64
↓ 7 callers
Method
equal
(o2 Object)
internal/gl/types.go:22
↓ 7 callers
Method
gapLen
()
widget/buffer.go:89
↓ 7 callers
Method
getExtension
(name string)
internal/gl/gl_js.go:243
↓ 7 callers
Function
hasExtension
(exts []string, ext string)
gpu/internal/opengl/opengl.go:1357
↓ 7 callers
Method
imageBarrier
(cmdBuf vk.CommandBuffer, layout vk.ImageLayout, stage vk.PipelineStageFlags, access vk.AccessFlags)
gpu/internal/vulkan/vulkan.go:793
↓ 7 callers
Function
issue34474KeepAlive
issue34474KeepAlive calls runtime.KeepAlive as a workaround for golang.org/issue/34474.
internal/gl/gl_windows.go:719
↓ 7 callers
Function
newWindow
(t testing.TB, width, height int)
gpu/internal/rendertest/util_test.go:296
↓ 7 callers
Method
updateSelection
(selAct selectionAction)
widget/text.go:803
↓ 7 callers
Method
virtualIDFor
(id input.SemanticID)
app/os_android.go:790
↓ 6 callers
Method
AppendSemantics
AppendSemantics appends the semantic tree to nodes, and returns the result. The root node is the first added.
io/input/router.go:754
↓ 6 callers
Method
Arc
Arc is like ArcTo where f1 and f2 are relative to the current position.
op/clip/clip.go:290
↓ 6 callers
Method
BindPipeline
(p Pipeline)
gpu/internal/driver/driver.go:41
↓ 6 callers
Method
Close
Close closes the path contour.
op/clip/clip.go:320
↓ 6 callers
Method
DrawArrays
(off, count int)
gpu/internal/driver/driver.go:34
↓ 6 callers
Method
Frame
Frame receives a frame.
app/os.go:207
↓ 6 callers
Method
Glyph
Glyph indexes the provided glyph, generating text cursor positions for it.
widget/index.go:134
↓ 6 callers
Method
Intersect
Intersect returns the intersection of r and s.
internal/f32/f32.go:67
↓ 6 callers
Method
Load
Load registers the provided FontFace with the shaper, if it is compatible. It returns whether the face is now available for use. FontFaces are priorit
text/gotext.go:270
↓ 6 callers
Method
MakeCurrent
()
gpu/headless/headless.go:28
↓ 6 callers
Function
NewIcon
NewIcon returns a new Icon from IconVG data.
widget/icon.go:30
↓ 6 callers
Method
NewPipeline
(desc PipelineDesc)
gpu/internal/driver/driver.go:31
↓ 6 callers
Method
ReadAt
ReadAt implements io.ReaderAt.
widget/text.go:842
↓ 6 callers
Method
Release
Release resources associated with the window.
gpu/headless/headless.go:104
↓ 6 callers
Method
ReleaseCurrent
()
gpu/headless/headless.go:29
↓ 6 callers
Method
Seek
Seek implements io.Seeker.
widget/text.go:822
↓ 6 callers
Method
SelectedText
SelectedText returns the currently selected text (if any) from the editor.
widget/editor.go:1087
↓ 6 callers
Method
Selection
Selection returns the start and end of the selection, as rune offsets. start can be > end.
widget/selectable.go:124
↓ 6 callers
Method
Viewport
(x, y, width, height int)
gpu/internal/driver/driver.go:33
↓ 6 callers
Function
assertKeyboard
(t *testing.T, router *Router, expected TextInputState)
io/input/key_test.go:327
↓ 6 callers
Method
barrier
(cmdBuf vk.CommandBuffer, stage vk.PipelineStageFlags, access vk.AccessFlags)
gpu/internal/vulkan/vulkan.go:941
↓ 6 callers
Method
clampCursorToGraphemes
clampCursorToGraphemes ensures that the final start/end positions of the cursor are on grapheme cluster boundaries.
widget/text.go:635
↓ 6 callers
Method
closestToLineCol
(line, col int)
widget/text.go:171
↓ 6 callers
Method
col
(c int)
internal/fling/extrapolation.go:255
↓ 6 callers
Method
cover
(mat materialType, isFBO bool, col f32color.RGBA, col1, col2 f32color.RGBA, scale, off f32.Point, uvTrans f32.
gpu/path.go:380
↓ 6 callers
Method
destroyGPU
()
app/window.go:507
↓ 6 callers
Function
encodeQuadTo
(data []byte, meta uint32, from, ctrl, to f32.Point)
gpu/clip.go:20
↓ 6 callers
Function
fixedToFloat
(i fixed.Int26_6)
text/gotext.go:716
↓ 6 callers
Method
ignore
()
text/family_parser.go:159
↓ 6 callers
Method
init
()
text/shaper.go:271
↓ 6 callers
Function
linearTosRGB
linearTosRGB transforms color value from linear to sRGB.
internal/f32color/rgba.go:115
↓ 6 callers
Method
makeValid
()
widget/text.go:157
↓ 6 callers
Method
moveByGraphemes
moveByGraphemes returns the rune index resulting from moving the specified number of grapheme clusters from startRuneidx.
widget/text.go:622
↓ 6 callers
Method
nextEvent
()
app/window.go:567
↓ 6 callers
Method
pen
()
internal/stroke/stroke.go:72
↓ 6 callers
Method
processGlyph
processGlyph checks whether the glyph is visible within the iterator's configured viewport and (if so) updates the iterator's text dimensions to inclu
widget/label.go:133
↓ 6 callers
Method
replace
replace the text between start and end with s. Indices are in runes. It returns the number of runes inserted. addHistory controls whether this modific
widget/editor.go:932
↓ 6 callers
Method
setNextFrame
(at time.Time)
app/window.go:386
↓ 6 callers
Method
stateFor
(tag event.Tag)
io/input/router.go:766
↓ 6 callers
Method
updateAnimation
()
app/window.go:338
↓ 6 callers
Method
useProgram
(f *gl.Functions, p gl.Program)
gpu/internal/opengl/opengl.go:507
↓ 6 callers
Function
varArgs
(args []jvalue)
app/os_android.go:1242
↓ 5 callers
Method
Active
()
internal/fling/animation.go:53
↓ 5 callers
Method
AttachShader
(p Program, s Shader)
internal/gl/gl_js.go:251
↓ 5 callers
Method
BindVertexBuffer
(b Buffer, offset int)
gpu/internal/driver/driver.go:43
↓ 5 callers
Method
Caps
()
gpu/internal/driver/driver.go:20
↓ 5 callers
Method
CheckFramebufferStatus
(target Enum)
internal/gl/gl_js.go:318
↓ 5 callers
Method
Clear
Clear sets the clear color for the next Frame.
gpu/gpu.go:45
↓ 5 callers
Method
ClearSelection
ClearSelection clears the selection, by setting the selection end equal to the selection start.
widget/editor.go:1095
↓ 5 callers
Method
Contain
Contain reports whether the set b contains all of the buttons.
io/pointer/pointer.go:322
↓ 5 callers
Function
CreateShader
(ctx *Functions, typ Enum, src string)
internal/gl/util.go:60
↓ 5 callers
Method
DeleteFramebuffer
(v Framebuffer)
internal/gl/gl_js.go:383
↓ 5 callers
Method
DeleteShader
(s Shader)
internal/gl/gl_js.go:399
↓ 5 callers
Function
DestroyDevice
(dev Device)
internal/vk/vulkan.go:1207
↓ 5 callers
Function
DestroyImage
(d Device, img Image)
internal/vk/vulkan.go:1466
↓ 5 callers
Method
DestroyKeymapState
()
app/internal/xkb/xkb_unix.go:97
↓ 5 callers
Function
DestroySemaphore
(d Device, sem Semaphore)
internal/vk/vulkan.go:1203
↓ 5 callers
Function
DestroySwapchain
(d Device, swchain Swapchain)
internal/vk/vulkan.go:1058
↓ 5 callers
Function
DeviceWaitIdle
(d Device)
internal/vk/vulkan.go:1177
↓ 5 callers
Function
FRect
fRect converts a rectangle to a f32internal.Rectangle.
internal/f32/f32.go:158
↓ 5 callers
Function
Flexed
Flexed returns a Flex child forced to take up weight fraction of the space left over from Rigid children. The fraction is weight divided by either the
layout/flex.go:70
↓ 5 callers
Method
Frame
Frame replaces the window content and state with the operation list.
gpu/headless/headless.go:131
↓ 5 callers
Function
FreeMemory
(d Device, mem DeviceMemory)
internal/vk/vulkan.go:1470
↓ 5 callers
Method
GetError
()
internal/gl/gl_js.go:479
↓ 5 callers
Method
GetVertexAttrib
(index int, pname Enum)
internal/gl/gl_js.go:590
← previous
next →
201–300 of 3,179, ranked by callers