MCPcopy Create free account

hub / github.com/gioui/gio / functions

Functions3,179 in github.com/gioui/gio

↓ 2 callersFunctionReset
(o *Ops)
internal/ops/ops.go:172
↓ 2 callersMethodResetEvent
()
io/input/key.go:103
↓ 2 callersMethodRun
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 callersMethodSampleDelta
SampleDelta adds a relative sample to the estimation.
internal/fling/extrapolation.go:55
↓ 2 callersMethodScrollBounds
()
widget/text.go:429
↓ 2 callersMethodScrollFocus
ScrollFocus scrolls the focused widget, if any, by dist.
io/input/router.go:654
↓ 2 callersMethodSelectedText
SelectedText returns the currently selected text (if any) from the editor.
widget/selectable.go:137
↓ 2 callersMethodSelectionLen
SelectionLen returns the length of the selection, in runes; it is equivalent to utf8.RuneCountInString(e.SelectedText()).
widget/selectable.go:117
↓ 2 callersMethodSetAnimating
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 callersMethodSetInputHint
(mode key.InputHint)
app/os.go:190
↓ 2 callersMethodShowTextInput
ShowTextInput updates the virtual keyboard state.
app/os.go:189
↓ 2 callersMethodStart
(w *window, keyCode uint32, t time.Duration)
app/os_wayland.go:1289
↓ 2 callersMethodState
State reports the scroll state.
gesture/gesture.go:362
↓ 2 callersMethodString
String return a string representation of r.
internal/f32/f32.go:31
↓ 2 callersMethodString
()
text/family_parser.go:23
↓ 2 callersMethodText
Text returns the contents of the editor.
widget/editor.go:807
↓ 2 callersMethodText
Text returns the contents of the label.
widget/selectable.go:151
↓ 2 callersMethodTick
Tick computes and returns a fling distance since the last time Tick was called.
internal/fling/animation.go:59
↓ 2 callersFunctionUint32
Uint32 returns a byte slice view of a uint32 slice.
internal/byteslice/byteslice.go:20
↓ 2 callersMethodUnmap
(resource *Resource, subResource uint32)
internal/d3d11/d3d11_windows.go:1205
↓ 2 callersFunctionUnmapMemory
(d Device, mem DeviceMemory)
internal/vk/vulkan.go:1724
↓ 2 callersMethodUpdateMask
(depressed, latched, locked, depressedGroup, latchedGroup, lockedGroup uint32)
app/internal/xkb/xkb_unix.go:233
↓ 2 callersMethodUpdateSubresource
(res *Resource, dstBox *BOX, rowPitch, depthPitch uint32, data []byte)
internal/d3d11/d3d11_windows.go:1390
↓ 2 callersFunctionWrite1String
(o *Ops, n int, ref1 string)
internal/ops/ops.go:265
↓ 2 callersFunctionabsFixed
(i fixed.Int26_6)
widget/text.go:206
↓ 2 callersMethodadd
(o *Ops, push bool)
op/op.go:208
↓ 2 callersMethodaddClipPath
(state *drawState, aux []byte, auxKey opKey, bounds f32.Rectangle, off f32.Point)
gpu/gpu.go:935
↓ 2 callersMethodaddFace
(f *font.Face, md giofont.Font)
text/gotext.go:277
↓ 2 callersFunctionaddHandler
addHandler adds tag to the slice if not present.
io/input/pointer.go:981
↓ 2 callersMethodaddHitNode
(n hitNode)
io/input/pointer.go:230
↓ 2 callersMethodaddLine
(p0, ctrl, p1 f32.Point, t, d float32)
internal/stroke/stroke.go:455
↓ 2 callersFunctionalignWidth
(minWidth int, lines []line)
text/gotext.go:630
↓ 2 callersMethodappendSemanticChildren
(nodes []SemanticNode, areaIdx int)
io/input/pointer.go:473
↓ 2 callersMethodapproxEqual
(m2 *matrix)
internal/fling/extrapolation.go:259
↓ 2 callersFunctionapproxLuminance
approxLuminance is a fast approximate version of RGBA.Luminance.
internal/f32color/rgba.go:183
↓ 2 callersFunctionargb
(c uint32)
widget/material/theme.go:93
↓ 2 callersMethodassignSemIDs
()
io/input/pointer.go:439
↓ 2 callersMethodbindDataDevice
bindDataDevice initializes the dataDev field if and only if both the seat and dataDeviceManager fields are initialized.
app/os_wayland.go:1438
↓ 2 callersMethodbindPipeline
(p *Pipeline, point vk.PipelineBindPoint)
gpu/internal/vulkan/vulkan.go:839
↓ 2 callersMethodbindVertexArray
(f *gl.Functions, a gl.VertexArray)
gpu/internal/opengl/opengl.go:440
↓ 2 callersFunctionblendFactorFor
(f driver.BlendFactor)
gpu/internal/metal/metal_darwin.go:684
↓ 2 callersMethodboundsForTransformedRect
create GPU vertices for transformed r, find the bounds and establish texture transform.
gpu/gpu.go:1527
↓ 2 callersFunctionbufferStore
(buf C.CFTypeRef)
gpu/internal/metal/metal_darwin.go:1067
↓ 2 callersFunctionbuildSquares
(size int)
gpu/internal/rendertest/util_test.go:48
↓ 2 callersFunctioncalculateYOffsets
(lines []line)
text/gotext.go:555
↓ 2 callersFunctioncallStaticVoidMethod
(env *C.JNIEnv, cls C.jclass, method C.jmethodID, args ...jvalue)
app/os_android.go:1249
↓ 2 callersMethodcaretWidth
caretWidth returns the width occupied by the caret for the current gtx.
widget/text.go:364
↓ 2 callersFunctionceil
(v float32)
internal/f32/f32.go:171
↓ 2 callersFunctionchooseFormat
(pd C.VkPhysicalDevice, surf Surface)
internal/vk/vulkan.go:2070
↓ 2 callersFunctionchoosePresentMode
(pd C.VkPhysicalDevice, surf Surface)
internal/vk/vulkan.go:2048
↓ 2 callersMethodclampScroll
clampScroll splits a scroll distance in the remaining scroll and the scroll accepted by the filter.
io/input/pointer.go:337
↓ 2 callersFunctionclampSplit
(v float32, min, max int)
io/input/pointer.go:343
↓ 2 callersMethodclearOutput
(colR, colG, colB, colA float32)
gpu/internal/opengl/opengl.go:877
↓ 2 callersMethodclicked
(t event.Tag, gtx layout.Context)
widget/button.go:56
↓ 2 callersFunctionclipLoader
(ops *op.Ops, startAngle, endAngle, radius float32)
widget/material/loader.go:56
↓ 2 callersMethodcollapseState
collapseState in the interval [1;idx] into q.changes[0].
io/input/router.go:321
↓ 2 callersFunctioncolorsClose
(c1, c2 color.RGBA)
gpu/internal/rendertest/util_test.go:208
↓ 2 callersFunctionconfigFor
(scale float32)
app/os_macos.go:976
↓ 2 callersFunctionconfigForDPI
(dpi int)
app/os_windows.go:1036
↓ 2 callersFunctionconstSqPath
()
gpu/internal/rendertest/render_test.go:129
↓ 2 callersFunctioncontextAPI
()
app/gl_ios.go:68
↓ 2 callersFunctionconvBufferBinding
(typ driver.BufferBinding)
gpu/internal/d3d11/d3d11_windows.go:828
↓ 2 callersFunctionconvertKey
(k rune)
app/os_macos.go:1129
↓ 2 callersFunctionconvertMods
(mods C.NSUInteger)
app/os_macos.go:1171
↓ 2 callersFunctioncopyLines
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 callersFunctioncreateColorPrograms
(b driver.Device, vsSrc shader.Sources, fsSrc [3]shader.Sources, uniforms [3]any)
gpu/gpu.go:569
↓ 2 callersFunctioncreatePipelineLayout
(d vk.Device, src shader.Sources, ranges []vk.PushConstantRange)
gpu/internal/vulkan/vulkan.go:501
↓ 2 callersMethoddecoHeight
decoHeight returns the adjustment for client-side decorations, if applicable. The unit is in surface-local coordinates.
app/os_wayland.go:1128
↓ 2 callersFunctiondecoHeightOpt
(h unit.Dp)
app/window.go:125
↓ 2 callersMethoddecode
(data []byte)
internal/ops/reader.go:168
↓ 2 callersFunctiondecomposeQR
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 callersMethoddeleteBuffer
(f *gl.Functions, b gl.Buffer)
gpu/internal/opengl/opengl.go:457
↓ 2 callersMethoddeleteFramebuffer
(f *gl.Functions, fbo gl.Framebuffer)
gpu/internal/opengl/opengl.go:447
↓ 2 callersMethoddeleteProgram
(f *gl.Functions, p gl.Program)
gpu/internal/opengl/opengl.go:483
↓ 2 callersMethoddeleteTexture
(f *gl.Functions, t gl.Texture)
gpu/internal/opengl/opengl.go:497
↓ 2 callersMethoddeliverTransferCancelEvent
(handlers map[event.Tag]*handler, p pointerInfo, evts []taggedEvent)
io/input/pointer.go:945
↓ 2 callersMethoddestroy
()
app/os_x11.go:504
↓ 2 callersMethoddestroyImageViews
()
app/vulkan.go:147
↓ 2 callersMethoddestroySwapchain
()
app/vulkan.go:158
↓ 2 callersMethoddetach
(env *C.JNIEnv)
app/os_android.go:804
↓ 2 callersMethoddispatchMotionEvent
(MotionEvent event)
app/GioView.java:368
↓ 2 callersFunctiondraw1000Circles
(gtx layout.Context)
gpu/internal/rendertest/bench_test.go:159
↓ 2 callersFunctiondraw1000CirclesInstanced
(gtx layout.Context)
gpu/internal/rendertest/bench_test.go:173
↓ 2 callersFunctiondrawChild
(ops *op.Ops, text clip.Op)
gpu/internal/rendertest/render_test.go:150
↓ 2 callersMethoddrawOps
(isFBO bool, opOff, viewport image.Point, ops []imageOp)
gpu/gpu.go:1240
↓ 2 callersMethodeffectiveConfig
()
app/window.go:837
↓ 2 callersFunctioneglCreateContext
(disp _EGLDisplay, cfg _EGLConfig, shareCtx _EGLContext, attribs []_EGLint)
internal/egl/egl_unix.go:45
↓ 2 callersFunctioneglCreateWindowSurface
(disp _EGLDisplay, conf _EGLConfig, win NativeWindowType, attribs []_EGLint)
internal/egl/egl_unix.go:102
↓ 2 callersFunctioneglGetDisplay
(disp NativeDisplayType)
internal/egl/egl_unix.go:98
↓ 2 callersFunctioneglMakeCurrent
(disp _EGLDisplay, draw, read _EGLSurface, ctx _EGLContext)
internal/egl/egl_unix.go:74
↓ 2 callersFunctioneglSwapInterval
(disp _EGLDisplay, interval _EGLint)
internal/egl/egl_unix.go:86
↓ 2 callersMethodemit
emit adds a token of the given kind.
text/family_parser.go:175
↓ 2 callersMethodend
end completes the current contour.
op/clip/clip.go:198
↓ 2 callersMethodensureRoot
Ensure implicit root area for semantic descriptions to hang onto.
io/input/pointer.go:430
↓ 2 callersFunctioneventTypesToString
(evs []event.Event)
io/input/pointer_test.go:1274
↓ 2 callersMethodexecuteCommand
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 callersFunctionfillMaxY
Fill in maximal Y coordinates of the NW and NE corners.
gpu/gpu.go:1411
↓ 2 callersFunctionfindClass
(env *C.JNIEnv, name string)
app/os_android.go:1321
↓ 2 callersFunctionfindMemoryTypeIndex
(pd C.VkPhysicalDevice, constraints C.uint32_t, wantProps C.VkMemoryPropertyFlags)
internal/vk/vulkan.go:2031
↓ 2 callersFunctionfixedAbs
(a fixed.Int26_6)
text/gotext_test.go:315
← previousnext →701–800 of 3,179, ranked by callers