Lines Matching full:context
29 // Context
32 void rsrBindTexture(Context *, Script *, ProgramFragment *, uint32_t slot, Allocation *);
33 void rsrBindSampler(Context *, Script *, ProgramFragment *, uint32_t slot, Sampler *);
34 void rsrBindProgramStore(Context *, Script *, ProgramStore *);
35 void rsrBindProgramFragment(Context *, Script *, ProgramFragment *);
36 void rsrBindProgramVertex(Context *, Script *, ProgramVertex *);
37 void rsrBindProgramRaster(Context *, Script *, ProgramRaster *);
38 void rsrBindFrameBufferObjectColorTarget(Context *, Script *, Allocation *, uint32_t slot);
39 void rsrBindFrameBufferObjectDepthTarget(Context *, Script *, Allocation *);
40 void rsrClearFrameBufferObjectColorTarget(Context *, Script *, uint32_t slot);
41 void rsrClearFrameBufferObjectDepthTarget(Context *, Script *);
42 void rsrClearFrameBufferObjectTargets(Context *, Script *);
48 void rsrVpLoadProjectionMatrix(Context *, Script *, const rsc_Matrix *m);
49 void rsrVpLoadModelMatrix(Context *, Script *, const rsc_Matrix *m);
50 void rsrVpLoadTextureMatrix(Context *, Script *, const rsc_Matrix *m);
51 void rsrPfConstantColor(Context *, Script *, ProgramFragment *, float r, float g, float b, float a);
52 void rsrVpGetProjectionMatrix(Context *, Script *, rsc_Matrix *m);
58 void rsrDrawQuadTexCoords(Context *, Script *,
63 void rsrDrawQuad(Context *, Script *,
68 void rsrDrawSpriteScreenspace(Context *, Script *,
70 void rsrDrawRect(Context *, Script *, float x1, float y1, float x2, float y2, float z);
71 void rsrDrawMesh(Context *, Script *, Mesh *);
72 void rsrDrawMeshPrimitive(Context *, Script *, Mesh *, uint32_t primIndex);
73 void rsrDrawMeshPrimitiveRange(Context *, Script *, Mesh *,
75 void rsrMeshComputeBoundingBox(Context *, Script *, Mesh *,
85 void rsrColor(Context *, Script *, float r, float g, float b, float a);
86 void rsrFinish(Context *, Script *);
87 void rsrAllocationSyncAll(Context *, Script *, Allocation *);
89 void rsrAllocationCopy1DRange(Context *, Allocation *dstAlloc,
95 void rsrAllocationCopy2DRange(Context *, Allocation *dstAlloc,
103 void rsrClearColor(Context *, Script *, float r, float g, float b, float a);
104 void rsrClearDepth(Context *, Script *, float v);
105 uint32_t rsrGetWidth(Context *, Script *);
106 uint32_t rsrGetHeight(Context *, Script *);
107 void rsrDrawTextAlloc(Context *, Script *, Allocation *, int x, int y);
108 void rsrDrawText(Context *, Script *, const char *text, int x, int y);
109 void rsrSetMetrics(Context *, Script *, Font::Rect *metrics,
111 void rsrMeasureTextAlloc(Context *, Script *, Allocation *,
113 void rsrMeasureText(Context *, Script *, const char *text,
115 void rsrBindFont(Context *, Script *, Font *);
116 void rsrFontColor(Context *, Script *, float r, float g, float b, float a);
122 float rsrGetDt(Context *, Script *);
123 time_t rsrTime(Context *, Script *, time_t *timer);
124 tm* rsrLocalTime(Context *, Script *, tm *local, time_t *timer);
125 int64_t rsrUptimeMillis(Context *, Script *);
126 int64_t rsrUptimeNanos(Context *, Script *);
132 uint32_t rsrToClient(Context *, Script *, int cmdID, void *data, int len);
133 uint32_t rsrToClientBlocking(Context *, Script *, int cmdID, void *data, int len);
139 void rsrSetObject(const Context *, const Script *, ObjectBase **dst, ObjectBase * src);
140 void rsrClearObject(const Context *, const Script *, ObjectBase **dst);
141 bool rsrIsObject(const Context *, const Script *, const ObjectBase *src);
143 void rsrAllocationIncRefs(const Context *, const Allocation *, void *ptr,
145 void rsrAllocationDecRefs(const Context *, const Allocation *, void *ptr,
149 uint32_t rsrToClient(Context *, Script *, int cmdID, void *data, int len);
150 uint32_t rsrToClientBlocking(Context *, Script *, int cmdID, void *data, int len);
151 const Allocation * rsrGetAllocation(Context *, Script *, const void *ptr);
153 void rsrAllocationMarkDirty(Context *, Script *, RsAllocation a);
154 void rsrAllocationSyncAll(Context *, Script *, Allocation *a, RsAllocationUsageType source);
157 void rsrForEach(Context *, Script *, Script *target,