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
↓ 2 callers
Function
Reset
(o *Ops)
internal/ops/ops.go:172
↓ 2 callers
Method
ResetEvent
()
io/input/key.go:103
↓ 2 callers
Method
Run
Run f in the same thread as the native window event loop, and wait for f to return or the window to close. If the window has not yet been created, Run
app/window.go:325
↓ 2 callers
Method
SampleDelta
SampleDelta adds a relative sample to the estimation.
internal/fling/extrapolation.go:55
↓ 2 callers
Method
ScrollBounds
()
widget/text.go:429
↓ 2 callers
Method
ScrollFocus
ScrollFocus scrolls the focused widget, if any, by dist.
io/input/router.go:654
↓ 2 callers
Method
SelectedText
SelectedText returns the currently selected text (if any) from the editor.
widget/selectable.go:137
↓ 2 callers
Method
SelectionLen
SelectionLen returns the length of the selection, in runes; it is equivalent to utf8.RuneCountInString(e.SelectedText()).
widget/selectable.go:117
↓ 2 callers
Method
SetAnimating
SetAnimating sets the animation flag. When the window is animating, FrameEvents are delivered as fast as the display can handle them.
app/os.go:187
↓ 2 callers
Method
SetInputHint
(mode key.InputHint)
app/os.go:190
↓ 2 callers
Method
ShowTextInput
ShowTextInput updates the virtual keyboard state.
app/os.go:189
↓ 2 callers
Method
Start
(w *window, keyCode uint32, t time.Duration)
app/os_wayland.go:1289
↓ 2 callers
Method
State
State reports the scroll state.
gesture/gesture.go:362
↓ 2 callers
Method
String
String return a string representation of r.
internal/f32/f32.go:31
↓ 2 callers
Method
String
()
text/family_parser.go:23
↓ 2 callers
Method
Text
Text returns the contents of the editor.
widget/editor.go:807
↓ 2 callers
Method
Text
Text returns the contents of the label.
widget/selectable.go:151
↓ 2 callers
Method
Tick
Tick computes and returns a fling distance since the last time Tick was called.
internal/fling/animation.go:59
↓ 2 callers
Function
Uint32
Uint32 returns a byte slice view of a uint32 slice.
internal/byteslice/byteslice.go:20
↓ 2 callers
Method
Unmap
(resource *Resource, subResource uint32)
internal/d3d11/d3d11_windows.go:1205
↓ 2 callers
Function
UnmapMemory
(d Device, mem DeviceMemory)
internal/vk/vulkan.go:1724
↓ 2 callers
Method
UpdateMask
(depressed, latched, locked, depressedGroup, latchedGroup, lockedGroup uint32)
app/internal/xkb/xkb_unix.go:233
↓ 2 callers
Method
UpdateSubresource
(res *Resource, dstBox *BOX, rowPitch, depthPitch uint32, data []byte)
internal/d3d11/d3d11_windows.go:1390
↓ 2 callers
Function
Write1String
(o *Ops, n int, ref1 string)
internal/ops/ops.go:265
↓ 2 callers
Function
absFixed
(i fixed.Int26_6)
widget/text.go:206
↓ 2 callers
Method
add
(o *Ops, push bool)
op/op.go:208
↓ 2 callers
Method
addClipPath
(state *drawState, aux []byte, auxKey opKey, bounds f32.Rectangle, off f32.Point)
gpu/gpu.go:935
↓ 2 callers
Method
addFace
(f *font.Face, md giofont.Font)
text/gotext.go:277
↓ 2 callers
Function
addHandler
addHandler adds tag to the slice if not present.
io/input/pointer.go:981
↓ 2 callers
Method
addHitNode
(n hitNode)
io/input/pointer.go:230
↓ 2 callers
Method
addLine
(p0, ctrl, p1 f32.Point, t, d float32)
internal/stroke/stroke.go:455
↓ 2 callers
Function
alignWidth
(minWidth int, lines []line)
text/gotext.go:630
↓ 2 callers
Method
appendSemanticChildren
(nodes []SemanticNode, areaIdx int)
io/input/pointer.go:473
↓ 2 callers
Method
approxEqual
(m2 *matrix)
internal/fling/extrapolation.go:259
↓ 2 callers
Function
approxLuminance
approxLuminance is a fast approximate version of RGBA.Luminance.
internal/f32color/rgba.go:183
↓ 2 callers
Function
argb
(c uint32)
widget/material/theme.go:93
↓ 2 callers
Method
assignSemIDs
()
io/input/pointer.go:439
↓ 2 callers
Method
bindDataDevice
bindDataDevice initializes the dataDev field if and only if both the seat and dataDeviceManager fields are initialized.
app/os_wayland.go:1438
↓ 2 callers
Method
bindPipeline
(p *Pipeline, point vk.PipelineBindPoint)
gpu/internal/vulkan/vulkan.go:839
↓ 2 callers
Method
bindVertexArray
(f *gl.Functions, a gl.VertexArray)
gpu/internal/opengl/opengl.go:440
↓ 2 callers
Function
blendFactorFor
(f driver.BlendFactor)
gpu/internal/metal/metal_darwin.go:684
↓ 2 callers
Method
boundsForTransformedRect
create GPU vertices for transformed r, find the bounds and establish texture transform.
gpu/gpu.go:1527
↓ 2 callers
Function
bufferStore
(buf C.CFTypeRef)
gpu/internal/metal/metal_darwin.go:1067
↓ 2 callers
Function
buildSquares
(size int)
gpu/internal/rendertest/util_test.go:48
↓ 2 callers
Function
calculateYOffsets
(lines []line)
text/gotext.go:555
↓ 2 callers
Function
callStaticVoidMethod
(env *C.JNIEnv, cls C.jclass, method C.jmethodID, args ...jvalue)
app/os_android.go:1249
↓ 2 callers
Method
caretWidth
caretWidth returns the width occupied by the caret for the current gtx.
widget/text.go:364
↓ 2 callers
Function
ceil
(v float32)
internal/f32/f32.go:171
↓ 2 callers
Function
chooseFormat
(pd C.VkPhysicalDevice, surf Surface)
internal/vk/vulkan.go:2070
↓ 2 callers
Function
choosePresentMode
(pd C.VkPhysicalDevice, surf Surface)
internal/vk/vulkan.go:2048
↓ 2 callers
Method
clampScroll
clampScroll splits a scroll distance in the remaining scroll and the scroll accepted by the filter.
io/input/pointer.go:337
↓ 2 callers
Function
clampSplit
(v float32, min, max int)
io/input/pointer.go:343
↓ 2 callers
Method
clearOutput
(colR, colG, colB, colA float32)
gpu/internal/opengl/opengl.go:877
↓ 2 callers
Method
clicked
(t event.Tag, gtx layout.Context)
widget/button.go:56
↓ 2 callers
Function
clipLoader
(ops *op.Ops, startAngle, endAngle, radius float32)
widget/material/loader.go:56
↓ 2 callers
Method
collapseState
collapseState in the interval [1;idx] into q.changes[0].
io/input/router.go:321
↓ 2 callers
Function
colorsClose
(c1, c2 color.RGBA)
gpu/internal/rendertest/util_test.go:208
↓ 2 callers
Function
configFor
(scale float32)
app/os_macos.go:976
↓ 2 callers
Function
configForDPI
(dpi int)
app/os_windows.go:1036
↓ 2 callers
Function
constSqPath
()
gpu/internal/rendertest/render_test.go:129
↓ 2 callers
Function
contextAPI
()
app/gl_ios.go:68
↓ 2 callers
Function
convBufferBinding
(typ driver.BufferBinding)
gpu/internal/d3d11/d3d11_windows.go:828
↓ 2 callers
Function
convertKey
(k rune)
app/os_macos.go:1129
↓ 2 callers
Function
convertMods
(mods C.NSUInteger)
app/os_macos.go:1171
↓ 2 callers
Function
copyLines
copyLines performs a deep copy of the provided lines. This is necessary if you want to use the line wrapper again while also using the lines.
text/gotext_test.go:249
↓ 2 callers
Function
createColorPrograms
(b driver.Device, vsSrc shader.Sources, fsSrc [3]shader.Sources, uniforms [3]any)
gpu/gpu.go:569
↓ 2 callers
Function
createPipelineLayout
(d vk.Device, src shader.Sources, ranges []vk.PushConstantRange)
gpu/internal/vulkan/vulkan.go:501
↓ 2 callers
Method
decoHeight
decoHeight returns the adjustment for client-side decorations, if applicable. The unit is in surface-local coordinates.
app/os_wayland.go:1128
↓ 2 callers
Function
decoHeightOpt
(h unit.Dp)
app/window.go:125
↓ 2 callers
Method
decode
(data []byte)
internal/ops/reader.go:168
↓ 2 callers
Function
decomposeQR
decomposeQR computes and returns Q, Rt where Q*transpose(Rt) = A, if possible. R is guaranteed to be upper triangular and only the square part of Rt i
internal/fling/extrapolation.go:170
↓ 2 callers
Method
deleteBuffer
(f *gl.Functions, b gl.Buffer)
gpu/internal/opengl/opengl.go:457
↓ 2 callers
Method
deleteFramebuffer
(f *gl.Functions, fbo gl.Framebuffer)
gpu/internal/opengl/opengl.go:447
↓ 2 callers
Method
deleteProgram
(f *gl.Functions, p gl.Program)
gpu/internal/opengl/opengl.go:483
↓ 2 callers
Method
deleteTexture
(f *gl.Functions, t gl.Texture)
gpu/internal/opengl/opengl.go:497
↓ 2 callers
Method
deliverTransferCancelEvent
(handlers map[event.Tag]*handler, p pointerInfo, evts []taggedEvent)
io/input/pointer.go:945
↓ 2 callers
Method
destroy
()
app/os_x11.go:504
↓ 2 callers
Method
destroyImageViews
()
app/vulkan.go:147
↓ 2 callers
Method
destroySwapchain
()
app/vulkan.go:158
↓ 2 callers
Method
detach
(env *C.JNIEnv)
app/os_android.go:804
↓ 2 callers
Method
dispatchMotionEvent
(MotionEvent event)
app/GioView.java:368
↓ 2 callers
Function
draw1000Circles
(gtx layout.Context)
gpu/internal/rendertest/bench_test.go:159
↓ 2 callers
Function
draw1000CirclesInstanced
(gtx layout.Context)
gpu/internal/rendertest/bench_test.go:173
↓ 2 callers
Function
drawChild
(ops *op.Ops, text clip.Op)
gpu/internal/rendertest/render_test.go:150
↓ 2 callers
Method
drawOps
(isFBO bool, opOff, viewport image.Point, ops []imageOp)
gpu/gpu.go:1240
↓ 2 callers
Method
effectiveConfig
()
app/window.go:837
↓ 2 callers
Function
eglCreateContext
(disp _EGLDisplay, cfg _EGLConfig, shareCtx _EGLContext, attribs []_EGLint)
internal/egl/egl_unix.go:45
↓ 2 callers
Function
eglCreateWindowSurface
(disp _EGLDisplay, conf _EGLConfig, win NativeWindowType, attribs []_EGLint)
internal/egl/egl_unix.go:102
↓ 2 callers
Function
eglGetDisplay
(disp NativeDisplayType)
internal/egl/egl_unix.go:98
↓ 2 callers
Function
eglMakeCurrent
(disp _EGLDisplay, draw, read _EGLSurface, ctx _EGLContext)
internal/egl/egl_unix.go:74
↓ 2 callers
Function
eglSwapInterval
(disp _EGLDisplay, interval _EGLint)
internal/egl/egl_unix.go:86
↓ 2 callers
Method
emit
emit adds a token of the given kind.
text/family_parser.go:175
↓ 2 callers
Method
end
end completes the current contour.
op/clip/clip.go:198
↓ 2 callers
Method
ensureRoot
Ensure implicit root area for semantic descriptions to hang onto.
io/input/pointer.go:430
↓ 2 callers
Function
eventTypesToString
(evs []event.Event)
io/input/pointer_test.go:1274
↓ 2 callers
Method
executeCommand
executeCommand the command and return the resulting state change along with the tag the state change depended on, if any.
io/input/router.go:542
↓ 2 callers
Function
fillMaxY
Fill in maximal Y coordinates of the NW and NE corners.
gpu/gpu.go:1411
↓ 2 callers
Function
findClass
(env *C.JNIEnv, name string)
app/os_android.go:1321
↓ 2 callers
Function
findMemoryTypeIndex
(pd C.VkPhysicalDevice, constraints C.uint32_t, wantProps C.VkMemoryPropertyFlags)
internal/vk/vulkan.go:2031
↓ 2 callers
Function
fixedAbs
(a fixed.Int26_6)
text/gotext_test.go:315
← previous
next →
701–800 of 3,179, ranked by callers