Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BradyBrenot/huestacean
/ functions
Functions
209 in github.com/BradyBrenot/huestacean
⨍
Functions
209
◇
Types & classes
37
↓ 27 callers
Method
checkGlError
Checks to see if a GLES error has been raised.
android/src/com/android/grafika/gles/GlUtil.java:106
↓ 21 callers
Method
toString
include/huestacean.h:54
↓ 9 callers
Method
checkLocation
Checks to see if the location we obtained is valid. GLES returns -1 if a label could not be found, but does not set the GL error. <p> Throws a Runtim
android/src/com/android/grafika/gles/GlUtil.java:121
↓ 6 callers
Method
createFloatBuffer
Allocates a direct float buffer, and populates it with the float array data.
android/src/com/android/grafika/gles/GlUtil.java:166
↓ 6 callers
Method
data
src/objectmodel.cpp:13
↓ 6 callers
Method
getModel
include/bridgediscovery.h:19
↓ 6 callers
Method
insert
src/objectmodel.cpp:18
↓ 5 callers
Method
createProgram
Creates a new program from the supplied vertex and fragment shaders. @return A handle to the program, or 0 on failure.
android/src/com/android/grafika/gles/GlUtil.java:51
↓ 5 callers
Function
lerp
include/utility.h:97
↓ 4 callers
Method
bridgeParent
include/huebridge.h:131
↓ 4 callers
Method
checkerPattern
(byte[] buf, int left, int top, int right, int bottom, int color1, int color2, int bit)
android/src/com/android/grafika/gles/GeneratedTexture.java:166
↓ 4 callers
Function
cross
src/utility.cpp:130
↓ 3 callers
Method
checkEglError
Checks for EGL errors. Throws an exception if an error has been raised.
android/src/com/android/grafika/gles/EglCore.java:366
↓ 3 callers
Method
createWindowSurface
Creates an EGL surface associated with a Surface. <p> If this is destined for MediaCodec, the EGLConfig should have the "recordable" attribute.
android/src/com/android/grafika/gles/EglCore.java:229
↓ 3 callers
Function
dist
src/utility.cpp:121
↓ 3 callers
Function
getClosestPointToPoints
src/utility.cpp:158
↓ 3 callers
Method
getCoordsPerVertex
Returns the number of position coordinates per vertex. This will be 2 or 3.
android/src/com/android/grafika/gles/Drawable2d.java:185
↓ 3 callers
Method
getVertexArray
Returns the array of vertices. <p> To avoid allocations, this returns internal state. The caller must not modify it.
android/src/com/android/grafika/gles/Drawable2d.java:148
↓ 3 callers
Method
getVertexCount
Returns the number of vertices stored in the vertex array.
android/src/com/android/grafika/gles/Drawable2d.java:164
↓ 3 callers
Method
getVertexStride
Returns the width, in bytes, of the data for each vertex.
android/src/com/android/grafika/gles/Drawable2d.java:171
↓ 3 callers
Method
makeCurrent
Makes our EGL context current, using the supplied surface for both "draw" and "read".
android/src/com/android/grafika/gles/EglCore.java:268
↓ 3 callers
Method
stop
src/entertainment.cpp:218
↓ 2 callers
Method
getConfig
Finds a suitable EGLConfig. @param flags Bit flags from constructor. @param version Must be 2 or 3.
android/src/com/android/grafika/gles/EglCore.java:144
↓ 2 callers
Method
getModelViewMatrix
Returns the model-view matrix. <p> To avoid allocations, this returns internal state. The caller must not modify it.
android/src/com/android/grafika/gles/Sprite2d.java:139
↓ 2 callers
Method
getTexCoordArray
Returns the array of texture coordinates. <p> To avoid allocations, this returns internal state. The caller must not modify it.
android/src/com/android/grafika/gles/Drawable2d.java:157
↓ 2 callers
Method
getTexCoordStride
Returns the width, in bytes, of the data for each texture coordinate.
android/src/com/android/grafika/gles/Drawable2d.java:178
↓ 2 callers
Method
loadShader
Compiles the provided shader source. @return A handle to the shader, or 0 on failure.
android/src/com/android/grafika/gles/GlUtil.java:87
↓ 2 callers
Method
makeRequest
src/huebridge.cpp:41
↓ 2 callers
Method
querySurface
Performs a simple surface query.
android/src/com/android/grafika/gles/EglCore.java:328
↓ 2 callers
Method
releaseEglSurface
Release the EGL surface.
android/src/com/android/grafika/gles/EglSurfaceBase.java:109
↓ 2 callers
Method
stopStreaming
src/entertainment.cpp:106
↓ 1 callers
Function
InGamut
src/utility.cpp:135
↓ 1 callers
Method
StartCapture
()
android/src/com/huestacean/Huestacean.java:64
↓ 1 callers
Method
androidHandleFrame
src/huestacean.cpp:716
↓ 1 callers
Method
createImageTexture
Creates a texture from raw data. @param data Image data, in a "direct" ByteBuffer. @param width Texture width, in pixels (not bytes). @param height T
android/src/com/android/grafika/gles/GlUtil.java:136
↓ 1 callers
Method
createOffscreenSurface
Creates an EGL surface associated with an offscreen buffer.
android/src/com/android/grafika/gles/EglCore.java:250
↓ 1 callers
Method
createTextureObject
Creates a texture object suitable for use with drawFrame().
android/src/com/android/grafika/gles/FullFrameRect.java:76
↓ 1 callers
Method
draw
Draws the rectangle with the supplied program and projection matrix.
android/src/com/android/grafika/gles/Sprite2d.java:174
↓ 1 callers
Method
drawFrame
Draws a viewport-filling rect, texturing it with the specified texture object.
android/src/com/android/grafika/gles/FullFrameRect.java:83
↓ 1 callers
Method
generateCoarseData
Generates a "coarse" test image. We want to create a 4x4 block pattern with obvious color values in the corners, so that we can confirm orientation a
android/src/com/android/grafika/gles/GeneratedTexture.java:98
↓ 1 callers
Method
generateFineData
Generates a fine-grained test image. @return A direct ByteBuffer with the 8888 RGBA data.
android/src/com/android/grafika/gles/GeneratedTexture.java:144
↓ 1 callers
Method
getHeight
Returns the surface's height, in pixels.
android/src/com/android/grafika/gles/EglSurfaceBase.java:98
↓ 1 callers
Method
getWidth
Returns the surface's width, in pixels. <p> If this is called on a window surface, and the underlying surface is in the process of changing size, we m
android/src/com/android/grafika/gles/EglSurfaceBase.java:87
↓ 1 callers
Method
handleFrame
(int w, int h)
android/src/com/huestacean/Huestacean.java:46
↓ 1 callers
Method
hasRunningThread
src/entertainment.cpp:125
↓ 1 callers
Method
isCurrent
Returns true if our context and the specified surface are current.
android/src/com/android/grafika/gles/EglCore.java:320
↓ 1 callers
Method
makeCurrent
Makes our EGL context and surface current.
android/src/com/android/grafika/gles/EglSurfaceBase.java:118
↓ 1 callers
Method
recomputeMatrix
Re-computes mModelViewMatrix, based on the current values for rotation, scale, and translation.
android/src/com/android/grafika/gles/Sprite2d.java:54
↓ 1 callers
Method
release
Releases resources. <p> This must be called with the appropriate EGL context current (i.e. the one that was current when the constructor was called).
android/src/com/android/grafika/gles/FullFrameRect.java:47
↓ 1 callers
Method
release
Discards all resources held by this class, notably the EGL context. This must be called from the thread where the context was created. <p> On complet
android/src/com/android/grafika/gles/EglCore.java:184
↓ 1 callers
Method
releaseSurface
Destroys the specified surface. Note the EGLSurface won't actually be destroyed if it's still current in a context.
android/src/com/android/grafika/gles/EglCore.java:220
↓ 1 callers
Method
remove
src/objectmodel.cpp:24
↓ 1 callers
Method
requestGroups
src/huebridge.cpp:86
↓ 1 callers
Method
reset
src/objectmodel.cpp:35
↓ 1 callers
Function
rgb_to_XYZ
include/utility.h:32
↓ 1 callers
Method
setKernel
Configures the convolution filter values. @param values Normalized filter values; must be KERNEL_SIZE elements.
android/src/com/android/grafika/gles/Texture2dProgram.java:246
↓ 1 callers
Method
setTexSize
Sets the size of the texture. This is used to find adjacent texels when filtering.
android/src/com/android/grafika/gles/Texture2dProgram.java:259
↓ 1 callers
Method
shutDownImmediately
src/entertainment.cpp:118
↓ 1 callers
Method
startSearch
src/bridgediscovery.cpp:24
↓ 1 callers
Method
startStreaming
src/entertainment.cpp:100
↓ 1 callers
Method
swapBuffers
Calls eglSwapBuffers. Use this to "publish" the current frame. @return false on failure
android/src/com/android/grafika/gles/EglCore.java:306
↓ 1 callers
Method
toString
()
android/src/com/android/grafika/gles/Sprite2d.java:196
Method
BridgeDiscovery
src/bridgediscovery.cpp:10
Method
BridgeObject
include/huebridge.h:126
Method
Drawable2d
Prepares a drawable from a "pre-fabricated" shape definition. <p> Does no EGL/GL operations, so this can be done at any time.
android/src/com/android/grafika/gles/Drawable2d.java:113
Method
EglCore
Prepares EGL display and context. <p> Equivalent to EglCore(null, 0).
android/src/com/android/grafika/gles/EglCore.java:64
Method
EglSurfaceBase
(EglCore eglCore)
android/src/com/android/grafika/gles/EglSurfaceBase.java:47
Method
EntertainmentCommThread
src/entertainment.cpp:200
Method
EntertainmentCommThreadEGroupScopedLock
include/entertainment.h:174
Method
EntertainmentGroup
src/entertainment.cpp:42
Method
EntertainmentGroup
include/entertainment.h:76
Method
EntertainmentLight
include/entertainment.h:24
Method
FitInGamut
src/utility.cpp:177
Method
FlatShadedProgram
Prepares the program in the current EGL context.
android/src/com/android/grafika/gles/FlatShadedProgram.java:54
Method
FullFrameRect
Prepares the object. @param program The program to use. FullFrameRect takes ownership, and will release the program when no longer needed.
android/src/com/android/grafika/gles/FullFrameRect.java:35
Method
GlUtil
()
android/src/com/android/grafika/gles/GlUtil.java:44
Method
HueBridge
src/huebridge.cpp:17
Method
HueBridgeSavedSettings
include/huebridge.h:20
Method
Huestacean
()
android/src/com/huestacean/Huestacean.java:48
Method
Huestacean
src/huestacean.cpp:28
Function
Java_com_huestacean_Huestacean_handleFrame
src/huestacean.cpp:701
Method
LCh_to_XYZ
src/utility.cpp:28
Method
Light
include/huebridge.h:141
Method
Monitor
include/huestacean.h:40
Method
ObjectModel
src/objectmodel.cpp:3
Method
OffscreenSurface
Creates an off-screen surface with the specified width and height.
android/src/com/android/grafika/gles/OffscreenSurface.java:28
Method
PixelBucket
include/huestacean.h:77
Method
ReadSettings
src/huestacean.cpp:102
Method
ResetSettings
src/huestacean.cpp:139
Method
ScreenSyncImageProvider
src/huestacean.cpp:800
Method
ScreenSyncScreen
include/huestacean.h:91
Method
Sprite2d
(Drawable2d drawable)
android/src/com/android/grafika/gles/Sprite2d.java:40
Method
StopCapture
()
android/src/com/huestacean/Huestacean.java:112
Method
Texture2dProgram
Prepares the program in the current EGL context.
android/src/com/android/grafika/gles/Texture2dProgram.java:138
Method
WindowSurface
Associates an EGL surface with the native window surface. <p> Set releaseSurface to true if you want the Surface to be released when release() is call
android/src/com/android/grafika/gles/WindowSurface.java:39
Method
WriteSettings
src/huestacean.cpp:122
Method
XYZ_to_LCh
src/utility.cpp:4
Method
XYZ_to_xy
src/utility.cpp:278
Function
_exp2
include/utility.h:119
Function
_log2
include/utility.h:114
next →
1–100 of 209, ranked by callers