MCPcopy Create free account

hub / github.com/gioui/gio / functions

Functions3,179 in github.com/gioui/gio

↓ 3 callersMethodsetTrans
(t f32.Affine2D)
io/input/pointer.go:157
↓ 3 callersMethodshapeAndWrapText
shapeAndWrapText invokes the text shaper and returns wrapped lines in the shaper's native format.
text/gotext.go:483
↓ 3 callersFunctionsplitGlyphID
splitGlyphID is the opposite of newGlyphID.
text/shaper.go:574
↓ 3 callersFunctionstringToNSString
stringToNSString converts a Go string to a retained NSString.
app/os_darwin.go:115
↓ 3 callersMethodsubmitCmdBuf
(fence vk.Fence)
gpu/internal/vulkan/vulkan.go:1095
↓ 3 callersMethodtouchEvent
(kind pointer.Kind, e js.Value)
app/os_js.go:662
↓ 3 callersMethodtryAdd
(s image.Point)
gpu/pack.go:48
↓ 3 callersMethodupdate
(t event.Tag, gtx layout.Context)
widget/button.go:106
↓ 3 callersMethodupdateOutputs
()
app/os_wayland.go:1733
↓ 3 callersMethodwakeup
Wakeup wakes up the event loop through the notification pipe.
app/os_wayland.go:1512
↓ 3 callersMethodwindow
()
app/os_x11.go:426
↓ 2 callersMethodAdd
Add the handler to the operation list to receive click events.
gesture/gesture.go:161
↓ 2 callersFunctionAddCall
(o *Ops, callOps *Ops, pc PC, end PC)
internal/ops/ops.go:238
↓ 2 callersMethodAlign
Align returns the x offset that should be applied to text with width so that it appears correctly aligned within a space of size maxWidth and with the
text/text.go:36
↓ 2 callersFunctionArcTransform
ArcTransform computes a transformation that can be used for generating quadratic bézier curve approximations for an arc. The math is extracted from t
internal/stroke/stroke.go:544
↓ 2 callersMethodBindAttribLocation
(p Program, a Attrib, name string)
internal/gl/gl_js.go:263
↓ 2 callersMethodBlendFunc
(sfactor, dfactor driver.BlendFactor)
gpu/internal/opengl/opengl.go:818
↓ 2 callersMethodBoundsFor
(k *keyHandler)
io/input/key.go:244
↓ 2 callersFunctionBuildBufferImageCopy
(bufOff, bufStride, x, y, width, height int)
internal/vk/vulkan.go:1965
↓ 2 callersFunctionBuildWriteDescriptorSetImage
(set DescriptorSet, binding int, typ DescriptorType, sampler Sampler, view ImageView, layout ImageLayout)
internal/vk/vulkan.go:1867
↓ 2 callersMethodCSSetShaderResources
(startSlot uint32, s *ShaderResourceView)
internal/d3d11/d3d11_windows.go:1272
↓ 2 callersMethodCSSetUnorderedAccessViews
(startSlot uint32, v *UnorderedAccessView)
internal/d3d11/d3d11_windows.go:1284
↓ 2 callersMethodCaretCoords
CaretCoords returns the coordinates of the caret, relative to the editor itself.
widget/text.go:534
↓ 2 callersMethodCaretInfo
()
widget/text.go:388
↓ 2 callersFunctionChoosePhysicalDevice
(inst Instance, surf Surface)
internal/vk/vulkan.go:914
↓ 2 callersMethodClose
()
io/input/pointer_test.go:1203
↓ 2 callersFunctionCmdCopyBuffer
(cmdBuf CommandBuffer, src, dst Buffer, srcOff, dstOff, size int)
internal/vk/vulkan.go:1314
↓ 2 callersMethodCopySubresourceRegion
(dst *Resource, dstSubresource, dstX, dstY, dstZ uint32, src *Resource, srcSubresource uint32, srcBox *BOX)
internal/d3d11/d3d11_windows.go:1233
↓ 2 callersFunctionCreateAndroidSurface
(inst Instance, window unsafe.Pointer)
internal/vk/vulkan_android.go:36
↓ 2 callersFunctionCreateDevice
(driverType uint32, flags uint32)
internal/d3d11/d3d11_windows.go:742
↓ 2 callersFunctionCreateDeviceAndQueue
(pd C.VkPhysicalDevice, queueIdx int, exts ...string)
internal/vk/vulkan.go:953
↓ 2 callersFunctionCreateFence
(d Device, flags int)
internal/vk/vulkan.go:1802
↓ 2 callersFunctionCreateFramebuffer
(d Device, rp RenderPass, view ImageView, width, height int)
internal/vk/vulkan.go:1156
↓ 2 callersFunctionCreateImageView
(d Device, img Image, format Format)
internal/vk/vulkan.go:1088
↓ 2 callersMethodCreateRenderTargetView
(res *Resource)
internal/d3d11/d3d11_windows.go:1041
↓ 2 callersFunctionCreateSemaphore
(d Device)
internal/vk/vulkan.go:1191
↓ 2 callersMethodCreateShaderResourceView
(res *Resource, desc unsafe.Pointer)
internal/d3d11/d3d11_windows.go:938
↓ 2 callersMethodCreateUnorderedAccessView
(res *Resource, desc unsafe.Pointer)
internal/d3d11/d3d11_windows.go:955
↓ 2 callersFunctionDecodeCommand
(d []byte)
internal/ops/ops.go:340
↓ 2 callersFunctionDecodeLoad
DecodeLoad decodes the state id of a load op.
internal/ops/ops.go:386
↓ 2 callersFunctionDecodeSave
DecodeSave decodes the state id of a save op.
internal/ops/ops.go:377
↓ 2 callersFunctionDecodeTransform
(data []byte)
internal/ops/ops.go:350
↓ 2 callersFunctionDecorations
Decorations returns the style to decorate a window.
widget/material/decorations.go:27
↓ 2 callersMethodDeleteTexture
(v Texture)
internal/gl/gl_js.go:407
↓ 2 callersFunctionDescriptionToFont
(md fontapi.Description)
font/opentype/opentype.go:77
↓ 2 callersFunctionDestroyDescriptorPool
(d Device, pool DescriptorPool)
internal/vk/vulkan.go:1749
↓ 2 callersFunctionDestroyDescriptorSetLayout
(d Device, l DescriptorSetLayout)
internal/vk/vulkan.go:1712
↓ 2 callersFunctionDestroyFence
(d Device, f Fence)
internal/vk/vulkan.go:1814
↓ 2 callersFunctionDestroyFramebuffer
(d Device, f Framebuffer)
internal/vk/vulkan.go:1173
↓ 2 callersFunctionDestroyImageView
(d Device, view ImageView)
internal/vk/vulkan.go:1107
↓ 2 callersFunctionDownloadImage
(d Device, t Texture, img *image.RGBA)
gpu/internal/driver/driver.go:205
↓ 2 callersMethodDrawElements
(off, count int)
gpu/internal/driver/driver.go:35
↓ 2 callersFunctionFPt
Fpt converts an point to a f32.Point.
internal/f32/f32.go:165
↓ 2 callersFunctionFontToDescription
(font giofont.Font)
font/opentype/opentype.go:85
↓ 2 callersMethodFramebuffer
()
gpu/internal/opengl/srgb.go:89
↓ 2 callersMethodGetBindingi
(pname Enum, idx int)
internal/gl/gl_js.go:504
↓ 2 callersFunctionGetDeviceQueue
(d Device, queueFamily, queueIndex int)
internal/vk/vulkan.go:978
↓ 2 callersMethodGetFramebufferAttachmentParameteri
(target, attachment, pname Enum)
internal/gl/gl_js.go:488
↓ 2 callersMethodGetInteger
(pname Enum)
internal/gl/gl_unix.go:1107
↓ 2 callersFunctionGetPhysicalDeviceFormatProperties
(physDev PhysicalDevice, format Format)
internal/vk/vulkan.go:1382
↓ 2 callersFunctionGetPhysicalDeviceSurfaceCapabilities
(pd PhysicalDevice, surf Surface)
internal/vk/vulkan.go:984
↓ 2 callersMethodGetProgrami
(p Program, pname Enum)
internal/gl/gl_unix.go:1117
↓ 2 callersMethodGetQueryObjectuiv
(query Query, pname Enum)
internal/gl/gl_js.go:552
↓ 2 callersMethodGraphemes
Graphemes will return the next paragraph's grapheme cluster boundaries, if any. If it returns an empty slice, there is no more data (all paragraphs ha
widget/index.go:515
↓ 2 callersFunctionIUnknownAddRef
(obj unsafe.Pointer, addRefMethod uintptr)
internal/d3d11/d3d11_windows.go:1607
↓ 2 callersFunctionIUnknownQueryInterface
(obj unsafe.Pointer, queryInterfaceMethod uintptr, guid *GUID)
internal/d3d11/d3d11_windows.go:1592
↓ 2 callersMethodInit
()
internal/gl/gl_js.go:222
↓ 2 callersMethodInvalidateFramebuffer
(target, attachment Enum)
internal/gl/gl_js.go:606
↓ 2 callersMethodIsEnabled
(cap Enum)
internal/gl/gl_js.go:617
↓ 2 callersMethodIsMinimized
()
app/internal/windows/windows.go:984
↓ 2 callersMethodLayout
(gtx Context)
layout/stack_test.go:62
↓ 2 callersMethodLayout
Layout and update the button state.
widget/button.go:78
↓ 2 callersMethodLayout
(gtx layout.Context, w, drag layout.Widget)
widget/dnd.go:26
↓ 2 callersMethodLayout
Layout text from an io.Reader according to a set of options. Results can be retrieved by iteratively calling NextGlyph.
text/shaper.go:282
↓ 2 callersMethodLuminance
Luminance calculates the relative luminance of a linear RGBA color. Normalized to 0 for black and 1 for white. See https://www.w3.org/TR/WCAG20/#rela
internal/f32color/rgba.go:44
↓ 2 callersMethodMakeCurrent
()
internal/egl/egl.go:136
↓ 2 callersMethodMap
(resource *Resource, subResource, mapType, mapFlags uint32)
internal/d3d11/d3d11_windows.go:1215
↓ 2 callersMethodMemoryBarrier
(barriers Enum)
internal/gl/gl_js.go:629
↓ 2 callersMethodMoveTextEnd
MoveTextEnd moves the caret to the end of the text.
widget/text.go:661
↓ 2 callersMethodMoveTextStart
MoveTextStart moves the caret to the start of the text.
widget/text.go:651
↓ 2 callersFunctionNRGBAToLinearRGBA
NRGBAToLinearRGBA converts from non-premultiplied sRGB color to premultiplied linear RGBA color. Each component in the result is `c * alpha`, where `
internal/f32color/rgba.go:85
↓ 2 callersFunctionNew
()
app/internal/xkb/xkb_unix.go:65
↓ 2 callersFunctionNewFunctions
(ctx Context, forceES bool)
internal/gl/gl_windows.go:228
↓ 2 callersFunctionNewWithDevice
NewWithDevice creates a GPU with a pre-existing device. Note: for internal use only.
gpu/gpu.go:344
↓ 2 callersMethodOffer
Offer the data ready for a drop. Must be called after being Requested. The mime must be one in the requested list.
widget/dnd.go:85
↓ 2 callersMethodOp
Op returns the op for the filled ellipse.
op/clip/shapes.go:118
↓ 2 callersMethodPaintSelection
PaintSelection clips and paints the visible text selection rectangles using the provided material to fill the rectangles.
widget/text.go:313
↓ 2 callersMethodPaintText
PaintText clips and paints the visible text glyph outlines using the provided material to fill the glyphs.
widget/text.go:328
↓ 2 callersFunctionParseCollection
ParseCollection parse an Opentype font file, with support for collections. Single font files are supported, returning a slice with length 1. The retur
font/opentype/opentype.go:53
↓ 2 callersFunctionParseGLVersion
(glVer string)
internal/gl/util.go:75
↓ 2 callersMethodPresent
()
app/os.go:171
↓ 2 callersMethodPush
Push the clip operation on the clip stack.
op/clip/shapes.go:27
↓ 2 callersMethodRead
Read implements io.Reader.
widget/text.go:835
↓ 2 callersMethodReadRuneBefore
ReadRuneAt reads the run prior to the given byte offset, if any.
widget/text.go:142
↓ 2 callersMethodRefresh
()
app/os.go:172
↓ 2 callersMethodRelease
()
gpu/internal/opengl/opengl.go:1094
↓ 2 callersMethodRelease
()
gpu/internal/driver/driver.go:54
↓ 2 callersMethodRelease
()
gpu/internal/driver/driver.go:147
↓ 2 callersMethodReleaseSurface
()
internal/egl/egl.go:109
↓ 2 callersMethodReplace
(r key.Range, text string)
app/ime.go:19
← previousnext →601–700 of 3,179, ranked by callers