demo_client_unaccelerated ignores stride
Bug #1157033 reported by
Daniel van Vugt
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mir |
Fix Released
|
Medium
|
Daniel van Vugt |
Bug Description
demo_client_
static void render_
{
uint32_t *pixel = (uint32_t*) region->vaddr;
int i,j;
for(i=0; i< region->width; i++)
{
for(j=0; j<region->height; j++)
{
}
}
}
Related branches
lp:~vanvugt/mir/fix-1157033
- Robert Ancell: Approve
- Kevin DuBois (community): Approve
- Alan Griffiths: Approve
- PS Jenkins bot (community): Approve (continuous-integration)
- Alexandros Frantzis (community): Approve
-
Diff: 29 lines (+11/-6)1 file modifiedexamples/demo_client_unaccelerated.c (+11/-6)
Changed in mir: | |
milestone: | none → 0.0.3 |
Changed in mir: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Also, the loops are inside-out, which makes memory access much slower.